Home | History | Annotate | Line # | Download | only in PSD.doc
Makefile revision 1.10
      1  1.10     lukem #	$NetBSD: Makefile,v 1.10 2003/07/10 10:34:22 lukem Exp $
      2   1.7     perry #	from: @(#)Makefile	8.2 (Berkeley) 5/23/94
      3   1.1       cgd 
      4   1.1       cgd DIR=	psd/19.curses
      5   1.1       cgd SRCS=	Master
      6   1.1       cgd MACROS=	-me
      7   1.8      tron OTHER=	appen.A appen.B appen.C doc.I doc.II doc.III doc.IV fns.doc \
      8   1.8      tron 	intro.0 intro.1 intro.3 intro.4 intro.5 intro.6 \
      9   1.8      tron 	macros c_macros
     10   1.8      tron CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr
     11   1.8      tron TBLFILES=  intro.2.tbl
     12   1.8      tron EXTRA=	${OTHER} ${CEXAMPLES:R:S/$/.c/g} ${TBLFILES:R}
     13   1.1       cgd 
     14   1.8      tron CLEANFILES+= ${CEXAMPLES} ${TBLFILES}
     15   1.1       cgd 
     16   1.1       cgd .SUFFIXES:
     17   1.1       cgd .SUFFIXES: .c .gr
     18   1.1       cgd 
     19   1.1       cgd #
     20   1.1       cgd # this section formats C input source into nice troffable (or nroffable)
     21   1.1       cgd # versions.  It uses the capabilites of "vgrind", which sets keywords in
     22   1.1       cgd # bold font, and comments in italics.
     23   1.1       cgd #
     24   1.1       cgd 
     25  1.10     lukem 
     26   1.1       cgd # Don't re-run vgrind unless you want to patch the output files.
     27  1.10     lukem # XXXBUILDSH: can we use TOOL_VGRIND here ?
     28   1.1       cgd VFONT=	/usr/libexec/vfontedpr
     29   1.1       cgd .c.gr:
     30   1.5  christos 	${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET}
     31   1.1       cgd 
     32   1.8      tron paper.ps: ${SRCS} ${OTHER} ${CEXAMPLES} ${TBLFILES}
     33  1.10     lukem 	${TOOL_SOELIM} -I${.CURDIR} Master | \
     34  1.10     lukem 	    ${TOOL_ROFF_PS} ${MACROS} > ${.TARGET}
     35   1.1       cgd 
     36   1.8      tron # Unfortunately our make doesn't handle single-suffix rules.
     37   1.1       cgd intro.2.tbl: intro.2
     38  1.10     lukem 	${TOOL_TBL} ${.ALLSRC} > ${.TARGET}
     39   1.1       cgd 
     40   1.1       cgd .include <bsd.doc.mk>
     41