annotate liboctave/Makefile.in @ 8873:e258715b2e78

fixes for clean targets in Makefiles
author John W. Eaton <jwe@octave.org>
date Wed, 25 Feb 2009 15:34:23 -0500
parents de16ebeef93d
children eb63fbe60fab
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 # Makefile for octave's liboctave directory
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
2 #
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
3 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 # 2002, 2003, 2004, 2005, 2006, 2007 John W. Eaton
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
5 #
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
6 # This file is part of Octave.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
7 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
8 # Octave is free software; you can redistribute it and/or modify it
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
9 # under the terms of the GNU General Public License as published by the
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
10 # Free Software Foundation; either version 3 of the License, or (at
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
11 # your option) any later version.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
12 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
13 # Octave is distributed in the hope that it will be useful, but WITHOUT
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
16 # for more details.
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
17 #
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
18 # You should have received a copy of the GNU General Public License
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
19 # along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 7000
diff changeset
20 # <http://www.gnu.org/licenses/>.
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
21
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
22 TOPDIR = ..
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
23
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
24 srcdir = @srcdir@
411
b936220a35cf [project @ 1994-04-20 07:59:48 by jwe]
jwe
parents: 308
diff changeset
25 top_srcdir = @top_srcdir@
5451
ed08548b9054 [project @ 2005-09-15 19:52:50 by jwe]
jwe
parents: 5330
diff changeset
26 VPATH = @srcdir@
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
27
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
28 include $(TOPDIR)/Makeconf
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
29
651
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
30 INSTALL = @INSTALL@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
31 INSTALL_PROGRAM = @INSTALL_PROGRAM@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
32 INSTALL_DATA = @INSTALL_DATA@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
33
6137
4fb3f3e3d6bb [project @ 2006-11-03 18:19:10 by jwe]
jwe
parents: 6111
diff changeset
34 DLL_CDEFS = @OCTAVE_DLL_DEFS@
4fb3f3e3d6bb [project @ 2006-11-03 18:19:10 by jwe]
jwe
parents: 6111
diff changeset
35 DLL_CXXDEFS = @OCTAVE_DLL_DEFS@
6087
700e121edb94 [project @ 2006-10-25 19:03:12 by jwe]
jwe
parents: 6051
diff changeset
36
4760
8ece12f60ba2 [project @ 2004-02-15 00:32:30 by jwe]
jwe
parents: 4713
diff changeset
37 LINK_DEPS = \
5451
ed08548b9054 [project @ 2005-09-15 19:52:50 by jwe]
jwe
parents: 5330
diff changeset
38 -L../libcruft -L. $(RLD_FLAG) \
5619
e9112ff172b1 [project @ 2006-02-13 20:05:36 by dbateman]
dbateman
parents: 5610
diff changeset
39 $(LIBCRUFT) $(CHOLMOD_LIBS) $(UMFPACK_LIBS) $(AMD_LIBS) \
6241
b84b59b614c5 [project @ 2007-01-11 07:35:52 by jwe]
jwe
parents: 6152
diff changeset
40 $(CAMD_LIBS) $(COLAMD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) \
8655
d48a1837d2bc Add missing libqrupdate to liboctave link dependencies
Benjamin Lindner <lindnerben@gmx.net>
parents: 8618
diff changeset
41 $(ARPACK_LIBS) $(QRUPDATE_LIBS) $(BLAS_LIBS) $(FFTW_LIBS) $(LIBREADLINE) $(LIBGLOB) $(REGEX_LIBS) $(LIBS) $(FLIBS)
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
42
4493
49d88738a4a0 [project @ 2003-09-03 16:21:18 by jwe]
jwe
parents: 4480
diff changeset
43 MATRIX_INC := Array.h Array2.h Array3.h ArrayN.h DiagArray2.h \
8774
b756ce0002db split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents: 8725
diff changeset
44 Array-util.h ArrayN-idx.h MArray-decl.h MArray-defs.h \
4517
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
45 MArray.h MArray2.h MDiagArray2.h Matrix.h MArrayN.h \
8774
b756ce0002db split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents: 8725
diff changeset
46 base-lu.h base-aepbal.h dim-vector.h mx-base.h mx-op-decl.h \
b756ce0002db split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents: 8725
diff changeset
47 mx-op-defs.h mx-defs.h mx-ext.h CColVector.h CDiagMatrix.h \
b756ce0002db split implementation and interface in mx-op-defs and MArray-defs
Jaroslav Hajek <highegg@gmail.com>
parents: 8725
diff changeset
48 CMatrix.h CNDArray.h CRowVector.h CmplxAEPBAL.h CmplxCHOL.h \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
49 CmplxGEPBAL.h CmplxHESS.h CmplxLU.h CmplxQR.h CmplxQRP.h \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
50 CmplxSCHUR.h CmplxSVD.h EIG.h fEIG.h boolMatrix.h boolNDArray.h \
4517
b4449b1193ac [project @ 2003-09-20 02:06:06 by jwe]
jwe
parents: 4513
diff changeset
51 chMatrix.h chNDArray.h dColVector.h dDiagMatrix.h dMatrix.h \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
52 dNDArray.h dRowVector.h dbleAEPBAL.h dbleCHOL.h DET.h \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
53 dbleGEPBAL.h dbleHESS.h dbleLU.h dbleQR.h dbleQRP.h dbleSCHUR.h \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
54 dbleSVD.h 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
55 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
56 sparse-base-chol.h SparseCmplxCHOL.h \
5681
233d98d95659 [project @ 2006-03-16 17:48:55 by dbateman]
dbateman
parents: 5619
diff changeset
57 SparsedbleCHOL.h SparseCmplxQR.h SparseQR.h Sparse-op-defs.h \
8367
445d27d79f4e support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents: 8335
diff changeset
58 MatrixType.h PermMatrix.h \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
59 int8NDArray.h uint8NDArray.h int16NDArray.h uint16NDArray.h \
4906
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
60 int32NDArray.h uint32NDArray.h int64NDArray.h uint64NDArray.h \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
61 intNDArray.h \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
62 fCColVector.h fCRowVector.h fCDiagMatrix.h fCMatrix.h fCNDArray.h \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
63 fColVector.h fRowVector.h fDiagMatrix.h fMatrix.h fNDArray.h \
7809
3af309919efc Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents: 7789
diff changeset
64 fCmplxAEPBAL.h fCmplxGEPBAL.h fCmplxHESS.h fCmplxCHOL.h \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
65 fCmplxLU.h fCmplxSCHUR.h fCmplxSVD.h fCmplxQR.h \
7809
3af309919efc Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents: 7789
diff changeset
66 fCmplxQRP.h floatAEPBAL.h \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
67 floatCHOL.h floatGEPBAL.h floatHESS.h floatLU.h \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
68 floatSCHUR.h floatSVD.h floatQR.h floatQRP.h
466
05d84a40195d [project @ 1994-06-06 01:12:05 by jwe]
jwe
parents: 411
diff changeset
69
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
70 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
71
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
72 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
73
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
74 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
75
8306
43795cf108d0 initial implementation of fsolve
Jaroslav Hajek <highegg@gmail.com>
parents: 8303
diff changeset
76 OPT_BASE := $(addsuffix -opts, DASPK DASRT DASSL LSODE Quad)
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
77 OPT_IN := $(addsuffix .in, $(OPT_BASE))
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
78 OPT_INC := $(addsuffix .h, $(OPT_BASE))
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
79
4058
980308741392 [project @ 2002-09-09 02:08:28 by jwe]
jwe
parents: 4038
diff changeset
80 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
81 DAERTFunc.h DASPK.h DASRT.h DASSL.h FEGrid.h \
8306
43795cf108d0 initial implementation of fsolve
Jaroslav Hajek <highegg@gmail.com>
parents: 8303
diff changeset
82 LinConst.h LP.h LSODE.h \
43795cf108d0 initial implementation of fsolve
Jaroslav Hajek <highegg@gmail.com>
parents: 8303
diff changeset
83 ODE.h ODEFunc.h ODES.h ODESFunc.h \
5173
1278a2bc1527 [project @ 2005-03-02 01:33:37 by jwe]
jwe
parents: 5169
diff changeset
84 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
85 base-de.h base-min.h byte-swap.h cmd-edit.h cmd-hist.h \
7503
8c32f95c2639 convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents: 7466
diff changeset
86 data-conv.h dir-ops.h file-ops.h file-stat.h functor.h getopt.h \
4399
286a3345aa8e [project @ 2003-05-01 03:00:28 by jwe]
jwe
parents: 4378
diff changeset
87 glob-match.h idx-vector.h kpse-xfns.h \
8725
d5af326a3ede [mq]: sort-traits
John W. Eaton <jwe@octave.org>
parents: 8655
diff changeset
88 lo-ieee.h lo-mappers.h lo-math.h lo-specfun.h lo-sysdep.h \
d5af326a3ede [mq]: sort-traits
John W. Eaton <jwe@octave.org>
parents: 8655
diff changeset
89 lo-traits.h lo-utils.h mach-info.h md5.h oct-alloc.h oct-cmplx.h \
4906
6754342ef7ad [project @ 2004-06-23 11:11:50 by jwe]
jwe
parents: 4902
diff changeset
90 oct-env.h oct-fftw.h oct-getopt.h oct-group.h oct-inttypes.h \
8814
de16ebeef93d improve lookup, provide Array<T>::lookup
Jaroslav Hajek <highegg@gmail.com>
parents: 8800
diff changeset
91 oct-locbuf.h oct-md5.h oct-mutex.h oct-norm.h \
8385
6e9660cd3bf2 Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents: 8367
diff changeset
92 oct-passwd.h oct-rand.h oct-rl-edit.h oct-rl-hist.h oct-shlib.h \
6e9660cd3bf2 Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents: 8367
diff changeset
93 oct-sort.h oct-spparms.h oct-syscalls.h oct-sparse.h oct-time.h \
6e9660cd3bf2 Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents: 8367
diff changeset
94 oct-uname.h pathlen.h pathsearch.h prog-args.h \
7779
791231dac333 Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents: 7671
diff changeset
95 randgamma.h randmtzig.h randpoisson.h regex-match.h \
7885
f336dd8e96d0 eliminate streamoff type
John W. Eaton <jwe@octave.org>
parents: 7809
diff changeset
96 sparse-sort.h statdefs.h str-vec.h \
5506
b4cfbb0ec8c4 [project @ 2005-10-23 19:09:32 by dbateman]
dbateman
parents: 5455
diff changeset
97 sparse-util.h sun-utils.h sysdir.h systime.h syswait.h \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
98 $(MATRIX_INC)
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
99
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
100 BUILT_INCLUDES := oct-types.h mx-ops.h \
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
101 $(OPT_INC) \
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
102 $(MX_OP_INC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
103 $(VX_OP_INC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
104 $(SPARSE_MX_OP_INC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
105
8417
654bcfb937bf Add the eigs and svds functions
David Bateman <dbateman@free.fr>
parents: 8400
diff changeset
106 TEMPLATE_SRC := Array.cc ArrayN.cc eigs-base.cc DiagArray2.cc \
4850
8cc4818a0de0 [project @ 2004-04-06 17:06:34 by jwe]
jwe
parents: 4760
diff changeset
107 MArray.cc MArray2.cc MArrayN.cc MDiagArray2.cc \
8388
3cbe3054fa7e remove reference to non-existing file
Jaroslav Hajek <highegg@gmail.com>
parents: 8386
diff changeset
108 base-lu.cc oct-sort.cc sparse-base-lu.cc \
8385
6e9660cd3bf2 Ensure oct-locbuf.h is installed with the install target
David Bateman <dbateman@free.fr>
parents: 8367
diff changeset
109 sparse-base-chol.cc sparse-dmsolve.cc
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 292
diff changeset
110
2493
8ed4362aa0d6 [project @ 1996-11-11 02:35:04 by jwe]
jwe
parents: 2475
diff changeset
111 TI_SRC := Array-C.cc Array-b.cc Array-ch.cc Array-i.cc Array-d.cc \
7885
f336dd8e96d0 eliminate streamoff type
John W. Eaton <jwe@octave.org>
parents: 7809
diff changeset
112 Array-f.cc Array-fC.cc Array-s.cc Array-str.cc \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
113 Array-idx-vec.cc MArray-C.cc MArray-ch.cc MArray-i.cc MArray-d.cc \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
114 MArray-f.cc MArray-fC.cc MArray-s.cc MSparse-C.cc MSparse-d.cc \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
115 Sparse-C.cc Sparse-b.cc Sparse-d.cc oct-inttypes.cc
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
116
5781
faafc2d98b8d [project @ 2006-05-02 19:40:19 by jwe]
jwe
parents: 5765
diff changeset
117 MATRIX_SRC := Array-util.cc CColVector.cc \
4588
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
118 CDiagMatrix.cc CMatrix.cc CNDArray.cc CRowVector.cc \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
119 CmplxAEPBAL.cc CmplxCHOL.cc CmplxGEPBAL.cc CmplxHESS.cc \
4588
19bfd295f400 [project @ 2003-11-10 17:18:48 by jwe]
jwe
parents: 4547
diff changeset
120 CmplxLU.cc CmplxQR.cc CmplxQRP.cc CmplxSCHUR.cc CmplxSVD.cc \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
121 EIG.cc fEIG.cc boolMatrix.cc boolNDArray.cc chMatrix.cc \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
122 chNDArray.cc dColVector.cc dDiagMatrix.cc dMatrix.cc \
4669
334a27c8f453 [project @ 2003-11-26 07:02:42 by jwe]
jwe
parents: 4648
diff changeset
123 dNDArray.cc dRowVector.cc dbleAEPBAL.cc dbleCHOL.cc \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
124 dbleGEPBAL.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
125 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
126 MSparse.cc Sparse.cc SparseCmplxLU.cc SparsedbleLU.cc \
5610
9761b7d24e9e [project @ 2006-02-09 09:12:02 by dbateman]
dbateman
parents: 5547
diff changeset
127 SparseCmplxCHOL.cc SparsedbleCHOL.cc \
8367
445d27d79f4e support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents: 8335
diff changeset
128 SparseCmplxQR.cc SparseQR.cc MatrixType.cc PermMatrix.cc \
4902
bd043a433918 [project @ 2004-06-14 18:46:20 by jwe]
jwe
parents: 4850
diff changeset
129 int8NDArray.cc uint8NDArray.cc int16NDArray.cc uint16NDArray.cc \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
130 int32NDArray.cc uint32NDArray.cc int64NDArray.cc uint64NDArray.cc \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
131 fCColVector.cc fCRowVector.cc fCDiagMatrix.cc fCMatrix.cc fCNDArray.cc \
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
132 fColVector.cc fRowVector.cc fDiagMatrix.cc fMatrix.cc fNDArray.cc \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
133 fCmplxAEPBAL.cc fCmplxCHOL.cc fCmplxGEPBAL.cc \
7809
3af309919efc Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents: 7789
diff changeset
134 fCmplxHESS.cc fCmplxLU.cc fCmplxSCHUR.cc fCmplxSVD.cc fCmplxQR.cc \
8335
64cf956a109c templatize & fix DET
Jaroslav Hajek <highegg@gmail.com>
parents: 8306
diff changeset
135 fCmplxQRP.cc floatAEPBAL.cc floatCHOL.cc \
7809
3af309919efc Makefile fix for single precision
David Bateman <dbateman@free.fr>
parents: 7789
diff changeset
136 floatGEPBAL.cc floatHESS.cc floatLU.cc \
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7779
diff changeset
137 floatSCHUR.cc floatSVD.cc floatQR.cc floatQRP.cc
2829
6655bdca97fb [project @ 1997-03-25 23:58:24 by jwe]
jwe
parents: 2811
diff changeset
138
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
139 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
140
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
141 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
142
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
143 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
144
8400
7b6e1fc1cb90 implement obstack-like optimization of local buffers
Jaroslav Hajek <highegg@gmail.com>
parents: 8388
diff changeset
145 LIBOCTAVE_CXX_SOURCES := oct-locbuf.cc Bounds.cc CollocWt.cc DASPK.cc DASRT.cc \
8306
43795cf108d0 initial implementation of fsolve
Jaroslav Hajek <highegg@gmail.com>
parents: 8303
diff changeset
146 DASSL.cc FEGrid.cc LinConst.cc LSODE.cc ODES.cc \
3990
46388d6a4e44 [project @ 2002-07-16 06:20:39 by jwe]
jwe
parents: 3984
diff changeset
147 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
148 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
149 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
150 lo-utils.cc mach-info.cc oct-alloc.cc oct-env.cc \
8303
b11c31849b44 improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents: 7934
diff changeset
151 oct-fftw.cc oct-group.cc oct-mutex.cc oct-md5.cc \
b11c31849b44 improve norm computation capabilities
Jaroslav Hajek <highegg@gmail.com>
parents: 7934
diff changeset
152 oct-norm.cc oct-passwd.cc oct-rand.cc \
6375
5fced7a5eee8 [project @ 2007-03-01 17:23:39 by dbateman]
dbateman
parents: 6366
diff changeset
153 oct-shlib.cc oct-spparms.cc oct-syscalls.cc oct-time.cc oct-uname.cc \
7779
791231dac333 Add regexp matching to Fwho and Fclear
David Bateman <dbateman@free.fr>
parents: 7671
diff changeset
154 prog-args.cc regex-match.cc \
7885
f336dd8e96d0 eliminate streamoff type
John W. Eaton <jwe@octave.org>
parents: 7809
diff changeset
155 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
156 $(TI_SRC) \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
157 $(MATRIX_SRC)
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
158
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
159 BUILT_LIBOCTAVE_CXX_SOURCES := \
3582
a93683ccc9ba [project @ 2000-02-05 10:00:49 by jwe]
jwe
parents: 3519
diff changeset
160 $(MX_OP_SRC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
161 $(VX_OP_SRC) \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
162 $(SPARSE_MX_OP_SRC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
163
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
164 LIBOCTAVE_C_SOURCES := f2c-main.c filemode.c getopt.c getopt1.c \
6375
5fced7a5eee8 [project @ 2007-03-01 17:23:39 by dbateman]
dbateman
parents: 6366
diff changeset
165 lo-cieee.c lo-cutils.c md5.c mkdir.c oct-getopt.c \
5730
109fdf7b3dcb [project @ 2006-04-03 19:18:26 by jwe]
jwe
parents: 5681
diff changeset
166 randgamma.c randmtzig.c randpoisson.c rename.c \
6111
ed81d74118bb [project @ 2006-10-27 02:43:23 by jwe]
jwe
parents: 6087
diff changeset
167 rmdir.c strftime.c strptime.c strcasecmp.c strncase.c \
6375
5fced7a5eee8 [project @ 2007-03-01 17:23:39 by dbateman]
dbateman
parents: 6366
diff changeset
168 tempname.c tempnam.c
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
169
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
170 LIBOCTAVE_SOURCES := $(LIBOCTAVE_CXX_SOURCES) $(BUILT_LIBOCTAVE_CXX_SOURCES) \
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
171 $(LIBOCTAVE_C_SOURCES)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
172
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
173 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
174
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
175 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
176
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
177 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
178
4399
286a3345aa8e [project @ 2003-05-01 03:00:28 by jwe]
jwe
parents: 4378
diff changeset
179 LIBOCT_PATHSEARCH_CXX_SOURCES := pathsearch.cc
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
180
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
181 LIBOCT_PATHSEARCH_C_SOURCES := kpse-xfns.c
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
182
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
183 LIBOCT_PATHSEARCH_SOURCES := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
184 $(LIBOCT_PATHSEARCH_C_SOURCES) $(LIBOCT_PATHSEARCH_CXX_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
185
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
186 SOURCES := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
187 $(LIBOCTAVE_SOURCES) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
188 $(LIBOCT_READLINE_SOURCES) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
189 $(LIBOCT_PATHSEARCH_SOURCES)
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
190
4946
48a39e2b2ab7 [project @ 2004-08-31 17:27:04 by jwe]
jwe
parents: 4906
diff changeset
191 EXTRAS := mx-inlines.cc kpse.cc intNDArray.cc
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
192
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
193 INCLUDES_FOR_INSTALL := $(INCLUDES) $(BUILT_INCLUDES) $(TEMPLATE_SRC) $(EXTRAS)
2941
b779a5b8aed4 [project @ 1997-05-08 02:14:34 by jwe]
jwe
parents: 2938
diff changeset
194
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
195 DISTFILES := $(addprefix $(srcdir)/, Makefile.in ChangeLog mk-ops.awk \
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
196 mx-ops vx-ops sparse-mk-ops.awk sparse-mx-ops oct-types.h.in \
8800
19a3769fe716 liboctave/Makefile.in: don't compile TEMPLATE_SRC files
John W. Eaton <jwe@octave.org>
parents: 8774
diff changeset
197 $(TEMPLATE_SRC) \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
198 $(LIBOCTAVE_CXX_SOURCES) \
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
199 $(LIBOCT_READLINE_SOURCES) \
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
200 $(LIBOCT_PATHSEARCH_SOURCES) \
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
201 $(LIBOCTAVE_C_SOURCES) \
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
202 $(INCLUDES) $(EXTRAS) $(OPT_IN)) \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
203 $(BUILT_LIBOCTAVE_CXX_SOURCES) $(BUILT_INCLUDES)
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
204
5451
ed08548b9054 [project @ 2005-09-15 19:52:50 by jwe]
jwe
parents: 5330
diff changeset
205 MAKEDEPS_1 := $(patsubst %.cc, %.d, $(SOURCES))
1767
6d9270b4fad8 [project @ 1996-01-23 06:42:26 by jwe]
jwe
parents: 1758
diff changeset
206 MAKEDEPS := $(patsubst %.c, %.d, $(MAKEDEPS_1))
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
207
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
208 LIBOCTAVE_OBJECTS := \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
209 $(LIBOCTAVE_CXX_SOURCES:.cc=.o) \
6796
59c0c3637633 [project @ 2007-07-25 15:45:04 by jwe]
jwe
parents: 6467
diff changeset
210 $(BUILT_LIBOCTAVE_CXX_SOURCES:.cc=.o) \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
211 $(LIBOCTAVE_C_SOURCES:.c=.o) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
212 $(LIBOCT_READLINE_CXX_SOURCES:.cc=.o) \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
213 $(LIBOCT_READLINE_C_SOURCES:.c=.o) \
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
214 $(LIBOCT_PATHSEARCH_CXX_SOURCES:.cc=.o) \
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
215 $(LIBOCT_PATHSEARCH_C_SOURCES:.c=.o)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
216
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
217 ifeq ($(SHARED_LIBS), true)
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
218 ifdef CXXPICFLAG
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
219 LIBOCTAVE_PICOBJ := $(addprefix pic/, $(LIBOCTAVE_OBJECTS))
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
220 else
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
221 LIBOCTAVE_PICOBJ := $(LIBOCTAVE_OBJECTS)
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
222 endif
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
223 endif
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
224
3141
292ff0bf484b [project @ 1998-02-03 08:11:07 by jwe]
jwe
parents: 3124
diff changeset
225 all: libraries
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
226 .PHONY: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
227
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5785
diff changeset
228 objects: $(LIBOCTAVE_OBJECTS)
3613
0a93682f89c8 [project @ 2000-03-17 10:58:25 by jwe]
jwe
parents: 3597
diff changeset
229
3206
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
230 stmp-pic: pic
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
231 @if [ -f stmp-pic ]; then \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
232 true; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
233 else \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
234 echo "touch stmp-pic"; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
235 touch stmp-pic; \
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
236 fi
d0d2b69dc6c2 [project @ 1998-11-03 02:43:31 by jwe]
jwe
parents: 3185
diff changeset
237
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
238 pic:
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
239 @if [ -d pic ]; then \
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
240 true; \
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2316
diff changeset
241 else \
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
242 echo "mkdir pic"; \
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
243 mkdir pic; \
2358
b3d7a8e3bcc7 [project @ 1996-08-21 03:11:55 by jwe]
jwe
parents: 2316
diff changeset
244 fi
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
245
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
246 PREREQ := $(OPT_INC) $(VX_OP_INC) $(VX_OP_SRC) \
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
247 $(MX_OP_INC) $(MX_OP_SRC) mx-ops.h \
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
248 $(SPARSE_MX_OP_INC) $(SPARSE_MX_OP_SRC)
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
249
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
250 ifeq ($(SHARED_LIBS), true)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
251 ifeq ($(STATIC_LIBS), true)
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
252 LIBRARIES = $(LIBPRE)octave.$(LIBEXT) $(SHLLIBPRE)octave.$(SHLEXT_VER)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
253 else
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
254 LIBRARIES = $(SHLLIBPRE)octave.$(SHLEXT_VER)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
255 endif
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
256 else
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
257 ifeq ($(STATIC_LIBS), true)
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
258 LIBRARIES = $(LIBPRE)octave.$(LIBEXT)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
259 else
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
260 LIBRARIES =
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
261 endif
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
262 endif
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
263
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
264 libraries: $(LIBRARIES)
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
265 .PHONY: libraries
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
266
6051
583c98eeeae2 [project @ 2006-10-13 18:11:26 by jwe]
jwe
parents: 5915
diff changeset
267 $(LIBPRE)octave.$(LIBEXT): $(LIBOCTAVE_OBJECTS)
3615
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
268 rm -f $@
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
269 $(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $(LIBOCTAVE_OBJECTS)
3615
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
270 $(RANLIB) $@
c3b1f34a4748 [project @ 2000-03-21 08:19:19 by jwe]
jwe
parents: 3613
diff changeset
271
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
272 $(SHLLIBPRE)octave.$(SHLEXT_VER): $(SHLLIBPRE)octave.$(SHLEXT)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
273 rm -f $@
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
274 $(LN_S) $< $@
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
275
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
276 $(SHLLIBPRE)octave.$(SHLEXT): $(LIBOCTAVE_PICOBJ)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
277 rm -f $@
4229
40153a2affd6 [project @ 2002-12-18 20:37:32 by jwe]
jwe
parents: 4228
diff changeset
278 $(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ \
4378
7d48a8fba1d4 [project @ 2003-04-19 00:03:47 by jwe]
jwe
parents: 4307
diff changeset
279 $(LIBOCTAVE_PICOBJ) $(LINK_DEPS)
3857
f7c7ecb63a7e [project @ 2001-11-07 05:36:34 by jwe]
jwe
parents: 3827
diff changeset
280
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
281 $(LIBOCTAVE_PICOBJ): stmp-pic
1773
5215571ea783 [project @ 1996-01-23 08:10:26 by jwe]
jwe
parents: 1767
diff changeset
282
7466
49d462292af4 omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents: 7449
diff changeset
283 ifndef omit_deps
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
284 $(MAKEDEPS): $(PREREQ)
7466
49d462292af4 omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents: 7449
diff changeset
285 endif
7448
d21150a19f80 [project @ 2008-02-05 23:11:19 by jwe]
jwe
parents: 7231
diff changeset
286
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
287 check: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
288 .PHONY: check
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
289
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
290 install: install-lib install-inc
2128
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
291 .PHONY: install
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
292
2811
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
293 install-strip:
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
294 $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
295 .PHONY: install-strip
1dd37f97364a [project @ 1997-03-12 23:06:13 by jwe]
jwe
parents: 2686
diff changeset
296
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
297 install-lib:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
298 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir)
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
299 if $(STATIC_LIBS); then \
6051
583c98eeeae2 [project @ 2006-10-13 18:11:26 by jwe]
jwe
parents: 5915
diff changeset
300 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(LIBEXT); \
583c98eeeae2 [project @ 2006-10-13 18:11:26 by jwe]
jwe
parents: 5915
diff changeset
301 $(INSTALL_DATA) $(LIBPRE)octave.$(LIBEXT) \
583c98eeeae2 [project @ 2006-10-13 18:11:26 by jwe]
jwe
parents: 5915
diff changeset
302 $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(LIBEXT); \
583c98eeeae2 [project @ 2006-10-13 18:11:26 by jwe]
jwe
parents: 5915
diff changeset
303 $(RANLIB) $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(LIBEXT); \
3034
ad0e94b6784c [project @ 1997-06-05 21:25:53 by jwe]
jwe
parents: 3029
diff changeset
304 fi
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
305 if $(SHARED_LIBS); then \
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
306 rm -f $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octave.$(SHLLIB_VER); \
4480
b96f2c55d5a3 [project @ 2003-07-31 14:46:50 by jwe]
jwe
parents: 4473
diff changeset
307 $(INSTALL) \
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
308 $(SHLLIBPRE)octave.$(SHLLIB) $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octave.$(SHLLIB_VER); \
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
309 rm -f $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octave.$(SHLLIB); \
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
310 (cd $(DESTDIR)$(octlibdir) ; $(LN_S) $(SHLLIBPRE)octave.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octave.$(SHLLIB)); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
311 if test x$(SHLBIN) != x ; then \
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
312 rm -f $(DESTDIR)$(bindir)/$(SHLBINPRE)octave.$(SHLBIN); \
4473
32ac2bea0185 [project @ 2003-07-29 23:05:32 by jwe]
jwe
parents: 4472
diff changeset
313 $(INSTALL_PROGRAM) \
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
314 $(SHLBINPRE)octave.$(SHLBIN) $(DESTDIR)$(bindir)/$(SHLBINPRE)octave.$(SHLBIN); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
315 fi; \
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
316 fi
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
317 .PHONY: install-lib
2128
53db3b9399f0 [project @ 1996-05-13 01:49:42 by jwe]
jwe
parents: 2055
diff changeset
318
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
319 install-inc:
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
320 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octincludedir)/octave
3029
9ce32027e269 [project @ 1997-06-05 06:39:06 by jwe]
jwe
parents: 2993
diff changeset
321 for f in $(INCLUDES_FOR_INSTALL); do \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
322 rm -f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
323 if [ -f $$f ]; then \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
324 $(INSTALL_DATA) $$f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
325 else \
4413
2de7c7452a1e [project @ 2003-05-14 22:27:43 by jwe]
jwe
parents: 4399
diff changeset
326 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(octincludedir)/octave/$$f; \
4103
677c5f3a15be [project @ 2002-10-14 21:20:48 by jwe]
jwe
parents: 4102
diff changeset
327 fi ; \
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
328 done
2129
5a87c7443fdb [project @ 1996-05-13 01:53:40 by jwe]
jwe
parents: 2128
diff changeset
329 .PHONY: install-inc
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
330
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
331 uninstall:
6051
583c98eeeae2 [project @ 2006-10-13 18:11:26 by jwe]
jwe
parents: 5915
diff changeset
332 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octave.$(LIBEXT)
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
333 rm -f $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octave.$(SHLLIB)
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
334 rm -f $(DESTDIR)$(octlibdir)/$(SHLLIBPRE)octave.$(SHLLIB_VER)
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
335 if test x$(SHLBIN) != x; then \
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
336 rm -f $(DESTDIR)$(bindir)/$(SHLBINPRE)octave.$(SHLBIN); \
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
337 rm -f $(DESTDIR)$(bindir)/$(SHLBINPRE)octave.$(SHLBIN_VER); \
4102
cbac6756967e [project @ 2002-10-14 20:16:44 by jwe]
jwe
parents: 4072
diff changeset
338 fi
6366
06f26e174fc9 [project @ 2007-02-28 19:16:49 by jwe]
jwe
parents: 6358
diff changeset
339 for f in $(INCLUDES_FOR_INSTALL); do rm -f $(DESTDIR)$(octincludedir)/octave/$$f; done
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
340 .PHONY: uninstall
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
341
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
342 tags: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
343 ctags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
344
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
345 TAGS: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
346 etags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
347
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
348 clean:
8618
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
349 rm -f $(LIBPRE)octave.$(LIBEXT)
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
350 rm -f $(SHLLIBPRE)octave.$(SHLEXT_VER) $(SHLLIBPRE)octave.$(SHLEXT)
f8b3ece45bda use separate prefix for shllib and shlbin files
John W. Eaton <jwe@octave.org>
parents: 8607
diff changeset
351 rm -f $(SHLBINPRE)octave.$(SHLBIN_VER) $(SHLBINPRE)octave.$(SHLBIN)
5866
f9ac7ebf0e19 [project @ 2006-06-28 16:05:22 by jwe]
jwe
parents: 5785
diff changeset
352 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
353 -rmdir pic
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
354 .PHONY: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
355
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
356 mostlyclean: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
357 .PHONY: mostlyclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
358
8873
e258715b2e78 fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents: 8814
diff changeset
359 distclean maintainer-clean: clean
e258715b2e78 fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents: 8814
diff changeset
360 rm -f tags TAGS
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
361 rm -f Makefile so_locations oct-types.h $(PREREQ)
8873
e258715b2e78 fixes for clean targets in Makefiles
John W. Eaton <jwe@octave.org>
parents: 8814
diff changeset
362 .PHONY: distclean maintainer-clean
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
363
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
364 dist: $(PREREQ)
6467
a84de7048629 [project @ 2007-03-27 16:05:15 by jwe]
jwe
parents: 6375
diff changeset
365 ln $(DISTFILES) ../`cat ../.fname`/liboctave
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
366 .PHONY: dist
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
367
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
368 $(OPT_INC) : %.h : %.in $(top_srcdir)/mk-opts.pl
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
369 @echo making $@ from $<
4014
8eaf7182d48a [project @ 2002-08-01 20:55:57 by jwe]
jwe
parents: 3998
diff changeset
370 @perl $(top_srcdir)/mk-opts.pl --opt-class-header $< > $@-t
7449
3184b36b03de [project @ 2008-02-06 08:27:00 by jwe]
jwe
parents: 7448
diff changeset
371 @mv $@-t $@
3998
f6df65db67f9 [project @ 2002-07-24 18:10:39 by jwe]
jwe
parents: 3990
diff changeset
372
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
373 $(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
374 $(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
375
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
376 $(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
377 $(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
378
5164
57077d0ddc8e [project @ 2005-02-25 19:55:24 by jwe]
jwe
parents: 5072
diff changeset
379 $(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
380 $(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
381
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
382 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
383 $(AWK) -f $(srcdir)/mk-ops.awk prefix=mx make_inclusive_header=mx-ops.h $(srcdir)/mx-ops > $@-t
6152
2eb0723b4fad [project @ 2006-11-11 19:07:17 by jwe]
jwe
parents: 6137
diff changeset
384 $(simple-move-if-change-rule)
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
385
7448
d21150a19f80 [project @ 2008-02-05 23:11:19 by jwe]
jwe
parents: 7231
diff changeset
386 ifdef omit_deps
d21150a19f80 [project @ 2008-02-05 23:11:19 by jwe]
jwe
parents: 7231
diff changeset
387 .PHONY: $(MAKEDEPS)
d21150a19f80 [project @ 2008-02-05 23:11:19 by jwe]
jwe
parents: 7231
diff changeset
388 endif
4544
74c92e375b54 [project @ 2003-10-23 23:48:29 by jwe]
jwe
parents: 4523
diff changeset
389
7448
d21150a19f80 [project @ 2008-02-05 23:11:19 by jwe]
jwe
parents: 7231
diff changeset
390 -include $(MAKEDEPS)