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

Contents of /trunk/ascend4/Makefile.vc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download)
Fri Oct 29 20:54:12 2004 UTC (20 years, 4 months ago) by aw0a
File size: 4741 byte(s)
Setting up web subdirectory in repository
1 # Top Level Ascend Makefile
2 # Ben Allan June 25, 1994.
3 # $Revision: 1.1 $
4 # $Date: 1997/07/29 19:44:37 $
5 # $Author: mthomas $
6 # $Source: /afs/cs.cmu.edu/project/ascend/Repository/ascend4/Makefile.vc,v $
7 #
8
9
10 SHELL = /bin/sh
11
12 builddir = .
13 srcdir =
14 VPATH =
15
16 INCMAKE = $(builddir)\ConfigAscend.vc
17 !include $(INCMAKE)
18
19
20 ASCEND_SUBDIRS = utilities general compiler packages solver interface
21 ASC_TK_SUBDIRS = TK
22 MODELS_SUBDIRS = models
23 HELP_SUBDIRS = help
24 SUPPORT_SUBDIRS = $(ASC_TK_SUBDIRS) $(MODELS_SUBDIRS) $(HELP_SUBDIRS)
25 EXTERNAL_SUBDIRS =
26 SUBDIRS = $(ASCEND_SUBDIRS) $(SUPPORT_SUBDIRS) $(EXTERNAL_SUBDIRS)
27
28
29 ascend: support_libs all_libs GUI
30
31 z_notify:
32 zwrite -d -q -i make $(USER) -m Your build on `hostname` is complete.
33
34 support_libs: \
35 $(BLASLIB) \
36 $(LPAKLIB) \
37 $(LSODLIB) \
38 $(CONOPTLIB) \
39 $(MINOSLIB)
40
41 all_libs: utilities.lib general.lib ascend.lib packages.lib solver.lib \
42 ascendif.lib
43
44 ascend4: support_libs all_libs
45 cd interface
46 $(MAKE) -f Makefile.vc ascend4.exe
47
48 ascend4p: support_libs all_libs
49 cd interface
50 $(MAKE) -f Makefile.vc ascend4p.exe
51
52 ascend4q: support_libs all_libs
53 cd interface
54 $(MAKE) -f Makefile.vc ascend4q.exe
55
56 GUI:
57 cd interface
58 $(MAKE) -f Makefile.vc ascend4.exe
59
60 utilities.lib:
61 cd utilities
62 $(MAKE) -f Makefile.vc utilities.lib
63
64 general.lib:
65 cd general
66 $(MAKE) -f Makefile.vc general.lib
67
68 ascend.lib:
69 cd compiler
70 $(MAKE) -f Makefile.vc ascend.lib
71
72 packages.lib:
73 cd packages
74 $(MAKE) -f Makefile.vc packages.lib
75
76 solver.lib:
77 cd solver
78 $(MAKE) -f Makefile.vc solver.lib
79
80 ascendif.lib:
81 cd interface
82 $(MAKE) -f Makefile.vc ascendif.lib
83
84 blas $(BLASLIB):
85
86 lpak $(LPAKLIB):
87
88 lsod $(LSODLIB):
89
90 conopt $(CONOPTLIB):
91
92 minos $(MINOSLIB):
93
94 make-blaslib:
95 cd ..\blas
96 $(MAKE) -f Makefile.vc libascblas.lib
97
98 make-lpaklib:
99 cd ..\linpack
100 $(MAKE) -f Makefile.vc libasclpak.lib
101
102 make-lsodlib:
103 cd ..\lsod
104 $(MAKE) -f Makefile.vc libinteg.lib
105
106 make-conoptlib:
107 cd ..\conopt
108 $(MAKE) -f Makefile.vc libconopt.lib
109
110 make-minoslib:
111 cd ..\minos54
112 $(MAKE) -f Makefile.vc libminos54.lib
113
114 makes:
115 cd ..
116 .\config.status
117
118 save-makes:
119 -@for i in $(SUBDIRS) /dev/null ; do \
120 if test $$i != "/dev/null" ; then \
121 (cd $$i ; $(MAKE) -f Makefile.vc save-makes) ; \
122 fi ; \
123 done
124 -$(CP) Makefile Makefile.SAVED
125 -$(CP) ConfigAscend ConfigAscend.SAVED
126 -$(CP) Makefile.Rules Makefile.Rules.SAVED
127
128
129
130 install:
131 -@for i in $(SUBDIRS) /dev/null ; do \
132 if test $$i != "/dev/null" ; then \
133 (cd $$i ; $(MAKE) -f Makefile.vc install) ; \
134 fi ; \
135 done
136 $(INSTALL_PROGRAM) ascend-sh $(BIN_DIR)\ascend
137
138 install-binaries:
139 -for i in $(SUBDIRS) /dev/null ; do \
140 if test $$i != "/dev/null" ; then \
141 (cd $$i ; $(MAKE) -f Makefile.vc install-binaries) ; \
142 fi ; \
143 done
144
145 install-libraries:
146 -for i in $(SUBDIRS) /dev/null ; do \
147 if test $$i != "/dev/null" ; then \
148 (cd $$i ; $(MAKE) -f Makefile.vc install-libraries) ; \
149 fi ; \
150 done
151
152 install-man:
153 -for i in $(SUBDIRS) /dev/null ; do \
154 if test $$i != "/dev/null" ; then \
155 (cd $$i ; $(MAKE) -f Makefile.vc install-man) ; \
156 fi ; \
157 done
158
159 install-TK:
160 cd $(ASC_TK_SUBDIRS)
161 $(MAKE) -f Makefile.vc install-TK
162
163 install-models:
164 cd $(MODELS_SUBDRIS)
165 $(MAKE) -f Makefile.vc install-models
166
167 install-help:
168 cd $(HELP_SUBDIRS)
169 $(MAKE) -f Makefile.vc install-help
170
171 uninstall:
172 -@for i in bin lib TK $(SUPPORT_SUBDIRS) /dev/null ; do \
173 if test $$i != "/dev/null" ; then
174 (cd $$i ; $(MAKE) -f Makefile.vc uninstall) ; \
175 fi ; \
176 done
177
178
179
180 clean mostlyclean reallyclean:
181 -@for i in $(SUBDIRS) /dev/null ; do \
182 if test $$i != "/dev/null" ; then \
183 (cd $$i ; $(MAKE) -f Makefile.vc clean) ; \
184 fi ; \
185 done
186
187 distclean:
188 -@for i in $(SUBDIRS) archive bin lib /dev/null ; do \
189 if test $$i != "/dev/null" ; then \
190 (cd $$i ; $(MAKE) -f Makefile.vc distclean) ; \
191 fi ; \
192 done
193 -$(RM) Makefile Makefile.SAVED ConfigAscend ConfigAscend.SAVED \
194 Makefile.Rules Makefile.Rules.SAVED TAGS tags *~ \#* *.bak \
195 ../config.status ../config.cache ../config.log
196
197
198
199 # Targets to generate or remove dependency information. `nodepend'
200 # removes dependency information, `depend' generates dependency
201 # information, and `depend-nosys' generates dependency information but
202 # leaves out dependencies on system header files.
203
204 nodepend:
205 -@for i in $(ASCEND_SUBDIRS) /dev/null ; do \
206 if test $$i != "/dev/null" ; then \
207 (cd $$i ; $(MAKE) -f Makefile.vc nodepend) ; \
208 fi ; \
209 done
210
211 depend-nosys depend-no-sys:
212 -@for i in $(ASCEND_SUBDIRS) /dev/null ; do \
213 if test $$i != "/dev/null" ; then \
214 (cd $$i ; $(MAKE) -f Makefile.vc depend-nosys) ; \
215 fi ; \
216 done
217
218 depend:
219 -@for i in $(ASCEND_SUBDIRS) /dev/null ; do \
220 if test $$i != "/dev/null" ; then \
221 (cd $$i ; $(MAKE) -f Makefile.vc depend) ; \
222 fi ; \
223 done

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