xref: /haiku/src/libs/compat/freebsd_wlan/net80211/Jamfile (revision a127b88ecbfab58f64944c98aa47722a18e363b2)
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
14# FIXME: Something in here is broken at even -O1! Slow WiFi is better than no WiFi...
15CCFLAGS on [ FGristFiles ieee80211_scan_sw.o ] = -O0 ;
16
17SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ]
18	-Wno-format -Wno-unused -Wno-uninitialized ;
19SubDirC++Flags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
20
21SEARCH_SOURCE += [ FDirName $(SUBDIR) .. crypto rijndael ] ;
22
23# The reason we use a KernelMergeObject followed by KernelStaticLibrary
24# instead of KernelStaticLibrary directly is to force all objects,
25# not just the ones the driver links against, to be linked into
26# the final binary. Otherwise, certain objects which export no symbols
27# save SYSINIT() would not be linked at all, and in order for this
28# module to function properly, they must be.
29KernelMergeObject freebsd_wlan.o :
30	ieee80211.c
31	ieee80211_action.c
32	ieee80211_adhoc.c
33	ieee80211_ageq.c
34	ieee80211_amrr.c
35	ieee80211_crypto.c
36	ieee80211_crypto_ccmp.c
37	ieee80211_crypto_none.c
38	ieee80211_crypto_tkip.c
39	ieee80211_crypto_wep.c
40	ieee80211_dfs.c
41	ieee80211_haiku.cpp
42	ieee80211_ht.c
43	ieee80211_input.c
44	ieee80211_ioctl.c
45	ieee80211_hostap.c
46	ieee80211_monitor.c
47	ieee80211_node.c
48	ieee80211_output.c
49	ieee80211_phy.c
50	ieee80211_power.c
51	ieee80211_proto.c
52	ieee80211_radiotap.c
53	ieee80211_ratectl.c
54	ieee80211_ratectl_none.c
55	ieee80211_regdomain.c
56	ieee80211_rssadapt.c
57	ieee80211_scan.c
58	ieee80211_scan_sta.c
59	ieee80211_scan_sw.c
60	ieee80211_sta.c
61	ieee80211_vht.c
62	ieee80211_wds.c
63	ieee80211_xauth.c
64
65	# Rijndael (aka AES) cryptographic support for crypto_ccmp
66	rijndael-alg-fst.c
67	rijndael-api.c
68
69	# NOT SUPPORTED YET ieee80211_acl.c
70	# NOT SUPPORTED YET ieee80211_ddb.c
71	# NOT SUPPORTED YET ieee80211_hwmp.c
72	# NOT SUPPORTED YET ieee80211_mesh.c
73	# NOT SUPPORTED YET ieee80211_superg.c
74	# NOT SUPPORTED YET ieee80211_tdma.c
75;
76KernelStaticLibraryObjects freebsd_wlan.a :
77	freebsd_wlan.o ;
78