Makefile revision 1.2
11.2Such#	$NetBSD: Makefile,v 1.2 2001/02/21 16:01:52 uch Exp $
21.1Such#
31.1Such
41.1SuchPROJECT_DIRS	= hpcboot libz libsa
51.1SuchMAKE	= make
61.1Such
71.1Suchall:
81.1Such	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.1Suchclean:
321.1Such# evc3
331.1Such	rm -f hpc_stand.vcb hpc_stand.vcw hpc_stand.vco
341.1Such	find . -name "*.vcp" -print |xargs rm -f
351.1Such	rm -f hpcboot/hpcboot.vcl hpcboot/HPCBOOT.VCO hpcboot/HPCBOOT.VCW
361.1Such	rm -f hpcboot/HPCBOOT.vcb
371.1Such# vc6
381.1Such	find . -name "*.dsp" -print |xargs rm -f
391.1Such	rm -f hpc_stand.dsw hpc_stand.ncb hpc_stand.opt
401.1Such	rm -f hpcboot/hpcboot.plg
411.1Such# 
421.2Such	rm -rf compile/ARMDebug compile/ARMRelease			\
431.2Such	compile/SH3Debug compile/SH3Release				\
441.2Such	compile/MIPSDebug compile/MIPSRelease
451.1Such	find . -name "hpcboot.exe" -print |xargs rm -f
461.1Such
471.1Suchdistclean: clean
481.1Such	find binary -name hpcboot.exe* -print | xargs rm -f;
491.1Such
501.1Suchinstall:
511.1Such	for a in SH3 ARM MIPS; do					\
521.1Such		file=`echo "compile/"$$a"Release/hpcboot.exe"`;		\
531.1Such		cp $$file binary/$$a/hpcboot.exe;			\
541.1Such	done
551.1Suchuuencode:
561.1Such	find binary -name hpcboot.exe -print | \
571.1Such	awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh
581.1Such
591.1Such
601.1Such
61