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