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

93 lines
2.6 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
2009-10-19 16:12:58 +00:00
SRCS+= dmextern.c dmrestag.c dmtable.c dmtbdump.c dmtbinfo.c \
getopt.c
2005-11-01 22:44:08 +00:00
# compiler
2011-02-12 01:03:15 +00:00
SRCS+= aslanalyze.c aslbtypes.c aslcodegen.c aslcompile.c \
2011-04-15 18:34:27 +00:00
aslcompiler.y.h aslcompilerlex.c aslcompilerparse.c \
2011-02-12 01:03:15 +00:00
aslerror.c aslfiles.c aslfold.c asllength.c \
asllisting.c aslload.c asllookup.c aslmain.c aslmap.c \
aslopcodes.c asloperands.c aslopt.c aslpredef.c \
aslresource.c aslrestype1.c aslrestype1i.c \
aslrestype2.c aslrestype2d.c aslrestype2e.c \
aslrestype2q.c aslrestype2w.c aslstartup.c aslstubs.c \
asltransform.c asltree.c aslutils.c asluuid.c \
aslwalks.c dtcompile.c dtexpress.c dtfield.c dtio.c \
2011-04-15 18:34:27 +00:00
dtparser.y.h dtparserlex.c dtparserparse.c dtsubtable.c \
dttable.c dttemplate.c dtutils.c
2005-11-01 22:44:08 +00:00
# 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
2011-02-12 01:03:15 +00:00
SRCS+= dsargs.c dscontrol.c dsfield.c dsobject.c dsopcode.c \
dsutils.c dswexec.c dswload.c dswload2.c dswscope.c \
dswstate.c
2005-11-01 22:44:08 +00:00
# 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
2011-02-12 01:03:15 +00:00
SRCS+= utalloc.c utcache.c utcopy.c utdebug.c utdecode.c \
utdelete.c utglobal.c utinit.c utlock.c utmath.c \
utmisc.c utmutex.c utobject.c utosi.c utresrc.c \
utstate.c utxface.c utxferror.c
2005-11-01 22:44:08 +00:00
WARNS?= 2
2005-11-01 22:44:08 +00:00
MAN= iasl.8
2005-11-01 22:44:08 +00:00
CFLAGS+= -DACPI_ASL_COMPILER -I.
2011-04-15 18:34:27 +00:00
LFLAGS= -i -s
YFLAGS= -d
2009-06-05 18:50:45 +00:00
DPADD= ${LIBPTHREAD}
LDADD= -lpthread
2011-04-15 18:34:27 +00:00
CLEANFILES= aslcompiler.y.h aslcompilerlex.c aslcompilerparse.c \
aslcompilerparse.h dtparser.y.h dtparserlex.c \
dtparserparse.c dtparserparse.h
2011-04-15 18:34:27 +00:00
aslcompilerlex.c: aslcompiler.l
${LEX} ${LFLAGS} -PAslCompiler -o${.TARGET} ${.ALLSRC}
2011-04-15 18:34:27 +00:00
aslcompilerparse.c: aslcompiler.y
${YACC} ${YFLAGS} -pAslCompiler -o${.TARGET} ${.ALLSRC}
2011-04-15 18:34:27 +00:00
aslcompiler.y.h: aslcompilerparse.c
mv -f aslcompilerparse.h ${.TARGET}
dtparserlex.c: dtparser.l
${LEX} ${LFLAGS} -PDtParser -o${.TARGET} ${.ALLSRC}
dtparserparse.c: dtparser.y
${YACC} ${YFLAGS} -pDtParser -o${.TARGET} ${.ALLSRC}
dtparser.y.h: dtparserparse.c
mv -f dtparserparse.h ${.TARGET}
.include <bsd.prog.mk>