Makefile revision 1.10
1# $NetBSD: Makefile,v 1.10 2014/07/24 20:20:49 plunky Exp $ 2 3.include <bsd.init.mk> 4 5.PATH: ${PCC_DIST}/cc/cpp 6 7# 8# We build cpp(1) as pcpp(1) to avoid confusion with GCC 9# 10 11PROG= pcpp 12 13SRCS= cpy.y 14SRCS+= cpp.c token.c 15 16MAN= pcpp.1 17 18pcpp.1: cpp.1 19 ${TOOL_SED} -e "s,Nm cpp,Nm pcpp," \ 20 -e "s,Dt CPP,Dt PCPP," \ 21 ${.ALLSRC} > ${.TARGET} 22 23CPPFLAGS+= -I${.OBJDIR} 24CPPFLAGS+= -I${PCC_DIST}/mip 25CPPFLAGS+= -I${PCC_DIST}/cc/cpp 26 27# generate cpy.h 28YHEADER= 29 30CLEANFILES+= pcpp.1 31 32.include <bsd.prog.mk> 33