1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Protect against multiple inclusion (All the CFLAGS+= items make the cc

command lines get rather long).  (bsd.lib.mk is particularly bad at this)
This commit is contained in:
Peter Wemm 1997-03-29 10:29:40 +00:00
parent 8378bbaded
commit a46132c1a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24365

View File

@ -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