Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2216 | Serge | 1 | # |
2 | # acpinames - Load ACPI table and dump namespace. This is a subset |
||
3 | # of the AcpiExec functionality, it is intended to demonstrate |
||
4 | # the configurability of ACPICA. |
||
5 | # |
||
6 | |||
7 | # |
||
8 | # Note: This makefile is intended to be used from within the native |
||
9 | # ACPICA directory structure, from under generate/unix. It specifically |
||
10 | # places all object files in a generate/unix subdirectory, not within |
||
11 | # the various ACPICA source directories. This prevents collisions |
||
12 | # between different compilations of the same source file with different |
||
13 | # compile options, and prevents pollution of the source code. |
||
14 | # |
||
15 | include ../Makefile.config |
||
16 | PROG = acpinames |
||
17 | |||
18 | # |
||
19 | # Flags specific to acpinames utility |
||
20 | # |
||
21 | CFLAGS+= \ |
||
22 | -DACPI_NAMES_APP \ |
||
23 | -I$(ACPICA_TOOLS)/acpinames |
||
24 | |||
25 | OBJS = \ |
||
26 | anmain.o \ |
||
27 | anstubs.o \ |
||
28 | antables.o \ |
||
29 | dbfileio.o \ |
||
30 | dsfield.o \ |
||
31 | dsmthdat.o \ |
||
32 | dsobject.o \ |
||
33 | dsutils.o \ |
||
34 | dswload.o \ |
||
35 | dswload2.o \ |
||
36 | dswscope.o \ |
||
37 | dswstate.o \ |
||
38 | excreate.o \ |
||
39 | exnames.o \ |
||
40 | exresnte.o \ |
||
41 | exresolv.o \ |
||
42 | exutils.o \ |
||
43 | getopt.o \ |
||
44 | nsaccess.o \ |
||
45 | nsalloc.o \ |
||
46 | nsdump.o \ |
||
47 | nsinit.o \ |
||
48 | nsload.o \ |
||
49 | nsnames.o \ |
||
50 | nsobject.o \ |
||
51 | nsparse.o \ |
||
52 | nssearch.o \ |
||
53 | nsutils.o \ |
||
54 | nswalk.o \ |
||
55 | nsxfeval.o \ |
||
56 | nsxfname.o \ |
||
57 | nsxfobj.o \ |
||
58 | osunixxf.o \ |
||
59 | psargs.o \ |
||
60 | psloop.o \ |
||
61 | psopcode.o \ |
||
62 | psparse.o \ |
||
63 | psscope.o \ |
||
64 | pstree.o \ |
||
65 | psutils.o \ |
||
66 | pswalk.o \ |
||
67 | psxface.o \ |
||
68 | tbfadt.o \ |
||
69 | tbfind.o \ |
||
70 | tbinstal.o \ |
||
71 | tbutils.o \ |
||
72 | tbxface.o \ |
||
73 | tbxfroot.o \ |
||
74 | utalloc.o \ |
||
75 | utcache.o \ |
||
76 | utdebug.o \ |
||
77 | utdecode.o \ |
||
78 | utdelete.o \ |
||
79 | utglobal.o \ |
||
80 | utlock.o \ |
||
81 | utmath.o \ |
||
82 | utmisc.o \ |
||
83 | utmutex.o \ |
||
84 | utobject.o \ |
||
85 | utstate.o \ |
||
86 | utosi.o \ |
||
87 | utxferror.o \ |
||
88 | utxface.o |
||
89 | |||
90 | # |
||
91 | # Root rule |
||
92 | # |
||
93 | $(PROG) : $(OBJS) |
||
94 | $(CC) $(LDFLAGS) $(OBJS) -o $(PROG) |
||
95 | $(COPYPROG) |
||
96 | |||
97 | # |
||
98 | # acpinames source |
||
99 | # |
||
100 | anmain.o : $(ACPICA_TOOLS)/acpinames/anmain.c |
||
101 | $(COMPILE) |
||
102 | |||
103 | anstubs.o : $(ACPICA_TOOLS)/acpinames/anstubs.c |
||
104 | $(COMPILE) |
||
105 | |||
106 | antables.o : $(ACPICA_TOOLS)/acpinames/antables.c |
||
107 | $(COMPILE) |
||
108 | |||
109 | # |
||
110 | # ACPICA core source - common |
||
111 | # |
||
112 | getopt.o : $(ACPICA_COMMON)/getopt.c |
||
113 | $(COMPILE) |
||
114 | |||
115 | # |
||
116 | # ACPICA core source |
||
117 | # |
||
118 | dbfileio.o : $(ACPICA_CORE)/debugger/dbfileio.c |
||
119 | $(COMPILE) |
||
120 | |||
121 | dsfield.o : $(ACPICA_CORE)/dispatcher/dsfield.c |
||
122 | $(COMPILE) |
||
123 | |||
124 | dsmthdat.o : $(ACPICA_CORE)/dispatcher/dsmthdat.c |
||
125 | $(COMPILE) |
||
126 | |||
127 | dsobject.o : $(ACPICA_CORE)/dispatcher/dsobject.c |
||
128 | $(COMPILE) |
||
129 | |||
130 | dsutils.o : $(ACPICA_CORE)/dispatcher/dsutils.c |
||
131 | $(COMPILE) |
||
132 | |||
133 | dswload.o : $(ACPICA_CORE)/dispatcher/dswload.c |
||
134 | $(COMPILE) |
||
135 | |||
136 | dswload2.o : $(ACPICA_CORE)/dispatcher/dswload2.c |
||
137 | $(COMPILE) |
||
138 | |||
139 | dswscope.o : $(ACPICA_CORE)/dispatcher/dswscope.c |
||
140 | $(COMPILE) |
||
141 | |||
142 | dswstate.o : $(ACPICA_CORE)/dispatcher/dswstate.c |
||
143 | $(COMPILE) |
||
144 | |||
145 | excreate.o : $(ACPICA_CORE)/executer/excreate.c |
||
146 | $(COMPILE) |
||
147 | |||
148 | exnames.o : $(ACPICA_CORE)/executer/exnames.c |
||
149 | $(COMPILE) |
||
150 | |||
151 | exresnte.o : $(ACPICA_CORE)/executer/exresnte.c |
||
152 | $(COMPILE) |
||
153 | |||
154 | exresolv.o : $(ACPICA_CORE)/executer/exresolv.c |
||
155 | $(COMPILE) |
||
156 | |||
157 | exutils.o : $(ACPICA_CORE)/executer/exutils.c |
||
158 | $(COMPILE) |
||
159 | |||
160 | nsaccess.o : $(ACPICA_CORE)/namespace/nsaccess.c |
||
161 | $(COMPILE) |
||
162 | |||
163 | nsalloc.o : $(ACPICA_CORE)/namespace/nsalloc.c |
||
164 | $(COMPILE) |
||
165 | |||
166 | nsdump.o : $(ACPICA_CORE)/namespace/nsdump.c |
||
167 | $(COMPILE) |
||
168 | |||
169 | nsinit.o : $(ACPICA_CORE)/namespace/nsinit.c |
||
170 | $(COMPILE) |
||
171 | |||
172 | nsload.o : $(ACPICA_CORE)/namespace/nsload.c |
||
173 | $(COMPILE) |
||
174 | |||
175 | nsnames.o : $(ACPICA_CORE)/namespace/nsnames.c |
||
176 | $(COMPILE) |
||
177 | |||
178 | nsobject.o : $(ACPICA_CORE)/namespace/nsobject.c |
||
179 | $(COMPILE) |
||
180 | |||
181 | nsparse.o : $(ACPICA_CORE)/namespace/nsparse.c |
||
182 | $(COMPILE) |
||
183 | |||
184 | nssearch.o : $(ACPICA_CORE)/namespace/nssearch.c |
||
185 | $(COMPILE) |
||
186 | |||
187 | nsutils.o : $(ACPICA_CORE)/namespace/nsutils.c |
||
188 | $(COMPILE) |
||
189 | |||
190 | nswalk.o : $(ACPICA_CORE)/namespace/nswalk.c |
||
191 | $(COMPILE) |
||
192 | |||
193 | nsxfeval.o : $(ACPICA_CORE)/namespace/nsxfeval.c |
||
194 | $(COMPILE) |
||
195 | |||
196 | nsxfname.o : $(ACPICA_CORE)/namespace/nsxfname.c |
||
197 | $(COMPILE) |
||
198 | |||
199 | nsxfobj.o : $(ACPICA_CORE)/namespace/nsxfobj.c |
||
200 | $(COMPILE) |
||
201 | |||
202 | psargs.o : $(ACPICA_CORE)/parser/psargs.c |
||
203 | $(COMPILE) |
||
204 | |||
205 | psloop.o : $(ACPICA_CORE)/parser/psloop.c |
||
206 | $(COMPILE) |
||
207 | |||
208 | psopcode.o : $(ACPICA_CORE)/parser/psopcode.c |
||
209 | $(COMPILE) |
||
210 | |||
211 | psparse.o : $(ACPICA_CORE)/parser/psparse.c |
||
212 | $(COMPILE) |
||
213 | |||
214 | psscope.o : $(ACPICA_CORE)/parser/psscope.c |
||
215 | $(COMPILE) |
||
216 | |||
217 | pstree.o : $(ACPICA_CORE)/parser/pstree.c |
||
218 | $(COMPILE) |
||
219 | |||
220 | psutils.o : $(ACPICA_CORE)/parser/psutils.c |
||
221 | $(COMPILE) |
||
222 | |||
223 | pswalk.o : $(ACPICA_CORE)/parser/pswalk.c |
||
224 | $(COMPILE) |
||
225 | |||
226 | psxface.o : $(ACPICA_CORE)/parser/psxface.c |
||
227 | $(COMPILE) |
||
228 | |||
229 | tbfadt.o : $(ACPICA_CORE)/tables/tbfadt.c |
||
230 | $(COMPILE) |
||
231 | |||
232 | tbfind.o : $(ACPICA_CORE)/tables/tbfind.c |
||
233 | $(COMPILE) |
||
234 | |||
235 | tbinstal.o : $(ACPICA_CORE)/tables/tbinstal.c |
||
236 | $(COMPILE) |
||
237 | |||
238 | tbutils.o : $(ACPICA_CORE)/tables/tbutils.c |
||
239 | $(COMPILE) |
||
240 | |||
241 | tbxface.o : $(ACPICA_CORE)/tables/tbxface.c |
||
242 | $(COMPILE) |
||
243 | |||
244 | tbxfroot.o : $(ACPICA_CORE)/tables/tbxfroot.c |
||
245 | $(COMPILE) |
||
246 | |||
247 | utalloc.o : $(ACPICA_CORE)/utilities/utalloc.c |
||
248 | $(COMPILE) |
||
249 | |||
250 | utcache.o : $(ACPICA_CORE)/utilities/utcache.c |
||
251 | $(COMPILE) |
||
252 | |||
253 | utdebug.o : $(ACPICA_CORE)/utilities/utdebug.c |
||
254 | $(COMPILE) |
||
255 | |||
256 | utdecode.o : $(ACPICA_CORE)/utilities/utdecode.c |
||
257 | $(COMPILE) |
||
258 | |||
259 | utdelete.o : $(ACPICA_CORE)/utilities/utdelete.c |
||
260 | $(COMPILE) |
||
261 | |||
262 | utglobal.o : $(ACPICA_CORE)/utilities/utglobal.c |
||
263 | $(COMPILE) |
||
264 | |||
265 | utlock.o : $(ACPICA_CORE)/utilities/utlock.c |
||
266 | $(COMPILE) |
||
267 | |||
268 | utmath.o : $(ACPICA_CORE)/utilities/utmath.c |
||
269 | $(COMPILE) |
||
270 | |||
271 | utmisc.o : $(ACPICA_CORE)/utilities/utmisc.c |
||
272 | $(COMPILE) |
||
273 | |||
274 | utmutex.o : $(ACPICA_CORE)/utilities/utmutex.c |
||
275 | $(COMPILE) |
||
276 | |||
277 | utobject.o : $(ACPICA_CORE)/utilities/utobject.c |
||
278 | $(COMPILE) |
||
279 | |||
280 | utstate.o : $(ACPICA_CORE)/utilities/utstate.c |
||
281 | $(COMPILE) |
||
282 | |||
283 | utosi.o : $(ACPICA_CORE)/utilities/utosi.c |
||
284 | $(COMPILE) |
||
285 | |||
286 | utxferror.o : $(ACPICA_CORE)/utilities/utxferror.c |
||
287 | $(COMPILE) |
||
288 | |||
289 | utxface.o : $(ACPICA_CORE)/utilities/utxface.c |
||
290 | $(COMPILE) |
||
291 | |||
292 | # |
||
293 | # Unix OS services layer (OSL) |
||
294 | # |
||
295 | osunixxf.o : $(ACPICA_OSL)/osunixxf.c |
||
296 | $(COMPILE) |
||
297 | |||
298 | |||
299 | clean : |
||
300 | rm -f $(PROG) $(PROG).exe $(OBJS) |
||
301 | |||
302 | install : |
||
303 | $(INSTALLPROG) |