xref: /freebsd/usr.sbin/acpi/acpidb/Makefile (revision 3e102307b7637eaab1e213740399e9ce50ef3c1b)
1# $FreeBSD$
2
3PROG=	acpidb
4SRCS=	acpidb.c
5
6# components/debugger
7SRCS+=	dbcmds.c dbconvert.c dbdisply.c dbexec.c dbfileio.c	\
8	dbhistry.c dbinput.c dbmethod.c dbnames.c dbstats.c	\
9	dbutils.c 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 evhandler.c evmisc.c evregion.c evrgnini.c	\
24	evsci.c 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 nsarguments.c nsconvert.c nsdump.c	\
39	nseval.c nsinit.c nsload.c nsnames.c nsobject.c		\
40	nsparse.c nspredef.c nsprepkg.c nsrepair.c nsrepair2.c	\
41	nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c	\
42	nsxfobj.c
43
44# components/parser
45SRCS+=	psargs.c psloop.c psobject.c psopcode.c psopinfo.c	\
46	psparse.c psscope.c pstree.c psutils.c pswalk.c		\
47	psxface.c
48
49# components/os_specific/service_layers
50SRCS+=	osunixxf.c
51
52# components/resources
53SRCS+=	rsaddr.c rscalc.c rscreate.c rsdump.c rsdumpinfo.c	\
54	rsinfo.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c	\
55	rsserial.c rsutils.c rsxface.c
56
57# components/tables
58SRCS+=	tbfadt.c tbfind.c tbinstal.c tbprint.c tbutils.c	\
59	tbxface.c tbxfload.c
60
61# components/utilities
62SRCS+=	utaddress.c utalloc.c utbuffer.c utcache.c utcopy.c	\
63	utdebug.c utdecode.c utdelete.c uterror.c uteval.c	\
64	utexcep.c utglobal.c utids.c utinit.c utlock.c utmath.c	\
65	utmisc.c utmutex.c utobject.c utosi.c utownerid.c	\
66	utpredef.c utresrc.c utstate.c utstring.c uttrack.c	\
67	utxface.c utxferror.c utxfinit.c
68
69MAN=	acpidb.8
70WARNS?=	3
71
72CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing
73DPADD=	${LIBPTHREAD}
74LDADD=	-lpthread
75
76.include <bsd.prog.mk>
77