1998-01-09 21:34:06 +03:00
|
|
|
# $NetBSD: Makefile,v 1.8 1998/01/09 18:34:06 perry Exp $
|
1997-11-25 01:38:42 +03:00
|
|
|
|
|
|
|
NOPROG= notreally
|
1994-09-17 23:02:58 +04:00
|
|
|
|
1994-10-17 03:11:18 +03:00
|
|
|
M?= ${MACHINE}
|
1997-06-17 12:00:13 +04:00
|
|
|
V!= /bin/sh ${.CURDIR}/../../sys/conf/osrelease.sh
|
1997-11-17 04:39:33 +03:00
|
|
|
V_S!= /bin/sh ${.CURDIR}/../../sys/conf/osrelease.sh -s
|
1994-09-17 23:02:58 +04:00
|
|
|
|
|
|
|
TARG= INSTALL.$M
|
|
|
|
SRC= ${.CURDIR}/INSTALL
|
|
|
|
DEP= ${SRC} ${.CURDIR}/mirrors ${.CURDIR}/$M/whatis ${.CURDIR}/$M/contents \
|
|
|
|
${.CURDIR}/$M/hardware ${.CURDIR}/$M/xfer ${.CURDIR}/$M/prep \
|
|
|
|
${.CURDIR}/$M/install ${.CURDIR}/$M/upgrade ${.CURDIR}/donations \
|
|
|
|
${.CURDIR}/legal.common ${.CURDIR}/$M/legal
|
|
|
|
|
1997-11-25 01:38:42 +03:00
|
|
|
CLEANFILES+=${TARG}
|
|
|
|
|
|
|
|
all: ${TARG}
|
|
|
|
|
1994-09-17 23:02:58 +04:00
|
|
|
${TARG}: ${DEP}
|
1997-11-17 04:39:33 +03:00
|
|
|
cpp -I${.CURDIR}/$M -D_MACH=$M -D_VER=$V -Uunix -U$M -C -P ${SRC} \
|
1998-01-09 21:34:06 +03:00
|
|
|
| sed -e 's/_SVER_S/'${V_S}'/g ' \
|
|
|
|
-e 's/[\t ]*[$$]NetBSD:..*[$$]//g' > $@
|
1994-09-17 23:02:58 +04:00
|
|
|
|
1997-11-25 01:38:42 +03:00
|
|
|
.include <bsd.prog.mk>
|