Makefile revision 1.11
1# $NetBSD: Makefile,v 1.11 2019/10/13 07:28:14 mrg Exp $ 2# from: @(#)Makefile 8.2 (Berkeley) 4/19/94 3 4.include <bsd.own.mk> 5WARNS=6 6 7PROG= config 8SRCS= files.c gram.y hash.c lint.c main.c mkdevsw.c mkheaders.c mkioconf.c \ 9 mkmakefile.c mkswap.c pack.c scan.l sem.c util.c 10 11.PATH: ${NETBSDSRCDIR}/usr.bin/cksum 12SRCS+= crc.c 13 14MAN= config.1 15MAN+= config.5 config.samples.5 16YHEADER=1 17CPPFLAGS+=-I${.CURDIR} -I. 18CPPFLAGS+= -I${NETBSDSRCDIR}/usr.bin/cksum 19 20.ifndef HOSTPROG 21LDADD+=-lutil 22DPADD+=${LIBUTIL} 23COPTS.mkheaders.c+= ${GCC_NO_FORMAT_TRUNCATION} 24COPTS.sem.c+= ${GCC_NO_FORMAT_TRUNCATION} 25.endif 26 27CWARNFLAGS+=-Wno-format-y2k 28 29.include <bsd.prog.mk> 30