summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-05-05 07:36:55 +0000
committerbde <bde@FreeBSD.org>1998-05-05 07:36:55 +0000
commitdba406f638a6914ad83fc04b03ea997a33a9938b (patch)
tree31598f801a729462d93f3760a280177882bc1e3a /usr.sbin/config/Makefile
parentd50e2c72139357da549cc2a7c852db2d262a4588 (diff)
downloadFreeBSD-src-dba406f638a6914ad83fc04b03ea997a33a9938b.zip
FreeBSD-src-dba406f638a6914ad83fc04b03ea997a33a9938b.tar.gz
Backed out previous commit. It was tested, but not for the case where
a separate object tree doesn't exist. Crufty makefiles will have to put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
Diffstat (limited to 'usr.sbin/config/Makefile')
-rw-r--r--usr.sbin/config/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 5aef3cb..47439a9 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -1,13 +1,15 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id$
PROG= config
CFLAGS+=-I. -I${.CURDIR}
-SRCS= config.y main.c lang.l mkioconf.c mkmakefile.c mkglue.c mkheaders.c \
- mkoptions.c mkswapconf.c
+SRCS= config.c main.c lang.c mkioconf.c mkmakefile.c mkglue.c mkheaders.c \
+ mkoptions.c mkswapconf.c y.tab.h
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>
OpenPOWER on IntegriCloud