xref: /haiku/src/add-ons/kernel/bus_managers/acpi/Jamfile (revision 5e9fd9f60d6a4f62bf88b67465e88990413355c8)
1SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ;
2
3UsePrivateKernelHeaders ;
4SubDirHdrs [ FDirName $(SUBDIR) acpica include ] ;
5SubDirHdrs [ FDirName $(SUBDIR) acpica include platform ] ;
6SubDirHdrs [ FDirName $(SUBDIR) arch $(TARGET_KERNEL_ARCH_DIR) ] ;
7SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) pci ] ;
8SubDirCcFlags -D_KERNEL_MODE ;
9
10
11local arch_src =
12	arch_init.cpp
13	;
14
15local dispatcher_src =
16	dsargs.c
17	dscontrol.c
18	dsdebug.c
19	dsfield.c
20	dsinit.c
21	dsmethod.c
22	dsmthdat.c
23	dsobject.c
24	dsopcode.c
25	dspkginit.c
26	dsutils.c
27	dswexec.c
28	dswload.c
29	dswload2.c
30	dswscope.c
31	dswstate.c
32	;
33
34local events_src =
35	evevent.c
36	evglock.c
37	evgpe.c
38	evgpeblk.c
39	evgpeinit.c
40	evgpeutil.c
41	evhandler.c
42	evmisc.c
43	evregion.c
44	evrgnini.c
45	evsci.c
46	evxface.c
47	evxfevnt.c
48	evxfgpe.c
49	evxfregn.c
50	;
51
52local executer_src =
53	exconcat.c
54	exconfig.c
55	exconvrt.c
56	excreate.c
57	exdebug.c
58	exdump.c
59	exfield.c
60	exfldio.c
61	exmisc.c
62	exmutex.c
63	exnames.c
64	exoparg1.c
65	exoparg2.c
66	exoparg3.c
67	exoparg6.c
68	exprep.c
69	exregion.c
70	exresnte.c
71	exresolv.c
72	exresop.c
73	exserial.c
74	exstore.c
75	exstoren.c
76	exstorob.c
77	exsystem.c
78	extrace.c
79	exutils.c
80	;
81
82local hardware_src =
83	hwacpi.c
84	hwesleep.c
85	hwgpe.c
86	hwpci.c
87	hwregs.c
88	hwsleep.c
89	hwtimer.c
90	hwvalid.c
91	hwxface.c
92	hwxfsleep.c
93	;
94
95local namespace_src =
96	nsaccess.c
97	nsalloc.c
98	nsarguments.c
99	nsconvert.c
100	nsdump.c
101	nsdumpdv.c
102	nseval.c
103	nsinit.c
104	nsload.c
105	nsnames.c
106	nsobject.c
107	nsparse.c
108	nspredef.c
109	nsprepkg.c
110	nsrepair.c
111	nsrepair2.c
112	nssearch.c
113	nsutils.c
114	nswalk.c
115	nsxfeval.c
116	nsxfname.c
117	nsxfobj.c
118	;
119
120local parser_src =
121	psargs.c
122	psloop.c
123	psobject.c
124	psopcode.c
125	psopinfo.c
126	psparse.c
127	psscope.c
128	pstree.c
129	psutils.c
130	pswalk.c
131	psxface.c
132	;
133
134local resources_src =
135	rsaddr.c
136	rscalc.c
137	rscreate.c
138	rsinfo.c
139	rsio.c
140	rsirq.c
141	rslist.c
142	rsmemory.c
143	rsmisc.c
144	rsserial.c
145	rsutils.c
146	rsxface.c
147	;
148
149local tables_src =
150	tbdata.c
151	tbfadt.c
152	tbfind.c
153	tbinstal.c
154	tbprint.c
155	tbutils.c
156	tbxface.c
157	tbxfload.c
158	tbxfroot.c
159	;
160
161local utilities_src =
162	utaddress.c
163	utalloc.c
164	utascii.c
165	utbuffer.c
166	utcache.c
167	utcopy.c
168	utdecode.c
169	utdebug.c
170	utdelete.c
171	uterror.c
172	uteval.c
173	utexcep.c
174	utglobal.c
175	uthex.c
176	utids.c
177	utinit.c
178	utlock.c
179	utmath.c
180	utmisc.c
181	utmutex.c
182	utnonansi.c
183	utobject.c
184	utosi.c
185	utownerid.c
186	utpredef.c
187	utresrc.c
188	utstate.c
189	utstring.c
190	utstrsuppt.c
191	utstrtoul64.c
192	uttrack.c
193	utuuid.c
194	utxface.c
195	utxferror.c
196	utxfinit.c
197	utxfmutex.c
198	;
199
200StaticLibrary libacpi_ca.a :
201	$(dispatcher_src)
202	$(events_src)
203	$(executer_src)
204	$(hardware_src)
205	$(namespace_src)
206	$(parser_src)
207	$(resources_src)
208	$(tables_src)
209	$(utilities_src)
210	;
211
212KernelAddon acpi :
213	ACPICAHaiku.cpp
214	BusManager.cpp
215	Module.cpp
216	Device.cpp
217	NamespaceDump.cpp
218	EmbeddedController.cpp
219	Call.cpp
220
221	$(arch_src)
222	:
223	libacpi_ca.a
224	;
225
226SEARCH on [ FGristFiles $(arch_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi arch $(TARGET_KERNEL_ARCH_DIR) ] ;
227SEARCH on [ FGristFiles $(dispatcher_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components dispatcher ] ;
228SEARCH on [ FGristFiles $(events_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components events ] ;
229SEARCH on [ FGristFiles $(executer_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components executer ] ;
230SEARCH on [ FGristFiles $(hardware_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components hardware ] ;
231SEARCH on [ FGristFiles $(namespace_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components namespace ] ;
232SEARCH on [ FGristFiles $(parser_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components parser ] ;
233SEARCH on [ FGristFiles $(resources_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components resources ] ;
234SEARCH on [ FGristFiles $(tables_src) ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components tables ] ;
235SEARCH on [ FGristFiles $(utilities_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica components utilities ] ;
236