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