Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.10
      1 #	$NetBSD: Makefile,v 1.10 2002/03/12 12:52:52 lukem Exp $
      2 
      3 .include "${.CURDIR}/../../Makefile.inc"
      4 .include <bsd.own.mk>
      5 
      6 IMAGE=		ramdisk.fs
      7 IMAGESIZE=	1200k
      8 
      9 WARNS=		1
     10 
     11 CRUNCHBIN=	ramdiskbin
     12 LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     13 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     14 IMAGEENDIAN=	be
     15 MAKEDEVTARGETS=	std md0
     16 IMAGEDEPENDS=	${CRUNCHBIN} \
     17 		dot.profile termcap.mini \
     18 		${DESTDIR}/usr/mdec/installboot ${DESTDIR}/usr/mdec/uboot.lif \
     19 		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
     20 		${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
     21 		${_SRC_TOP_}/etc/services ${DESTDIR}/usr/mdec/uboot.lif
     22 
     23 
     24 realall: ${IMAGE}
     25 
     26 release:
     27 
     28 
     29 # Use stubs to eliminate some large stuff from libc
     30 HACKSRC=${DISTRIBDIR}/utils/libhack
     31 .include "${HACKSRC}/Makefile.inc"
     32 
     33 # Turn off libhack's gethostby*() as it only supports /etc/hosts
     34 HACKOBJS:=	${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