xref: /freebsd/usr.sbin/acpi/acpidb/Makefile (revision 0bc2abddc8d4abb89a210f2bb113e9e7c2d4ce18)
1# $FreeBSD$
2
3PROG=	acpidb
4SRCS=	acpidb.c
5
6# common
7SRCS+=	acgetline.c ahids.c ahuuids.c cmfsize.c
8
9# components/debugger
10SRCS+=	dbcmds.c dbconvert.c dbdisply.c dbexec.c dbfileio.c	\
11	dbhistry.c dbinput.c dbmethod.c dbnames.c dbobject.c	\
12	dbstats.c dbtest.c dbutils.c dbxface.c
13
14# components/disassembler
15SRCS+=	dmbuffer.c dmcstyle.c dmdeferred.c dmnames.c dmopcode.c	\
16	dmresrc.c dmresrcl.c dmresrcl2.c dmresrcs.c dmutils.c	\
17	dmwalk.c
18
19# components/dispatcher
20SRCS+=	dsargs.c dscontrol.c dsdebug.c dsfield.c dsinit.c	\
21	dsmethod.c dsmthdat.c dsobject.c dsopcode.c dsutils.c	\
22	dswexec.c dswload.c dswload2.c dswscope.c dswstate.c
23
24# components/events
25SRCS+=	evevent.c evglock.c evgpe.c evgpeblk.c evgpeinit.c	\
26	evgpeutil.c evhandler.c evmisc.c evregion.c evrgnini.c	\
27	evsci.c evxface.c evxfevnt.c evxfregn.c
28
29# components/executer
30SRCS+=	exconfig.c exconvrt.c excreate.c exdebug.c exdump.c	\
31	exfield.c exfldio.c exmisc.c exmutex.c exnames.c	\
32	exoparg1.c exoparg2.c exoparg3.c exoparg6.c exprep.c	\
33	exregion.c exresnte.c exresolv.c exresop.c exstore.c	\
34	exstoren.c exstorob.c exsystem.c exutils.c
35
36# components/hardware
37SRCS+=	hwacpi.c hwesleep.c hwgpe.c hwpci.c hwregs.c hwsleep.c	\
38	hwvalid.c hwxface.c hwxfsleep.c
39
40# components/namespace
41SRCS+=	nsaccess.c nsalloc.c nsarguments.c nsconvert.c nsdump.c	\
42	nseval.c nsinit.c nsload.c nsnames.c nsobject.c		\
43	nsparse.c nspredef.c nsprepkg.c nsrepair.c nsrepair2.c	\
44	nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c	\
45	nsxfobj.c
46
47# components/parser
48SRCS+=	psargs.c psloop.c psobject.c psopcode.c psopinfo.c	\
49	psparse.c psscope.c pstree.c psutils.c pswalk.c		\
50	psxface.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+=	tbdata.c tbfadt.c tbfind.c tbinstal.c tbprint.c		\
59	tbutils.c 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 utfileio.c utglobal.c uthex.c utids.c		\
65	utinit.c utlock.c utmath.c utmisc.c utmutex.c		\
66	utnonansi.c utobject.c utosi.c utownerid.c utpredef.c	\
67	utprint.c utresrc.c utstate.c utstring.c uttrack.c	\
68	utuuid.c utxface.c utxferror.c utxfinit.c
69
70# os_specific/service_layers
71SRCS+=	oslibcfs.c osunixxf.c
72
73MAN=	acpidb.8
74WARNS?=	3
75
76CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing
77LIBADD=	pthread
78
79.include <bsd.prog.mk>
80