2003-05-18 11:57:31 +04:00
|
|
|
# $NetBSD: Makefile,v 1.27 2003/05/18 07:57:38 lukem 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
|
|
|
|
2002-11-20 08:33:58 +03:00
|
|
|
CWARNFLAGS+=-Wno-format-y2k
|
|
|
|
|
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
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|