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

Annotation of /Tornado2/Netpac/Makefile

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


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

  ViewVC Help
Powered by ViewVC 1.1.28