Files
2015-10-15 10:25:28 +02:00

47 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.47 2014/08/10 17:58:51 joerg Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
IMAGE= ramdisk.fs
# This must be kept in sync with config option MEMORY_DISK_ROOT_SIZE
# in both
# src/sys/arch/macppc/conf/INSTALL
# src/sys/arch/macppc/conf/GENERIC_MD
IMAGESIZE= 2560k
MAKEFS_FLAGS= -f 15
WARNS= 1
DBG= -Os
CRUNCHBIN= ramdiskbin
CRUNCHGEN_FLAGS= -d "${DBG}"
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= be
MAKEDEVTARGETS= floppy
IMAGEDEPENDS= ${CRUNCHBIN} \
dot.profile \
${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/usr/mdec/bootxx \
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
${DISTRIBDIR}/common/services
SMALLPROG_INET6=1
.if ${USE_INET6} != "no"
LISTS+= ${DISTRIBDIR}/common/list.inet6
.endif
# Use stubs to eliminate some large stuff from libc
HACKSRC= ${DISTRIBDIR}/utils/libhack
.include "${HACKSRC}/Makefile.inc"
${CRUNCHBIN}: libhack.o
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
release:
.include <bsd.prog.mk>