2010-01-13 13:12:32 +03:00
|
|
|
# $NetBSD: Makefile,v 1.9 2010/01/13 10:12:32 skrll Exp $
|
2005-05-18 18:04:26 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
|
|
|
|
|
|
|
IMAGE= ramdisk.fs
|
2008-07-17 11:01:30 +04:00
|
|
|
IMAGESIZE= 2500k
|
2005-05-18 18:04:26 +04:00
|
|
|
MAKEFS_FLAGS= -f 15
|
|
|
|
|
|
|
|
WARNS= 1
|
|
|
|
# DBG= -Os -mmultiple -mstring
|
|
|
|
|
|
|
|
CRUNCHBIN= ramdiskbin
|
|
|
|
CRUNCHGEN_FLAGS= -d "${DBG}"
|
|
|
|
LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
|
|
|
|
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
|
|
|
IMAGEENDIAN= be
|
|
|
|
MAKEDEVTARGETS= all
|
|
|
|
IMAGEDEPENDS= ${CRUNCHBIN} \
|
2009-09-25 01:04:45 +04:00
|
|
|
dot.profile ${DISTRIBDIR}/common/termcap \
|
2005-05-18 18:04:26 +04:00
|
|
|
${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
|
2009-09-20 23:49:07 +04:00
|
|
|
${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
|
|
|
|
${DISTRIBDIR}/common/services
|
2005-05-18 18:04:26 +04:00
|
|
|
SMALLPROG_INET6=1
|
|
|
|
|
|
|
|
.if ${USE_INET6} != "no"
|
2009-09-21 02:50:50 +04:00
|
|
|
LISTS+= ${DISTRIBDIR}/common/list.inet6
|
2005-05-18 18:04:26 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
# Use stubs to eliminate some large stuff from libc
|
|
|
|
HACKSRC= ${DISTRIBDIR}/utils/libhack
|
|
|
|
.include "${HACKSRC}/Makefile.inc"
|
|
|
|
${CRUNCHBIN}: libhack.o
|
|
|
|
|
2010-01-13 13:12:32 +03:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
|
2005-05-18 18:04:26 +04:00
|
|
|
.include "${DISTRIBDIR}/common/Makefile.crunch"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.makedev"
|
|
|
|
.include "${DISTRIBDIR}/common/Makefile.image"
|
|
|
|
|
|
|
|
release:
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|