xref: /haiku/src/libs/compat/freebsd_wlan/net80211/Jamfile (revision e705c841d784f0035a0ef3e9e96f6e017df16681)
1SubDir HAIKU_TOP src libs compat freebsd_wlan net80211 ;
2
3UseHeaders [ FDirName $(SUBDIR) .. .. freebsd_network ] : true ;
4UseHeaders [ FDirName $(SUBDIR) .. .. freebsd_network compat ] : true ;
5UseHeaders [ FDirName $(SUBDIR) .. ] : true ;
6UseHeaders [ FDirName $(SUBDIR) ] : true ;
7UsePrivateHeaders net system ;
8UsePrivateKernelHeaders ;
9
10# Enabling C++ structures in C only code
11Includes [ FGristFiles kernel_c++_structs.h ]
12	: <src!system!kernel>kernel_c++_struct_sizes.h ;
13
14SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ]
15	-Wno-format -Wno-unused -Wno-uninitialized ;
16SubDirC++Flags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
17
18SEARCH_SOURCE += [ FDirName $(SUBDIR) .. crypto rijndael ] ;
19
20# The reason we use a KernelMergeObject followed by KernelStaticLibrary
21# instead of KernelStaticLibrary directly is to force all objects,
22# not just the ones the driver links against, to be linked into
23# the final binary. Otherwise, certain objects which export no symbols
24# save SYSINIT() would not be linked at all, and in order for this
25# module to function properly, they must be.
26KernelMergeObject freebsd_wlan.o :
27	ieee80211.c
28	ieee80211_action.c
29	ieee80211_adhoc.c
30	ieee80211_ageq.c
31	ieee80211_amrr.c
32	ieee80211_crypto.c
33	ieee80211_crypto_ccmp.c
34	ieee80211_crypto_none.c
35	ieee80211_crypto_tkip.c
36	ieee80211_crypto_wep.c
37	ieee80211_dfs.c
38	ieee80211_haiku.cpp
39	ieee80211_ht.c
40	ieee80211_input.c
41	ieee80211_ioctl.c
42	ieee80211_hostap.c
43	ieee80211_monitor.c
44	ieee80211_node.c
45	ieee80211_output.c
46	ieee80211_phy.c
47	ieee80211_power.c
48	ieee80211_proto.c
49	ieee80211_radiotap.c
50	ieee80211_ratectl.c
51	ieee80211_ratectl_none.c
52	ieee80211_regdomain.c
53	ieee80211_rssadapt.c
54	ieee80211_scan.c
55	ieee80211_scan_sta.c
56	ieee80211_scan_sw.c
57	ieee80211_sta.c
58	ieee80211_vht.c
59	ieee80211_wds.c
60	ieee80211_xauth.c
61
62	# Rijndael (aka AES) cryptographic support for crypto_ccmp
63	rijndael-alg-fst.c
64	rijndael-api.c
65
66	# NOT SUPPORTED YET ieee80211_acl.c
67	# NOT SUPPORTED YET ieee80211_ddb.c
68	# NOT SUPPORTED YET ieee80211_hwmp.c
69	# NOT SUPPORTED YET ieee80211_mesh.c
70	# NOT SUPPORTED YET ieee80211_superg.c
71	# NOT SUPPORTED YET ieee80211_tdma.c
72;
73KernelStaticLibraryObjects freebsd_wlan.a :
74	freebsd_wlan.o ;
75