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

Annotation of /Tornado/Analogic/Makefile

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


Revision 1.1 - (hide annotations)
Mon Aug 23 18:43:16 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
Branch point for: HIA
Initial revision

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

  ViewVC Help
Powered by ViewVC 1.1.30