Makefile revision 1.4
11.4Such#	$NetBSD: Makefile,v 1.4 2001/03/13 16:31:29 uch Exp $
21.1Such#
31.1Such
41.1SuchPROJECT_DIRS	= hpcboot libz libsa
51.1SuchMAKE	= make
61.1Such
71.1Suchall:
81.3Such	find binary -name "hpcboot*.exe.uu" -exec uudecode {} \;
91.1Such
101.1Such#
111.1Such# generates project/work files for Embeded Visual C++ 3.0
121.1Such#
131.1Suchevc3:
141.1Such	cd dspgen && ${MAKE} evc3 || exit 1;
151.1Such	for d in ${PROJECT_DIRS}; do					\
161.1Such		sh dspgen/config.sh evc3 $$d;				\
171.1Such	done
181.1Such	sh dspgen/gen_workspace.sh evc3 hpc_stand.vcw $(PROJECT_DIRS)
191.1Such	cd dspgen && ${MAKE} clean;
201.1Such#
211.1Such# generates project/work files for Visual C++ 6.0 + Windows CE tool kit.
221.1Such#
231.1Suchvc6:
241.1Such	cd dspgen && ${MAKE} vc6 || exit 1;
251.1Such	for d in ${PROJECT_DIRS}; do					\
261.1Such		sh dspgen/config.sh vc6 $$d;				\
271.1Such	done
281.1Such	cd dspgen && ${MAKE} clean;
291.1Such	sh dspgen/gen_workspace.sh vc6 hpc_stand.dsw $(PROJECT_DIRS)
301.1Such
311.3Such#
321.3Such# generates project/work files for Visual C++ 5.0 Windows CE Embeded tool kit.
331.3Such# (WCE100/101/200 binary for MIPS, SH3)
341.3Such#
351.3Suchvc5:
361.3Such	cd dspgen && ${MAKE} vc5 || exit 1;
371.3Such	for d in ${PROJECT_DIRS}; do					\
381.3Such		sh dspgen/config.sh vc5 $$d;				\
391.3Such	done
401.3Such	cd dspgen && ${MAKE} clean;
411.3Such	sh dspgen/gen_workspace.sh vc5 hpc_stand.dsw $(PROJECT_DIRS)
421.3Such
431.1Suchclean:
441.3Such# evc3 temporary files
451.1Such	rm -f hpc_stand.vcb hpc_stand.vcw hpc_stand.vco
461.1Such	find . -name "*.vcp" -print |xargs rm -f
471.1Such	rm -f hpcboot/hpcboot.vcl hpcboot/HPCBOOT.VCO hpcboot/HPCBOOT.VCW
481.1Such	rm -f hpcboot/HPCBOOT.vcb
491.3Such# vc6 temporary files
501.1Such	find . -name "*.dsp" -print |xargs rm -f
511.1Such	rm -f hpc_stand.dsw hpc_stand.ncb hpc_stand.opt
521.1Such	rm -f hpcboot/hpcboot.plg
531.3Such# compile directory
541.2Such	rm -rf compile/ARMDebug compile/ARMRelease			\
551.4Such	compile/SH*Debug compile/SH*Release				\
561.2Such	compile/MIPSDebug compile/MIPSRelease
571.1Such	find . -name "hpcboot.exe" -print |xargs rm -f
581.1Such
591.1Suchdistclean: clean
601.3Such	find binary -name "hpcboot*.exe*" -print | xargs rm -f;
611.1Such
621.3Such# WCE210 or later binary
631.1Suchinstall:
641.4Such	for a in SH3 SH4 ARM MIPS; do					\
651.1Such		file=`echo "compile/"$$a"Release/hpcboot.exe"`;		\
661.1Such		cp $$file binary/$$a/hpcboot.exe;			\
671.1Such	done
681.3Such# WCE200 or earlier binary
691.3Suchinstall1:
701.3Such	cp compile/MIPSRelease/hpcboot.exe binary/MIPS/hpcboot1.exe
711.3Such	cp compile/SHRelease/hpcboot.exe binary/SH3/hpcboot1.exe
721.3Such
731.1Suchuuencode:
741.3Such	find binary -name "hpcboot*.exe" -print | \
751.1Such	awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh
761.1Such
771.1Such
781.1Such
79