summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-04 20:09:06 +0000
committerbde <bde@FreeBSD.org>1998-05-04 20:09:06 +0000
commitf701fbc7d569ab22a7d57c4c0cba391bad3d755d (patch)
tree5d6f5afb81bfecb644f11f70cc59cbe58b46169b /usr.sbin
parent4c2ff0579d45e8f11accb16489583563b979e4fb (diff)
downloadFreeBSD-src-f701fbc7d569ab22a7d57c4c0cba391bad3d755d.zip
FreeBSD-src-f701fbc7d569ab22a7d57c4c0cba391bad3d755d.tar.gz
Fixed races in `make -jN' using new yacc rules.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/config/Makefile8
-rw-r--r--usr.sbin/pcvt/kbdio/Makefile3
-rw-r--r--usr.sbin/pcvt/vgaio/Makefile3
3 files changed, 5 insertions, 9 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 47439a9..5aef3cb 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -1,15 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $Id$
PROG= config
CFLAGS+=-I. -I${.CURDIR}
-SRCS= config.c main.c lang.c mkioconf.c mkmakefile.c mkglue.c mkheaders.c \
- mkoptions.c mkswapconf.c y.tab.h
+SRCS= config.y main.c lang.l mkioconf.c mkmakefile.c mkglue.c mkheaders.c \
+ mkoptions.c mkswapconf.c
MAN8= config.8
DPADD= ${LIBL}
LDADD= -ll
-CLEANFILES+= config.c lang.c lex.yy.c y.tab.[ch]
-
-y.tab.h: config.c
.include <bsd.prog.mk>
diff --git a/usr.sbin/pcvt/kbdio/Makefile b/usr.sbin/pcvt/kbdio/Makefile
index 2b320b4..167d508 100644
--- a/usr.sbin/pcvt/kbdio/Makefile
+++ b/usr.sbin/pcvt/kbdio/Makefile
@@ -10,7 +10,7 @@ error:
.else
PROG= kbdio
-SRCS= kbdio.c lex.c
+SRCS= kbdio.y lex.l
#YACC= bison
#YFLAGS+= -yd # Bison only
@@ -26,7 +26,6 @@ NOMAN=
CFLAGS+= -I${.OBJDIR} -I${.CURDIR} #-g
-CLEANFILES+= kbdio.c lex.c lex.yy.c y.tab.[ch]
CLEANFILES+= y.output # comment file from bison
install:
diff --git a/usr.sbin/pcvt/vgaio/Makefile b/usr.sbin/pcvt/vgaio/Makefile
index 53083e0..e9674de 100644
--- a/usr.sbin/pcvt/vgaio/Makefile
+++ b/usr.sbin/pcvt/vgaio/Makefile
@@ -12,7 +12,7 @@ error:
PROG= vgaio
MAN8= vgaio.${MAN8EXT}
-SRCS= vgaio.c lex.c
+SRCS= vgaio.y lex.l
YACC= yacc
#YFLAGS+= -yd # Bison
@@ -26,7 +26,6 @@ LDADD= -lm -ly -ll
CFLAGS= -O2 # due to a gcc bug, it compiles only with -O2!
CFLAGS+= -I${.OBJDIR} -I${.CURDIR}
-CLEANFILES+= lex.c lex.yy.c vgaio.c y.tab.[ch]
CLEANFILES+= y.output # comment file from bison
install:
OpenPOWER on IntegriCloud