diff options
author | peter <peter@FreeBSD.org> | 1997-03-29 10:29:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-03-29 10:29:40 +0000 |
commit | 34b7382753533a50aa74c3a6e661f237e8824b82 (patch) | |
tree | a0fe4516738d962c46a9a8841479e8b853ba1a0e /gnu/usr.bin/gdb | |
parent | 4035aab1d32bf594e1058fc43b8eb200d5419fc2 (diff) | |
download | FreeBSD-src-34b7382753533a50aa74c3a6e661f237e8824b82.zip FreeBSD-src-34b7382753533a50aa74c3a6e661f237e8824b82.tar.gz |
Protect against multiple inclusion (All the CFLAGS+= items make the cc
command lines get rather long). (bsd.lib.mk is particularly bad at this)
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r-- | gnu/usr.bin/gdb/Makefile.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/Makefile.inc b/gnu/usr.bin/gdb/Makefile.inc index 37b9c21..9a31845 100644 --- a/gnu/usr.bin/gdb/Makefile.inc +++ b/gnu/usr.bin/gdb/Makefile.inc @@ -1,3 +1,6 @@ +# bsd.lib.mk causes this file to be loaded multiple times. +.if !defined(BEEN_HERE) +BEEN_HERE=1 # this may be defined in other places .if !defined(GDBDIR) @@ -8,4 +11,4 @@ CFLAGS+= -I${GDBDIR}/include/. -I${GDBDIR}/gdb/. -I${GDBDIR}/bfd/. CFLAGS+= -I${GDBDIR}/libiberty/. CFLAGS+= -I${GDBDIR}/gdb/config/. CFLAGS+= -DHAVE_CONFIG_H - +.endif |