Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.19
      1 #	$NetBSD: Makefile,v 1.19 2002/03/16 07:27:09 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 PARSELISTENV=	PWD_MKDB=${PWD_MKDB:Q}
     17 IMAGEDEPENDS=	${CRUNCHBIN} \
     18 		dot.profile termcap.src \
     19 		${DESTDIR}/usr/mdec/installboot \
     20 		${DESTDIR}/usr/mdec/boot \
     21 		${DESTDIR}/usr/mdec/bootxx \
     22 		${_SRC_TOP_}/etc/group \
     23 		${_SRC_TOP_}/etc/master.passwd \
     24 		${_SRC_TOP_}/etc/netconfig \
     25 		${_SRC_TOP_}/etc/protocols \
     26 		${_SRC_TOP_}/etc/services
     27 
     28 realall: ${IMAGE}
     29 
     30 release:
     31 
     32 # Use stubs to eliminate some large stuff from libc
     33 HACKSRC=${DISTRIBDIR}/utils/libhack
     34 .include "${HACKSRC}/Makefile.inc"
     35 
     36 # Turn off libhack's gethostby*() as it only supports /etc/hosts
     37 HACKOBJS:=	${HACKOBJS:Ngethost.o}
     38 
     39 # This is listed in "list" file but is built here.
     40 ${CRUNCHBIN}:	libhack.o
     41 
     42 .include "${DISTRIBDIR}/common/Makefile.crunch"
     43 .include "${DISTRIBDIR}/common/Makefile.makedev"
     44 .include "${DISTRIBDIR}/common/Makefile.image"
     45 
     46 .include <bsd.prog.mk>
     47