Home | History | Annotate | Line # | Download | only in stand
Makefile revision 1.5
      1  1.5  uch #	$NetBSD: Makefile,v 1.5 2001/04/23 18:07:57 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.3  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.5  uch make_option:
     14  1.5  uch 	echo "/* option \`SPEC_PLATFORM' not defined */" >		\
     15  1.5  uch 	hpcboot/opt_spec_platform.h
     16  1.5  uch 
     17  1.5  uch evc3: make_option
     18  1.1  uch 	cd dspgen && ${MAKE} evc3 || exit 1;
     19  1.1  uch 	for d in ${PROJECT_DIRS}; do					\
     20  1.1  uch 		sh dspgen/config.sh evc3 $$d;				\
     21  1.1  uch 	done
     22  1.1  uch 	sh dspgen/gen_workspace.sh evc3 hpc_stand.vcw $(PROJECT_DIRS)
     23  1.1  uch 	cd dspgen && ${MAKE} clean;
     24  1.1  uch #
     25  1.1  uch # generates project/work files for Visual C++ 6.0 + Windows CE tool kit.
     26  1.1  uch #
     27  1.5  uch vc6: make_option
     28  1.1  uch 	cd dspgen && ${MAKE} vc6 || exit 1;
     29  1.1  uch 	for d in ${PROJECT_DIRS}; do					\
     30  1.1  uch 		sh dspgen/config.sh vc6 $$d;				\
     31  1.1  uch 	done
     32  1.1  uch 	cd dspgen && ${MAKE} clean;
     33  1.1  uch 	sh dspgen/gen_workspace.sh vc6 hpc_stand.dsw $(PROJECT_DIRS)
     34  1.1  uch 
     35  1.3  uch #
     36  1.3  uch # generates project/work files for Visual C++ 5.0 Windows CE Embeded tool kit.
     37  1.3  uch # (WCE100/101/200 binary for MIPS, SH3)
     38  1.3  uch #
     39  1.5  uch vc5: make_option
     40  1.3  uch 	cd dspgen && ${MAKE} vc5 || exit 1;
     41  1.3  uch 	for d in ${PROJECT_DIRS}; do					\
     42  1.3  uch 		sh dspgen/config.sh vc5 $$d;				\
     43  1.3  uch 	done
     44  1.3  uch 	cd dspgen && ${MAKE} clean;
     45  1.3  uch 	sh dspgen/gen_workspace.sh vc5 hpc_stand.dsw $(PROJECT_DIRS)
     46  1.3  uch 
     47  1.1  uch clean:
     48  1.5  uch 	rm -f hpcboot/opt_spec_platform.h
     49  1.3  uch # evc3 temporary files
     50  1.1  uch 	rm -f hpc_stand.vcb hpc_stand.vcw hpc_stand.vco
     51  1.1  uch 	find . -name "*.vcp" -print |xargs rm -f
     52  1.1  uch 	rm -f hpcboot/hpcboot.vcl hpcboot/HPCBOOT.VCO hpcboot/HPCBOOT.VCW
     53  1.1  uch 	rm -f hpcboot/HPCBOOT.vcb
     54  1.3  uch # vc6 temporary files
     55  1.1  uch 	find . -name "*.dsp" -print |xargs rm -f
     56  1.1  uch 	rm -f hpc_stand.dsw hpc_stand.ncb hpc_stand.opt
     57  1.1  uch 	rm -f hpcboot/hpcboot.plg
     58  1.3  uch # compile directory
     59  1.2  uch 	rm -rf compile/ARMDebug compile/ARMRelease			\
     60  1.4  uch 	compile/SH*Debug compile/SH*Release				\
     61  1.2  uch 	compile/MIPSDebug compile/MIPSRelease
     62  1.1  uch 	find . -name "hpcboot.exe" -print |xargs rm -f
     63  1.1  uch 
     64  1.1  uch distclean: clean
     65  1.3  uch 	find binary -name "hpcboot*.exe*" -print | xargs rm -f;
     66  1.1  uch 
     67  1.3  uch # WCE210 or later binary
     68  1.1  uch install:
     69  1.4  uch 	for a in SH3 SH4 ARM MIPS; do					\
     70  1.1  uch 		file=`echo "compile/"$$a"Release/hpcboot.exe"`;		\
     71  1.1  uch 		cp $$file binary/$$a/hpcboot.exe;			\
     72  1.1  uch 	done
     73  1.3  uch # WCE200 or earlier binary
     74  1.3  uch install1:
     75  1.3  uch 	cp compile/MIPSRelease/hpcboot.exe binary/MIPS/hpcboot1.exe
     76  1.3  uch 	cp compile/SHRelease/hpcboot.exe binary/SH3/hpcboot1.exe
     77  1.3  uch 
     78  1.1  uch uuencode:
     79  1.3  uch 	find binary -name "hpcboot*.exe" -print | \
     80  1.1  uch 	awk '{ print "uuencode", $$1, $$1, ">", $$1".uu ; rm -f", $$1 }' | sh
     81  1.1  uch 
     82  1.1  uch 
     83  1.1  uch 
     84