Makefile revision 1.16
1# $NetBSD: Makefile,v 1.16 2002/03/24 22:44:21 lukem Exp $ 2 3.include "${.CURDIR}/../../Makefile.inc" 4.include <bsd.own.mk> 5 6IMAGE= ramdisk.fs 7IMAGESIZE= 1600b 8 9WARNS= 1 10 11CRUNCHBIN= ramdiskbin 12LISTS= ${.CURDIR}/list 13MTREECONF= ${DISTRIBDIR}/common/mtree.common 14IMAGEENDIAN= be 15MAKEDEVTARGETS= std md0 sd0 sd1 sd2 st0 cd0 16IMAGEDEPENDS= ${CRUNCHBIN} \ 17 dot.profile rd.fstab rd.passwd rd.welcome \ 18 ${DESTDIR}/usr/mdec/bootsd ${DESTDIR}/usr/mdec/bootst \ 19 ${DESTDIR}/usr/mdec/bootxx ${DESTDIR}/usr/mdec/stboot \ 20 ${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \ 21 ${_SRC_TOP_}/etc/services 22 23 24realall: ${IMAGE} 25 26release: 27 28 29# Use stubs to eliminate some large stuff from libc 30HACKSRC=${DISTRIBDIR}/utils/libhack 31.include "${HACKSRC}/Makefile.inc" 32 33# Turn off libhack's gethostby*() as it only supports /etc/hosts 34HACKOBJS:= ${HACKOBJS:Ngethost.o} 35 36# This is listed in ramdiskbin.conf but is built here. 37${CRUNCHBIN}: libhack.o 38 39 40.include "${DISTRIBDIR}/common/Makefile.crunch" 41.include "${DISTRIBDIR}/common/Makefile.makedev" 42.include "${DISTRIBDIR}/common/Makefile.image" 43 44.include <bsd.prog.mk> 45