NetBSD/distrib/pmax/ramdisk/Makefile

56 lines
1.4 KiB
Makefile
Raw Normal View History

2002-04-12 07:26:57 +04:00
# $NetBSD: Makefile,v 1.25 2002/04/12 03:28:06 lukem Exp $
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.own.mk>
DISKIMAGE= diskimage.tgz
IMAGE= ramdisk.fs
IMAGESIZE= 6144b
MAKEFS_FLAGS= -f 15
WARNS= 1
2002-04-06 22:16:09 +04:00
DBG= -Os
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-04-12 07:26:57 +04:00
${DISTRIBDIR}/miniroot/termcap.rcons \
2002-03-25 02:15:24 +03:00
${DESTDIR}/usr/mdec/boot.pmax ${DESTDIR}/usr/mdec/bootxx_ffs \
${_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 \
${_SRC_TOP_}/etc/services
2002-03-30 02:45:23 +03:00
# Use stubs to eliminate some large stuff from libc
HACKSRC= ${DISTRIBDIR}/utils/libhack
.include "${HACKSRC}/Makefile.inc"
${CRUNCHBIN}: libhack.o
${DISKIMAGE}: ${WORKBUILT} ${WORKSPEC}
( cd ${WORKDIR}; \
GZIP=-9 ${PAX} -w -d -z -N ${DESTDIR}/etc -M < ${WORKSPEC} \
) > ${.TARGET}.tmp \
&& mv ${.TARGET}.tmp ${.TARGET}
CLEANFILES+= ${DISKIMAGE} ${DISKIMAGE}.tmp
2002-03-25 02:15:24 +03:00
realall: ${IMAGE} .WAIT ${DISKIMAGE}
release: check_RELEASEDIR .WAIT ${DISKIMAGE}
-mkdir -p ${RELEASEDIR}/installation/netboot
2002-04-12 07:26:57 +04:00
${RELINSTALL} ${DISKIMAGE} ${RELEASEDIR}/installation/netboot
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
.include <bsd.prog.mk>