1.PATH: ${SRCTOP}/sys/dev/rtwn/pci 2 3SYSDIR?=${SRCTOP}/sys 4.include "${SYSDIR}/conf/kern.opts.mk" 5 6KMOD = if_rtwn_pci 7SRCS = rtwn_pci_attach.c rtwn_pci_reg.c rtwn_pci_rx.c rtwn_pci_tx.c \ 8 rtwn_pci_attach.h rtwn_pci_reg.h rtwn_pci_rx.h rtwn_pci_tx.h \ 9 rtwn_pci_var.h \ 10 device_if.h bus_if.h pci_if.h \ 11 opt_bus.h opt_rtwn.h opt_wlan.h 12 13.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8192c/pci 14SRCS += r92ce_attach.c r92ce_calib.c r92ce_fw.c r92ce_init.c r92ce_led.c \ 15 r92ce_rx.c r92ce_tx.c \ 16 r92ce.h r92ce_priv.h r92ce_reg.h r92ce_rx_desc.h r92ce_tx_desc.h 17 18.PATH: ${SRCTOP}/sys/dev/rtwn/rtl8188e/pci 19SRCS += r88ee_attach.c r88ee_init.c r88ee_rx.c \ 20 r88ee.h r88ee_reg.h 21 22opt_rtwn.h: 23 @echo "#define RTWN_DEBUG 1" > ${.TARGET} 24.if ${MK_SOURCELESS_UCODE} == "no" 25 @echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET} 26.endif 27 28.include <bsd.kmod.mk> 29