Sync ACPICA with Intel's version 20180927:
[dragonfly.git] / sys / contrib / dev / acpica / generate / unix / acpiexamples / Makefile
blob0f23c88de3dbce26fb787aa8104d016568a1f3eb
2 # acpiexamples - Example ACPICA initialization code and control
3 # method execution.
7 # Note: This makefile is intended to be used from within the native
8 # ACPICA directory structure, from under generate/unix. It specifically
9 # places all object files in a generate/unix subdirectory, not within
10 # the various ACPICA source directories. This prevents collisions
11 # between different compilations of the same source file with different
12 # compile options, and prevents pollution of the source code.
14 include ../Makefile.config
15 FINAL_PROG = ../$(BINDIR)/acpiexamples
16 PROG = $(OBJDIR)/acpiexamples
19 # Search paths for source files
21 vpath %.c \
22 $(ACPIEXAMPLES)\
23 $(ACPICA_DISPATCHER)\
24 $(ACPICA_EVENTS)\
25 $(ACPICA_EXECUTER)\
26 $(ACPICA_HARDWARE)\
27 $(ACPICA_NAMESPACE)\
28 $(ACPICA_PARSER)\
29 $(ACPICA_TABLES)\
30 $(ACPICA_UTILITIES)\
31 $(ACPICA_COMMON)\
32 $(ACPICA_OSL)
34 HEADERS = \
35 $(wildcard $(ACPIEXAMPLES)/*.h)
37 OBJECTS = \
38 $(OBJDIR)/examples.o\
39 $(OBJDIR)/exstubs.o\
40 $(OBJDIR)/extables.o\
41 $(OBJDIR)/dsargs.o\
42 $(OBJDIR)/dscontrol.o\
43 $(OBJDIR)/dsdebug.o\
44 $(OBJDIR)/dsfield.o\
45 $(OBJDIR)/dsinit.o\
46 $(OBJDIR)/dsmethod.o\
47 $(OBJDIR)/dsmthdat.o\
48 $(OBJDIR)/dsobject.o\
49 $(OBJDIR)/dsopcode.o\
50 $(OBJDIR)/dspkginit.o\
51 $(OBJDIR)/dsutils.o\
52 $(OBJDIR)/dswexec.o\
53 $(OBJDIR)/dswload.o\
54 $(OBJDIR)/dswload2.o\
55 $(OBJDIR)/dswscope.o\
56 $(OBJDIR)/dswstate.o\
57 $(OBJDIR)/evhandler.o\
58 $(OBJDIR)/evmisc.o\
59 $(OBJDIR)/evregion.o\
60 $(OBJDIR)/evrgnini.o\
61 $(OBJDIR)/evxface.o\
62 $(OBJDIR)/evxfregn.o\
63 $(OBJDIR)/exconcat.o\
64 $(OBJDIR)/exconfig.o\
65 $(OBJDIR)/exconvrt.o\
66 $(OBJDIR)/excreate.o\
67 $(OBJDIR)/exdebug.o\
68 $(OBJDIR)/exdump.o\
69 $(OBJDIR)/exfield.o\
70 $(OBJDIR)/exfldio.o\
71 $(OBJDIR)/exmisc.o\
72 $(OBJDIR)/exmutex.o\
73 $(OBJDIR)/exnames.o\
74 $(OBJDIR)/exoparg1.o\
75 $(OBJDIR)/exoparg2.o\
76 $(OBJDIR)/exoparg3.o\
77 $(OBJDIR)/exoparg6.o\
78 $(OBJDIR)/exprep.o\
79 $(OBJDIR)/exregion.o\
80 $(OBJDIR)/exresnte.o\
81 $(OBJDIR)/exresolv.o\
82 $(OBJDIR)/exresop.o\
83 $(OBJDIR)/exserial.o\
84 $(OBJDIR)/exstore.o\
85 $(OBJDIR)/exstoren.o\
86 $(OBJDIR)/exstorob.o\
87 $(OBJDIR)/exsystem.o\
88 $(OBJDIR)/extrace.o\
89 $(OBJDIR)/exutils.o\
90 $(OBJDIR)/hwpci.o\
91 $(OBJDIR)/nsaccess.o\
92 $(OBJDIR)/nsalloc.o\
93 $(OBJDIR)/nsarguments.o\
94 $(OBJDIR)/nsconvert.o\
95 $(OBJDIR)/nsdump.o\
96 $(OBJDIR)/nseval.o\
97 $(OBJDIR)/nsinit.o\
98 $(OBJDIR)/nsload.o\
99 $(OBJDIR)/nsnames.o\
100 $(OBJDIR)/nsobject.o\
101 $(OBJDIR)/nsparse.o\
102 $(OBJDIR)/nspredef.o\
103 $(OBJDIR)/nsprepkg.o\
104 $(OBJDIR)/nsrepair.o\
105 $(OBJDIR)/nsrepair2.o\
106 $(OBJDIR)/nssearch.o\
107 $(OBJDIR)/nsutils.o\
108 $(OBJDIR)/nswalk.o\
109 $(OBJDIR)/nsxfeval.o\
110 $(OBJDIR)/nsxfname.o\
111 $(OBJDIR)/nsxfobj.o\
112 $(OBJDIR)/osunixxf.o\
113 $(OBJDIR)/psargs.o\
114 $(OBJDIR)/psloop.o\
115 $(OBJDIR)/psobject.o\
116 $(OBJDIR)/psopcode.o\
117 $(OBJDIR)/psopinfo.o\
118 $(OBJDIR)/psparse.o\
119 $(OBJDIR)/psscope.o\
120 $(OBJDIR)/pstree.o\
121 $(OBJDIR)/psutils.o\
122 $(OBJDIR)/pswalk.o\
123 $(OBJDIR)/psxface.o\
124 $(OBJDIR)/tbdata.o\
125 $(OBJDIR)/tbfadt.o\
126 $(OBJDIR)/tbfind.o\
127 $(OBJDIR)/tbinstal.o\
128 $(OBJDIR)/tbprint.o\
129 $(OBJDIR)/tbutils.o\
130 $(OBJDIR)/tbxface.o\
131 $(OBJDIR)/tbxfload.o\
132 $(OBJDIR)/tbxfroot.o\
133 $(OBJDIR)/utaddress.o\
134 $(OBJDIR)/utalloc.o\
135 $(OBJDIR)/utascii.o\
136 $(OBJDIR)/utbuffer.o\
137 $(OBJDIR)/utcache.o\
138 $(OBJDIR)/utcopy.o\
139 $(OBJDIR)/utdebug.o\
140 $(OBJDIR)/utdecode.o\
141 $(OBJDIR)/utdelete.o\
142 $(OBJDIR)/uterror.o\
143 $(OBJDIR)/uteval.o\
144 $(OBJDIR)/utexcep.o\
145 $(OBJDIR)/utglobal.o\
146 $(OBJDIR)/uthex.o\
147 $(OBJDIR)/utids.o\
148 $(OBJDIR)/utinit.o\
149 $(OBJDIR)/utlock.o\
150 $(OBJDIR)/utmath.o\
151 $(OBJDIR)/utmisc.o\
152 $(OBJDIR)/utmutex.o\
153 $(OBJDIR)/utobject.o\
154 $(OBJDIR)/utosi.o\
155 $(OBJDIR)/utownerid.o\
156 $(OBJDIR)/utnonansi.o\
157 $(OBJDIR)/utpredef.o\
158 $(OBJDIR)/utresrc.o\
159 $(OBJDIR)/utstate.o\
160 $(OBJDIR)/utstring.o\
161 $(OBJDIR)/utstrsuppt.o\
162 $(OBJDIR)/utstrtoul64.o\
163 $(OBJDIR)/utxface.o\
164 $(OBJDIR)/utxferror.o\
165 $(OBJDIR)/utxfinit.o
168 # Flags specific to acpinames utility
170 CFLAGS += \
171 -DACPI_EXAMPLE_APP\
172 -I$(ACPIEXAMPLES)
175 # Common Rules
177 include ../Makefile.rules