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