xref: /freebsd/usr.sbin/acpi/acpidb/Makefile (revision 09606165a0ab82291c6443d5c82b205256c56458)
1# $FreeBSD$
2
3PROG=	acpidb
4SRCS=	acpidb.c
5
6# common
7SRCS+=	acfileio.c 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+=	exconcat.c exconfig.c exconvrt.c excreate.c exdebug.c	\
31	exdump.c exfield.c exfldio.c exmisc.c exmutex.c		\
32	exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c	\
33	exprep.c exregion.c exresnte.c exresolv.c exresop.c	\
34	exstore.c exstoren.c exstorob.c exsystem.c extrace.c	\
35	exutils.c
36
37# components/hardware
38SRCS+=	hwacpi.c hwesleep.c hwgpe.c hwpci.c hwregs.c hwsleep.c	\
39	hwvalid.c hwxface.c hwxfsleep.c
40
41# components/namespace
42SRCS+=	nsaccess.c nsalloc.c nsarguments.c nsconvert.c nsdump.c	\
43	nseval.c nsinit.c nsload.c nsnames.c nsobject.c		\
44	nsparse.c nspredef.c nsprepkg.c nsrepair.c nsrepair2.c	\
45	nssearch.c nsutils.c nswalk.c nsxfeval.c nsxfname.c	\
46	nsxfobj.c
47
48# components/parser
49SRCS+=	psargs.c psloop.c psobject.c psopcode.c psopinfo.c	\
50	psparse.c psscope.c pstree.c psutils.c pswalk.c		\
51	psxface.c
52
53# components/resources
54SRCS+=	rsaddr.c rscalc.c rscreate.c rsdump.c rsdumpinfo.c	\
55	rsinfo.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c	\
56	rsserial.c rsutils.c rsxface.c
57
58# components/tables
59SRCS+=	tbdata.c tbfadt.c tbfind.c tbinstal.c tbprint.c		\
60	tbutils.c tbxface.c tbxfload.c
61
62# components/utilities
63SRCS+=	utaddress.c utalloc.c utascii.c utbuffer.c utcache.c	\
64	utcopy.c utdebug.c utdecode.c utdelete.c uterror.c	\
65	uteval.c utexcep.c utglobal.c uthex.c utids.c utinit.c	\
66	utlock.c utmath.c utmisc.c utmutex.c utnonansi.c	\
67	utobject.c utosi.c utownerid.c utpredef.c utresrc.c	\
68	utstate.c utstring.c utstrtoul64.c uttrack.c utuuid.c	\
69	utxface.c utxferror.c utxfinit.c
70
71# os_specific/service_layers
72SRCS+=	osgendbg.c osunixxf.c
73
74MAN=	acpidb.8
75WARNS?=	3
76
77CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing
78LIBADD=	pthread
79
80.include <bsd.prog.mk>
81