1 # $NetBSD: Makefile,v 1.36 2002/04/12 14:56:38 lukem Exp $ 2 # 3 # ramdisk.fs is the microroot filesystem intended for use with 4 # the INSTALL kernel. It provides just enough tools to extract the 5 # miniroot-based `instfs' filesystem into an MFS mount point 6 # and start the installation scripts from there (see dot.profile). 7 # 8 9 .include <bsd.own.mk> 10 .include "${_SRC_TOP_}/distrib/Makefile.inc" 11 12 IMAGE= ramdisk.fs 13 IMAGESIZE= 1360b 14 15 WARNS= 1 16 DBG= -Os 17 18 CRUNCHBIN= ramdiskbin 19 LISTS= ${.CURDIR}/list 20 MTREECONF= ${DISTRIBDIR}/common/mtree.common 21 IMAGEENDIAN= be 22 MAKEDEVTARGETS= floppy 23 IMAGEDEPENDS+= ${CRUNCHBIN} dot.profile 24 25 # Use stubs to eliminate some large stuff from libc 26 HACKSRC= ${DISTRIBDIR}/utils/libhack 27 HACKOBJS= gethost.o 28 .include "${HACKSRC}/Makefile.inc" 29 ${CRUNCHBIN}: libhack.o 30 31 32 realall: ${IMAGE} 33 34 release: 35 36 37 .include "${DISTRIBDIR}/common/Makefile.crunch" 38 .include "${DISTRIBDIR}/common/Makefile.makedev" 39 .include "${DISTRIBDIR}/common/Makefile.image" 40 41 .include <bsd.prog.mk> 42