Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.5
      1 #       $NetBSD: Makefile,v 1.5 2002/02/23 22:02:08 gmcgarry Exp $
      2 
      3 .include "${.CURDIR}/../../Makefile.inc"
      4 .include <bsd.own.mk>
      5 
      6 IMAGE=		ramdisk.fs
      7 IMAGESIZE=	1200k
      8 USE_SYSINST=	yes
      9 
     10 WARNS=		1
     11 
     12 CRUNCHBIN=	ramdiskbin
     13 LISTS=		${.CURDIR}/list
     14 MTREECONF=	${DISTRIBDIR}/common/mtree.common
     15 IMAGEENDIAN=	be
     16 IMAGEDEPENDS+=	${CRUNCHBIN} dot.profile termcap.mini \
     17 		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
     18 		${_SRC_TOP_}/etc/protocols ${_SRC_TOP_}/etc/netconfig \
     19 		${_SRC_TOP_}/etc/services ${DESTDIR}/usr/mdec/uboot.lif
     20 
     21 
     22 MAKEDEVTARGETS+=std md0
     23 
     24 .if defined(USE_SYSINST)
     25 LISTS+=		${DISTRIBDIR}/common/list.sysinst
     26 .endif
     27 
     28 realall: ${IMAGE}
     29 
     30 # Use stubs to eliminate some large stuff from libc
     31 HACKSRC=${_SRC_TOP_}/distrib/utils/libhack
     32 .include "${HACKSRC}/Makefile.inc"
     33 # turn off small gethostby* temporarily
     34 HACKOBJS:=	${HACKOBJS:Ngethost.o}
     35 
     36 # This is listed in ramdiskbin.conf but is built here.
     37 ${CRUNCHBIN}: libhack.o
     38 
     39 release:
     40 
     41 .include "${DISTRIBDIR}/common/Makefile.crunch"
     42 .include "${DISTRIBDIR}/common/Makefile.makedev"
     43 .include "${DISTRIBDIR}/common/Makefile.image"
     44 
     45 .include <bsd.prog.mk>
     46