NetBSD/usr.sbin/config/Makefile

23 lines
521 B
Makefile
Raw Normal View History

2001-09-25 05:40:09 +04:00
# $NetBSD: Makefile,v 1.23 2001/09/25 01:40:09 tv Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/19/94
1993-03-21 12:45:37 +03:00
PROG= config
BINDIR= /usr/sbin
1997-05-09 17:56:04 +04:00
SRCS= files.c gram.y hash.c main.c mkheaders.c mkioconf.c mkmakefile.c \
mkswap.c pack.c scan.l sem.c util.c
YFLAGS=
1997-10-23 10:31:59 +04:00
CPPFLAGS+=-I${.CURDIR} -I.
CLEANFILES+=gram.h
MAN= config.8
1993-03-21 12:45:37 +03:00
# XXX should use "YHEADER", but make this work on 1.3 as well as 1.4+
gram.c gram.h: gram.y
${YACC.y} -d ${.ALLSRC}
mv -f y.tab.c gram.c
mv -f y.tab.h gram.h
.ifndef HOSTPROG
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>
.endif