NetBSD/distrib/hp300/ramdisk/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.7 2002/03/06 04:31:50 lukem Exp $
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.own.mk>
IMAGE= ramdisk.fs
IMAGESIZE= 1200k
WARNS= 1
CRUNCHBIN= ramdiskbin
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
2002-02-13 22:25:26 +03:00
IMAGEENDIAN= be
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
MAKEDEVTARGETS+=std md0
realall: ${IMAGE}
# Use stubs to eliminate some large stuff from libc
HACKSRC=${DISTRIBDIR}/utils/libhack
.include "${HACKSRC}/Makefile.inc"
# turn off small gethostby* temporarily
HACKOBJS:= ${HACKOBJS:Ngethost.o}
# This is listed in ramdiskbin.conf but is built here.
${CRUNCHBIN}: libhack.o
release:
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
.include <bsd.prog.mk>