Makefile revision 1.4
11.4Smrg# $NetBSD: Makefile,v 1.4 2002/01/20 05:57:10 mrg Exp $ 21.1Smrg# 31.1Smrg# instfs.tgz is the filesystem image for disk 2 of the floppy based 41.1Smrg# installation method. 51.1Smrg# It is constructed by tarring up the contents of the miniroot with 61.1Smrg# the exeption of the kernel and boot program. 71.1Smrg# 81.1Smrg 91.1SmrgTOP= ${.CURDIR}/.. 101.1SmrgMINIROOT= ${.CURDIR}/../xminiroot 111.1Smrg 121.1Smrg.include "${TOP}/Makefile.inc" 131.1Smrg 141.2SmrgMINIROOT_DIR!=cd ${MINIROOT}; \ 151.2Smrg printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | \ 161.1Smrg ${MAKE} -s -f- 171.2SmrgMINIROOT_IMAGE= ${MINIROOT_DIR}/miniroot.fs 181.2SmrgMINIROOT_KERNEL=${MINIROOT_DIR}/netbsd.INSTALL 191.1Smrg 201.4SmrgMOUNT_POINT?= ${MINIROOT_DIR}/mountpoint 211.4SmrgINSTFS?= instfs.tgz 221.4Smrg 231.1Smrgall: ${INSTFS} 241.1Smrg 251.1Smrg${INSTFS}: ${MINIROOT_IMAGE} 261.1Smrg (cd ${MOUNT_POINT}; \ 271.1Smrg tar -z -X ${.CURDIR}/exclude -c -f ${.OBJDIR}/${.TARGET} .) 281.1Smrg 291.1Smrgclean cleandir distclean: 301.1Smrg /bin/rm -f *.core ${INSTFS} 311.1Smrg 321.1Smrg.ifndef RELEASEDIR 331.1Smrgrelease: 341.1Smrg @echo setenv RELEASEDIR first 351.1Smrg @false 361.1Smrg.else 371.1Smrgrelease: ${INSTFS} 381.1Smrg cp ${INSTFS} $(RELEASEDIR)/installation/misc 391.2Smrg gzip -9 -c ${MINIROOT_KERNEL} > $(RELEASEDIR)/binary/kernel/netbsd.INSTALL.gz 401.1Smrg.endif # RELEASEDIR check 411.1Smrg 421.1Smrg.include <bsd.obj.mk> 431.1Smrg.include <bsd.subdir.mk> 44