SubDir HAIKU_TOP src add-ons kernel drivers network wlan broadcom43xx ; 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 ; # Enabling C++ structures in C only code Includes [ FGristFiles kernel_c++_structs.h ] : kernel_c++_struct_sizes.h ; SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] -Wno-format -Wno-unused -Wno-uninitialized ; UseHeaders [ FDirName $(SUBDIR) ] : true ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev bwi ] ; KernelAddon broadcom43xx : if_bwi.c if_bwi_pci.c bwimac.c bwiphy.c bwirf.c glue.c : libfreebsd_wlan.a libfreebsd_network.a ;