mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
9ca48245eb
commit
b2198963be
1 changed files with 5 additions and 12 deletions
|
|
@ -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…
Reference in a new issue