2002-03-28 06:24:07 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 2002/03/28 03:24:07 lukem Exp $
|
1999-04-27 16:03:39 +04:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.include <bsd.own.mk>
|
1998-11-28 02:10:28 +03:00
|
|
|
|
1999-04-16 18:12:14 +04:00
|
|
|
DISKIMAGE= diskimage.tgz
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
IMAGE= ramdisk.fs
|
|
|
|
IMAGESIZE= 6144b
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
WARNS= 1
|
2000-11-01 10:57:55 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
CRUNCHBIN= ramdiskbin
|
|
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= le
|
|
|
|
MAKEDEVTARGETS= minimal pty0
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
2002-03-25 02:15:24 +03:00
|
|
|
disktab.preinstall dot.hdprofile dot.profile \
|
2002-03-12 09:26:34 +03:00
|
|
|
${CURDIR}/../miniroot/termcap.rcons \
|
2002-03-25 02:15:24 +03:00
|
|
|
${DESTDIR}/usr/mdec/boot.pmax ${DESTDIR}/usr/mdec/bootxx_ffs \
|
2002-03-12 09:26:34 +03:00
|
|
|
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
|
2002-03-28 06:24:07 +03:00
|
|
|
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
|
2002-03-12 09:26:34 +03:00
|
|
|
${_SRC_TOP_}/etc/services
|
1999-04-27 05:37:13 +04:00
|
|
|
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
${DISKIMAGE}: ${WORKBUILT} ${WORKSPEC}
|
|
|
|
( cd ${WORKDIR}; \
|
|
|
|
GZIP=-9 ${PAX} -w -d -z -N ${DESTDIR}/etc -M < ${WORKSPEC} \
|
|
|
|
) > ${.TARGET}.tmp \
|
|
|
|
&& mv ${.TARGET}.tmp ${.TARGET}
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
CLEANFILES+= ${DISKIMAGE} ${DISKIMAGE}.tmp
|
2002-03-25 02:15:24 +03:00
|
|
|
|
1998-11-28 02:10:28 +03:00
|
|
|
|
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
realall: ${IMAGE} .WAIT ${DISKIMAGE}
|
1999-12-28 13:54:20 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
release: check_RELEASEDIR .WAIT ${DISKIMAGE}
|
|
|
|
-mkdir -p ${RELEASEDIR}/installation/netboot
|
|
|
|
cp -p ${DISKIMAGE} ${RELEASEDIR}/installation/netboot
|
1999-04-27 16:03:39 +04:00
|
|
|
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
1999-05-04 06:44:22 +04:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include <bsd.prog.mk>
|