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