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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

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