xref: /freebsd/usr.sbin/acpi/acpidb/Makefile (revision 56961fd7949de755f95a60fe8ac936f81e953f5b)
1# $FreeBSD$
2
3PROG=	acpidb
4SRCS=	acpidb.c
5
6# components/debugger
7SRCS+=	dbcmds.c dbdisply.c dbexec.c dbfileio.c dbhistry.c	\
8	dbinput.c dbmethod.c dbnames.c dbstats.c dbutils.c	\
9	dbxface.c
10
11# components/disassembler
12SRCS+=	dmbuffer.c dmdeferred.c dmnames.c dmobject.c dmopcode.c	\
13	dmresrc.c dmresrcl.c dmresrcl2.c dmresrcs.c dmutils.c	\
14	dmwalk.c
15
16# components/dispatcher
17SRCS+=	dsargs.c dscontrol.c dsfield.c dsinit.c dsmethod.c	\
18	dsmthdat.c dsobject.c dsopcode.c dsutils.c dswexec.c	\
19	dswload.c dswload2.c dswscope.c dswstate.c
20
21# components/events
22SRCS+=	evevent.c evglock.c evgpe.c evgpeblk.c evgpeinit.c	\
23	evgpeutil.c evmisc.c evregion.c evrgnini.c evsci.c	\
24	evxface.c evxfevnt.c evxfregn.c
25
26# components/executer
27SRCS+=	exconfig.c exconvrt.c excreate.c exdebug.c exdump.c	\
28	exfield.c exfldio.c exmisc.c exmutex.c exnames.c	\
29	exoparg1.c exoparg2.c exoparg3.c exoparg6.c exprep.c	\
30	exregion.c exresnte.c exresolv.c exresop.c exstore.c	\
31	exstoren.c exstorob.c exsystem.c exutils.c
32
33# components/hardware
34SRCS+=	hwacpi.c hwesleep.c hwgpe.c hwpci.c hwregs.c hwsleep.c	\
35	hwvalid.c hwxface.c hwxfsleep.c
36
37# components/namespace
38SRCS+=	nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c		\
39	nsload.c nsnames.c nsobject.c nsparse.c nspredef.c	\
40	nsrepair.c nsrepair2.c nssearch.c nsutils.c nswalk.c	\
41	nsxfeval.c nsxfname.c nsxfobj.c
42
43# components/parser
44SRCS+=	psargs.c psloop.c psopcode.c psparse.c psscope.c	\
45	pstree.c psutils.c pswalk.c psxface.c
46
47# components/os_specific/service_layers
48SRCS+=	osunixxf.c
49
50# components/resources
51SRCS+=	rsaddr.c rscalc.c rscreate.c rsdump.c rsinfo.c		\
52	rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c		\
53	rsserial.c rsutils.c rsxface.c
54
55# components/tables
56SRCS+=	tbfadt.c tbfind.c tbinstal.c tbutils.c tbxface.c	\
57	tbxfload.c
58
59# components/utilities
60SRCS+=	utaddress.c utalloc.c utcache.c utcopy.c utdebug.c	\
61	utdecode.c utdelete.c uteval.c utexcep.c utglobal.c	\
62	utids.c	utinit.c utlock.c utmath.c utmisc.c utmutex.c	\
63	utobject.c utosi.c utresrc.c utstate.c uttrack.c	\
64	utxface.c utxferror.c utxfinit.c
65
66MAN=	acpidb.8
67WARNS?=	2
68
69CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing
70DPADD=	${LIBPTHREAD}
71LDADD=	-lpthread
72
73.include <bsd.prog.mk>
74