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

Contents of /Tornado/Makefile.subdir

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


Revision 1.3 - (show annotations)
Thu Dec 16 17:42:35 1999 UTC (24 years, 2 months ago) by tis4000
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
Not used - Steel

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
21 default:
22 @ for sd in * ; do \
23 if test -d $$sd ; then \
24 ( cd $$sd ; \
25 echo "" ; \
26 echo "checking $(CUR)/$$sd Makefile ..." ; \
27 if test $$sd = M00 ; then set 68000 soft-float msol 68k 68K MC68000; \
28 elif test $$sd = M30 ; then set 68030 68881 mv147 68k 68K MC68030; \
29 elif test $$sd = X486 ; then set 486 "" pc386 386 386 I80486; \
30 else \
31 if test $$sd != CVS ; then echo "$$sd is not a target directory" ; fi ; \
32 continue ; \
33 fi ; \
34 make -f ../../Makefile.defaults CPU=$$1 FLT=$$2 BSP=$$3 DST=$$sd CUR=$(CUR) TARG=$$4 GCC_BASE=$$5 CPU_FAM=$$6 Makefile.$$sd ; \
35 echo "building $(CUR)/$$sd targets ..." ; \
36 make -f Makefile.$$sd \
37 ) ; \
38 fi ; \
39 done
40
41 #
42 # utility targets
43 #
44
45 clean:
46 @ for sd in * ; do \
47 if test -d $$sd ; then \
48 if test $$sd = M00 -o $$sd = M30 -o $$sd = X486; then \
49 echo "removing "`eval pwd`"/$$sd targets ..." ; $(RM) $$sd/* ; \
50 else \
51 if test $$sd != CVS ; then echo "$$sd is not a target directory" ; fi ; \
52 continue ; \
53 fi ; \
54 fi ; \
55 done

  ViewVC Help
Powered by ViewVC 1.1.30