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