/[TIS-4000 Rel T60]/Tornado/Analogic/Makefile
ViewVC logotype

Contents of /Tornado/Analogic/Makefile

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


Revision 1.2 - (show annotations)
Fri Sep 17 13:17:35 1999 UTC (24 years, 2 months ago) by tis4000
Branch: MAIN
CVS Tags: CAISO, t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.1: +0 -2 lines
Remove Id line - irani

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

  ViewVC Help
Powered by ViewVC 1.1.30