Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/gdb/gdb.new Fix some MKGDB=no bugs.



details:   https://anonhg.NetBSD.org/src/rev/f81492cf9d84
branches:  trunk
changeset: 521068:f81492cf9d84
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jan 22 21:16:28 2002 +0000

description:
Fix some MKGDB=no bugs.

diffstat:

 gnu/usr.bin/gdb/gdb.new/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r c636eaa09f5d -r f81492cf9d84 gnu/usr.bin/gdb/gdb.new/Makefile
--- a/gnu/usr.bin/gdb/gdb.new/Makefile  Tue Jan 22 20:42:59 2002 +0000
+++ b/gnu/usr.bin/gdb/gdb.new/Makefile  Tue Jan 22 21:16:28 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2002/01/22 16:55:21 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2002/01/22 21:16:28 thorpej Exp $
 
 # XXX - This gdb.new directory should be renamed to "gdb" after all platforms
 # have been migrated to the new toolchain.
@@ -33,6 +33,8 @@
 .include <bsd.prog.mk>
 .include <bsd.info.mk>
 
+.if ${MKGDB} != "no" && ${MKBFD} != "no"
+
 BFDOBJ!=       cd ${TOP}/lib/libbfd && ${PRINTOBJDIR}
 LDADD+=                -L${BFDOBJ} -lbfd
 DPADD+=                ${BFDOBJ}/libbfd_pic.a
@@ -50,3 +52,5 @@
 
 .PATH: ${DIST}/gdb ${DIST}/gdb/tui ${DIST}/gdb/doc \
        ${DIST}/readline ${.CURDIR}/../arch/${MACHINE_ARCH}
+
+.endif # MKGDB != no && MKBFD != no



Home | Main Index | Thread Index | Old Index