2013-04-06 16:48:33 +02:00

25 lines
665 B
Makefile

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