Makefile revision 249112
1# $FreeBSD: head/usr.sbin/acpi/acpidb/Makefile 249112 2013-04-04 22:11:30Z jkim $
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 nsconvert.c nsdump.c nseval.c	\
39	nsinit.c nsload.c nsnames.c nsobject.c nsparse.c	\
40	nspredef.c nsprepkg.c nsrepair.c nsrepair2.c nssearch.c	\
41	nsutils.c nswalk.c nsxfeval.c nsxfname.c nsxfobj.c
42
43# components/parser
44SRCS+=	psargs.c psloop.c psobject.c psopcode.c psopinfo.c	\
45	psparse.c psscope.c pstree.c psutils.c pswalk.c		\
46	psxface.c
47
48# components/os_specific/service_layers
49SRCS+=	osunixxf.c
50
51# components/resources
52SRCS+=	rsaddr.c rscalc.c rscreate.c rsdump.c rsdumpinfo.c	\
53	rsinfo.c rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c	\
54	rsserial.c rsutils.c rsxface.c
55
56# components/tables
57SRCS+=	tbfadt.c tbfind.c tbinstal.c tbutils.c tbxface.c	\
58	tbxfload.c
59
60# components/utilities
61SRCS+=	utaddress.c utalloc.c utcache.c utcopy.c utdebug.c	\
62	utdecode.c utdelete.c uteval.c utexcep.c utglobal.c	\
63	utids.c	utinit.c utlock.c utmath.c utmisc.c utmutex.c	\
64	utobject.c utosi.c utownerid.c utpredef.c utresrc.c	\
65	utstate.c utstring.c uttrack.c utxface.c utxferror.c	\
66	utxfinit.c
67
68MAN=	acpidb.8
69WARNS?=	2
70
71CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing
72DPADD=	${LIBPTHREAD}
73LDADD=	-lpthread
74
75.include <bsd.prog.mk>
76