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 20opt_rtwn.h: 21 @echo "#define RTWN_DEBUG 1" > ${.TARGET} 22.if ${MK_SOURCELESS_UCODE} == "no" 23 @echo "#define RTWN_WITHOUT_UCODE 1" >> ${.TARGET} 24.endif 25 26.include <bsd.kmod.mk> 27