Merge from vendor branch PKGSRC:
[netbsd-mini2440.git] / usr.bin / config / Makefile
blob5a9ec2ac9813147844d438897d27fa951db07fba
1 # $NetBSD: Makefile,v 1.7 2007/05/12 10:15:31 dsl Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 4/19/94
4 .include <bsd.own.mk>
6 PROG= config
7 SRCS= files.c gram.y hash.c lint.c main.c mkdevsw.c mkheaders.c mkioconf.c \
8 mkmakefile.c mkswap.c pack.c scan.l sem.c util.c
10 .PATH: ${NETBSDSRCDIR}/usr.bin/cksum
11 SRCS+= crc.c
13 MAN= config.1
14 MAN+= config.5 config.samples.5
15 YHEADER=1
16 CPPFLAGS+=-I${.CURDIR} -I.
17 CPPFLAGS+= -I${NETBSDSRCDIR}/usr.bin/cksum
19 .ifndef HOSTPROG
20 LDADD+=-lutil
21 DPADD+=${LIBUTIL}
22 .endif
24 CWARNFLAGS+=-Wno-format-y2k
26 .include <bsd.prog.mk>