1 1.37 roy # $NetBSD: Makefile,v 1.37 2010/02/05 10:01:19 roy Exp $ 2 1.1 tsubai 3 1.23 tsutsui .include <bsd.own.mk> 4 1.29 lukem .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 1.1 tsubai 6 1.1 tsubai IMAGE= ramdisk.fs 7 1.23 tsutsui IMAGESIZE= 2048k 8 1.24 lukem MAKEFS_FLAGS= -f 15 9 1.1 tsubai 10 1.23 tsutsui WARNS= 1 11 1.26 tsutsui DBG= -Os -mmultiple -mstring 12 1.1 tsubai 13 1.23 tsutsui CRUNCHBIN= ramdiskbin 14 1.25 tsutsui CRUNCHGEN_FLAGS= -d "${DBG}" 15 1.23 tsutsui LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 16 1.23 tsutsui MTREECONF= ${DISTRIBDIR}/common/mtree.common 17 1.23 tsutsui IMAGEENDIAN= be 18 1.23 tsutsui MAKEDEVTARGETS= floppy 19 1.23 tsutsui IMAGEDEPENDS= ${CRUNCHBIN} \ 20 1.37 roy dot.profile \ 21 1.37 roy ${DESTDIR}/rescue/terminfo.db \ 22 1.23 tsutsui ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/usr/mdec/bootxx \ 23 1.28 lukem ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \ 24 1.34 abs ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 25 1.34 abs ${DISTRIBDIR}/common/services 26 1.30 lukem SMALLPROG_INET6=1 27 1.1 tsubai 28 1.31 lukem .if ${USE_INET6} != "no" 29 1.35 abs LISTS+= ${DISTRIBDIR}/common/list.inet6 30 1.31 lukem .endif 31 1.31 lukem 32 1.22 lukem # Use stubs to eliminate some large stuff from libc 33 1.22 lukem HACKSRC= ${DISTRIBDIR}/utils/libhack 34 1.22 lukem .include "${HACKSRC}/Makefile.inc" 35 1.23 tsutsui ${CRUNCHBIN}: libhack.o 36 1.23 tsutsui 37 1.23 tsutsui .include "${DISTRIBDIR}/common/Makefile.crunch" 38 1.23 tsutsui .include "${DISTRIBDIR}/common/Makefile.makedev" 39 1.23 tsutsui .include "${DISTRIBDIR}/common/Makefile.image" 40 1.29 lukem 41 1.29 lukem release: 42 1.1 tsubai 43 1.20 jmc .include <bsd.prog.mk> 44