opnsense-src/sys/modules/netgraph/bluetooth/bt3c/Makefile
Warner Losh 668537ba95 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
2002-11-21 07:21:45 +00:00

16 lines
444 B
Makefile

# $Id: Makefile,v 1.6 2002/09/04 21:42:00 max Exp $
# $FreeBSD$
.PATH: ${.CURDIR}/../../../../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
KMOD= ng_bt3c
SRCS= ng_bt3c_pccard.c bus_if.h card_if.h device_if.h
MAN4= ng_bt3c.4
.include <bsd.kmod.mk>