Fix make buildkernel.

These makefiles work when building in the sys/modules directory, but
not with the objdir stuff that buildkernel uses.  This is because they
used -I../../../blah rather than -I${.CURDIR}/../../../blah.

# I didn't fix the abuse of CFLAGS to specify -g since I wanted the
# barest minimal change since we're in a code freeze.

Approved by: make buildkernel...
Hat for armchair anarchists: core member fixing src tree damage
This commit is contained in:
Warner Losh 2002-11-21 07:21:45 +00:00
parent 8cf5e9dde2
commit 668537ba95
7 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/common
CFLAGS+= -I../../../../netgraph/bluetooth/include
CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include
KMOD= ng_bluetooth
SRCS= ng_bluetooth.c

View File

@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c
CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
-I../../../../netgraph/bluetooth/drivers/bt3c \
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-I${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1

View File

@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4
CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
-I../../../../netgraph/bluetooth/drivers/h4 \
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-I${.CURDIR}/../../../../netgraph/bluetooth/drivers/h4 \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1
# -DWITNESS=1 -DWITNESS_SKIPSPIN=1

View File

@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/hci
CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
-I../../../../netgraph/bluetooth/hci \
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-I${.CURDIR}/../../../../netgraph/bluetooth/hci \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1

View File

@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/l2cap
CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
-I../../../../netgraph/bluetooth/l2cap \
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-I${.CURDIR}/../../../../netgraph/bluetooth/l2cap \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1

View File

@ -3,7 +3,7 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/socket
CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1

View File

@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt
CFLAGS+= -g -I../../../../netgraph/bluetooth/include \
-I../../../../netgraph/bluetooth/drivers/ubt \
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-I${.CURDIR}/../../../../netgraph/bluetooth/drivers/ubt \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1