Makefile revision 1.2
1# $NetBSD: Makefile,v 1.2 2002/02/13 05:13:24 gmcgarry Exp $ 2 3.include "${.CURDIR}/../../Makefile.inc" 4.include <bsd.own.mk> 5 6IMAGE= ramdisk.fs 7IMAGESIZE= 1440k 8IMAGEDEPENDS= ${DESTDIR}/usr/mdec/uboot.lif 9USE_SYSINST= yes 10 11WARNS= 1 12 13CRUNCHBIN= ramdiskbin 14LISTS= ${.CURDIR}/list 15MTREECONF= ${DISTRIBDIR}/common/mtree.common 16IMAGEENDIAN= le 17IMAGEDEPENDS+= ${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) 23LISTS+= ${DISTRIBDIR}/common/list.sysinst 24.endif 25 26realall: ${IMAGE} 27 28# Use stubs to eliminate some large stuff from libc 29HACKSRC=${_SRC_TOP_}/distrib/utils/libhack 30.include "${HACKSRC}/Makefile.inc" 31# turn off small gethostby* temporarily 32HACKOBJS:= ${HACKOBJS:Ngethost.o} 33 34# This is listed in ramdiskbin.conf but is built here. 35${CRUNCHBIN}: libhack.o 36 37release: 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