diff options
author | njl <njl@FreeBSD.org> | 2003-08-07 16:51:50 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-08-07 16:51:50 +0000 |
commit | c425e701326fd107f2b37e26bd1840447dd58f01 (patch) | |
tree | 8c1fbce5b430b65daa315d2403b3db210a283839 /usr.sbin/acpi/iasl/Makefile | |
parent | df9de6c5cddb086d8d623c55d1cf800864f9fb29 (diff) | |
download | FreeBSD-src-c425e701326fd107f2b37e26bd1840447dd58f01.zip FreeBSD-src-c425e701326fd107f2b37e26bd1840447dd58f01.tar.gz |
Add the acpidb and iasl utilities. This is not yet hooked up to the build.
Obtained from: acpicatools port by Iwasaki-san
Diffstat (limited to 'usr.sbin/acpi/iasl/Makefile')
-rw-r--r-- | usr.sbin/acpi/iasl/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile new file mode 100644 index 0000000..49a5b57 --- /dev/null +++ b/usr.sbin/acpi/iasl/Makefile @@ -0,0 +1,52 @@ +# $FreeBSD$ + +PROG= iasl +SRCS+= aslcompilerparse.c aslcompilerlex.c aslanalyze.c aslcodegen.c \ + aslcompile.c aslerror.c aslfiles.c asllength.c \ + asllisting.c aslload.c asllookup.c aslmain.c \ + aslmap.c aslopcodes.c asloperands.c aslresource.c \ + aslrestype1.c aslrestype2.c asltree.c aslutils.c \ + asltransform.c aslfold.c aslstubs.c aslopt.c +SRCS+= adisasm.c getopt.c osunixxf.c +SRCS+= dbfileio.c dmbuffer.c dmnames.c dmopcode.c dmobject.c \ + dmresrc.c dmresrcl.c dmresrcs.c dmutils.c dmwalk.c \ + dsopcode.c dsutils.c dswexec.c dswload.c \ + dswscope.c dswstate.c dsfield.c dsobject.c \ + 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 \ + nsaccess.c nsalloc.c nsdump.c nsnames.c nsobject.c \ + nsparse.c nssearch.c nsutils.c nswalk.c nsxfobj.c \ + psargs.c psopcode.c psparse.c psscope.c \ + pstree.c psutils.c pswalk.c \ + tbinstal.c tbutils.c \ + utalloc.c utcopy.c utdebug.c utdelete.c \ + utglobal.c utobject.c utmisc.c utmath.c + +MAN= iasl.8 + +CFLAGS+= -D_ACPI_ASL_COMPILER -I. +YFLAGS+= -v -d -pAslCompiler +LFLAGS+= -i + +.if $(YACC) == "bison" +YFLAGS+= -y +.else +CFLAGS+= -D_USE_BERKELEY_YACC +.endif + +CLEANFILES= y.output y.tab.c y.tab.h aslcompiler.y.h \ + aslcompilerparse.c aslcompilerlex.c iasl + +aslcompilerparse.c: aslcompiler.y + ${YACC} ${YFLAGS} ${ACPICA_DIR}/compiler/aslcompiler.y + cp y.tab.c aslcompilerparse.c + cp y.tab.h aslcompiler.y.h + +aslcompilerlex.c: aslcompiler.l + ${LEX} ${LFLAGS} -PAslCompiler -oaslcompilerlex.c \ + ${ACPICA_DIR}/compiler/aslcompiler.l + +.include <bsd.prog.mk> |