/[ascend]/trunk/base/generic/Makefile.in
ViewVC logotype

Annotation of /trunk/base/generic/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 569 - (hide annotations) (download)
Tue May 9 00:10:03 2006 UTC (19 years, 6 months ago) by johnpye
File size: 5644 byte(s)
Changing from 'tcltk98' to 'tcltk', in progress.
1 aw0a 22 # Top Level Ascend Makefile
2     # Ben Allan June 25, 1994.
3    
4    
5     SHELL = /bin/sh
6     @SET_MAKE@
7     builddir = .
8 aw0a 35 srcdir = @fullpathsrcdir@/../generic
9     VPATH = @fullpathsrcdir@/../generic
10 aw0a 22
11     INCMAKE = $(builddir)/ConfigAscend
12     include $(INCMAKE)
13    
14 johnpye 569 IFACE_DIR=../../tcltk/generic/
15 ben.allan 44 # remote IFACE_DIR no longer needed
16     IFACE_DIR=.
17 aw0a 22
18    
19 ben.allan 44 ASCEND_SUBDIRS = utilities general compiler packages solver $(IFACE_DIR)/interface lib
20 aw0a 22 ASC_TK_SUBDIRS = @tkdir_root@
21     MODELS_SUBDIRS = @models_dir_root@
22     HELP_SUBDIRS = @help_dir_root@
23     SUPPORT_SUBDIRS = $(ASC_TK_SUBDIRS) $(MODELS_SUBDIRS) $(HELP_SUBDIRS)
24     EXTERNAL_SUBDIRS = @asc_subdirs@
25     SUBDIRS = $(ASCEND_SUBDIRS) $(SUPPORT_SUBDIRS) $(EXTERNAL_SUBDIRS)
26     #AWW20041129: ASCEND_MAKEFILES = ../config.status ConfigAscend Makefile Makefile.Rules
27 ben.allan 42 ASCEND_MAKEFILES = ConfigAscend Makefile Makefile.Rules
28 aw0a 22
29 johnpye 141 all: ascend
30 aw0a 22
31     ascend: $(ASCEND_MAKEFILES) support_libs all_libs GUI
32    
33     z_notify:
34     zwrite -d -q -i make $(USER) -m Your build on `hostname` is complete.
35    
36     support_libs: \
37     $(BLASLIB) \
38     $(LPAKLIB) \
39     $(LSODLIB) \
40     #AWW20041129: $(OPTSQPLIB) \
41     #AWW20041129: $(CONOPTLIB) \
42     #AWW20041129: $(MINOSLIB)
43    
44 johnpye 141 asclibs = compiler general utilities solver packages
45 aw0a 22
46 johnpye 141 all_libs: $(asclibs:%=libasc%.a) libascif.a btlib
47 aw0a 22
48 johnpye 144 # All non-GUI libraries:
49     libs: $(asclibs:%=libasc%.a) $(support_libs)
50    
51 johnpye 141 ascend4: support_libs all_libs GUI
52     echo "deprecated, just use 'make all'"
53    
54 aw0a 22 ascend4p: support_libs all_libs
55 ben.allan 44 cd $(IFACE_DIR)/interface; $(MAKE) ascend4p
56 aw0a 22
57     ascend4q: support_libs all_libs
58 ben.allan 44 cd $(IFACE_DIR)/interface; $(MAKE) ascend4q
59 aw0a 22
60     GUI:
61 ben.allan 44 cd $(IFACE_DIR)/interface; $(MAKE) ascend4
62 aw0a 22
63 johnpye 141 libascif.a:
64     cd $(IFACE_DIR)/interface; $(MAKE) libascif.a
65 aw0a 22
66 johnpye 141 libasc%.a: %
67     make -C $^
68 aw0a 22
69    
70     btlib:
71     cd lib; $(MAKE) default
72    
73     blas $(BLASLIB): @make_blaslib@
74    
75     lpak $(LPAKLIB): @make_lpaklib@
76    
77     lsod $(LSODLIB): @make_lsodlib@
78    
79     #AWW20041129: rsqp $(OPTSQPLIB): @make_rsqplib@
80    
81     #AWW20041129: conopt $(CONOPTLIB): @make_conoptlib@
82    
83     #AWW20041129: minos $(MINOSLIB): @make_minoslib@
84    
85     make-blaslib:
86     #AWW20041206: cd ../blas; $(MAKE) libascblas.a
87 ben.allan 44 cd blas; $(MAKE) libascblas.a
88 aw0a 22
89     make-lpaklib:
90     #AWW20041206: cd ../linpack; $(MAKE) libasclpak.a
91 ben.allan 44 cd linpack; $(MAKE) libasclpak.a
92 aw0a 22
93     make-lsodlib:
94     #AWW20041206: cd ../lsod; $(MAKE) libinteg.a
95 ben.allan 44 cd lsod; $(MAKE) libinteg.a
96 aw0a 22
97     #AWW20041129: make-rsqplib:
98     #AWW20041129: cd ../rsqp; $(MAKE) librsqp.a
99    
100     #AWW20041129: make-conoptlib:
101     #AWW20041129: cd ../conopt; $(MAKE) libconopt.a
102    
103     #AWW20041129: make-minoslib:
104     #AWW20041129: cd ../minos54; $(MAKE) libminos54.a
105    
106     makes: ../config.status
107     cd .. ; ./config.status
108    
109     save-makes:
110     -@for i in $(SUBDIRS) /dev/null ; do \
111     if test $$i != "/dev/null" ; then \
112     (cd $$i ; $(MAKE) save-makes) ; \
113     fi ; \
114     done
115     -$(CP) Makefile Makefile.SAVED
116     -$(CP) ConfigAscend ConfigAscend.SAVED
117     -$(CP) Makefile.Rules Makefile.Rules.SAVED
118    
119     ../config.status: $(srcdir)/../configure
120     @echo ""
121     @echo "$(srcdir)/../configure is newer than ../config.status"
122     @echo "Consider running 'configure' again"
123     @echo ""
124    
125     ConfigAscend: $(srcdir)/ConfigAscend.in
126     @echo ""
127     @echo "$(srcdir)/ConfigAscend.in is newer than ConfigAscend"
128     @echo "Consider running 'configure' again or running 'make makes'"
129     @echo ""
130    
131     Makefile: $(srcdir)/Makefile.in
132     @echo ""
133     @echo "$(srcdir)/Makefile.in is newer than Makefile"
134     @echo "Consider running 'configure' again or running 'make makes'"
135     @echo ""
136    
137     Makefile.Rules: $(srcdir)/Makefile.Rules.in
138     @echo ""
139     @echo "$(srcdir)/Makefile.Rules.in is newer than Makefile.Rules"
140     @echo "Consider running 'configure' again or running 'make makes'"
141     @echo ""
142    
143    
144    
145     install:
146     -@for i in $(SUBDIRS) /dev/null ; do \
147     if test $$i != "/dev/null" ; then \
148     (cd $$i ; $(MAKE) install) ; \
149     fi ; \
150     done
151    
152     install-binaries:
153     -for i in $(SUBDIRS) /dev/null ; do \
154     if test $$i != "/dev/null" ; then \
155     (cd $$i ; $(MAKE) install-binaries) ; \
156     fi ; \
157     done
158    
159     install-libraries:
160     -for i in $(SUBDIRS) /dev/null ; do \
161     if test $$i != "/dev/null" ; then \
162     (cd $$i ; $(MAKE) install-libraries) ; \
163     fi ; \
164     done
165    
166     install-man:
167     -for i in $(SUBDIRS) /dev/null ; do \
168     if test $$i != "/dev/null" ; then \
169     (cd $$i ; $(MAKE) install-man) ; \
170     fi ; \
171     done
172    
173     install-TK:
174     cd $(ASC_TK_SUBDIRS) ; $(MAKE) install-TK
175    
176     install-models:
177     cd $(MODELS_SUBDIRS) ; $(MAKE) install-models
178    
179     install-help:
180     cd $(HELP_SUBDIRS) ; $(MAKE) install-help
181    
182     uninstall:
183     -@for i in bin TK $(SUPPORT_SUBDIRS) /dev/null ; do \
184     if test $$i != "/dev/null" ; then \
185     (cd $$i ; $(MAKE) uninstall) ; \
186     fi ; \
187     done
188    
189    
190    
191     clean mostlyclean reallyclean:
192     -@for i in $(SUBDIRS) /dev/null ; do \
193     if test $$i != "/dev/null" ; then \
194     (cd $$i ; $(MAKE) clean) ; \
195     fi ; \
196     done
197    
198     distclean:
199     -@for i in $(SUBDIRS) archive bin /dev/null ; do \
200     if test $$i != "/dev/null" ; then \
201     (cd $$i ; $(MAKE) distclean) ; \
202     fi ; \
203     done
204     -$(RM) Makefile Makefile.SAVED ConfigAscend ConfigAscend.SAVED \
205     Makefile.Rules Makefile.Rules.SAVED TAGS tags *~ \#* *.bak \
206     ../config.status ../config.cache ../config.log
207    
208    
209    
210     # Targets to generate or remove dependency information. `nodepend'
211     # removes dependency information, `depend' generates dependency
212     # information, and `depend-nosys' generates dependency information but
213     # leaves out dependencies on system header files.
214    
215     nodepend:
216     -@for i in $(ASCEND_SUBDIRS) /dev/null ; do \
217     if test $$i != "/dev/null" ; then \
218     (cd $$i ; $(MAKE) nodepend) ; \
219     fi ; \
220     done
221    
222     depend-nosys depend-no-sys:
223     -@for i in $(ASCEND_SUBDIRS) /dev/null ; do \
224     if test $$i != "/dev/null" ; then \
225     (cd $$i ; $(MAKE) depend-nosys) ; \
226     fi ; \
227     done
228    
229     depend:
230     -@for i in $(ASCEND_SUBDIRS) /dev/null ; do \
231     if test $$i != "/dev/null" ; then \
232     (cd $$i ; $(MAKE) depend) ; \
233     fi ; \
234     done

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22