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