opnsense-src/sys/modules/netgraph/bluetooth/socket/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

17 lines
428 B
Makefile

# $Id: Makefile,v 1.7 2002/09/04 21:43:59 max Exp $
# $FreeBSD$
.PATH: ${.CURDIR}/../../../../netgraph/bluetooth/socket
CFLAGS+= -g -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-DINVARIANTS=1 -DINVARIANT_SUPPORT=1 \
-DWITNESS=1 -DWITNESS_SKIPSPIN=1
KMOD= ng_btsocket
SRCS= ng_btsocket.c \
ng_btsocket_hci_raw.c \
ng_btsocket_l2cap_raw.c \
ng_btsocket_l2cap.c
MAN4= ng_btsocket.4
.include <bsd.kmod.mk>