Makefile revision 1.6
11.6Such#	$NetBSD: Makefile,v 1.6 2001/05/16 14:26:40 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.6Suchevc3:
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.6Suchvc6:
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.6Suchvc5:
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.5Such	rm -f hpcboot/opt_spec_platform.h
451.3Such# evc3 temporary files
461.1Such	rm -f hpc_stand.vcb hpc_stand.vcw hpc_stand.vco
471.1Such	find . -name "*.vcp" -print |xargs rm -f
481.1Such	rm -f hpcboot/hpcboot.vcl hpcboot/HPCBOOT.VCO hpcboot/HPCBOOT.VCW
491.1Such	rm -f hpcboot/HPCBOOT.vcb
501.3Such# vc6 temporary files
511.1Such	find . -name "*.dsp" -print |xargs rm -f
521.1Such	rm -f hpc_stand.dsw hpc_stand.ncb hpc_stand.opt
531.1Such	rm -f hpcboot/hpcboot.plg
541.3Such# compile directory
551.2Such	rm -rf compile/ARMDebug compile/ARMRelease			\
561.4Such	compile/SH*Debug compile/SH*Release				\
571.2Such	compile/MIPSDebug compile/MIPSRelease
581.1Such	find . -name "hpcboot.exe" -print |xargs rm -f
591.1Such
601.1Suchdistclean: clean
611.3Such	find binary -name "hpcboot*.exe*" -print | xargs rm -f;
621.1Such
631.3Such# WCE210 or later binary
641.1Suchinstall:
651.4Such	for a in SH3 SH4 ARM MIPS; do					\
661.1Such		file=`echo "compile/"$$a"Release/hpcboot.exe"`;		\
671.1Such		cp $$file binary/$$a/hpcboot.exe;			\
681.1Such	done
691.3Such# WCE200 or earlier binary
701.3Suchinstall1:
711.3Such	cp compile/MIPSRelease/hpcboot.exe binary/MIPS/hpcboot1.exe
721.3Such	cp compile/SHRelease/hpcboot.exe binary/SH3/hpcboot1.exe
731.3Such
741.1Suchuuencode:
751.3Such	find binary -name "hpcboot*.exe" -print | \
761.1Such	awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh
771.1Such
781.1Such
791.1Such
80