NetBSD/distrib/arc/ramdisk/Makefile

39 lines
920 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.1 2002/04/06 18:40:32 tsutsui Exp $
.include "${.CURDIR}/../../Makefile.inc"
.include <bsd.own.mk>
IMAGE= ramdisk.fs
IMAGESIZE= 2048k
MAKEFS_FLAGS= -f 15
WARNS= 1
DBG= -Os
CRUNCHBIN= ramdiskbin
LISTS= ${.CURDIR}/list # ${DISTRIBDIR}/common/list.sysinst
MTREECONF= ${DISTRIBDIR}/common/mtree.common
IMAGEENDIAN= le
MAKEDEVTARGETS= minimal
IMAGEDEPENDS= ${CRUNCHBIN} \
dot.profile termcap.mini \
${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
${_SRC_TOP_}/etc/services
# Use stubs to eliminate some large stuff from libc
HACKSRC= ${DISTRIBDIR}/utils/libhack
.include "${HACKSRC}/Makefile.inc"
${CRUNCHBIN}: libhack.o
realall: ${IMAGE}
release:
.include "${DISTRIBDIR}/common/Makefile.crunch"
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
.include <bsd.prog.mk>