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