From e0e5777ebb081090346e21b398054da69c02aa08 Mon Sep 17 00:00:00 2001 From: Magliano Andrea Date: Fri, 11 May 2012 09:19:24 +0200 Subject: [PATCH] Revert previous commit (wrong tentative) and do like svn://svn.freebsd.org/base/head@220663 it doesn't seem possible with bsd Makefile infrastructure to set source target specific flags --- usr.sbin/acpi/iasl/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile index 7acb72696f..d6d3e81826 100644 --- a/usr.sbin/acpi/iasl/Makefile +++ b/usr.sbin/acpi/iasl/Makefile @@ -3,7 +3,6 @@ PROG= iasl SRCS= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y \ - dtparser.y.h dtparserlex.l dtparserparse.y \ aslanalyze.c aslbtypes.c aslwalks.c aslcodegen.c \ aslcompile.c aslerror.c aslfiles.c asllength.c \ asllisting.c aslload.c asllookup.c aslmain.c \ @@ -45,8 +44,7 @@ DPADD= ${LIBPTHREAD} LFLAGS= -i -PAslCompiler YFLAGS= -d -pAslCompiler -CLEANFILES= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y \ - dtparser.y.h dtparserlex.l dtparserparse.y +CLEANFILES= aslcompiler.y.h aslcompilerlex.l aslcompilerparse.y aslcompiler.y.h: aslcompilerparse.h cat ${.ALLSRC} > ${.TARGET} @@ -57,13 +55,7 @@ aslcompilerlex.l: aslcompiler.l aslcompilerparse.y: aslcompiler.y cat ${.ALLSRC} > ${.TARGET} -dtparser.y.h: dtparserparse.h - cat ${.ALLSRC} > ${.TARGET} - -dtparserlex.l: dtparser.l - cat ${.ALLSRC} > ${.TARGET} - -dtparserparse.y: dtparser.y - cat ${.ALLSRC} > ${.TARGET} +LFLAGS= -i -PDtParser +YFLAGS= -d -pDtParser .include -- 2.41.0