1SubDir HAIKU_TOP src add-ons kernel drivers network wlan aironetwifi ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] 4 : true ; 5UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ; 6UsePrivateHeaders net system ; 7UsePrivateKernelHeaders ; 8 9# Enabling C++ structures in C only code 10Includes [ FGristFiles kernel_c++_structs.h ] 11 : <src!system!kernel>kernel_c++_struct_sizes.h ; 12 13SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] 14 -Wno-format 15 -Wno-unused 16 -Wno-uninitialized ; 17 18UseHeaders [ FDirName $(SUBDIR) ] : true ; 19 20SEARCH_SOURCE += [ FDirName $(SUBDIR) dev an ] ; 21 22KernelAddon aironetwifi : 23 if_an.c 24 if_an_pci.c 25 glue.c 26 : 27 libfreebsd_wlan.a 28 libfreebsd_network.a 29 ; 30