Home | History | Annotate | Line # | Download | only in sysperf
      1 #	$NetBSD: Makefile,v 1.5 2008/10/19 22:05:20 apb Exp $
      2 #
      3 #	@(#)Makefile	1.6 (Berkeley) 6/8/93
      4 
      5 DIR=	papers/sysperf
      6 MACROS= -ms
      7 SRCS=	0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t
      8 EXTRA=	a1.t a2.t
      9 OBJS=	paper.tmp appendix.tmp
     10 CLEANFILES+=${OBJS}
     11 
     12 paper.ps: ${OBJS}
     13 	${TOOL_ROFF_PS} ${MACROS} ${OBJS} > ${.TARGET}
     14 
     15 paper.tmp: ${SRCS}
     16 	${TOOL_TBL} ${SRCS} | ${TOOL_EQN} > paper.tmp
     17 
     18 appendix.tmp: a1.t a2.t
     19 	${TOOL_VGRIND} -f a1.t |  ${TOOL_AWK} '/\.\(\)/{ cnt = 2 } \
     20 	   { if (cnt) cnt -= 1; else print $$0; } ' > appendix.tmp
     21 	${TOOL_VGRIND} -f -lcsh a2.t |  ${TOOL_AWK} '/\.\(\)/{ cnt = 2 } \
     22 	   { if (cnt) cnt -= 1; else print $$0; } ' >> appendix.tmp
     23 
     24 .include <bsd.doc.mk>
     25