1 1.12 phil # @(#)Makefile 8.2 (Berkeley) 3/27/94 2 1.27 christos # $NetBSD: Makefile,v 1.27 2013/02/12 20:46:10 christos Exp $ 3 1.27 christos 4 1.27 christos .include <bsd.prog.mk> 5 1.1 cgd 6 1.1 cgd MELIB= ${BINDIR}/me 7 1.22 wiz #TMLIB= ${BINDIR}/tmac 8 1.1 cgd MESRCS= acm.me chars.me deltext.me eqn.me float.me footnote.me \ 9 1.1 cgd index.me letterhead.me local.me null.me refer.me sh.me \ 10 1.1 cgd tbl.me thesis.me 11 1.22 wiz #TMSRCS= tmac.e 12 1.27 christos 13 1.27 christos .if ${MKGROFF} == "no" 14 1.13 phil MAN= me.7 15 1.27 christos .endif 16 1.27 christos 17 1.24 dsl CLEANFILES+= ${MESRCS:=.tmp} 18 1.12 phil 19 1.13 phil .for M in ${MESRCS} 20 1.13 phil 21 1.13 phil proginstall:: ${DESTDIR}${MELIB}/${M} 22 1.23 lukem .if ${MKUPDATE} == "no" 23 1.13 phil .PHONY: ${DESTDIR}${MELIB}/${M} 24 1.13 phil .endif 25 1.13 phil .if !defined(BUILD) 26 1.13 phil ${DESTDIR}${MELIB}/${M}: .MADE 27 1.13 phil .endif 28 1.13 phil 29 1.13 phil ${DESTDIR}${MELIB}/${M}: ${M} 30 1.18 mrg @rm -f ${.TARGET} ${M}.tmp 31 1.26 apb ${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp 32 1.20 tron ${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ 33 1.19 lukem ${M}.tmp ${.TARGET} 34 1.25 dsl @rm -f ${M}.tmp 35 1.13 phil .endfor 36 1.13 phil 37 1.22 wiz #.for M in ${TMSRCS} 38 1.13 phil 39 1.22 wiz #proginstall:: ${DESTDIR}${TMLIB}/${M} 40 1.23 lukem #.if ${MKUPDATE} == "no" 41 1.22 wiz #.PHONY: ${DESTDIR}${TMLIB}/${M} 42 1.22 wiz #.endif 43 1.22 wiz #.if !defined(BUILD) 44 1.22 wiz #${DESTDIR}${TMLIB}/${M}: .MADE 45 1.22 wiz #.endif 46 1.22 wiz 47 1.22 wiz #${DESTDIR}${TMLIB}/${M}: ${M} 48 1.22 wiz # @rm -f ${.TARGET} ${M}.tmp 49 1.26 apb # ${TOOL_SED} -f ${.CURDIR}/strip.sed < ${.ALLSRC} > ${M}.tmp 50 1.22 wiz # ${INSTALL_FILE:N-c} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ 51 1.22 wiz # ${M}.tmp ${.TARGET} 52 1.22 wiz #.endfor 53 1.13 phil 54 1.13 phil proginstall:: ${DESTDIR}${MELIB}/revisions 55 1.23 lukem .if ${MKUPDATE} == "no" 56 1.13 phil .PHONY: ${DESTDIR}${MELIB}/revisions 57 1.13 phil .endif 58 1.13 phil .if !defined(BUILD) 59 1.13 phil ${DESTDIR}${MELIB}/revisions: .MADE 60 1.13 phil .endif 61 1.13 phil 62 1.13 phil ${DESTDIR}${MELIB}/revisions: revisions 63 1.21 tron ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ 64 1.16 simonb ${.ALLSRC} ${.TARGET} 65 1.1 cgd 66