diff options
author | bde <bde@FreeBSD.org> | 1998-05-01 14:37:36 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-01 14:37:36 +0000 |
commit | cf6a14c047cb280c51348fec91fc957ad799e9e6 (patch) | |
tree | 9fd327bc31f67b12f58814371fd71f20df9cf80d /gnu | |
parent | 45937f1696eb1ff60e0308cbf6fa0546a0b9fa69 (diff) | |
download | FreeBSD-src-cf6a14c047cb280c51348fec91fc957ad799e9e6.zip FreeBSD-src-cf6a14c047cb280c51348fec91fc957ad799e9e6.tar.gz |
Removed self-inclusion-prevention ifdef. It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.
Removed GDBDIR-redefinition-prevention ifdef. It hasn't done anothing
for a long time, if ever. The directory is defined to the same value in
each subdir and had the same value because all subdirs are at the same
level. Keep defining it in the subdirs since that is more flexible and
no more verbose.
Prepare to inherit BINDIR by including ../Makefile.inc.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gdb/Makefile.inc | 17 |
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" |