2002-04-12 09:15:18 +04:00
|
|
|
# $NetBSD: Makefile,v 1.26 2002/04/12 05:15:18 lukem Exp $
|
1999-04-27 16:03:39 +04:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
.include <bsd.own.mk>
|
2002-04-12 09:15:18 +04:00
|
|
|
.include "${_SRC_TOP_}/distrib/Makefile.inc"
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
IMAGE= ramdisk.fs
|
2002-04-12 09:15:18 +04:00
|
|
|
IMAGETAR= diskimage.tgz
|
|
|
|
IMAGESIZE= 3m
|
2002-04-01 16:16:11 +04:00
|
|
|
MAKEFS_FLAGS= -f 15
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-03-12 09:26:34 +03:00
|
|
|
WARNS= 1
|
2002-04-06 22:16:09 +04:00
|
|
|
DBG= -Os
|
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-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 \
|
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
|
|
|
|
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
|
|
|
|
|
1998-11-28 02:10:28 +03:00
|
|
|
|
2002-04-12 09:15:18 +04:00
|
|
|
realall: ${IMAGE} .WAIT ${IMAGETAR}
|
1999-12-28 13:54:20 +03:00
|
|
|
|
2002-04-12 09:15:18 +04:00
|
|
|
release: check_RELEASEDIR .WAIT ${IMAGETAR}
|
2002-03-12 09:26:34 +03:00
|
|
|
-mkdir -p ${RELEASEDIR}/installation/netboot
|
2002-04-12 09:15:18 +04:00
|
|
|
${RELINSTALL} ${IMAGETAR} ${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>
|