PERFORCE change 46524 for review
Marcel Moolenaar
marcel at FreeBSD.org
Wed Feb 4 22:25:17 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=46524
Change 46524 by marcel at 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 <bsd.subdir.mk>
More information about the p4-projects
mailing list