/[ascend]/trunk/ascend4/Makefile.in
ViewVC logotype

Contents of /trunk/ascend4/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


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

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