Makefile revision 1.1
11.1Such#	$NetBSD: Makefile,v 1.1 2001/02/09 18:34:04 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.1Such	rm -rf compile/*
431.1Such	find . -name "hpcboot.exe" -print |xargs rm -f
441.1Such
451.1Suchdistclean: clean
461.1Such	find binary -name hpcboot.exe* -print | xargs rm -f;
471.1Such
481.1Suchinstall:
491.1Such	for a in SH3 ARM MIPS; do					\
501.1Such		file=`echo "compile/"$$a"Release/hpcboot.exe"`;		\
511.1Such		cp $$file binary/$$a/hpcboot.exe;			\
521.1Such	done
531.1Suchuuencode:
541.1Such	find binary -name hpcboot.exe -print | \
551.1Such	awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh
561.1Such
571.1Such
581.1Such
59