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