xref: /haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/Jamfile (revision 52f7c9389475e19fc21487b38064b4390eeb6fea)
1SubDir HAIKU_TOP src add-ons kernel drivers network wlan realtekwifi ;
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
9SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 _XOPEN_SOURCE ]
10	-Wno-format
11	-Wno-unused
12	-Wno-uninitialized ;
13
14UseHeaders [ FDirName $(SUBDIR) ] : true ;
15
16SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn ] ;
17SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn pci ] ;
18SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn usb ] ;
19SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8188e ] ;
20SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8188e pci ] ;
21SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8188e usb ] ;
22SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192c ] ;
23SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192c pci ] ;
24SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192c usb ] ;
25SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192e ] ;
26SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8192e usb ] ;
27SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8812a ] ;
28SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8812a usb ] ;
29SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8821a ] ;
30SEARCH_SOURCE += [ FDirName $(SUBDIR) dev rtwn rtl8821a usb ] ;
31
32KernelAddon realtekwifi :
33	glue.c
34
35	if_rtwn.c
36	if_rtwn_beacon.c
37	if_rtwn_calib.c
38	if_rtwn_cam.c
39	if_rtwn_efuse.c
40	if_rtwn_fw.c
41	if_rtwn_rx.c
42	if_rtwn_task.c
43	if_rtwn_tx.c
44
45	# pci/
46	rtwn_pci_attach.c
47	rtwn_pci_reg.c
48	rtwn_pci_rx.c
49	rtwn_pci_tx.c
50
51	# usb/
52	rtwn_usb_attach.c
53	rtwn_usb_ep.c
54	rtwn_usb_reg.c
55	rtwn_usb_rx.c
56	rtwn_usb_tx.c
57
58	# rtl8188e/
59	r88e_beacon.c
60	r88e_calib.c
61	r88e_chan.c
62	r88e_fw.c
63	r88e_init.c
64	r88e_led.c
65	r88e_rf.c
66	r88e_rom.c
67	r88e_rx.c
68	r88e_tx.c
69
70	# rtl8188e/pci/
71	r88ee_attach.c
72	r88ee_init.c
73	r88ee_rx.c
74
75	# rtl8188e/usb/
76	r88eu_attach.c
77	r88eu_init.c
78
79	# rtl8192c/
80	r92c_attach.c
81	r92c_beacon.c
82	r92c_calib.c
83	r92c_chan.c
84	r92c_fw.c
85	r92c_init.c
86	r92c_llt.c
87	r92c_rf.c
88	r92c_rom.c
89	r92c_rx.c
90	r92c_tx.c
91
92	# rtl8192c/pci/
93	r92ce_attach.c
94	r92ce_calib.c
95	r92ce_fw.c
96	r92ce_init.c
97	r92ce_led.c
98	r92ce_rx.c
99	r92ce_tx.c
100
101	# rtl8192c/usb/
102	r92cu_attach.c
103	r92cu_init.c
104	r92cu_led.c
105	r92cu_rx.c
106	r92cu_tx.c
107
108	# rtl8192e/
109	r92e_chan.c
110	r92e_fw.c
111	r92e_init.c
112	r92e_led.c
113	r92e_rf.c
114	r92e_rom.c
115	r92e_rx.c
116
117	# rtl8192e/usb/
118	r92eu_attach.c
119	r92eu_init.c
120
121	# rtl8812a/
122	r12a_beacon.c
123	r12a_calib.c
124	r12a_caps.c
125	r12a_chan.c
126	r12a_fw.c
127	r12a_init.c
128	r12a_led.c
129	r12a_rf.c
130	r12a_rom.c
131	r12a_rx.c
132	r12a_tx.c
133
134	# rtl8812a/usb/
135	r12au_attach.c
136	r12au_init.c
137	r12au_rx.c
138	r12au_tx.c
139
140	# rtl8821a/
141	r21a_beacon.c
142	r21a_calib.c
143	r21a_chan.c
144	r21a_fw.c
145	r21a_init.c
146	r21a_led.c
147	r21a_rom.c
148	r21a_rx.c
149
150	# rtl8821a/usb/
151	r21au_attach.c
152	r21au_dfs.c
153	r21au_init.c
154	:
155	freebsd_wlan.a
156	libfreebsd_network.a
157	;
158
159ObjectHdrs [ FGristFiles rtwn_usb_attach$(SUFOBJ) ]
160	: [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ;
161Includes [ FGristFiles rtwn_usb_attach.c ] : <src!libs!compat!freebsd_network>usbdevs.h ;
162