summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
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 2056d9b..c031ae9 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"
OpenPOWER on IntegriCloud