1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/rtwn/usb 4 5SYSDIR?=${.CURDIR}/../.. 6.include "${SYSDIR}/conf/kern.opts.mk" 7 8KMOD = if_rtwn_usb 9SRCS = rtwn_usb_attach.c rtwn_usb_ep.c rtwn_usb_reg.c rtwn_usb_rx.c \ 10 rtwn_usb_tx.c rtwn_usb_attach.h rtwn_usb_ep.h rtwn_usb_reg.h \ 11 rtwn_usb_rx.h rtwn_usb_tx.h rtwn_usb_var.h \ 12 bus_if.h device_if.h \ 13 opt_bus.h opt_rtwn.h opt_usb.h opt_wlan.h usb_if.h usbdevs.h 14 15.PATH: ${.CURDIR}/../../dev/rtwn/rtl8188e/usb 16SRCS += r88eu_attach.c r88eu_init.c r88eu_rx.c \ 17 r88eu.h r88eu_reg.h 18 19.PATH: ${.CURDIR}/../../dev/rtwn/rtl8192c/usb 20SRCS += r92cu_attach.c r92cu_init.c r92cu_led.c r92cu_rx.c r92cu_tx.c \ 21 r92cu.h r92cu_priv.h r92cu_reg.h r92cu_tx_desc.h 22 23.PATH: ${.CURDIR}/../../dev/rtwn/rtl8812a/usb 24SRCS += r12au_attach.c r12au_init.c r12au_rx.c r12au_tx.c \ 25 r12au.h r12au_reg.h r12au_tx_desc.h 26 27.PATH: ${.CURDIR}/../../dev/rtwn/rtl8821a/usb 28SRCS += r21au_attach.c r21au_init.c \ 29 r21au.h r21au_reg.h 30 31opt_rtwn.h: 32 @echo "#define RTWN_DEBUG 1" > ${.TARGET} 33.if ${MK_SOURCELESS_UCODE} == "no" 34 @echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET} 35.endif 36 37.include <bsd.kmod.mk> 38