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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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