annotate liboctave/Makefile.in @ 5276:233140bc8068

[project @ 2005-04-08 16:58:34 by jwe]
author jwe
date Fri, 08 Apr 2005 16:58:35 +0000
parents a90ce2dc8b1e
children b1f1338f7931
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) \
5269
a90ce2dc8b1e [project @ 2005-04-06 19:20:09 by dbateman]
dbateman
parents: 5210
diff changeset
23 $(LIBCRUFT) $(BLAS_LIBS) $(FFTW_LIBS) $(UMFPACK_LIBS) $(LIBREADLINE) \
a90ce2dc8b1e [project @ 2005-04-06 19:20:09 by dbateman]
dbateman
parents: 5210
diff changeset
24 $(LIBS) $(FLIBS)
1904
6dd50f51cf0c [project @ 1996-02-10 01:03:40 by jwe]
jwe
parents: 1845
diff changeset
25
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
26 include $(srcdir)/COLAMD.files
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
27
4493
49d88738a4a0 [project @ 2003-09-03 16:21:18 by jwe]
jwe
parents: 4480
diff changeset
28 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
29 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
30 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
31 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
32 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
33 CNDArray.h CRowVector.h CmplxAEPBAL.h CmplxCHOL.h \
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
34 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
35 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
36 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
37 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
38 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
39 boolSparse.h CSparse.h dSparse.h MSparse-defs.h MSparse.h \
5209
b2132431d1e0 [project @ 2005-03-15 20:30:34 by jwe]
jwe
parents: 5203
diff changeset
40 Sparse.h sparse-base-lu.h SparseCmplxLU.h \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
41 SparsedbleLU.h Sparse-op-defs.h SparseType.h \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
42 int8NDArray.h uint8NDArray.h int16NDArray.h uint16NDArray.h \
4906
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
43 int32NDArray.h uint32NDArray.h int64NDArray.h uint64NDArray.h \
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
44 intNDArray.h
466
05d84a40195d [project @ 1994-06-06 01:12:05 by jwe]
jwe
parents: 411
diff changeset
45
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
46 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
47
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
48 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
49
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
50 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
51
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
52 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
53 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
54
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
55 OPTS_INC := $(OPTS_INC_DATA:.in=.h)
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
56
4058
980308741392 [project @ 2002-09-09 02:08:28 by jwe]
jwe
parents: 4038
diff changeset
57 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
58 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
59 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
60 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
61 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
62 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
63 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
64 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
65 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
66 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
67 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
68 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
69 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
70 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
71 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
72 systime.h syswait.h \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
73 $(OPTS_INC) \
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
74 $(MATRIX_INC) \
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
75 $(MX_OP_INC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
76 $(VX_OP_INC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
77 $(SPARSE_MX_OP_INC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
78
4513
508238e65af7 [project @ 2003-09-19 21:40:57 by jwe]
jwe
parents: 4507
diff changeset
79 TEMPLATE_SRC := Array.cc ArrayN.cc DiagArray2.cc \
4850
8cc4818a0de0 [project @ 2004-04-06 17:06:34 by jwe]
jwe
parents: 4760
diff changeset
80 MArray.cc MArray2.cc MArrayN.cc MDiagArray2.cc \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
81 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
82
2493
8ed4362aa0d6 [project @ 1996-11-11 02:35:04 by jwe]
jwe
parents: 2475
diff changeset
83 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
84 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
85 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
86 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
87 oct-inttypes.cc
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
88
4588
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
89 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
90 CDiagMatrix.cc CMatrix.cc CNDArray.cc CRowVector.cc \
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
91 CmplxAEPBAL.cc CmplxCHOL.cc CmplxDET.cc CmplxHESS.cc \
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
92 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
93 EIG.cc boolMatrix.cc boolNDArray.cc chMatrix.cc \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
94 chNDArray.cc dColVector.cc dDiagMatrix.cc dMatrix.cc \
4669
334a27c8f453 [project @ 2003-11-26 07:02:42 by jwe]
jwe
parents: 4648
diff changeset
95 dNDArray.cc dRowVector.cc dbleAEPBAL.cc dbleCHOL.cc \
334a27c8f453 [project @ 2003-11-26 07:02:42 by jwe]
jwe
parents: 4648
diff changeset
96 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
97 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
98 MSparse.cc Sparse.cc SparseCmplxLU.cc SparsedbleLU.cc \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
99 SparseType.cc \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
100 int8NDArray.cc uint8NDArray.cc int16NDArray.cc uint16NDArray.cc \
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
101 int32NDArray.cc uint32NDArray.cc int64NDArray.cc uint64NDArray.cc
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
102
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
103 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
104
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
105 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
106
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
107 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
108
3990
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
109 LIBOCTAVE_CXX_SOURCES := Bounds.cc CollocWt.cc \
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
110 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
111 LPsolve.cc LSODE.cc NLEqn.cc ODES.cc \
3990
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
112 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
113 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
114 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
115 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
116 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
117 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
118 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
119 $(TEMPLATE_SRC) \
fe059f3bae29 [project @ 1995-10-05 05:30:03 by jwe]
jwe
parents: 1530
diff changeset
120 $(TI_SRC) \
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
121 $(MATRIX_SRC) \
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
122 $(MX_OP_SRC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
123 $(VX_OP_SRC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
124 $(SPARSE_MX_OP_SRC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
125
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
126 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
127 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
128 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
129
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
130 LIBOCTAVE_SOURCES := $(LIBOCTAVE_CXX_SOURCES) $(LIBOCTAVE_C_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
131
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
132 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
133
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
134 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
135
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
136 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
137
4399
286a3345aa8e [project @ 2003-05-01 03:00:28 by jwe]
jwe
parents: 4378
diff changeset
138 LIBOCT_PATHSEARCH_CXX_SOURCES := pathsearch.cc
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
139
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
140 LIBOCT_PATHSEARCH_C_SOURCES := kpse-xfns.c
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
141
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
142 LIBOCT_PATHSEARCH_SOURCES := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
143 $(LIBOCT_PATHSEARCH_C_SOURCES) $(LIBOCT_PATHSEARCH_CXX_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
144
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
145 SOURCES := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
146 $(LIBOCTAVE_SOURCES) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
147 $(LIBOCT_READLINE_SOURCES) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
148 $(LIBOCT_PATHSEARCH_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
149
4946
48a39e2b2ab7 [project @ 2004-08-31 17:27:04 by jwe]
jwe
parents: 4906
diff changeset
150 EXTRAS := mx-inlines.cc kpse.cc intNDArray.cc
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
151
2941
b779a5b8aed4 [project @ 1997-05-08 02:14:34 by jwe]
jwe
parents: 2938
diff changeset
152 INCLUDES_FOR_INSTALL := $(INCLUDES) $(TEMPLATE_SRC) $(EXTRAS)
b779a5b8aed4 [project @ 1997-05-08 02:14:34 by jwe]
jwe
parents: 2938
diff changeset
153
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
154 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
155 sparse-mk-ops.awk sparse-mx-ops \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
156 $(SOURCES) $(INCLUDES) $(EXTRAS) $(OPTS_INC_DATA) \
5203
dbeafbc0ff64 [project @ 2005-03-15 00:58:55 by jwe]
jwe
parents: 5196
diff changeset
157 $(COLAMD_EXTRAS)
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
158
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
159 # Complete directory trees to distribute.
5203
dbeafbc0ff64 [project @ 2005-03-15 00:58:55 by jwe]
jwe
parents: 5196
diff changeset
160 DISTDIRS := COLAMD
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
161
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
162 MAKEDEPS_2 := $(SOURCES) $(COLAMD_SRC)
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
163 MAKEDEPS_1 := $(patsubst %.cc, %.d, $(MAKEDEPS_2))
1767
6d9270b4fad8 [project @ 1996-01-23 06:42:26 by jwe]
jwe
parents: 1758
diff changeset
164 MAKEDEPS := $(patsubst %.c, %.d, $(MAKEDEPS_1))
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
165
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
166 LIBOCTAVE_OBJECTS := \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
167 $(COLAMD_OBJ) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
168 $(LIBOCTAVE_CXX_SOURCES:.cc=.o) \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
169 $(LIBOCTAVE_C_SOURCES:.c=.o) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
170 $(LIBOCT_READLINE_CXX_SOURCES:.cc=.o) \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
171 $(LIBOCT_READLINE_C_SOURCES:.c=.o) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
172 $(LIBOCT_PATHSEARCH_CXX_SOURCES:.cc=.o) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
173 $(LIBOCT_PATHSEARCH_C_SOURCES:.c=.o)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
174
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
175 ifeq ($(SHARED_LIBS), true)
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
176 ifdef CXXPICFLAG
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
177 LIBOCTAVE_PICOBJ := $(addprefix pic/, $(LIBOCTAVE_OBJECTS))
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
178 else
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
179 LIBOCTAVE_PICOBJ := $(LIBOCTAVE_OBJECTS)
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
180 endif
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
181 endif
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
182
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
183 all: libraries
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
184 .PHONY: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
185
3613
0a93682f89c8 [project @ 2000-03-17 10:58:25 by jwe]
jwe
parents: 3597
diff changeset
186 objects: $(OBJECTS)
0a93682f89c8 [project @ 2000-03-17 10:58:25 by jwe]
jwe
parents: 3597
diff changeset
187
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
188 stmp-pic: pic
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
189 @if [ -f stmp-pic ]; then \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
190 true; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
191 else \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
192 echo "touch stmp-pic"; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
193 touch stmp-pic; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
194 fi
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
195
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
196 pic:
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
197 @if [ -d pic ]; then \
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
198 true; \
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2316
diff changeset
199 else \
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
200 echo "mkdir pic"; \
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
201 mkdir pic; \
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2316
diff changeset
202 fi
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
203
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
204 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
205 $(MX_OP_INC) $(MX_OP_SRC) mx-ops.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
206 $(SPARSE_MX_OP_INC) $(SPARSE_MX_OP_SRC)
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
207 touch stamp-prereq
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
208
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
209 ifeq ($(SHARED_LIBS), true)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
210 ifeq ($(STATIC_LIBS), true)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
211 libraries: \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
212 stamp-prereq \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
213 liboctave.$(LIBEXT) liboctave.$(SHLEXT_VER)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
214 else
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
215 libraries: \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
216 stamp-prereq \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
217 liboctave.$(SHLEXT_VER)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
218 endif
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
219 else
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
220 ifeq ($(STATIC_LIBS), true)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
221 libraries: \
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
222 stamp-prereq \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
223 liboctave.$(LIBEXT)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
224 else
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
225 libraries: stamp-prereq
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
226 endif
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
227 endif
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
228 .PHONY: libraries
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
229
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
230 liboctave.$(LIBEXT): $(LIBOCTAVE_OBJECTS)
3615
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
231 rm -f $@
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
232 $(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $(LIBOCTAVE_OBJECTS)
3615
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
233 $(RANLIB) $@
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
234
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
235 liboctave.$(SHLEXT_VER): liboctave.$(SHLEXT)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
236 rm -f $@
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
237 $(LN_S) $< $@
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
238
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
239 liboctave.$(SHLEXT): $(LIBOCTAVE_PICOBJ)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
240 rm -f $@
4229
40153a2affd6 [project @ 2002-12-18 20:37:32 by jwe]
jwe
parents: 4228
diff changeset
241 $(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ \
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
242 $(LIBOCTAVE_PICOBJ) $(LINK_DEPS)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
243
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
244 $(LIBOCTAVE_PICOBJ): stmp-pic
1773
5215571ea783 [project @ 1996-01-23 08:10:26 by jwe]
jwe
parents: 1767
diff changeset
245
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
246 check: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
247 .PHONY: check
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
248
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
249 install: install-lib install-inc
2128
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
250 .PHONY: install
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
251
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
252 install-strip:
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
253 $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
254 .PHONY: install-strip
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
255
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
256 install-lib:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
257 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
258 if $(STATIC_LIBS); then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
259 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
260 $(INSTALL_DATA) liboctave.$(LIBEXT) \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
261 $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
262 $(RANLIB) $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT); \
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
263 fi
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
264 if $(SHARED_LIBS); then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
265 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER); \
4480
b96f2c55d5a3 [project @ 2003-07-31 14:46:50 by jwe]
jwe
parents: 4473
diff changeset
266 $(INSTALL) \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
267 liboctave.$(SHLLIB) $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
268 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
269 $(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
270 if test x$(SHLBIN) != x ; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
271 rm -f $(DESTDIR)$(bindir)/liboctave.$(SHLBIN); \
4473
32ac2bea0185 [project @ 2003-07-29 23:05:32 by jwe]
jwe
parents: 4472
diff changeset
272 $(INSTALL_PROGRAM) \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
273 liboctave.$(SHLBIN) $(DESTDIR)$(bindir)/liboctave.$(SHLBIN); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
274 fi; \
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
275 fi
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
276 .PHONY: install-lib
2128
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
277
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
278 install-inc:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
279 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octincludedir)/octave
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
280 for f in $(INCLUDES_FOR_INSTALL); do \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
281 rm -f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
282 if [ -f $$f ]; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
283 $(INSTALL_DATA) $$f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
284 else \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
285 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
286 fi ; \
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
287 done
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
288 .PHONY: install-inc
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
289
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
290 uninstall:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
291 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(LIBEXT)
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
292 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB)
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
293 rm -f $(DESTDIR)$(octlibdir)/liboctave.$(SHLLIB_VER)
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
294 if test x$(SHLBIN) != x; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
295 rm -f $(DESTDIR)$(bindir)/liboctave.$(SHLBIN); \
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
296 rm -f $(DESTDIR)$(bindir)/liboctave.$(SHLBIN_VER); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
297 fi
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
298 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
299 .PHONY: uninstall
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
300
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
301 tags: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
302 ctags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
303
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
304 TAGS: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
305 etags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
306
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
307 clean:
5276
233140bc8068 [project @ 2005-04-08 16:58:34 by jwe]
jwe
parents: 5269
diff changeset
308 rm -f liboctave.$(LIBEXT) liboctave.$(SHLEXT_VER) liboctave.$(SHLEXT)
233140bc8068 [project @ 2005-04-08 16:58:34 by jwe]
jwe
parents: 5269
diff changeset
309 rm -f $(OBJECTS) $(MAKEDEPS) $(LIBOCTAVE_PICOBJ) stmp-pic
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
310 -rmdir pic
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
311 .PHONY: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
312
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
313 mostlyclean: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
314 .PHONY: mostlyclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
315
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
316 distclean: clean
4713
d803e4187494 [project @ 2004-01-22 20:31:55 by jwe]
jwe
parents: 4712
diff changeset
317 rm -f Makefile so_locations stamp-prereq $(OPTS_INC)
d803e4187494 [project @ 2004-01-22 20:31:55 by jwe]
jwe
parents: 4712
diff changeset
318 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
319 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
320 .PHONY: distclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
321
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1386
diff changeset
322 maintainer-clean: distclean
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
323 rm -f tags TAGS
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1386
diff changeset
324 .PHONY: maintainer-clean
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
325
4616
33030b47385a [project @ 2003-11-15 02:01:46 by jwe]
jwe
parents: 4588
diff changeset
326 dist: stamp-prereq
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
327 ln $(DISTFILES) ../`cat ../.fname`/liboctave
5210
996a08a3eb06 [project @ 2005-03-15 20:46:03 by jwe]
jwe
parents: 5209
diff changeset
328 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
329 .PHONY: dist
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
330
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
331 $(OPTS_INC) : %.h : %.in $(top_srcdir)/mk-opts.pl
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
332 @echo making $@ from $<
4014
8eaf7182d48a [project @ 2002-08-01 20:55:57 by jwe]
jwe
parents: 3998
diff changeset
333 @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
334 @$(top_srcdir)/move-if-change $@-t $@
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
335
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
336 $(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
337 $(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
338
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
339 $(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
340 $(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
341
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
342 $(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
343 $(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
344
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
345 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
346 $(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
347 $(top_srcdir)/move-if-change $@-t $@
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
348
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
349
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
350 # 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
351 # 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
352 # 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
353 # Hmm. I wonder if we can count on that...
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
354
1393
a771d1785c2a [project @ 1995-09-14 09:31:16 by jwe]
jwe
parents: 1391
diff changeset
355 ifndef omit_deps
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
356 -include $(MAKEDEPS) stamp-prereq
1319
1270bf19f7fe [project @ 1995-08-22 00:43:02 by jwe]
jwe
parents: 1214
diff changeset
357 endif