1# $FreeBSD$ 2 3PROG= iasl 4SRCS= adfile.c adisasm.c adwalk.c 5SRCS+= osunixxf.c 6 7# common 8SRCS+= dmextern.c dmrestag.c dmtable.c dmtbdump.c dmtbinfo.c \ 9 getopt.c 10 11# compiler 12SRCS+= aslanalyze.c aslcodegen.c aslcompile.c aslcompiler.y.h \ 13 aslcompilerlex.l aslcompilerparse.y aslerror.c \ 14 aslfiles.c aslfold.c asllength.c asllisting.c \ 15 aslload.c asllookup.c aslmain.c aslmap.c aslopcodes.c \ 16 asloperands.c aslopt.c aslpredef.c aslresource.c \ 17 aslrestype1.c aslrestype1i.c aslrestype2.c \ 18 aslrestype2d.c aslrestype2e.c aslrestype2q.c \ 19 aslrestype2w.c aslstartup.c aslstubs.c asltransform.c \ 20 asltree.c aslutils.c dtcompile.c dtfield.c dtio.c \ 21 dtsubtable.c dttable.c dttemplate.c dtutils.c 22 23# debugger 24SRCS+= dbfileio.c 25 26# disassembler 27SRCS+= dmbuffer.c dmnames.c dmobject.c dmopcode.c dmresrc.c \ 28 dmresrcl.c dmresrcs.c dmutils.c dmwalk.c 29 30# interpreter/dispatcher 31SRCS+= dsfield.c dsobject.c dsopcode.c dsutils.c dswexec.c \ 32 dswload.c dswscope.c dswstate.c 33 34# interpreter/executer 35SRCS+= exconvrt.c excreate.c exdump.c exmisc.c exmutex.c \ 36 exnames.c exoparg1.c exoparg2.c exoparg3.c exoparg6.c \ 37 exprep.c exregion.c exresnte.c exresolv.c exresop.c \ 38 exstore.c exstoren.c exstorob.c exsystem.c exutils.c 39 40# interpreter/parser 41SRCS+= psargs.c psloop.c psopcode.c psparse.c psscope.c \ 42 pstree.c psutils.c pswalk.c 43 44# namespace 45SRCS+= nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c \ 46 nsparse.c nssearch.c nsutils.c nswalk.c nsxfobj.c 47 48# tables 49SRCS+= tbfadt.c tbinstal.c tbutils.c tbxface.c 50 51# utilities 52SRCS+= utalloc.c utcache.c utcopy.c utdebug.c utdelete.c \ 53 utglobal.c utinit.c utlock.c utmath.c utmisc.c \ 54 utmutex.c utobject.c utosi.c utresrc.c utstate.c \ 55 utxface.c utxferror.c 56 57WARNS?= 2 58 59MAN= iasl.8 60 61CFLAGS+= -DACPI_ASL_COMPILER -I. 62CFLAGS+= -D_USE_BERKELEY_YACC 63LFLAGS= -i -PAslCompiler 64YFLAGS= -d -pAslCompiler 65DPADD= ${LIBPTHREAD} 66LDADD= -lpthread 67 68CLEANFILES= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y 69 70aslcompiler.y.h: aslcompilerparse.h 71 cat ${.ALLSRC} > ${.TARGET} 72 73aslcompilerlex.l: aslcompiler.l 74 cat ${.ALLSRC} > ${.TARGET} 75 76aslcompilerparse.y: aslcompiler.y 77 cat ${.ALLSRC} > ${.TARGET} 78 79.include <bsd.prog.mk> 80