Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.20
      1 #	$NetBSD: Makefile,v 1.20 2002/03/18 15:30:55 tsutsui Exp $
      2 
      3 .include "${.CURDIR}/../../../Makefile.inc"
      4 .include <bsd.own.mk>
      5 
      6 IMAGE=		ramdisk.fs
      7 IMAGESIZE=	1440k
      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=	floppy
     16 IMAGEDEPENDS=	${CRUNCHBIN} \
     17 		dot.profile termcap.src \
     18 		${DESTDIR}/usr/mdec/installboot \
     19 		${DESTDIR}/usr/mdec/boot \
     20 		${DESTDIR}/usr/mdec/bootxx \
     21 		${_SRC_TOP_}/etc/group \
     22 		${_SRC_TOP_}/etc/master.passwd \
     23 		${_SRC_TOP_}/etc/netconfig \
     24 		${_SRC_TOP_}/etc/protocols \
     25 		${_SRC_TOP_}/etc/services
     26 
     27 realall: ${IMAGE}
     28 
     29 release:
     30 
     31 # Use stubs to eliminate some large stuff from libc
     32 HACKSRC=${DISTRIBDIR}/utils/libhack
     33 .include "${HACKSRC}/Makefile.inc"
     34 
     35 # Turn off libhack's gethostby*() as it only supports /etc/hosts
     36 HACKOBJS:=	${HACKOBJS:Ngethost.o}
     37 
     38 # This is listed in "list" file but is built here.
     39 ${CRUNCHBIN}:	libhack.o
     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