2002-03-16 10:27:09 +03:00
|
|
|
# $NetBSD: Makefile,v 1.19 2002/03/16 07:27:09 tsutsui Exp $
|
1999-12-09 17:53:00 +03:00
|
|
|
|
2002-03-16 10:27:09 +03:00
|
|
|
.include "${.CURDIR}/../../../Makefile.inc"
|
|
|
|
.include <bsd.own.mk>
|
1999-12-09 17:53:00 +03:00
|
|
|
|
|
|
|
IMAGE= ramdisk.fs
|
2002-03-16 10:27:09 +03:00
|
|
|
IMAGESIZE= 1440k
|
|
|
|
|
|
|
|
WARNS= 1
|
|
|
|
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= be
|
|
|
|
MAKEDEVTARGETS= floppy
|
|
|
|
PARSELISTENV= PWD_MKDB=${PWD_MKDB:Q}
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
|
|
|
dot.profile termcap.src \
|
|
|
|
${DESTDIR}/usr/mdec/installboot \
|
|
|
|
${DESTDIR}/usr/mdec/boot \
|
|
|
|
${DESTDIR}/usr/mdec/bootxx \
|
|
|
|
${_SRC_TOP_}/etc/group \
|
|
|
|
${_SRC_TOP_}/etc/master.passwd \
|
|
|
|
${_SRC_TOP_}/etc/netconfig \
|
|
|
|
${_SRC_TOP_}/etc/protocols \
|
|
|
|
${_SRC_TOP_}/etc/services
|
|
|
|
|
|
|
|
realall: ${IMAGE}
|
1999-12-09 17:53:00 +03:00
|
|
|
|
2002-03-16 10:27:09 +03:00
|
|
|
release:
|
1999-12-09 17:53:00 +03:00
|
|
|
|
2002-03-16 10:27:09 +03:00
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
|
|
HACKSRC=${DISTRIBDIR}/utils/libhack
|
2000-03-13 16:16:54 +03:00
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
2002-02-04 14:03:08 +03:00
|
|
|
|
2002-03-16 10:27:09 +03:00
|
|
|
# Turn off libhack's gethostby*() as it only supports /etc/hosts
|
|
|
|
HACKOBJS:= ${HACKOBJS:Ngethost.o}
|
1999-12-09 17:53:00 +03:00
|
|
|
|
2002-03-16 10:27:09 +03:00
|
|
|
# This is listed in "list" file but is built here.
|
|
|
|
${CRUNCHBIN}: libhack.o
|
2000-06-11 15:35:18 +04:00
|
|
|
|
2002-03-16 10:27:09 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
1999-12-09 17:53:00 +03:00
|
|
|
|
2000-06-09 03:39:07 +04:00
|
|
|
.include <bsd.prog.mk>
|