Make modules work again part 1: hook up 'dev'. Note that not all devices
[dragonfly.git] / sys / dev / video / bktr / bktr / Makefile
1 # Makefile for the bktr Brooktree Bt848/Bt878 PCI video capture device
2
3 # $FreeBSD: src/sys/modules/bktr/bktr/Makefile,v 1.1.2.3 2001/07/24 09:51:06 dd Exp $
4 # $DragonFly: src/sys/dev/video/bktr/bktr/Makefile,v 1.3 2003/08/15 08:32:32 dillon Exp $
5
6 .PATH:  ${.CURDIR}/..
7 KMOD=   bktr 
8 SRCS=   bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \
9         use_bktr.h opt_bktr.h use_smbus.h bus_if.h device_if.h \
10         pci_if.h vnode_if.h
11 CLEANFILES= use_bktr.h use_smbus.h
12
13 use_bktr.h:
14         echo "#define NBKTR 1" > use_bktr.h
15         echo "#define BKTR_FREEBSD_MODULE 1" >> use_bktr.h
16
17 # Does not use SMBUS/IICBUS. Uses the old i2c code self contained in
18 # the bt848 driver.
19 use_smbus.h:
20         echo "#define NSMBUS 0" > use_smbus.h
21
22 .include <bsd.kmod.mk>