summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1998-05-01 14:37:36 +0000
committerBruce Evans <bde@FreeBSD.org>1998-05-01 14:37:36 +0000
commitb2198963be25eb6cb84ac06ca719ebc9a776989b (patch)
tree03224e75a4eb37776a2e4612a4aae7ee573858d2 /gnu
parent9ca48245eb37d690b5f99619f67448191485b395 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/Makefile.inc17
1 files changed, 5 insertions, 12 deletions
diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc
index 2056d9b8f9cc..c031ae9eddbb 100644
--- a/gnu/usr.bin/gdb/Makefile.inc
+++ b/gnu/usr.bin/gdb/Makefile.inc
@@ -1,14 +1,7 @@
-# bsd.lib.mk causes this file to be loaded multiple times.
-.if !defined(GDB_MAKEFILE_INC_BEEN_HERE)
-GDB_MAKEFILE_INC_BEEN_HERE=yes
+# $Id$
-# this may be defined in other places
-.if !defined(GDBDIR)
-GDBDIR= ${.CURDIR}/../../../../contrib/gdb
-.endif
+CFLAGS+=-I${GDBDIR}/include -I${GDBDIR}/gdb -I${GDBDIR}/bfd
+CFLAGS+=-I${GDBDIR}/libiberty -I${GDBDIR}/gdb/config
+CFLAGS+=-DHAVE_CONFIG_H
-CFLAGS+= -I${GDBDIR}/include/. -I${GDBDIR}/gdb/. -I${GDBDIR}/bfd/.
-CFLAGS+= -I${GDBDIR}/libiberty/.
-CFLAGS+= -I${GDBDIR}/gdb/config/.
-CFLAGS+= -DHAVE_CONFIG_H
-.endif
+.include "../Makefile.inc"