2002-03-06 07:29:35 +03:00
|
|
|
# $NetBSD: Makefile,v 1.7 2002/03/06 04:31:50 lukem Exp $
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
|
|
.include <bsd.own.mk>
|
2002-02-10 04:22:54 +03:00
|
|
|
|
|
|
|
IMAGE= ramdisk.fs
|
2002-02-24 01:02:08 +03:00
|
|
|
IMAGESIZE= 1200k
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
WARNS= 1
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
CRUNCHBIN= ramdiskbin
|
2002-02-24 12:57:18 +03:00
|
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
2002-02-13 08:13:24 +03:00
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
2002-02-13 22:25:26 +03:00
|
|
|
IMAGEENDIAN= be
|
2002-02-13 08:13:24 +03:00
|
|
|
IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile termcap.mini \
|
|
|
|
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
|
|
|
|
${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
|
|
|
|
${_SRC_TOP_}/etc/services ${DESTDIR}/usr/mdec/uboot.lif
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-24 01:02:08 +03:00
|
|
|
|
|
|
|
MAKEDEVTARGETS+=std md0
|
|
|
|
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
realall: ${IMAGE}
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
# Use stubs to eliminate some large stuff from libc
|
2002-03-06 07:29:35 +03:00
|
|
|
HACKSRC=${DISTRIBDIR}/utils/libhack
|
2002-02-13 08:13:24 +03:00
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
# turn off small gethostby* temporarily
|
|
|
|
HACKOBJS:= ${HACKOBJS:Ngethost.o}
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
# This is listed in ramdiskbin.conf but is built here.
|
|
|
|
${CRUNCHBIN}: libhack.o
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
release:
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
2002-02-10 04:22:54 +03:00
|
|
|
|
2002-02-13 08:13:24 +03:00
|
|
|
.include <bsd.prog.mk>
|