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