summaryrefslogtreecommitdiffstats
path: root/usr.sbin/acpi/iasl/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-01-11 19:26:33 +0000
committerru <ru@FreeBSD.org>2004-01-11 19:26:33 +0000
commitad83565985bcd5de2b65d3cccbdeb9b10289e751 (patch)
treec19d0f419989bcf1fca043a3d80d46d92fca97c2 /usr.sbin/acpi/iasl/Makefile
parentacdc44bfa7126d7b228a5d4e734c13417fa3e84c (diff)
downloadFreeBSD-src-ad83565985bcd5de2b65d3cccbdeb9b10289e751.zip
FreeBSD-src-ad83565985bcd5de2b65d3cccbdeb9b10289e751.tar.gz
Use my newly acquired magic stick and put aslcompiler.y.h into
SRCS to teach make(1) that many .c sources are dependent on it. This fixes parallel (-j) builds and makes it possible to build individual .o files separately. While here, removed PROG from CLEANFILES -- it's taken care of already by bsd.prog.mk.
Diffstat (limited to 'usr.sbin/acpi/iasl/Makefile')
-rw-r--r--usr.sbin/acpi/iasl/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/acpi/iasl/Makefile b/usr.sbin/acpi/iasl/Makefile
index 49a5b57..10a60c3 100644
--- a/usr.sbin/acpi/iasl/Makefile
+++ b/usr.sbin/acpi/iasl/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
PROG= iasl
-SRCS+= aslcompilerparse.c aslcompilerlex.c aslanalyze.c aslcodegen.c \
+SRCS+= aslcompiler.y.h 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 \
@@ -38,9 +39,9 @@ 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 aslcompilerlex.c
-aslcompilerparse.c: aslcompiler.y
+aslcompilerparse.c aslcompiler.y.h: aslcompiler.y
${YACC} ${YFLAGS} ${ACPICA_DIR}/compiler/aslcompiler.y
cp y.tab.c aslcompilerparse.c
cp y.tab.h aslcompiler.y.h
OpenPOWER on IntegriCloud