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