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