Home | History | Annotate | Line # | Download | only in notes
Makefile.inc revision 1.4.2.2
      1  1.4.2.2        he #	$NetBSD: Makefile.inc,v 1.4.2.2 2000/02/10 21:39:30 he Exp $
      2      1.1      ross 
      3      1.1      ross # Ross Harvey <ross@netbsd.org>
      4      1.1      ross 
      5      1.1      ross M?=	${.CURDIR:T}
      6      1.1      ross V!=	/bin/sh ${.CURDIR}/../../../sys/conf/osrelease.sh
      7      1.1      ross V_S!=	/bin/sh ${.CURDIR}/../../../sys/conf/osrelease.sh -s
      8      1.1      ross 
      9      1.1      ross MAIN=	${.CURDIR}/../common/main ${EXTRA}
     10      1.1      ross TARG=	INSTALL
     11      1.2    kleink TARGS=	${TARG}.ps ${TARG}.txt ${TARG}.html ${TARG}.more
     12  1.4.2.2        he SRCS=	${MAIN} whatis contents hardware xfer prep install\
     13      1.1      ross 	upgrade donations legal.common legal postinstall ../Makefile.inc\
     14      1.1      ross 	${MERGED_SRCS}
     15      1.1      ross 
     16      1.1      ross PRESET=	${GFLAGS} -dV=$V -dV_S=${V_S} -dMACHINE=$M -d.CURDIR=${.CURDIR} -r$M=1
     17      1.1      ross 
     18      1.1      ross POST_PLAIN= -P-b -P-u -P-o -Tascii
     19      1.1      ross 
     20      1.1      ross ARGS_PS=	${PRESET} -dformat=PostScript
     21      1.1      ross ARGS_TXT=	${PRESET} -dformat=ASCII ${POST_PLAIN}
     22      1.1      ross ARGS_HTML=	${PRESET} -dformat=HTML  ${POST_PLAIN} -ww
     23      1.1      ross ARGS_MORE=	${PRESET} -dformat=more -P-h -Tascii
     24      1.1      ross 
     25      1.1      ross #
     26      1.1      ross # For example...
     27      1.1      ross #
     28      1.1      ross #	.if ri386 ...stuff...
     29      1.1      ross #	.Ss "Install notes for NetBSD/\*[MACHINE]"
     30      1.1      ross #
     31      1.1      ross 
     32      1.1      ross CLEANFILES+=${TARGS}
     33      1.1      ross 
     34      1.1      ross .for i in ps txt html more
     35      1.1      ross all: ${TARG}.$i
     36      1.1      ross .endfor
     37      1.1      ross 
     38      1.1      ross ${TARG}.ps: ${SRCS}
     39      1.1      ross 	groff ${ARGS_PS}   -mdoc      ${MAIN} > $@
     40      1.1      ross 
     41      1.1      ross ${TARG}.txt: ${SRCS}
     42      1.1      ross 	groff ${ARGS_TXT}  -mdoc      ${MAIN} > $@
     43      1.1      ross 
     44      1.1      ross ${TARG}.html: ${SRCS}
     45      1.1      ross 	groff ${ARGS_HTML} -mdoc2html ${MAIN} > $@
     46      1.1      ross 
     47      1.1      ross ${TARG}.more: ${SRCS}
     48      1.1      ross 	groff ${ARGS_MORE} -mdoc      ${MAIN} > $@
     49      1.1      ross 
     50      1.1      ross echosrcs! ${SRCS}
     51      1.1      ross 	@echo ${.ALLSRC}
     52  1.4.2.1     perry 
     53  1.4.2.1     perry echomore!
     54  1.4.2.1     perry 	@echo ${.OBJDIR}/${TARG}.more
     55      1.1      ross 
     56      1.1      ross .PATH: ${.CURDIR}/../common
     57      1.4  drochner 
     58      1.4  drochner # make the "afterdepend" rule happy
     59      1.4  drochner .depend:
     60      1.4  drochner 	@touch $@
     61