Home | History | Annotate | Line # | Download | only in ramdisk
Makefile revision 1.27
      1  1.27        tv #	$NetBSD: Makefile,v 1.27 2002/04/23 19:53:12 tv Exp $
      2   1.5    simonb 
      3  1.19     lukem .include <bsd.own.mk>
      4  1.26     lukem .include "${_SRC_TOP_}/distrib/Makefile.inc"
      5   1.1  jonathan 
      6   1.1  jonathan IMAGE=		ramdisk.fs
      7  1.26     lukem IMAGETAR=	diskimage.tgz
      8  1.26     lukem IMAGESIZE=	3m
      9  1.23     lukem MAKEFS_FLAGS=	-f 15
     10  1.19     lukem 
     11  1.19     lukem WARNS=		1
     12  1.27        tv DBG=		-Os -Wa,-xgot # XXX -xgot workaround for objcopy-crunchide
     13  1.19     lukem 
     14  1.19     lukem CRUNCHBIN=	ramdiskbin
     15  1.27        tv CRUNCHGEN_FLAGS= -d "${DBG}"
     16  1.19     lukem LISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
     17  1.19     lukem MTREECONF=	${DISTRIBDIR}/common/mtree.common
     18  1.19     lukem IMAGEENDIAN=	le
     19  1.19     lukem MAKEDEVTARGETS=	minimal pty0
     20  1.19     lukem IMAGEDEPENDS=	${CRUNCHBIN} \
     21  1.20     lukem 		disktab.preinstall dot.hdprofile dot.profile \
     22  1.25     lukem 		${DISTRIBDIR}/miniroot/termcap.rcons \
     23  1.20     lukem 		${DESTDIR}/usr/mdec/boot.pmax ${DESTDIR}/usr/mdec/bootxx_ffs \
     24  1.19     lukem 		${_SRC_TOP_}/etc/group ${_SRC_TOP_}/etc/master.passwd \
     25  1.21     lukem 		${_SRC_TOP_}/etc/netconfig ${_SRC_TOP_}/etc/protocols \
     26  1.19     lukem 		${_SRC_TOP_}/etc/services
     27  1.22     lukem 
     28  1.22     lukem # Use stubs to eliminate some large stuff from libc
     29  1.22     lukem HACKSRC=	${DISTRIBDIR}/utils/libhack
     30  1.22     lukem .include	"${HACKSRC}/Makefile.inc"
     31  1.22     lukem ${CRUNCHBIN}:	libhack.o
     32  1.19     lukem 
     33  1.19     lukem 
     34  1.26     lukem realall: ${IMAGE} .WAIT ${IMAGETAR}
     35  1.19     lukem 
     36  1.26     lukem release: check_RELEASEDIR .WAIT ${IMAGETAR}
     37  1.19     lukem 	-mkdir -p ${RELEASEDIR}/installation/netboot
     38  1.26     lukem 	${RELINSTALL} ${IMAGETAR} ${RELEASEDIR}/installation/netboot
     39  1.19     lukem 
     40   1.1  jonathan 
     41  1.19     lukem .include "${DISTRIBDIR}/common/Makefile.crunch"
     42  1.19     lukem .include "${DISTRIBDIR}/common/Makefile.makedev"
     43  1.19     lukem .include "${DISTRIBDIR}/common/Makefile.image"
     44   1.6    simonb 
     45  1.19     lukem .include <bsd.prog.mk>
     46