Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.15
      1 #	$NetBSD: Makefile,v 1.15 2002/03/23 16:38:50 shiba Exp $
      2 
      3 .include "${.CURDIR}/../../../Makefile.inc"
      4 .include <bsd.own.mk>
      5 
      6 .ifndef NOTESOBJDIR
      7 NOTESOBJDIR!=cd ${DISTRIBDIR}/notes/mac68k && ${PRINTOBJDIR}
      8 .endif
      9 
     10 IMAGE=		ramdisk.fs
     11 IMAGESIZE=	2048k
     12 
     13 WARNS=		1
     14 
     15 CRUNCHBIN=	ramdiskbin
     16 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     17 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     18 IMAGEENDIAN=	be
     19 MAKEDEVTARGETS=	raminst
     20 IMAGEDEPENDS=	${CRUNCHBIN} \
     21 		dot.profile dot.hdprofile \
     22 		${.CURDIR}/../../miniroot/termcap \
     23 		${NOTESOBJDIR}/INSTALL.more \
     24 		${_SRC_TOP_}/etc/group \
     25 		${_SRC_TOP_}/etc/master.passwd \
     26 		${_SRC_TOP_}/etc/protocols \
     27 		${_SRC_TOP_}/etc/netconfig \
     28 		${_SRC_TOP_}/etc/services
     29 
     30 
     31 realall: ${IMAGE}
     32 
     33 release:
     34 
     35 
     36 # Use stubs to eliminate some large stuff from libc
     37 HACKSRC=${DISTRIBDIR}/utils/libhack
     38 .include "${HACKSRC}/Makefile.inc"
     39 
     40 # Turn off libhack's gethostby*() as it only supports /etc/hosts
     41 HACKOBJS:=	${HACKOBJS:Ngethost.o}
     42 
     43 # This is listed in ramdiskbin.conf but is built here.
     44 ${CRUNCHBIN}: libhack.o
     45 
     46 
     47 .include "${DISTRIBDIR}/common/Makefile.crunch"
     48 .include "${DISTRIBDIR}/common/Makefile.makedev"
     49 .include "${DISTRIBDIR}/common/Makefile.image"
     50 
     51 PARSELISTENV+=	NOTESOBJDIR=${NOTESOBJDIR}
     52 
     53 .include <bsd.prog.mk>
     54