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

Contents of /Tornado2/Brooks/Makefile

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


Revision 1.1.1.1 - (show annotations) (vendor branch)
Fri Apr 21 17:36:10 2000 UTC (22 years, 5 months ago) by tis4000
Branch: HIA, MAIN
CVS Tags: LMC_baseline, Duluth_baseline, Relt60baseline, HEAD
Changes since 1.1: +0 -0 lines
Setup Initial Baseline

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

  ViewVC Help
Powered by ViewVC 1.1.28