Makefile revision 1.13
1# $NetBSD: Makefile,v 1.13 2014/07/15 11:19:08 christos Exp $ 2# from: @(#)Makefile 8.2 (Berkeley) 5/23/94 3 4SECTION=reference/ref3 5ARTICLE=curses 6SRCS= Master 7CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr 8DEPSRCS=appen.A appen.B appen.C doc.I doc.II doc.III doc.IV fns.doc \ 9 intro.0 intro.1 intro.2.tbl intro.3 intro.4 intro.5 intro.6 \ 10 macros c_macros $(CEXAMPLES) 11MACROS= -me 12CLEANFILES+= ${CEXAMPLES} intro.2.tbl 13 14.SUFFIXES: 15.SUFFIXES: .c .gr 16 17# 18# this section formats C input source into nice troffable (or nroffable) 19# versions. It uses the capabilites of "vgrind", which sets keywords in 20# bold font, and comments in italics. 21# 22 23 24# Don't re-run vgrind unless you want to patch the output files. 25# XXXBUILDSH: can we use TOOL_VGRIND here ? 26.if exists(/usr/libexec/vfontedpr) 27VFONT= /usr/libexec/vfontedpr 28.else 29VFONT= ${TOOL_CAT} 30.endif 31 32.c.gr: 33 ${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET} 34 35# Unfortunately our make doesn't handle single-suffix rules. 36intro.2.tbl: intro.2 37 ${TOOL_TBL} ${.ALLSRC} > ${.TARGET} 38 39.include <bsd.doc.mk> 40