7 SRCS+= acfileio.c acgetline.c ahids.c ahuuids.c cmfsize.c
10 SRCS+= dbcmds.c dbconvert.c dbdisply.c dbexec.c dbfileio.c \
11 dbhistry.c dbinput.c dbmethod.c dbnames.c dbobject.c \
12 dbstats.c dbtest.c dbutils.c dbxface.c
14 # components/disassembler
15 SRCS+= dmbuffer.c dmcstyle.c dmdeferred.c dmnames.c dmopcode.c \
16 dmresrc.c dmresrcl.c dmresrcl2.c dmresrcs.c dmutils.c \
19 # components/dispatcher
20 SRCS+= dsargs.c dscontrol.c dsdebug.c dsfield.c dsinit.c \
21 dsmethod.c dsmthdat.c dsobject.c dsopcode.c dspkginit.c \
22 dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
26 SRCS+= evevent.c evglock.c evgpe.c evgpeblk.c evgpeinit.c \
27 evgpeutil.c evhandler.c evmisc.c evregion.c evrgnini.c \
28 evsci.c evxface.c evxfevnt.c evxfregn.c
31 SRCS+= exconcat.c exconfig.c exconvrt.c excreate.c exdebug.c \
32 exdump.c exfield.c exfldio.c exmisc.c exmutex.c \
33 exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c \
34 exprep.c exregion.c exresnte.c exresolv.c exresop.c \
35 exserial.c exstore.c exstoren.c exstorob.c exsystem.c \
39 SRCS+= hwacpi.c hwesleep.c hwgpe.c hwpci.c hwregs.c hwsleep.c \
40 hwvalid.c hwxface.c hwxfsleep.c
42 # components/namespace
43 SRCS+= nsaccess.c nsalloc.c nsarguments.c nsconvert.c nsdump.c \
44 nseval.c nsinit.c nsload.c nsnames.c nsobject.c \
45 nsparse.c nspredef.c nsprepkg.c nsrepair.c nsrepair2.c \
46 nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c \
50 SRCS+= psargs.c psloop.c psobject.c psopcode.c psopinfo.c \
51 psparse.c psscope.c pstree.c psutils.c pswalk.c \
54 # components/resources
55 SRCS+= rsaddr.c rscalc.c rscreate.c rsdump.c rsdumpinfo.c \
56 rsinfo.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c \
57 rsserial.c rsutils.c rsxface.c
60 SRCS+= tbdata.c tbfadt.c tbfind.c tbinstal.c tbprint.c \
61 tbutils.c tbxface.c tbxfload.c
63 # components/utilities
64 SRCS+= utaddress.c utalloc.c utascii.c utbuffer.c utcache.c \
65 utcopy.c utdebug.c utdecode.c utdelete.c uterror.c \
66 uteval.c utexcep.c utglobal.c uthex.c utids.c utinit.c \
67 utlock.c utmath.c utmisc.c utmutex.c utnonansi.c \
68 utobject.c utosi.c utownerid.c utpredef.c utresdecode.c \
69 utresrc.c utstate.c utstring.c utstrsuppt.c \
70 utstrtoul64.c uttrack.c utuuid.c utxface.c utxferror.c \
73 # os_specific/service_layers
74 SRCS+= osgendbg.c osunixxf.c
79 CFLAGS+= -DACPI_DB_APP -DACPI_EXEC_APP -fno-strict-aliasing
82 .include <bsd.prog.mk>
84 # clang 6.0.0 and higher warn about the ACPI_ROOT_OBJECT and
85 # ACPI_TO_POINTER macros from sys/contrib/dev/acpica/include/actypes.h,
86 # that they use arithmetic on a null pointer treated as a cast from
87 # integer to pointer, which is a GNU extension.
89 # Turn off the warning, because this is in contributed code.
90 .if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 60000
91 CWARNFLAGS+= -Wno-null-pointer-arithmetic