Reintegrate the module build for usb.ko
[dragonfly.git] / sys / bus / usb / Makefile
1 # Makefile - module build for usb.ko
2 #
3 # $DragonFly: src/sys/bus/usb/Makefile,v 1.4 2003/08/22 23:51:55 dillon Exp $
4
5 S                = ${.CURDIR}/../..
6 .PATH:           $S/bus/pci
7
8 KMOD             = usb
9 SRCS             = bus_if.h device_if.h usb_if.h usb_if.c \
10                    vnode_if.h \
11                    opt_usb.h \
12                    hid.c hid.h usbhid.h \
13                    uhub.c \
14                    usb.c usb.h \
15                    usb_mem.h \
16                    usb_port.h \
17                    usb_quirks.c usb_quirks.h \
18                    usb_subr.c \
19                    usbdevs.h usbdevs_data.h \
20                    usbdi.c usbdi.h usbdivar.h \
21                    usbdi_util.c usbdi_util.h \
22                    usb_ethersubr.c
23
24 SRCS            += uhci_pci.c uhci.c uhcireg.h uhcivar.h
25 SRCS            += ohci_pci.c ohci.c ohcireg.h ohcivar.h
26 SRCS            += opt_bus.h pci_if.h
27
28 NOMAN            =
29
30 .include <bsd.kmod.mk>
31
32 regen:
33         cd ${.CURDIR} && ${MAKE} -f Makefile.usbdevs regen