Sync ACPICA with Intel's version 20180508 (from previously 20170831).
[dragonfly.git] / usr.sbin / acpi / acpiexec / Makefile
blob839c7fe81932a09791997ff9f864ddcd7aadaa85
2 # acpiexec: ACPI execution simulator. Runs ACPICA code in user
3 # space. Loads ACPI tables, displays the namespace, and allows
4 # execution of control methods.
7 UTILDIR=${.CURDIR}/../../../sys/contrib/dev/acpica/source/tools/acpiexec
9 .PATH: ${UTILDIR}
11 PROG= acpiexec
12 MAN= acpiexec.8
14 SRCS= \
15 aeexec.c \
16 aeexception.c \
17 aehandlers.c \
18 aeinitfile.c \
19 aeinstall.c \
20 aemain.c \
21 aeregion.c \
22 aetables.c \
23 aetests.c
25 SRCS+= \
26 acfileio.c \
27 acgetline.c \
28 ahids.c \
29 ahuuids.c \
30 cmfsize.c \
31 dbcmds.c \
32 dbconvert.c \
33 dbdisply.c \
34 dbexec.c \
35 dbfileio.c \
36 dbhistry.c \
37 dbinput.c \
38 dbmethod.c \
39 dbnames.c \
40 dbobject.c \
41 dbstats.c \
42 dbtest.c \
43 dbutils.c \
44 dbxface.c \
45 dmbuffer.c \
46 dmcstyle.c \
47 dmdeferred.c \
48 dmnames.c \
49 dmopcode.c \
50 dmresrc.c \
51 dmresrcl.c \
52 dmresrcl2.c \
53 dmresrcs.c \
54 dmutils.c \
55 dmwalk.c \
56 dsargs.c \
57 dscontrol.c \
58 dsdebug.c \
59 dsfield.c \
60 dsinit.c \
61 dsmethod.c \
62 dsmthdat.c \
63 dsobject.c \
64 dsopcode.c \
65 dspkginit.c \
66 dsutils.c \
67 dswexec.c \
68 dswload.c \
69 dswload2.c \
70 dswscope.c \
71 dswstate.c \
72 evevent.c \
73 evglock.c \
74 evgpe.c \
75 evgpeblk.c \
76 evgpeinit.c \
77 evgpeutil.c \
78 evhandler.c \
79 evmisc.c \
80 evregion.c \
81 evrgnini.c \
82 evsci.c \
83 evxface.c \
84 evxfevnt.c \
85 evxfgpe.c \
86 evxfregn.c \
87 exconcat.c \
88 exconfig.c \
89 exconvrt.c \
90 excreate.c \
91 exdebug.c \
92 exdump.c \
93 exfield.c \
94 exfldio.c \
95 exmisc.c \
96 exmutex.c \
97 exnames.c \
98 exoparg1.c \
99 exoparg2.c \
100 exoparg3.c \
101 exoparg6.c \
102 exprep.c \
103 exregion.c \
104 exresnte.c \
105 exresolv.c \
106 exresop.c \
107 exstore.c \
108 exstoren.c \
109 exstorob.c \
110 exsystem.c \
111 extrace.c \
112 exutils.c \
113 getopt.c \
114 hwacpi.c \
115 hwesleep.c \
116 hwgpe.c \
117 hwpci.c \
118 hwregs.c \
119 hwsleep.c \
120 hwtimer.c \
121 hwvalid.c \
122 hwxface.c \
123 hwxfsleep.c \
124 nsaccess.c \
125 nsalloc.c \
126 nsarguments.c \
127 nsconvert.c \
128 nsdump.c \
129 nseval.c \
130 nsinit.c \
131 nsload.c \
132 nsnames.c \
133 nsobject.c \
134 nsparse.c \
135 nspredef.c \
136 nsprepkg.c \
137 nsrepair.c \
138 nsrepair2.c \
139 nssearch.c \
140 nsutils.c \
141 nswalk.c \
142 nsxfeval.c \
143 nsxfname.c \
144 nsxfobj.c \
145 osgendbg.c \
146 osunixxf.c \
147 psargs.c \
148 psloop.c \
149 psobject.c \
150 psopcode.c \
151 psopinfo.c \
152 psparse.c \
153 psscope.c \
154 pstree.c \
155 psutils.c \
156 pswalk.c \
157 psxface.c \
158 rsaddr.c \
159 rscalc.c \
160 rscreate.c \
161 rsdump.c \
162 rsdumpinfo.c \
163 rsinfo.c \
164 rsio.c \
165 rsirq.c \
166 rslist.c \
167 rsmemory.c \
168 rsmisc.c \
169 rsserial.c \
170 rsutils.c \
171 rsxface.c \
172 tbdata.c \
173 tbfadt.c \
174 tbfind.c \
175 tbinstal.c \
176 tbprint.c \
177 tbutils.c \
178 tbxface.c \
179 tbxfload.c \
180 tbxfroot.c \
181 utaddress.c \
182 utascii.c \
183 utalloc.c \
184 utbuffer.c \
185 utcache.c \
186 utcopy.c \
187 utdebug.c \
188 utdecode.c \
189 utdelete.c \
190 uterror.c \
191 uteval.c \
192 utexcep.c \
193 utglobal.c \
194 uthex.c \
195 utids.c \
196 utinit.c \
197 utlock.c \
198 utmath.c \
199 utmisc.c \
200 utmutex.c \
201 utnonansi.c \
202 utobject.c \
203 utosi.c \
204 utownerid.c \
205 utpredef.c \
206 utresdecode.c \
207 utresrc.c \
208 utstate.c \
209 utstring.c \
210 utstrsuppt.c \
211 utstrtoul64.c \
212 uttrack.c \
213 utuuid.c \
214 utxface.c \
215 utxferror.c \
216 utxfinit.c \
217 utxfmutex.c
219 CFLAGS+= \
220 -DACPI_EXEC_APP \
221 -I${UTILDIR}
223 #ifeq ($(ASLTS),TRUE)
224 #CFLAGS += \
225 # -DACPI_CHECKSUM_ABORT=TRUE
226 #endif
228 LDADD+= -lpthread
229 DPADD+= ${LIBPTHREAD}
231 # XXX issue with ACPI_OSD_EXEC_CALLBACK
232 NO_WCAST_FUNCTION_TYPE=
234 .include <bsd.prog.mk>