/[TIS-4000 Rel T60]/Tornado2/Qei/Makefile
ViewVC logotype

Contents of /Tornado2/Qei/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Fri Apr 21 17:36:24 2000 UTC (22 years, 7 months ago) by tis4000
Branch point for: HIA, MAIN
Initial revision

1 #$Id: Makefile,v 1.1.1.1 1999/08/23 13:34:40 tis4000 Exp $
2
3 #
4 # this Makefile is basically a stub to ensure the auto-regeneration
5 # of the target-specific makefiles and their subsequent execution; it
6 # checks the dependencies of the component Makefile.* files just in
7 # case something changes ...
8 #
9
10 include Makefile.config
11
12 #
13 # tl is a small 'C' program to get the tail of the current
14 # directory and stuff it into CUR
15 #
16
17 CUR:sh = ../makeutils/tl `eval pwd`
18
19 #
20 # this is a 'null' target to force the execution of our Makefiles
21 #
22
23 default:: M30 X486
24
25 M30 :
26 mkdir M30
27 X486 :
28 mkdir X486
29
30 default::
31 @ for sd in * ; do \
32 if test -d $$sd ; then \
33 ( cd $$sd ; \
34 echo "" ; \
35 echo "checking $(CUR)/$$sd Makefile ..." ; \
36 if test $$sd = M00 ; then set 68000 soft-float msol 68k 68K MC68000; \
37 elif test $$sd = M30 ; then set 68030 68881 mv147 68k 68K MC68030; \
38 elif test $$sd = X486 ; then set 486 "" pc386 386 386 I80486; \
39 else \
40 if test $$sd != CVS ; then echo "$$sd is not a target directory" ; fi ; \
41 continue ; \
42 fi ; \
43 make -f ../../Makefile.defaults CPU=$$1 FLT=$$2 BSP=$$3 DST=$$sd CUR=$(CUR) TARG=$$4 GCC_BASE=$$5 CPU_FAM=$$6 Makefile.$$sd ; \
44 echo "building $(CUR)/$$sd targets ..." ; \
45 make -f Makefile.$$sd \
46 ) ; \
47 fi ; \
48 done
49
50 #
51 # utility targets
52 #
53
54 clean:
55 @ for sd in * ; do \
56 if test -d $$sd ; then \
57 if test $$sd = M00 -o $$sd = M30 -o $$sd = X486; then \
58 echo "removing "`eval pwd`"/$$sd targets ..." ; $(RM) $$sd/* ; \
59 else \
60 if test $$sd != CVS ; then echo "$$sd is not a target directory" ; fi ; \
61 continue ; \
62 fi ; \
63 fi ; \
64 done

  ViewVC Help
Powered by ViewVC 1.1.28