Makefile revision 1.4
1# $NetBSD: Makefile,v 1.4 2002/03/06 13:21:00 lukem Exp $ 2 3.include "${.CURDIR}/../../Makefile.inc" 4.include <bsd.own.mk> 5 6IMAGE= ramdisk.fs 7 8WARNS= 1 9 10CRUNCHBIN= ramdiskbin 11LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 12MTREECONF= ${DISTRIBDIR}/common/mtree.common 13IMAGEENDIAN= le 14IMAGEDEPENDS+= ${CRUNCHBIN} \ 15 disktab.preinstall dot.hdprofile dot.profile termcap.vt100 \ 16 ${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \ 17 ${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \ 18 ${_SRC_TOP_}/etc/services 19 20MAKEDEVTARGETS= ramdisk 21 22realall: ${IMAGE} 23 24release: 25 26 27# Use stubs to eliminate some large stuff from libc 28HACKSRC=${DISTRIBDIR}/utils/libhack 29.include "${HACKSRC}/Makefile.inc" 30 31# Turn off libhack's gethostby*() as it only supports /etc/hosts 32HACKOBJS:= ${HACKOBJS:Ngethost.o} 33 34# This is listed in ramdiskbin.conf but is built here. 35${CRUNCHBIN}: libhack.o 36 37 38.include "${DISTRIBDIR}/common/Makefile.crunch" 39.include "${DISTRIBDIR}/common/Makefile.makedev" 40.include "${DISTRIBDIR}/common/Makefile.image" 41 42.include <bsd.prog.mk> 43