1 1.2 uch # $NetBSD: Makefile,v 1.2 2001/02/21 16:01:52 uch Exp $ 2 1.1 uch # 3 1.1 uch 4 1.1 uch PROJECT_DIRS = hpcboot libz libsa 5 1.1 uch MAKE = make 6 1.1 uch 7 1.1 uch all: 8 1.1 uch find binary -name hpcboot.exe.uu -exec uudecode {} \; 9 1.1 uch 10 1.1 uch # 11 1.1 uch # generates project/work files for Embeded Visual C++ 3.0 12 1.1 uch # 13 1.1 uch evc3: 14 1.1 uch cd dspgen && ${MAKE} evc3 || exit 1; 15 1.1 uch for d in ${PROJECT_DIRS}; do \ 16 1.1 uch sh dspgen/config.sh evc3 $$d; \ 17 1.1 uch done 18 1.1 uch sh dspgen/gen_workspace.sh evc3 hpc_stand.vcw $(PROJECT_DIRS) 19 1.1 uch cd dspgen && ${MAKE} clean; 20 1.1 uch # 21 1.1 uch # generates project/work files for Visual C++ 6.0 + Windows CE tool kit. 22 1.1 uch # 23 1.1 uch vc6: 24 1.1 uch cd dspgen && ${MAKE} vc6 || exit 1; 25 1.1 uch for d in ${PROJECT_DIRS}; do \ 26 1.1 uch sh dspgen/config.sh vc6 $$d; \ 27 1.1 uch done 28 1.1 uch cd dspgen && ${MAKE} clean; 29 1.1 uch sh dspgen/gen_workspace.sh vc6 hpc_stand.dsw $(PROJECT_DIRS) 30 1.1 uch 31 1.1 uch clean: 32 1.1 uch # evc3 33 1.1 uch rm -f hpc_stand.vcb hpc_stand.vcw hpc_stand.vco 34 1.1 uch find . -name "*.vcp" -print |xargs rm -f 35 1.1 uch rm -f hpcboot/hpcboot.vcl hpcboot/HPCBOOT.VCO hpcboot/HPCBOOT.VCW 36 1.1 uch rm -f hpcboot/HPCBOOT.vcb 37 1.1 uch # vc6 38 1.1 uch find . -name "*.dsp" -print |xargs rm -f 39 1.1 uch rm -f hpc_stand.dsw hpc_stand.ncb hpc_stand.opt 40 1.1 uch rm -f hpcboot/hpcboot.plg 41 1.1 uch # 42 1.2 uch rm -rf compile/ARMDebug compile/ARMRelease \ 43 1.2 uch compile/SH3Debug compile/SH3Release \ 44 1.2 uch compile/MIPSDebug compile/MIPSRelease 45 1.1 uch find . -name "hpcboot.exe" -print |xargs rm -f 46 1.1 uch 47 1.1 uch distclean: clean 48 1.1 uch find binary -name hpcboot.exe* -print | xargs rm -f; 49 1.1 uch 50 1.1 uch install: 51 1.1 uch for a in SH3 ARM MIPS; do \ 52 1.1 uch file=`echo "compile/"$$a"Release/hpcboot.exe"`; \ 53 1.1 uch cp $$file binary/$$a/hpcboot.exe; \ 54 1.1 uch done 55 1.1 uch uuencode: 56 1.1 uch find binary -name hpcboot.exe -print | \ 57 1.1 uch awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh 58 1.1 uch 59 1.1 uch 60 1.1 uch 61