freebsd-dev/usr.sbin/acpi/acpidb/Makefile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

97 lines
3.1 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PROG= acpidb
2005-11-01 22:44:08 +00:00
SRCS= acpidb.c
2014-10-02 19:11:18 +00:00
# common
2016-04-27 19:09:21 +00:00
SRCS+= acfileio.c acgetline.c ahids.c ahuuids.c cmfsize.c
2014-10-02 19:11:18 +00:00
2012-02-16 22:59:29 +00:00
# components/debugger
2013-01-17 23:56:43 +00:00
SRCS+= dbcmds.c dbconvert.c dbdisply.c dbexec.c dbfileio.c \
2015-07-22 16:25:07 +00:00
dbhistry.c dbinput.c dbmethod.c dbnames.c dbobject.c \
dbstats.c dbtest.c dbutils.c dbxface.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/disassembler
2015-07-22 16:25:07 +00:00
SRCS+= dmbuffer.c dmcstyle.c dmdeferred.c dmnames.c dmopcode.c \
dmresrc.c dmresrcl.c dmresrcl2.c dmresrcs.c dmutils.c \
dmwalk.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/dispatcher
2015-07-22 16:25:07 +00:00
SRCS+= dsargs.c dscontrol.c dsdebug.c dsfield.c dsinit.c \
2017-07-28 22:23:29 +00:00
dsmethod.c dsmthdat.c dsobject.c dsopcode.c dspkginit.c \
dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
dswstate.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/events
SRCS+= evevent.c evglock.c evgpe.c evgpeblk.c evgpeinit.c \
2013-01-17 23:56:43 +00:00
evgpeutil.c evhandler.c evmisc.c evregion.c evrgnini.c \
evsci.c evxface.c evxfevnt.c evxfregn.c
2012-02-16 22:59:29 +00:00
# components/executer
2016-04-27 19:09:21 +00:00
SRCS+= exconcat.c exconfig.c exconvrt.c excreate.c exdebug.c \
exdump.c exfield.c exfldio.c exmisc.c exmutex.c \
exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c \
exprep.c exregion.c exresnte.c exresolv.c exresop.c \
exserial.c exstore.c exstoren.c exstorob.c exsystem.c \
extrace.c exutils.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/hardware
SRCS+= hwacpi.c hwesleep.c hwgpe.c hwpci.c hwregs.c hwsleep.c \
hwvalid.c hwxface.c hwxfsleep.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/namespace
2013-04-19 23:49:34 +00:00
SRCS+= nsaccess.c nsalloc.c nsarguments.c nsconvert.c nsdump.c \
nseval.c nsinit.c nsload.c nsnames.c nsobject.c \
nsparse.c nspredef.c nsprepkg.c nsrepair.c nsrepair2.c \
nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c \
nsxfobj.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/parser
2013-01-17 23:56:43 +00:00
SRCS+= psargs.c psloop.c psobject.c psopcode.c psopinfo.c \
psparse.c psscope.c pstree.c psutils.c pswalk.c \
psxface.c
2012-02-16 22:59:29 +00:00
# components/resources
2013-01-17 23:56:43 +00:00
SRCS+= rsaddr.c rscalc.c rscreate.c rsdump.c rsdumpinfo.c \
rsinfo.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c \
2011-11-28 23:36:48 +00:00
rsserial.c rsutils.c rsxface.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/tables
2014-10-02 19:11:18 +00:00
SRCS+= tbdata.c tbfadt.c tbfind.c tbinstal.c tbprint.c \
tbutils.c tbxface.c tbxfload.c
2005-11-01 22:44:08 +00:00
2012-02-16 22:59:29 +00:00
# components/utilities
2016-04-27 19:09:21 +00:00
SRCS+= utaddress.c utalloc.c utascii.c utbuffer.c utcache.c \
2022-10-28 02:04:32 +00:00
utcksum.c utcopy.c utdebug.c utdecode.c utdelete.c \
uterror.c uteval.c utexcep.c utglobal.c uthex.c utids.c \
utinit.c utlock.c utmath.c utmisc.c utmutex.c \
utnonansi.c utobject.c utosi.c utownerid.c utpredef.c \
utresdecode.c utresrc.c utstate.c utstring.c \
utstrsuppt.c utstrtoul64.c uttrack.c utuuid.c utxface.c \
utxferror.c utxfinit.c
2014-10-02 19:11:18 +00:00
# os_specific/service_layers
2017-01-05 21:28:25 +00:00
SRCS+= osgendbg.c osunixxf.c
2014-10-02 19:11:18 +00:00
MAN= acpidb.8
WARNS?= 3
2018-08-13 16:26:26 +00:00
CFLAGS+= -DACPI_DB_APP -DACPI_EXEC_APP -fno-strict-aliasing
LIBADD= pthread
.include <bsd.prog.mk>
# clang 6.0.0 and higher warn about the ACPI_ROOT_OBJECT and
# ACPI_TO_POINTER macros from sys/contrib/dev/acpica/include/actypes.h,
# that they use arithmetic on a null pointer treated as a cast from
# integer to pointer, which is a GNU extension.
#
# Turn off the warning, because this is in contributed code.
.if ${COMPILER_TYPE} == "clang"
CWARNFLAGS+= -Wno-null-pointer-arithmetic
.endif
# AcpiUtInitStackPtrTrace intentionally leaks a pointer to an
# on-stack variable.
CWARNFLAGS.utdebug.c+= ${NO_WDANGLING_POINTER}