2002-09-06 17:18:43 +04:00
|
|
|
# $NetBSD: Makefile,v 1.25 2002/09/06 13:18:43 gehenna Exp $
|
1995-04-28 10:54:58 +04:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 4/19/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= config
|
1994-12-12 01:29:40 +03:00
|
|
|
BINDIR= /usr/sbin
|
2002-09-06 17:18:43 +04:00
|
|
|
SRCS= files.c gram.y hash.c main.c mkdevsw.c mkheaders.c mkioconf.c \
|
|
|
|
mkmakefile.c mkswap.c pack.c scan.l sem.c util.c
|
1998-04-16 22:47:05 +04:00
|
|
|
YFLAGS=
|
1997-10-23 10:31:59 +04:00
|
|
|
CPPFLAGS+=-I${.CURDIR} -I.
|
1998-05-01 17:02:09 +04:00
|
|
|
CLEANFILES+=gram.h
|
1996-11-12 02:36:40 +03:00
|
|
|
|
1995-04-28 10:54:58 +04:00
|
|
|
MAN= config.8
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1998-05-01 17:02:09 +04:00
|
|
|
# XXX should use "YHEADER", but make this work on 1.3 as well as 1.4+
|
2002-03-05 18:00:07 +03:00
|
|
|
gram.h: gram.c
|
|
|
|
gram.c: gram.y
|
1998-04-16 22:47:05 +04:00
|
|
|
${YACC.y} -d ${.ALLSRC}
|
|
|
|
mv -f y.tab.c gram.c
|
|
|
|
mv -f y.tab.h gram.h
|
|
|
|
|
2001-08-14 14:18:26 +04:00
|
|
|
.ifndef HOSTPROG
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|
2001-08-14 14:18:26 +04:00
|
|
|
.endif
|