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 hwvalid.c hwxface.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 exdebug.c exdump.c \ 29 exfield.c exfldio.c exmisc.c exmutex.c exnames.c \ 30 exoparg1.c exoparg2.c exoparg3.c exoparg6.c exprep.c \ 31 exregion.c exresnte.c exresolv.c exresop.c exstore.c \ 32 exstoren.c 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 nspredef.c \ 41 nsrepair.c nsrepair2.c nssearch.c nsutils.c nswalk.c \ 42 nsxfeval.c nsxfname.c nsxfobj.c 43 44# resources 45SRCS+= rsaddr.c rscalc.c rscreate.c rsdump.c rsinfo.c \ 46 rsio.c rsirq.c rslist.c rsmemory.c rsmisc.c \ 47 rsutils.c rsxface.c 48 49# tables 50SRCS+= tbfadt.c tbfind.c tbinstal.c tbutils.c tbxface.c \ 51 tbxfroot.c 52 53# utilities 54SRCS+= utalloc.c utcache.c utcopy.c utdebug.c utdelete.c \ 55 uteval.c utglobal.c utids.c utinit.c utlock.c utmath.c \ 56 utmisc.c utmutex.c utobject.c utresrc.c utstate.c \ 57 uttrack.c utxface.c 58 59MAN= acpidb.8 60WARNS?= 2 61 62CFLAGS+= -DACPI_EXEC_APP -fno-strict-aliasing 63DPADD= ${LIBPTHREAD} 64LDADD= -lpthread 65 66.include <bsd.prog.mk> 67