Home | History | Annotate | Line # | Download | only in ramdisk
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 
      6 IMAGE=		ramdisk.fs
      7 
      8 WARNS=		1
      9 
     10 CRUNCHBIN=	ramdiskbin
     11 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     12 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     13 IMAGEENDIAN=	le
     14 IMAGEDEPENDS+=	${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 
     20 MAKEDEVTARGETS=	ramdisk
     21 
     22 realall: ${IMAGE}
     23 
     24 release:
     25 
     26 
     27 # Use stubs to eliminate some large stuff from libc
     28 HACKSRC=${DISTRIBDIR}/utils/libhack
     29 .include "${HACKSRC}/Makefile.inc"
     30 
     31 # Turn off libhack's gethostby*() as it only supports /etc/hosts
     32 HACKOBJS:=	${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