freebsd-dev/usr.sbin/acpi/iasl/Makefile

71 lines
1.8 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PROG= iasl
2007-03-22 18:16:43 +00:00
SRCS= adfile.c adisasm.c adwalk.c
2005-11-01 22:44:08 +00:00
SRCS+= osunixxf.c
2005-11-01 22:44:08 +00:00
# common
2007-03-22 18:16:43 +00:00
SRCS+= dmrestag.c dmtable.c dmtbdump.c dmtbinfo.c getopt.c
2005-11-01 22:44:08 +00:00
# compiler
SRCS+= aslanalyze.c aslcodegen.c aslcompile.c aslcompiler.y.h \
aslcompilerlex.l aslcompilerparse.y aslerror.c \
aslfiles.c aslfold.c asllength.c asllisting.c \
aslload.c asllookup.c aslmain.c aslmap.c aslopcodes.c \
asloperands.c aslopt.c aslresource.c aslrestype1.c \
aslrestype2.c aslstubs.c asltransform.c asltree.c \
aslutils.c
# debugger
SRCS+= dbfileio.c
# disassembler
SRCS+= dmbuffer.c dmnames.c dmobject.c dmopcode.c dmresrc.c \
dmresrcl.c dmresrcs.c dmutils.c dmwalk.c
# interpreter/dispatcher
SRCS+= dsfield.c dsobject.c dsopcode.c dsutils.c dswexec.c \
dswload.c dswscope.c dswstate.c
# interpreter/executer
SRCS+= exconvrt.c excreate.c exdump.c exmisc.c exmutex.c \
exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c \
exprep.c exregion.c exresnte.c exresolv.c exresop.c \
exstore.c exstoren.c exstorob.c exsystem.c exutils.c
2005-11-01 22:44:08 +00:00
# interpreter/parser
SRCS+= psargs.c psloop.c psopcode.c psparse.c psscope.c \
pstree.c psutils.c pswalk.c
# namespace
SRCS+= nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c \
nsparse.c nssearch.c nsutils.c nswalk.c nsxfobj.c
# tables
2007-03-22 18:16:43 +00:00
SRCS+= tbfadt.c tbinstal.c tbutils.c tbxface.c
2005-11-01 22:44:08 +00:00
# utilities
SRCS+= utalloc.c utcache.c utcopy.c utdebug.c utdelete.c \
utglobal.c utmath.c utmisc.c utmutex.c utobject.c \
2007-03-22 18:16:43 +00:00
utresrc.c utstate.c
2005-11-01 22:44:08 +00:00
MAN= iasl.8
2005-11-01 22:44:08 +00:00
CFLAGS+= -DACPI_ASL_COMPILER -I.
CFLAGS+= -D_USE_BERKELEY_YACC
2005-11-01 22:44:08 +00:00
LFLAGS= -i -PAslCompiler
YFLAGS= -d -pAslCompiler
CLEANFILES= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y
aslcompiler.y.h: aslcompilerparse.h
cat ${.ALLSRC} > ${.TARGET}
aslcompilerlex.l: aslcompiler.l
cat ${.ALLSRC} > ${.TARGET}
aslcompilerparse.y: aslcompiler.y
cat ${.ALLSRC} > ${.TARGET}
.include <bsd.prog.mk>