From owner-p4-projects@FreeBSD.ORG Wed Feb 4 22:25:16 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D277516A4D0; Wed, 4 Feb 2004 22:25:15 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A336516A4CE for ; Wed, 4 Feb 2004 22:25:15 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E66B43D48 for ; Wed, 4 Feb 2004 22:25:14 -0800 (PST) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i156PD0B008635 for ; Wed, 4 Feb 2004 22:25:13 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i156PDbI008632 for perforce@freebsd.org; Wed, 4 Feb 2004 22:25:13 -0800 (PST) (envelope-from marcel@freebsd.org) Date: Wed, 4 Feb 2004 22:25:13 -0800 (PST) Message-Id: <200402050625.i156PDbI008632@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Subject: PERFORCE change 46524 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 06:25:17 -0000 http://perforce.freebsd.org/chv.cgi?CH=46524 Change 46524 by marcel@marcel_nfs on 2004/02/04 22:25:02 Move gdb from under binutils. There's still a dependency on headers (and libraries) from binutils, but I'll solve that later. The makefiles are skeletal. This does not actually build yet. Affected files ... .. //depot/projects/gdb/gnu/usr.bin/Makefile#2 edit .. //depot/projects/gdb/gnu/usr.bin/binutils/Makefile#2 edit .. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile#1 add .. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile.inc#1 add .. //depot/projects/gdb/gnu/usr.bin/gdb/Makefile.inc0#1 add .. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/Makefile#1 add .. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/config.h#1 add .. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/gdb.1#1 add .. //depot/projects/gdb/gnu/usr.bin/gdb/gdb/init.c#1 add Differences ... ==== //depot/projects/gdb/gnu/usr.bin/Makefile#2 (text+ko) ==== @@ -1,11 +1,14 @@ # $FreeBSD: src/gnu/usr.bin/Makefile,v 1.76 2003/08/29 10:35:00 phk Exp $ -SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 \ +SUBDIR= bc ${_binutils} ${_cc} cpio dc dialog diff diff3 ${_gdb} \ ${_gperf} grep gzip man patch rcs sdiff send-pr sort tar texinfo .if !defined(NO_TOOLCHAIN) _cc=cc _binutils=binutils +.if !defined(NO_GDB) +_gdb=gdb +.endif .endif .if !defined(NO_CXX) ==== //depot/projects/gdb/gnu/usr.bin/binutils/Makefile#2 (text+ko) ==== @@ -4,11 +4,4 @@ addr2line ar as gasp ld nm objcopy objdump ranlib readelf \ size strings strip doc -TARGET_ARCH?= ${MACHINE_ARCH} -.if (${TARGET_ARCH} == "alpha" \ - || ${TARGET_ARCH} == "i386" ) \ - && !defined(NO_GDB) -SUBDIR+= gdb gdbreplay -.endif - .include