xref: /haiku/src/add-ons/kernel/bus_managers/acpi/Jamfile (revision 55b40aa53a835472ec7952b138ae4256203d02e4)
1SubDir HAIKU_TOP src add-ons kernel bus_managers acpi ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirHdrs [ FDirName $(SUBDIR) include ] ;
6SubDirHdrs [ FDirName $(SUBDIR) include platform ] ;
7SubDirCcFlags -fno-pic -D_KERNEL_MODE ;
8
9if $(TARGET_PLATFORM) != haiku {
10	# Needed for <ACPI.h>. Unfortunately we also get the other headers there,
11	# that we don't really want.
12	UsePublicHeaders drivers ;
13}
14
15local events_src =
16	evevent.c
17	evgpe.c
18	evgpeblk.c
19	evmisc.c
20	evregion.c
21	evrgnini.c
22	evsci.c
23	evxface.c
24	evxfevnt.c
25	evxfregn.c
26	;
27
28local hardware_src =
29	hwacpi.c
30	hwgpe.c
31	hwregs.c
32	hwsleep.c
33	hwtimer.c
34;
35
36local dispatcher_src =
37	dsfield.c
38	dsinit.c
39	dsmethod.c
40	dsmthdat.c
41	dsobject.c
42	dsopcode.c
43	dsutils.c
44	dswexec.c
45	dswload.c
46	dswscope.c
47	dswstate.c
48	;
49
50local executer_src =
51	exconfig.c
52	exconvrt.c
53	excreate.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 parser_src =
77	psargs.c
78	psloop.c
79	psopcode.c
80	psparse.c
81	psscope.c
82	pstree.c
83	psutils.c
84	pswalk.c
85	psxface.c
86	;
87
88local namespace_src =
89	nsaccess.c
90	nsalloc.c
91	nsdump.c
92	nsdumpdv.c
93	nseval.c
94	nsinit.c
95	nsload.c
96	nsnames.c
97	nsobject.c
98	nsparse.c
99	nssearch.c
100	nsutils.c
101	nswalk.c
102	nsxfeval.c
103	nsxfname.c
104	nsxfobj.c
105	;
106
107local resources_src =
108	rsaddr.c
109	rscalc.c
110	rscreate.c
111	rsdump.c
112	rsinfo.c
113	rsio.c
114	rsirq.c
115	rslist.c
116	rsmemory.c
117	rsmisc.c
118	rsutils.c
119	rsxface.c
120	;
121
122local tables_src =
123	tbconvrt.c
124	tbget.c
125	tbgetall.c
126	tbinstal.c
127	tbrsdt.c
128	tbutils.c
129	tbxface.c
130	tbxfroot.c
131	;
132
133local utilities_src =
134	utalloc.c
135	utcache.c
136	utclib.c
137	utcopy.c
138	utdebug.c
139	utdelete.c
140	uteval.c
141	utglobal.c
142	utinit.c
143	utmath.c
144	utmisc.c
145	utmutex.c
146	utobject.c
147	utresrc.c
148	utstate.c
149	uttrack.c
150	utxface.c
151	;
152
153StaticLibrary libacpi_ca.a :
154	$(events_src)
155	$(hardware_src)
156	$(dispatcher_src)
157	$(executer_src)
158	$(parser_src)
159	$(namespace_src)
160	$(resources_src)
161	$(tables_src)
162	$(utilities_src)
163	 ;
164
165SEARCH on [ FGristFiles $(events_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi events ] ;
166SEARCH on [ FGristFiles $(hardware_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi hardware ] ;
167SEARCH on [ FGristFiles $(namespace_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi namespace ] ;
168SEARCH on [ FGristFiles $(resources_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi resources ] ;
169SEARCH on [ FGristFiles $(tables_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi tables ] ;
170SEARCH on [ FGristFiles $(utilities_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi utilities ] ;
171SEARCH on [ FGristFiles $(dispatcher_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi interpreter dispatcher ] ;
172SEARCH on [ FGristFiles $(executer_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi interpreter executer ] ;
173SEARCH on [ FGristFiles $(parser_src)  ] = [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers acpi interpreter parser ] ;
174
175KernelAddon acpi :
176	oshaiku.c
177	acpi_busman.c
178	:
179	libacpi_ca.a
180	;
181