Make usb4bsd the default USB stack.
[dragonfly.git] / sys / emulation / ndis / Makefile
1 # $FreeBSD: src/sys/modules/ndis/Makefile,v 1.14 2010/08/23 06:13:29 imp Exp $
2
3 KMOD=   ndis
4 SRCS=   subr_pe.c subr_ndis.c subr_hal.c subr_ntoskrnl.c kern_ndis.c
5 SRCS+=  kern_windrv.c
6 SRCS+=  device_if.h bus_if.h pci_if.h
7 SRCS+=  opt_usb.h use_usb4bsd.h
8
9 .if ${MACHINE_ARCH} == "x86_64"
10 SRCS+=  winx64_wrap.S
11 .endif
12
13 .if ${MACHINE_ARCH} == "i386"
14 SRCS+=  winx32_wrap.S
15 .endif
16
17 .if !defined(WANT_OLDUSB)
18 SRCS+=  subr_u4bd.c
19 .else
20 SRCS+=  subr_usbd.c
21 .endif
22
23 .if !defined(BUILDING_WITH_KERNEL) && !defined(WANT_OLDUSB)
24 use_usb.h:
25         echo "#define NUSB 1" > ${.TARGET}
26 .endif
27
28 .include <bsd.kmod.mk>