1 1.1 skrll # $NetBSD: Makefile,v 1.1 2014/02/24 07:23:38 skrll Exp $ 2 1.1 skrll 3 1.1 skrll .include <bsd.own.mk> 4 1.1 skrll .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 1.1 skrll 6 1.1 skrll IMAGE= ramdisk.fs 7 1.1 skrll IMAGESIZE= 2500k 8 1.1 skrll MAKEFS_FLAGS= -f 15 9 1.1 skrll 10 1.1 skrll WARNS= 1 11 1.1 skrll # DBG= -Os -mmultiple -mstring 12 1.1 skrll 13 1.1 skrll CRUNCHBIN= ramdiskbin 14 1.1 skrll CRUNCHGEN_FLAGS= -d "${DBG}" 15 1.1 skrll LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 16 1.1 skrll MTREECONF= ${DISTRIBDIR}/common/mtree.common 17 1.1 skrll IMAGEENDIAN= be 18 1.1 skrll MAKEDEVTARGETS= all ipty 19 1.1 skrll IMAGEDEPENDS= ${CRUNCHBIN} \ 20 1.1 skrll dot.profile \ 21 1.1 skrll ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 22 1.1 skrll ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 23 1.1 skrll ${DISTRIBDIR}/common/services 24 1.1 skrll SMALLPROG_INET6=1 25 1.1 skrll 26 1.1 skrll .if ${USE_INET6} != "no" 27 1.1 skrll LISTS+= ${DISTRIBDIR}/common/list.inet6 28 1.1 skrll .endif 29 1.1 skrll 30 1.1 skrll # Use stubs to eliminate some large stuff from libc 31 1.1 skrll HACKSRC= ${DISTRIBDIR}/utils/libhack 32 1.1 skrll .include "${HACKSRC}/Makefile.inc" 33 1.1 skrll ${CRUNCHBIN}: libhack.o 34 1.1 skrll 35 1.1 skrll .include "${DISTRIBDIR}/common/Makefile.dhcpcd" 36 1.1 skrll .include "${DISTRIBDIR}/common/Makefile.crunch" 37 1.1 skrll .include "${DISTRIBDIR}/common/Makefile.makedev" 38 1.1 skrll .include "${DISTRIBDIR}/common/Makefile.image" 39 1.1 skrll 40 1.1 skrll release: 41 1.1 skrll 42 1.1 skrll .include <bsd.prog.mk> 43