SubDir HAIKU_TOP src add-ons kernel drivers network wlan realtekwifi ; UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ; UsePrivateHeaders net system ; UsePrivateKernelHeaders ; SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 _XOPEN_SOURCE ] -Wno-format -Wno-unused -Wno-uninitialized ; UseHeaders [ FDirName $(SUBDIR) ] : true ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn pci ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8188e ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8188e pci ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192c ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192c pci ] ; KernelAddon realtekwifi : glue.c if_rtwn.c if_rtwn_beacon.c if_rtwn_calib.c if_rtwn_cam.c if_rtwn_efuse.c if_rtwn_fw.c if_rtwn_rx.c if_rtwn_task.c if_rtwn_tx.c # pci/ rtwn_pci_attach.c rtwn_pci_reg.c rtwn_pci_rx.c rtwn_pci_tx.c # rtl8188e/ r88e_beacon.c r88e_calib.c r88e_chan.c r88e_fw.c r88e_init.c r88e_led.c r88e_rf.c r88e_rom.c r88e_rx.c r88e_tx.c # rtl8188e/pci/ r88ee_attach.c r88ee_init.c r88ee_rx.c # rtl8192c/ r92c_attach.c r92c_beacon.c r92c_calib.c r92c_chan.c r92c_fw.c r92c_init.c r92c_llt.c r92c_rf.c r92c_rom.c r92c_rx.c r92c_tx.c # rtl8192c/pci/ r92ce_attach.c r92ce_calib.c r92ce_fw.c r92ce_init.c r92ce_led.c r92ce_rx.c r92ce_tx.c : freebsd_wlan.a libfreebsd_network.a ;