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