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