1 # $NetBSD: Makefile,v 1.3 2002/02/13 05:31:18 gmcgarry Exp $ 2 3 .include "${.CURDIR}/../../Makefile.inc" 4 .include <bsd.own.mk> 5 6 IMAGE= ramdisk.fs 7 IMAGESIZE= 2000k 8 IMAGEDEPENDS= ${DESTDIR}/usr/mdec/uboot.lif 9 USE_SYSINST= yes 10 11 WARNS= 1 12 13 CRUNCHBIN= ramdiskbin 14 LISTS= ${.CURDIR}/list 15 MTREECONF= ${DISTRIBDIR}/common/mtree.common 16 IMAGEENDIAN= le 17 IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile termcap.mini \ 18 ${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \ 19 ${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \ 20 ${_SRC_TOP_}/etc/services ${DESTDIR}/usr/mdec/uboot.lif 21 22 .if defined(USE_SYSINST) 23 LISTS+= ${DISTRIBDIR}/common/list.sysinst 24 .endif 25 26 realall: ${IMAGE} 27 28 # Use stubs to eliminate some large stuff from libc 29 HACKSRC=${_SRC_TOP_}/distrib/utils/libhack 30 .include "${HACKSRC}/Makefile.inc" 31 # turn off small gethostby* temporarily 32 HACKOBJS:= ${HACKOBJS:Ngethost.o} 33 34 # This is listed in ramdiskbin.conf but is built here. 35 ${CRUNCHBIN}: libhack.o 36 37 release: 38 39 .include "${DISTRIBDIR}/common/Makefile.crunch" 40 .include "${DISTRIBDIR}/common/Makefile.makedev" 41 .include "${DISTRIBDIR}/common/Makefile.image" 42 43 .include <bsd.prog.mk> 44