freebsd-dev/sys/modules/netgraph/bluetooth/ubt/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
432 B
Makefile

# $Id: Makefile,v 1.5 2002/09/04 21:41:06 max Exp $
# $FreeBSD$
.PATH: ${.CURDIR}/../../../../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
KMOD= ng_ubt
SRCS= ng_ubt.c bus_if.h device_if.h opt_usb.h
MAN4= ng_ubt.4
.include <bsd.kmod.mk>