/[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.1.1.1 - (show annotations) (vendor branch)
Mon Aug 23 18:43:16 1999 UTC (24 years, 1 month ago) by tis4000
Branch: HIA
CVS Tags: T60
Changes since 1.1: +0 -0 lines
initial version

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

  ViewVC Help
Powered by ViewVC 1.1.30