1 # $NetBSD: Makefile,v 1.4.2.1 1997/11/17 02:37:12 thorpej Exp $ 2 3 M?= ${MACHINE} 4 V!= /bin/sh ${.CURDIR}/../../sys/conf/osrelease.sh 5 V_S!= /bin/sh ${.CURDIR}/../../sys/conf/osrelease.sh -s 6 7 TARG= INSTALL.$M 8 SRC= ${.CURDIR}/INSTALL 9 DEP= ${SRC} ${.CURDIR}/mirrors ${.CURDIR}/$M/whatis ${.CURDIR}/$M/contents \ 10 ${.CURDIR}/$M/hardware ${.CURDIR}/$M/xfer ${.CURDIR}/$M/prep \ 11 ${.CURDIR}/$M/install ${.CURDIR}/$M/upgrade ${.CURDIR}/donations \ 12 ${.CURDIR}/legal.common ${.CURDIR}/$M/legal 13 14 ${TARG}: ${DEP} 15 cpp -I${.CURDIR}/$M -D_MACH=$M -D_VER=$V -Uunix -U$M -C -P ${SRC} \ 16 | sed 's/_SVER_S/'${V_S}'/g ' > $@ 17 18 clean cleandir: 19 /bin/rm INSTALL.* 20