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.
This commit is contained in:
Bruce Evans 1998-05-01 14:37:36 +00:00
parent 9ca48245eb
commit b2198963be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35586

View file

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