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:
parent
45937f1696
commit
cf6a14c047
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user