annotate liboctave/Makefile.in @ 5915:b2e1be30c8e9 ss-2-9-7

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