annotate liboctave/Makefile.in @ 5173:1278a2bc1527

[project @ 2005-03-02 01:33:37 by jwe]
author jwe
date Wed, 02 Mar 2005 01:38:31 +0000
parents 47e2ef7d0ad6
children cd5cc2a80589
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
1 #
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
2 # Makefile for octave's liboctave directory
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
3 #
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
4 # John W. Eaton
1452
2eb569ed50bf [project @ 1995-09-20 04:23:34 by jwe]
jwe
parents: 1393
diff changeset
5 # jwe@bevo.che.wisc.edu
2eb569ed50bf [project @ 1995-09-20 04:23:34 by jwe]
jwe
parents: 1393
diff changeset
6 # University of Wisconsin-Madison
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
7 # Department of Chemical Engineering
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
8
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
9 TOPDIR = ..
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
10
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
11 srcdir = @srcdir@
411
b936220a35cf [project @ 1994-04-20 07:59:48 by jwe]
jwe
parents: 308
diff changeset
12 top_srcdir = @top_srcdir@
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
13 VPATH = @srcdir@:@srcdir@/COLAMD
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
14
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
15 include $(TOPDIR)/Makeconf
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
16
651
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
17 INSTALL = @INSTALL@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
19 INSTALL_DATA = @INSTALL_DATA@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
20
4760
8ece12f60ba2 [project @ 2004-02-15 00:32:30 by jwe]
jwe
parents: 4713
diff changeset
21 LINK_DEPS = \
8ece12f60ba2 [project @ 2004-02-15 00:32:30 by jwe]
jwe
parents: 4713
diff changeset
22 -L../libcruft -L../glob -L. $(RLD_FLAG) \
5169
47e2ef7d0ad6 [project @ 2005-03-01 06:16:25 by jwe]
jwe
parents: 5164
diff changeset
23 $(LIBCRUFT) $(BLAS_LIBS) $(FFTW_LIBS) $(LIBREADLINE) $(LIBS) $(FLIBS)
1904
6dd50f51cf0c [project @ 1996-02-10 01:03:40 by jwe]
jwe
parents: 1845
diff changeset
24
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
25 include $(srcdir)/COLAMD.files
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
26
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
27 include $(srcdir)/UMFPACK.files
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
28
4493
49d88738a4a0 [project @ 2003-09-03 16:21:18 by jwe]
jwe
parents: 4480
diff changeset
29 MATRIX_INC := Array.h Array2.h Array3.h ArrayN.h DiagArray2.h \
4588
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
30 Array-flags.h Array-util.h ArrayN-idx.h MArray-defs.h \
4517
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
31 MArray.h MArray2.h MDiagArray2.h Matrix.h MArrayN.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
32 base-lu.h dim-vector.h mx-base.h mx-op-defs.h mx-ops.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
33 mx-defs.h mx-ext.h CColVector.h CDiagMatrix.h CMatrix.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
34 CNDArray.h CRowVector.h CmplxAEPBAL.h CmplxCHOL.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
35 CmplxDET.h CmplxHESS.h CmplxLU.h CmplxQR.h CmplxQRP.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
36 CmplxSCHUR.h CmplxSVD.h EIG.h boolMatrix.h boolNDArray.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
37 chMatrix.h chNDArray.h dColVector.h dDiagMatrix.h dMatrix.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
38 dNDArray.h dRowVector.h dbleAEPBAL.h dbleCHOL.h dbleDET.h \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
39 dbleHESS.h dbleLU.h dbleQR.h dbleQRP.h dbleSCHUR.h dbleSVD.h \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
40 boolSparse.h CSparse.h dSparse.h MSparse-defs.h MSparse.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
41 Sparse.h oct-spparms.h sparse-base-lu.h SparseCmplxLU.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
42 SparsedbleLU.h Sparse-op-defs.h SparseType.h \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
43 int8NDArray.h uint8NDArray.h int16NDArray.h uint16NDArray.h \
4906
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
44 int32NDArray.h uint32NDArray.h int64NDArray.h uint64NDArray.h \
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
45 intNDArray.h
466
05d84a40195d [project @ 1994-06-06 01:12:05 by jwe]
jwe
parents: 411
diff changeset
46
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
47 MX_OP_INC := $(shell $(AWK) -f $(srcdir)/mk-ops.awk prefix=mx list_h_files=1 $(srcdir)/mx-ops)
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
48
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
49 VX_OP_INC := $(shell $(AWK) -f $(srcdir)/mk-ops.awk prefix=vx list_h_files=1 $(srcdir)/vx-ops)
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
50
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
51 SPARSE_MX_OP_INC := $(shell $(AWK) -f $(srcdir)/sparse-mk-ops.awk prefix=smx list_h_files=1 $(srcdir)/sparse-mx-ops)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
52
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
53 OPTS_INC_DATA := DASPK-opts.in DASRT-opts.in DASSL-opts.in \
5173
1278a2bc1527 [project @ 2005-03-02 01:33:37 by jwe]
jwe
parents: 5169
diff changeset
54 LSODE-opts.in NLEqn-opts.in Quad-opts.in
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
55
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
56 OPTS_INC := $(OPTS_INC_DATA:.in=.h)
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
57
4058
980308741392 [project @ 2002-09-09 02:08:28 by jwe]
jwe
parents: 4038
diff changeset
58 INCLUDES := Bounds.h CollocWt.h DAE.h DAEFunc.h DAERT.h \
980308741392 [project @ 2002-09-09 02:08:28 by jwe]
jwe
parents: 4038
diff changeset
59 DAERTFunc.h DASPK.h DASRT.h DASSL.h FEGrid.h \
980308741392 [project @ 2002-09-09 02:08:28 by jwe]
jwe
parents: 4038
diff changeset
60 LinConst.h LP.h LPsolve.h LSODE.h NLConst.h NLEqn.h \
980308741392 [project @ 2002-09-09 02:08:28 by jwe]
jwe
parents: 4038
diff changeset
61 NLFunc.h NLP.h ODE.h ODEFunc.h ODES.h ODESFunc.h \
5173
1278a2bc1527 [project @ 2005-03-02 01:33:37 by jwe]
jwe
parents: 5169
diff changeset
62 Objective.h QP.h Quad.h Range.h base-dae.h \
4118
eb68fe7e78d1 [project @ 2002-10-23 01:29:32 by jwe]
jwe
parents: 4108
diff changeset
63 base-de.h base-min.h byte-swap.h cmd-edit.h cmd-hist.h \
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
64 data-conv.h dir-ops.h file-ops.h file-stat.h getopt.h \
4399
286a3345aa8e [project @ 2003-05-01 03:00:28 by jwe]
jwe
parents: 4378
diff changeset
65 glob-match.h idx-vector.h kpse-xfns.h \
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
66 lo-ieee.h lo-mappers.h lo-specfun.h lo-sstream.h \
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
67 lo-sysdep.h lo-utils.h mach-info.h oct-alloc.h oct-cmplx.h \
4906
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
68 oct-env.h oct-fftw.h oct-getopt.h oct-group.h oct-inttypes.h \
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
69 oct-passwd.h oct-rand.h oct-rl-edit.h oct-rl-hist.h \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
70 oct-shlib.h oct-sort.h oct-spparms.h oct-syscalls.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
71 oct-time.h pathlen.h pathsearch.h prog-args.h so-array.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
72 sparse-sort.h statdefs.h str-vec.h sun-utils.h sysdir.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
73 systime.h syswait.h \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
74 $(OPTS_INC) \
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
75 $(MATRIX_INC) \
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
76 $(MX_OP_INC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
77 $(VX_OP_INC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
78 $(SPARSE_MX_OP_INC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
79
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 4507
diff changeset
80 TEMPLATE_SRC := Array.cc ArrayN.cc DiagArray2.cc \
4850
8cc4818a0de0 [project @ 2004-04-06 17:06:34 by jwe]
jwe
parents: 4760
diff changeset
81 MArray.cc MArray2.cc MArrayN.cc MDiagArray2.cc \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
82 base-lu.cc oct-sort.cc sparse-base-lu.cc
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 292
diff changeset
83
2493
8ed4362aa0d6 [project @ 1996-11-11 02:35:04 by jwe]
jwe
parents: 2475
diff changeset
84 TI_SRC := Array-C.cc Array-b.cc Array-ch.cc Array-i.cc Array-d.cc \
4648
dca0236ad77c [project @ 2003-11-23 19:36:33 by jwe]
jwe
parents: 4646
diff changeset
85 Array-s.cc Array-so.cc Array-str.cc Array-idx-vec.cc \
5072
97b62f0c1bee [project @ 2004-11-09 05:51:30 by jwe]
jwe
parents: 4946
diff changeset
86 MArray-C.cc MArray-ch.cc MArray-i.cc MArray-d.cc MArray-s.cc \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
87 MSparse-C.cc MSparse-d.cc Sparse-C.cc Sparse-b.cc Sparse-d.cc \
5072
97b62f0c1bee [project @ 2004-11-09 05:51:30 by jwe]
jwe
parents: 4946
diff changeset
88 oct-inttypes.cc
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
89
4588
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
90 MATRIX_SRC := Array-flags.cc Array-util.cc CColVector.cc \
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
91 CDiagMatrix.cc CMatrix.cc CNDArray.cc CRowVector.cc \
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
92 CmplxAEPBAL.cc CmplxCHOL.cc CmplxDET.cc CmplxHESS.cc \
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
93 CmplxLU.cc CmplxQR.cc CmplxQRP.cc CmplxSCHUR.cc CmplxSVD.cc \
4669
334a27c8f453 [project @ 2003-11-26 07:02:42 by jwe]
jwe
parents: 4648
diff changeset
94 EIG.cc boolMatrix.cc boolNDArray.cc chMatrix.cc \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
95 chNDArray.cc dColVector.cc dDiagMatrix.cc dMatrix.cc \
4669
334a27c8f453 [project @ 2003-11-26 07:02:42 by jwe]
jwe
parents: 4648
diff changeset
96 dNDArray.cc dRowVector.cc dbleAEPBAL.cc dbleCHOL.cc \
334a27c8f453 [project @ 2003-11-26 07:02:42 by jwe]
jwe
parents: 4648
diff changeset
97 dbleDET.cc dbleHESS.cc dbleLU.cc dbleQR.cc dbleQRP.cc \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
98 dbleSCHUR.cc dbleSVD.cc boolSparse.cc CSparse.cc dSparse.cc \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
99 MSparse.cc Sparse.cc SparseCmplxLU.cc SparsedbleLU.cc \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
100 SparseType.cc \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
101 int8NDArray.cc uint8NDArray.cc int16NDArray.cc uint16NDArray.cc \
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
102 int32NDArray.cc uint32NDArray.cc int64NDArray.cc uint64NDArray.cc
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
103
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
104 MX_OP_SRC := $(shell $(AWK) -f $(srcdir)/mk-ops.awk prefix=mx list_cc_files=1 $(srcdir)/mx-ops)
466
05d84a40195d [project @ 1994-06-06 01:12:05 by jwe]
jwe
parents: 411
diff changeset
105
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
106 VX_OP_SRC := $(shell $(AWK) -f $(srcdir)/mk-ops.awk prefix=vx list_cc_files=1 $(srcdir)/vx-ops)
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
107
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
108 SPARSE_MX_OP_SRC := $(shell $(AWK) -f $(srcdir)/sparse-mk-ops.awk prefix=smx list_cc_files=1 $(srcdir)/sparse-mx-ops)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
109
3990
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
110 LIBOCTAVE_CXX_SOURCES := Bounds.cc CollocWt.cc \
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
111 DASPK.cc DASRT.cc DASSL.cc FEGrid.cc LinConst.cc \
5173
1278a2bc1527 [project @ 2005-03-02 01:33:37 by jwe]
jwe
parents: 5169
diff changeset
112 LPsolve.cc LSODE.cc NLEqn.cc ODES.cc \
3990
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
113 Quad.cc Range.cc data-conv.cc dir-ops.cc \
3912
f56cd411adb4 [project @ 2002-04-28 03:12:27 by jwe]
jwe
parents: 3861
diff changeset
114 file-ops.cc file-stat.cc glob-match.cc idx-vector.cc \
f56cd411adb4 [project @ 2002-04-28 03:12:27 by jwe]
jwe
parents: 3861
diff changeset
115 lo-ieee.cc lo-mappers.cc lo-specfun.cc lo-sysdep.cc \
f56cd411adb4 [project @ 2002-04-28 03:12:27 by jwe]
jwe
parents: 3861
diff changeset
116 lo-utils.cc mach-info.cc oct-alloc.cc oct-env.cc \
4307
fd034cd46aea [project @ 2003-01-24 19:20:50 by jwe]
jwe
parents: 4288
diff changeset
117 oct-fftw.cc oct-group.cc oct-passwd.cc oct-rand.cc oct-shlib.cc \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
118 oct-spparms.cc oct-syscalls.cc oct-time.cc prog-args.cc \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
119 so-array.cc sparse-sort.cc str-vec.cc \
1533
fe059f3bae29 [project @ 1995-10-05 05:30:03 by jwe]
jwe
parents: 1530
diff changeset
120 $(TEMPLATE_SRC) \
fe059f3bae29 [project @ 1995-10-05 05:30:03 by jwe]
jwe
parents: 1530
diff changeset
121 $(TI_SRC) \
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
122 $(MATRIX_SRC) \
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
123 $(MX_OP_SRC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
124 $(VX_OP_SRC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
125 $(SPARSE_MX_OP_SRC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
126
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
127 LIBOCTAVE_C_SOURCES := f2c-main.c filemode.c getopt.c getopt1.c \
4072
3cc39e3b8fa5 [project @ 2002-09-27 17:54:53 by jwe]
jwe
parents: 4058
diff changeset
128 lo-cieee.c lo-cutils.c mkdir.c oct-getopt.c rename.c \
3cc39e3b8fa5 [project @ 2002-09-27 17:54:53 by jwe]
jwe
parents: 4058
diff changeset
129 rmdir.c strftime.c strptime.c tempname.c tempnam.c
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
130
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
131 LIBOCTAVE_SOURCES := $(LIBOCTAVE_CXX_SOURCES) $(LIBOCTAVE_C_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
132
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
133 LIBOCT_READLINE_CXX_SOURCES := cmd-edit.cc cmd-hist.cc
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
134
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
135 LIBOCT_READLINE_C_SOURCES := oct-rl-edit.c oct-rl-hist.c
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
136
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
137 LIBOCT_READLINE_SOURCES := $(LIBOCT_READLINE_CXX_SOURCES) $(LIBOCT_READLINE_C_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
138
4399
286a3345aa8e [project @ 2003-05-01 03:00:28 by jwe]
jwe
parents: 4378
diff changeset
139 LIBOCT_PATHSEARCH_CXX_SOURCES := pathsearch.cc
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
140
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
141 LIBOCT_PATHSEARCH_C_SOURCES := kpse-xfns.c
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
142
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
143 LIBOCT_PATHSEARCH_SOURCES := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
144 $(LIBOCT_PATHSEARCH_C_SOURCES) $(LIBOCT_PATHSEARCH_CXX_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
145
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
146 SOURCES := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
147 $(LIBOCTAVE_SOURCES) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
148 $(LIBOCT_READLINE_SOURCES) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
149 $(LIBOCT_PATHSEARCH_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
150
4946
48a39e2b2ab7 [project @ 2004-08-31 17:27:04 by jwe]
jwe
parents: 4906
diff changeset
151 EXTRAS := mx-inlines.cc kpse.cc intNDArray.cc
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
152
2941
b779a5b8aed4 [project @ 1997-05-08 02:14:34 by jwe]
jwe
parents: 2938
diff changeset
153 INCLUDES_FOR_INSTALL := $(INCLUDES) $(TEMPLATE_SRC) $(EXTRAS)
b779a5b8aed4 [project @ 1997-05-08 02:14:34 by jwe]
jwe
parents: 2938
diff changeset
154
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
155 DISTFILES := Makefile.in ChangeLog mk-ops.awk mx-ops vx-ops \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
156 sparse-mk-ops.awk sparse-mx-ops \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
157 $(SOURCES) $(INCLUDES) $(EXTRAS) $(OPTS_INC_DATA) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
158 $(COLAMD_EXTRAS) $(UMFPACK_EXTRAS)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
159
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
160 # Complete directory trees to distribute.
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
161 DISTDIRS := COLAMD UMFPACK
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
162
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
163 ifeq ($(SHARED_LIBS), true)
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
164 BINDISTLIBS = liboctave/liboctave
3209
fbb332b96e4f [project @ 1998-11-03 20:48:54 by jwe]
jwe
parents: 3206
diff changeset
165 BINDISTFILES = liboctave.$(SHLEXT_VER)
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
166 endif
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
167
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
168 MAKEDEPS_2 := $(SOURCES) $(COLAMD_SRC)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
169 MAKEDEPS_1 := $(patsubst %.cc, %.d, $(MAKEDEPS_2))
1767
6d9270b4fad8 [project @ 1996-01-23 06:42:26 by jwe]
jwe
parents: 1758
diff changeset
170 MAKEDEPS := $(patsubst %.c, %.d, $(MAKEDEPS_1))
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
171
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
172 LIBOCTAVE_OBJECTS := \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
173 $(COLAMD_OBJ) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
174 $(UMFPACK_OBJ) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
175 $(LIBOCTAVE_CXX_SOURCES:.cc=.o) \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
176 $(LIBOCTAVE_C_SOURCES:.c=.o) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
177 $(LIBOCT_READLINE_CXX_SOURCES:.cc=.o) \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
178 $(LIBOCT_READLINE_C_SOURCES:.c=.o) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
179 $(LIBOCT_PATHSEARCH_CXX_SOURCES:.cc=.o) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
180 $(LIBOCT_PATHSEARCH_C_SOURCES:.c=.o)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
181
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
182 ifeq ($(SHARED_LIBS), true)
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
183 ifdef CXXPICFLAG
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
184 LIBOCTAVE_PICOBJ := $(addprefix pic/, $(LIBOCTAVE_OBJECTS))
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
185 else
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
186 LIBOCTAVE_PICOBJ := $(LIBOCTAVE_OBJECTS)
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
187 endif
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
188 endif
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
189
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
190 UMFPACK_SPECIAL_1 := CSparse.o dSparse.o SparseCmplxLU.o SparsedbleLU.o
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
191 UMFPACK_SPECIAL := \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
192 $(UMFPACK_SPECIAL_1) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
193 $(addprefix pic/, $(UMFPACK_SPECIAL_1)) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
194 $(UMFPACK_SPECIAL_1:.o=.d)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
195 $(UMFPACK_SPECIAL): INCFLAGS += $(UMFPACK_INCFLAGS)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
196
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
197 all: libraries
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
198 .PHONY: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
199
3613
0a93682f89c8 [project @ 2000-03-17 10:58:25 by jwe]
jwe
parents: 3597
diff changeset
200 objects: $(OBJECTS)
0a93682f89c8 [project @ 2000-03-17 10:58:25 by jwe]
jwe
parents: 3597
diff changeset
201
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
202 include $(srcdir)/UMFPACK.rules
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
203
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
204 stmp-pic: pic
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
205 @if [ -f stmp-pic ]; then \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
206 true; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
207 else \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
208 echo "touch stmp-pic"; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
209 touch stmp-pic; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
210 fi
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
211
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
212 pic:
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
213 @if [ -d pic ]; then \
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
214 true; \
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2316
diff changeset
215 else \
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
216 echo "mkdir pic"; \
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
217 mkdir pic; \
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2316
diff changeset
218 fi
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
219
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
220 stamp-prereq: $(OPTS_INC) $(VX_OP_INC) $(VX_OP_SRC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
221 $(MX_OP_INC) $(MX_OP_SRC) mx-ops.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
222 $(SPARSE_MX_OP_INC) $(SPARSE_MX_OP_SRC)
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
223 touch stamp-prereq
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
224
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
225 ifeq ($(SHARED_LIBS), true)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
226 ifeq ($(STATIC_LIBS), true)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
227 libraries: \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
228 stamp-prereq \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
229 liboctave.$(LIBEXT) liboctave.$(SHLEXT_VER)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
230 else
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
231 libraries: \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
232 stamp-prereq \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
233 liboctave.$(SHLEXT_VER)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
234 endif
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
235 else
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
236 ifeq ($(STATIC_LIBS), true)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
237 libraries: \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
238 stamp-prereq \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
239 liboctave.$(LIBEXT)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
240 else
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
241 libraries: stamp-prereq
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
242 endif
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
243 endif
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
244 .PHONY: libraries
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
245
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
246 liboctave.$(LIBEXT): $(LIBOCTAVE_OBJECTS)
3615
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
247 rm -f $@
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
248 $(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $(LIBOCTAVE_OBJECTS)
3615
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
249 $(RANLIB) $@
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
250
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
251 liboctave.$(SHLEXT_VER): liboctave.$(SHLEXT)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
252 rm -f $@
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
253 $(LN_S) $< $@
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
254
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
255 liboctave.$(SHLEXT): $(LIBOCTAVE_PICOBJ)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
256 rm -f $@
4229
40153a2affd6 [project @ 2002-12-18 20:37:32 by jwe]
jwe
parents: 4228
diff changeset
257 $(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ \
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
258 $(LIBOCTAVE_PICOBJ) $(LINK_DEPS)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
259
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
260 $(LIBOCTAVE_PICOBJ): stmp-pic
1773
5215571ea783 [project @ 1996-01-23 08:10:26 by jwe]
jwe
parents: 1767
diff changeset
261
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
262 check: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
263 .PHONY: check
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
264
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
265 install: install-lib install-inc
2128
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
266 .PHONY: install
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
267
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
268 install-strip:
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
269 $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
270 .PHONY: install-strip
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
271
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
272 install-lib:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
273 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
274 if $(STATIC_LIBS); then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
275 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
276 $(INSTALL_DATA) liboctave.$(LIBEXT) \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
277 $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
278 $(RANLIB) $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
279 fi
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
280 if $(SHARED_LIBS); then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
281 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER); \
4480
b96f2c55d5a3 [project @ 2003-07-31 14:46:50 by jwe]
jwe
parents: 4473
diff changeset
282 $(INSTALL) \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
283 liboctave.$(SHLLIB) $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
284 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
285 $(LN_S) liboctave.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
286 if test x$(SHLBIN) != x ; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
287 rm -f $(DESTDIR)$(bindir)/liboctave.$(SHLBIN); \
4473
32ac2bea0185 [project @ 2003-07-29 23:05:32 by jwe]
jwe
parents: 4472
diff changeset
288 $(INSTALL_PROGRAM) \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
289 liboctave.$(SHLBIN) $(DESTDIR)$(bindir)/liboctave.$(SHLBIN); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
290 fi; \
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
291 fi
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
292 .PHONY: install-lib
2128
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
293
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
294 install-inc:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
295 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octincludedir)/octave
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
296 for f in $(INCLUDES_FOR_INSTALL); do \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
297 rm -f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
298 if [ -f $$f ]; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
299 $(INSTALL_DATA) $$f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
300 else \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
301 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
302 fi ; \
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
303 done
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
304 .PHONY: install-inc
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
305
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
306 uninstall:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
307 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT)
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
308 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB)
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
309 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER)
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
310 if test x$(SHLBIN) != x; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
311 rm -f $(DESTDIR)$(bindir)/liboctave.$(SHLBIN); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
312 rm -f $(DESTDIR)$(bindir)/liboctave.$(SHLBIN_VER); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
313 fi
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
314 for f in $(INCLUDES); do rm -f $(DESTDIR)$(octincludedir)/octave/$$f; done
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
315 .PHONY: uninstall
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
316
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
317 tags: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
318 ctags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
319
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
320 TAGS: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
321 etags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
322
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
323 clean:
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
324 rm -f *.$(LIBEXT) *.o *.d pic/*.o
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
325 -rmdir pic
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
326 rm -f stmp-pic
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
327 if $(SHARED_LIBS); then rm -f *.$(SHLEXT_VER) *.$(SHLEXT); fi
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
328 .PHONY: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
329
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
330 mostlyclean: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
331 .PHONY: mostlyclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
332
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
333 distclean: clean
4713
d803e4187494 [project @ 2004-01-22 20:31:55 by jwe]
jwe
parents: 4712
diff changeset
334 rm -f Makefile so_locations stamp-prereq $(OPTS_INC)
d803e4187494 [project @ 2004-01-22 20:31:55 by jwe]
jwe
parents: 4712
diff changeset
335 rm -f mx-ops.h $(MX_OP_INC) $(VX_OP_INC) $(MX_OP_SRC) $(VX_OP_SRC)
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
336 rm -f $(SPARSE_MX_OP_INC) $(SPARSE_MX_OP_SRC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
337 .PHONY: distclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
338
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1386
diff changeset
339 maintainer-clean: distclean
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
340 rm -f tags TAGS
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1386
diff changeset
341 .PHONY: maintainer-clean
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
342
4616
33030b47385a [project @ 2003-11-15 02:01:46 by jwe]
jwe
parents: 4588
diff changeset
343 dist: stamp-prereq
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
344 ln $(DISTFILES) ../`cat ../.fname`/liboctave
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
345 for dir in $(DISTDIRS); do ln -s ../../liboctave/$$dir ../`cat ../.fname/liboctave`; done
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
346 .PHONY: dist
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
347
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
348 bin-dist:
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
349 if [ -n "$(BINDISTFILES)" ]; then \
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
350 ln $(BINDISTFILES) ../`cat ../.fname`/liboctave; \
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
351 fi
2686
6d0a6fc92f06 [project @ 1997-02-14 22:31:36 by jwe]
jwe
parents: 2676
diff changeset
352 if [ -n "$(BINDISTLIBS)" ]; then \
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
353 echo $(BINDISTLIBS) >> ../`cat ../.fname`/LIBRARIES; \
2686
6d0a6fc92f06 [project @ 1997-02-14 22:31:36 by jwe]
jwe
parents: 2676
diff changeset
354 fi
2624
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
355 .PHONY: bin-dist
7e24c1f29db4 [project @ 1997-01-26 04:40:00 by jwe]
jwe
parents: 2588
diff changeset
356
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
357 $(OPTS_INC) : %.h : %.in $(top_srcdir)/mk-opts.pl
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
358 @echo making $@ from $<
4014
8eaf7182d48a [project @ 2002-08-01 20:55:57 by jwe]
jwe
parents: 3998
diff changeset
359 @perl $(top_srcdir)/mk-opts.pl --opt-class-header $< > $@-t
8eaf7182d48a [project @ 2002-08-01 20:55:57 by jwe]
jwe
parents: 3998
diff changeset
360 @$(top_srcdir)/move-if-change $@-t $@
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
361
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
362 $(VX_OP_INC) $(VX_OP_SRC) : $(srcdir)/mk-ops.awk vx-ops
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
363 $(AWK) -f $(srcdir)/mk-ops.awk prefix=vx $(srcdir)/vx-ops
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
364
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
365 $(MX_OP_INC) $(MX_OP_SRC) : $(srcdir)/mk-ops.awk mx-ops
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
366 $(AWK) -f $(srcdir)/mk-ops.awk prefix=mx $(srcdir)/mx-ops
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
367
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
368 $(SPARSE_MX_OP_INC) $(SPARSE_MX_OP_SRC) : $(srcdir)/sparse-mk-ops.awk sparse-mx-ops
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
369 $(AWK) -f $(srcdir)/sparse-mk-ops.awk prefix=smx $(srcdir)/sparse-mx-ops
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
370
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
371 mx-ops.h : $(srcdir)/mk-ops.awk mx-ops
4547
308feb0e5646 [project @ 2003-10-25 01:59:15 by jwe]
jwe
parents: 4544
diff changeset
372 $(AWK) -f $(srcdir)/mk-ops.awk prefix=mx make_inclusive_header=mx-ops.h $(srcdir)/mx-ops > $@-t
308feb0e5646 [project @ 2003-10-25 01:59:15 by jwe]
jwe
parents: 4544
diff changeset
373 $(top_srcdir)/move-if-change $@-t $@
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
374
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
375
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
376 # If missing, GNU make attempts to create them in the reverse of the
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
377 # order in which they are listed here. We rely on that fact to ensure
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
378 # that defaults.h is created before trying to create the .d files.
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
379 # Hmm. I wonder if we can count on that...
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
380
1393
a771d1785c2a [project @ 1995-09-14 09:31:16 by jwe]
jwe
parents: 1391
diff changeset
381 ifndef omit_deps
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
382 -include $(MAKEDEPS) stamp-prereq
1319
1270bf19f7fe [project @ 1995-08-22 00:43:02 by jwe]
jwe
parents: 1214
diff changeset
383 endif