Mercurial > octave-nkf
annotate src/Makefile.in @ 7874:e3a502930e2a
eliminate src/graphics subdirectory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Jun 2008 18:00:37 -0400 |
parents | 5861b95e9879 |
children | f336dd8e96d0 |
rev | line source |
---|---|
2 | 1 # Makefile for octave's src directory |
2 # | |
7017 | 3 # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
4 # 2002, 2003, 2004, 2005, 2006, 2007 John W. Eaton | |
5 # | |
7016 | 6 # This file is part of Octave. |
7 # | |
8 # Octave is free software; you can redistribute it and/or modify it | |
9 # under the terms of the GNU General Public License as published by the | |
10 # Free Software Foundation; either version 3 of the License, or (at | |
11 # your option) any later version. | |
12 # | |
13 # Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 # for more details. | |
17 # | |
18 # You should have received a copy of the GNU General Public License | |
19 # along with Octave; see the file COPYING. If not, see | |
20 # <http://www.gnu.org/licenses/>. | |
2 | 21 |
22 TOPDIR = .. | |
23 | |
411 | 24 srcdir = @srcdir@ |
25 top_srcdir = @top_srcdir@ | |
2930 | 26 VPATH = @srcdir@:@srcdir@/DLD-FUNCTIONS:@srcdir@/OPERATORS:@srcdir@/TEMPLATE-INST |
2 | 27 |
411 | 28 include $(TOPDIR)/Makeconf |
2 | 29 |
6137 | 30 DLL_CDEFS = @OCTINTERP_DLL_DEFS@ |
31 DLL_CXXDEFS = @OCTINTERP_DLL_DEFS@ | |
6087 | 32 |
651 | 33 INSTALL = @INSTALL@ |
34 INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
35 INSTALL_DATA = @INSTALL_DATA@ | |
36 | |
2633 | 37 PT_FLAGS = -fexternal-templates -fno-implicit-templates |
38 CXXFLAGS_NO_PT_FLAGS = $(filter-out $(PT_FLAGS), $(ALL_CXXFLAGS)) | |
603 | 39 |
2390 | 40 %.df : %.cc |
529 | 41 @echo making $@ from $< |
6218 | 42 @(echo "// DO NOT EDIT! Generated automatically by mkdefs." ; \ |
43 egrep '^(///*|/\*) *PKG_ADD:' $< ; \ | |
5534 | 44 $(CXXCPP) $(CPPFLAGS) $(CXXFLAGS_NO_PT_FLAGS) -DMAKE_BUILTINS $< \ |
45 | $(srcdir)/mkdefs) > $@-t | |
6603 | 46 @mv $@-t $@ |
1684 | 47 |
48 # How to make a .oct file from a .o file: | |
529 | 49 |
4128 | 50 ifeq ($(ENABLE_DYNAMIC_LINKING), true) |
2358 | 51 ifdef CXXPICFLAG |
4139 | 52 %.oct : pic/%.o octave$(EXEEXT) |
4759 | 53 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) |
2358 | 54 else |
4139 | 55 %.oct : %.o octave$(EXEEXT) |
4759 | 56 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) |
2358 | 57 endif |
1684 | 58 endif |
59 | |
7449 | 60 OPT_BASE := $(addsuffix -opts, DASPK DASRT DASSL LSODE NLEqn Quad) |
61 OPT_HANDLERS := $(addsuffix .cc, $(OPT_BASE)) | |
62 OPT_IN := $(addprefix ../liboctave/, $(addsuffix .in, $(OPT_BASE))) | |
63 OPT_INC := $(addprefix ../liboctave/, $(addsuffix .h, $(OPT_BASE))) | |
3998 | 64 |
7619 | 65 DLD_XSRC := amd.cc balance.cc besselj.cc betainc.cc bsxfun.cc cellfun.cc \ |
66 chol.cc ccolamd.cc colamd.cc colloc.cc conv2.cc convhulln.cc daspk.cc \ | |
7580
b4aa9ef3d3ef
Port dlmread, dlmwrite, csvread and csvwrite from octave-forge
David Bateman <dbateman@free.fr>
parents:
7515
diff
changeset
|
67 dasrt.cc dassl.cc det.cc dispatch.cc dlmread.cc dmperm.cc eig.cc \ |
7874
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
68 expm.cc fft.cc fft2.cc fftn.cc fftw.cc filter.cc find.cc \ |
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
69 fltk_backend.cc fsolve.cc \ |
5819 | 70 gammainc.cc gcd.cc getgrent.cc getpwent.cc getrusage.cc \ |
7671
4fbaba9abec1
implement compiled binary lookup
Jaroslav Hajek <highegg@gmail.com>
parents:
7662
diff
changeset
|
71 givens.cc hess.cc hex2num.cc inv.cc kron.cc lookup.cc lsode.cc \ |
7662 | 72 lu.cc luinc.cc matrix_type.cc max.cc md5sum.cc pinv.cc qr.cc \ |
7788 | 73 quad.cc qz.cc rand.cc rcond.cc regexp.cc schur.cc sparse.cc \ |
7515
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
74 spparms.cc sqrtm.cc svd.cc syl.cc symrcm.cc symbfact.cc \ |
f3c00dc0912b
Eliminate the rest of the dispatched sparse functions
David Bateman <dbateman@free.fr>
parents:
7505
diff
changeset
|
75 time.cc tsearch.cc typecast.cc \ |
6868 | 76 urlwrite.cc __contourc__.cc __delaunayn__.cc __dsearchn__.cc \ |
7358 | 77 __glpk__.cc __lin_interpn__.cc __pchip_deriv__.cc \ |
7640 | 78 __qp__.cc __voronoi__.cc __convn__.cc |
529 | 79 |
2930 | 80 DLD_SRC := $(addprefix DLD-FUNCTIONS/, $(DLD_XSRC)) |
81 | |
5102 | 82 DLD_OBJ_1 := $(patsubst %.l, %.o, $(DLD_XSRC)) |
83 DLD_OBJ := $(patsubst %.cc, %.o, $(DLD_OBJ_1)) | |
2 | 84 |
4128 | 85 ifeq ($(ENABLE_DYNAMIC_LINKING), true) |
1684 | 86 OCT_FILES := $(patsubst %.o, %.oct, $(DLD_OBJ)) |
87 ifdef CXXPICFLAG | |
88 DLD_PICOBJ := $(addprefix pic/, $(DLD_OBJ)) | |
89 else | |
90 DLD_PICOBJ := $(DLD_OBJ) | |
91 endif | |
92 else | |
93 DLD_STATIC_OBJ := $(DLD_OBJ) | |
94 endif | |
95 | |
4901 | 96 OV_INTTYPE_INC := ov-base-int.h ov-int-traits.h ov-intx.h \ |
97 ov-int8.h ov-int16.h ov-int32.h ov-int64.h \ | |
98 ov-uint8.h ov-uint16.h ov-uint32.h ov-uint64.h | |
99 | |
3977 | 100 OV_INCLUDES := ov-re-mat.h ov-cx-mat.h ov-ch-mat.h ov-cs-list.h ov-list.h \ |
5848 | 101 ov-struct.h ov-scalar.h ov-range.h ov-complex.h \ |
3223 | 102 ov-colon.h ov-base.h ov-base-mat.h ov-base-scalar.h \ |
4643 | 103 ov-streamoff.h ov-str-mat.h ov-bool-mat.h ov-bool.h \ |
5353 | 104 ov-cell.h ov.h ov-fcn.h ov-builtin.h ov-dld-fcn.h \ |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7466
diff
changeset
|
105 ov-mex-fcn.h ov-usr-fcn.h ov-fcn-handle.h \ |
7336 | 106 ov-fcn-inline.h ov-class.h ov-typeinfo.h ov-type-conv.h \ |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
107 ov-flt-re-mat.h ov-flt-cx-mat.h ov-float.h ov-flt-complex.h \ |
4901 | 108 $(OV_INTTYPE_INC) |
2930 | 109 |
5164 | 110 OV_SPARSE_INCLUDES := \ |
111 ov-base-sparse.h ov-bool-sparse.h ov-cx-sparse.h ov-re-sparse.h | |
112 | |
2993 | 113 PT_INCLUDES := pt.h pt-all.h pt-arg-list.h pt-assign.h pt-binop.h \ |
7800
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
114 pt-bp.h pt-cbinop.h pt-cell.h pt-check.h pt-cmd.h pt-colon.h \ |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
115 pt-const.h pt-decl.h pt-except.h pt-exp.h pt-fcn-handle.h \ |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
116 pt-id.h pt-idx.h pt-jump.h pt-loop.h pt-mat.h pt-misc.h \ |
3770 | 117 pt-pr-code.h pt-select.h pt-stmt.h pt-unop.h pt-walk.h \ |
2 | 118 |
7258 | 119 INCLUDES := Cell.h base-list.h builtins.h c-file-ptr-stream.h \ |
120 comment-list.h debug.h defun-dld.h defun-int.h defun.h \ | |
7874
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
121 dirfns.h dynamic-ld.h error.h file-io.h gl-render.h \ |
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
122 gripes.h help.h input.h lex.h load-path.h load-save.h ls-hdf5.h \ |
7258 | 123 ls-mat-ascii.h ls-mat4.h ls-mat5.h ls-oct-ascii.h \ |
124 ls-oct-binary.h ls-utils.h mex.h mexproto.h oct-errno.h \ | |
125 oct-fstrm.h oct-hist.h oct-iostrm.h oct-map.h oct-obj.h \ | |
126 oct-prcstrm.h oct-procbuf.h oct-stdstrm.h oct-stream.h \ | |
127 zfstream.h oct-strstrm.h oct-lvalue.h oct.h octave.h ops.h \ | |
128 pager.h parse.h pr-output.h procstream.h sighandlers.h \ | |
129 siglist.h sparse-xdiv.h sparse-xpow.h symtab.h sysdep.h \ | |
130 token.h toplev.h unwind-prot.h utils.h variables.h \ | |
131 version.h xdiv.h xpow.h \ | |
5164 | 132 $(OV_INCLUDES) \ |
133 $(PT_INCLUDES) \ | |
134 $(OV_SPARSE_INCLUDES) | |
759 | 135 |
7336 | 136 TI_XSRC := Array-os.cc Array-tc.cc |
1684 | 137 |
2930 | 138 TI_SRC := $(addprefix TEMPLATE-INST/, $(TI_XSRC)) |
139 | |
5075 | 140 INTTYPE_OP_XSRC := op-int-concat.cc op-int-conv.cc op-double-conv.cc \ |
4901 | 141 op-i8-i8.cc op-i16-i16.cc op-i32-i32.cc op-i64-i64.cc \ |
142 op-ui8-ui8.cc op-ui16-ui16.cc op-ui32-ui32.cc op-ui64-ui64.cc | |
143 | |
5164 | 144 SPARSE_OP_XSRC := op-bm-sbm.cc op-b-sbm.cc op-cm-scm.cc op-cm-sm.cc \ |
5353 | 145 op-cs-scm.cc op-cs-sm.cc op-m-scm.cc op-m-sm.cc op-sbm-b.cc \ |
146 op-sbm-bm.cc op-sbm-sbm.cc op-scm-cm.cc op-scm-cs.cc op-scm-m.cc \ | |
5164 | 147 op-scm-s.cc op-scm-scm.cc op-scm-sm.cc op-sm-cm.cc \ |
148 op-sm-cs.cc op-sm-m.cc op-sm-s.cc op-sm-scm.cc op-sm-sm.cc \ | |
149 op-s-scm.cc op-s-sm.cc | |
150 | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
151 DOUBLE_OP_XSRC := op-cm-cm.cc op-cm-cs.cc op-cm-m.cc \ |
3928 | 152 op-cm-s.cc op-cs-cm.cc op-cs-cs.cc op-cs-m.cc \ |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
153 op-cs-s.cc op-m-cm.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
154 op-m-cs.cc op-m-m.cc op-m-s.cc op-s-cm.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
155 op-s-cs.cc op-s-m.cc op-s-s.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
156 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
157 FLOAT_OP_XSRC := op-fcm-fcm.cc op-fcm-fcs.cc op-fcm-fm.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
158 op-fcm-fs.cc op-fcs-fcm.cc op-fcs-fcs.cc op-fcs-fm.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
159 op-fcs-fs.cc op-fm-fcm.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
160 op-fm-fcs.cc op-fm-fm.cc op-fm-fs.cc op-fs-fcm.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
161 op-fs-fcs.cc op-fs-fm.cc op-fs-fs.cc |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
162 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
163 OP_XSRC := op-b-b.cc op-b-bm.cc op-bm-b.cc op-bm-bm.cc op-cell.cc \ |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
164 op-chm.cc op-class.cc op-list.cc op-range.cc op-str-m.cc \ |
4936 | 165 op-str-s.cc op-str-str.cc op-streamoff.cc op-struct.cc \ |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
166 $(DOUBLE_OP_XSRC) $(FLOAT_OP_XSRC) $(INTTYPE_OP_XSRC) \ |
5164 | 167 $(SPARSE_OP_XSRC) |
2916 | 168 |
2930 | 169 OP_SRC := $(addprefix OPERATORS/, $(OP_XSRC)) |
170 | |
4960 | 171 OP_INCLUDES := OPERATORS/op-int.h |
172 | |
4931 | 173 OV_INTTYPE_SRC := \ |
4901 | 174 ov-int8.cc ov-int16.cc ov-int32.cc ov-int64.cc \ |
175 ov-uint8.cc ov-uint16.cc ov-uint32.cc ov-uint64.cc | |
176 | |
5164 | 177 OV_SPARSE_SRC := \ |
178 ov-base-sparse.cc ov-bool-sparse.cc ov-cx-sparse.cc ov-re-sparse.cc | |
179 | |
5113 | 180 OV_SRC := ov-base.cc ov-ch-mat.cc \ |
3977 | 181 ov-cs-list.cc ov-list.cc ov-re-mat.cc ov-cx-mat.cc \ |
4643 | 182 ov-range.cc ov-scalar.cc ov-complex.cc ov-str-mat.cc \ |
5848 | 183 ov-streamoff.cc ov-struct.cc \ |
5353 | 184 ov-colon.cc ov-bool-mat.cc ov-bool.cc ov-cell.cc \ |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7466
diff
changeset
|
185 ov.cc ov-fcn.cc ov-builtin.cc ov-dld-fcn.cc \ |
5864 | 186 ov-mex-fcn.cc ov-usr-fcn.cc ov-fcn-handle.cc ov-fcn-inline.cc \ |
7336 | 187 ov-class.cc ov-typeinfo.cc \ |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7788
diff
changeset
|
188 ov-flt-re-mat.cc ov-flt-cx-mat.cc ov-float.cc ov-flt-complex.cc \ |
5164 | 189 $(OV_INTTYPE_SRC) \ |
190 $(OV_SPARSE_SRC) | |
2930 | 191 |
4342 | 192 PT_SRC := pt.cc pt-arg-list.cc pt-assign.cc pt-bp.cc pt-binop.cc \ |
7800
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
193 pt-cbinop.cc pt-cell.cc pt-check.cc pt-cmd.cc pt-colon.cc \ |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
194 pt-const.cc pt-decl.cc pt-except.cc pt-exp.cc pt-fcn-handle.cc \ |
5861b95e9879
support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
195 pt-id.cc pt-idx.cc pt-jump.cc pt-loop.cc pt-mat.cc pt-misc.cc \ |
5102 | 196 pt-pr-code.cc pt-select.cc pt-stmt.cc pt-unop.cc |
2909 | 197 |
4906 | 198 DIST_SRC := Cell.cc bitfcns.cc c-file-ptr-stream.cc comment-list.cc \ |
4120 | 199 cutils.c data.cc debug.cc defaults.cc defun.cc dirfns.cc \ |
7874
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
200 dynamic-ld.cc error.cc file-io.cc gl-render.cc graphics.cc \ |
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
201 gripes.cc help.cc input.cc lex.l load-path.cc load-save.cc \ |
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
202 ls-hdf5.cc ls-mat-ascii.cc ls-mat4.cc ls-mat5.cc ls-oct-ascii.cc \ |
4633 | 203 ls-oct-binary.cc ls-utils.cc main.c mappers.cc matherr.c \ |
5864 | 204 mex.cc oct-fstrm.cc oct-hist.cc oct-iostrm.cc oct-map.cc \ |
5654 | 205 oct-obj.cc oct-prcstrm.cc oct-procbuf.cc oct-stream.cc \ |
206 octave.cc zfstream.cc oct-strstrm.cc oct-lvalue.cc pager.cc \ | |
4633 | 207 parse.y pr-output.cc procstream.cc sighandlers.cc \ |
6111 | 208 siglist.c sparse-xdiv.cc sparse-xpow.cc strfns.cc \ |
7336 | 209 syscalls.cc symtab.cc sysdep.cc token.cc toplev.cc \ |
6111 | 210 unwind-prot.cc utils.cc variables.cc xdiv.cc xpow.cc \ |
3546 | 211 $(OV_SRC) \ |
212 $(PT_SRC) | |
3053 | 213 |
214 SOURCES := $(DIST_SRC) $(OP_SRC) $(TI_SRC) | |
759 | 215 |
6874 | 216 BUILT_EXTRAS := graphics.h mxarray.h |
6796 | 217 |
218 EXTRAS := ov-base-int.cc ov-base-mat.cc ov-base-scalar.cc | |
4931 | 219 |
5465 | 220 EXTRA_OBJECTS := oct-errno.o octave.o builtins.o ops.o |
221 | |
6796 | 222 INCLUDES_FOR_INSTALL := $(INCLUDES) $(EXTRAS) $(BUILT_EXTRAS) |
4931 | 223 |
2930 | 224 OBJECTS_4 := $(notdir $(SOURCES)) |
759 | 225 OBJECTS_3 := $(patsubst %.l, %.o, $(OBJECTS_4)) |
226 OBJECTS_2 := $(patsubst %.y, %.o, $(OBJECTS_3)) | |
227 OBJECTS_1 := $(patsubst %.c, %.o, $(OBJECTS_2)) | |
5465 | 228 OBJECTS := $(patsubst %.cc, %.o, $(OBJECTS_1)) $(EXTRA_OBJECTS) |
529 | 229 |
1684 | 230 ifeq ($(SHARED_LIBS), true) |
231 ifdef CXXPICFLAG | |
232 PICOBJ := $(addprefix pic/, $(OBJECTS)) | |
233 else | |
234 PICOBJ := $(OBJECTS) | |
235 endif | |
236 endif | |
237 | |
529 | 238 # Ugh. |
239 | |
6011 | 240 DEP_5 := $(SOURCES) $(DLD_SRC) builtins.cc oct-errno.cc ops.cc main.c |
2930 | 241 DEP_4 := $(notdir $(DEP_5)) |
2907 | 242 DEP_3 := $(patsubst %.l, %.cc, $(DEP_4)) |
243 DEP_2 := $(patsubst %.y, %.cc, $(DEP_3)) | |
244 DEP_1 := $(patsubst %.c, %.d, $(DEP_2)) | |
245 MAKEDEPS := $(patsubst %.cc, %.d, $(DEP_1)) | |
529 | 246 |
3233 | 247 # Some stupid egreps don't like empty elements in alternation patterns, |
248 # so we have to repeat ourselves because some stupid egreps don't like | |
249 # empty elements in alternation patterns. | |
250 | |
7503
8c32f95c2639
convert mapper functions to new format
David Bateman <dbateman@free.fr>
parents:
7466
diff
changeset
|
251 DEFUN_PATTERN = "^[ \t]*DEF(CONSTFUN|CMD|UN|UN_DLD|UNX_DLD|UN_TEXT)[ \t]*\\(" |
3221 | 252 |
5102 | 253 DLD_DEF_FILES_1 := $(patsubst %.l, %.df, $(DLD_XSRC)) |
254 DLD_DEF_FILES := $(patsubst %.cc, %.df, $(DLD_DEF_FILES_1)) | |
4045 | 255 |
256 DEF_4 := $(addprefix $(srcdir)/, $(SOURCES)) | |
3221 | 257 DEF_3 := $(notdir $(shell egrep -l $(DEFUN_PATTERN) $(DEF_4))) |
2907 | 258 DEF_2 := $(patsubst %.y, %.df, $(DEF_3)) |
259 DEF_1 := $(patsubst %.l, %.df, $(DEF_2)) | |
4045 | 260 DEF_FILES := $(patsubst %.cc, %.df, $(DEF_1)) $(DLD_DEF_FILES) |
2907 | 261 |
5794 | 262 DOC_FILES := $(sort $(DEF_FILES)) |
3295 | 263 |
3156 | 264 OCTAVE_LFLAGS = -L$(TOPDIR)/liboctave -L$(TOPDIR)/libcruft \ |
265 -L$(TOPDIR)/src $(RLD_FLAG) | |
2 | 266 |
5333 | 267 ifeq ($(ENABLE_DYNAMIC_LINKING), true) |
5330 | 268 OCTAVE_LIBS = $(LIBOCTINTERP) $(LIBOCTAVE) \ |
269 $(SPECIAL_MATH_LIB) $(LIBCRUFT) \ | |
7253 | 270 $(LIBPLPLOT) $(LIBGLOB) |
5330 | 271 else |
6823 | 272 OCTAVE_LIBS = $(LIBOCTINTERP) $(LIBOCTAVE) $(QHULL_LIBS) \ |
5582 | 273 $(GLPK_LIBS) $(REGEX_LIBS) $(SPECIAL_MATH_LIB) $(LIBCRUFT) \ |
7253 | 274 $(LIBPLPLOT) $(LIBGLOB) |
5330 | 275 endif |
4038 | 276 |
4760 | 277 OCTINTERP_LINK_DEPS = \ |
4793 | 278 -L../liboctave $(LIBOCTAVE) -L../libcruft $(LIBCRUFT) $(LIBS) $(FLIBS) |
4760 | 279 |
280 OCT_LINK_DEPS = \ | |
281 -L../libcruft $(LIBCRUFT) -L../liboctave $(LIBOCTAVE) \ | |
5455 | 282 -L. $(LIBOCTINTERP) $(CHOLMOD_LIBS) $(UMFPACK_LIBS) $(AMD_LIBS) \ |
6024 | 283 $(CAMD_LIBS) $(COLAMD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) $(BLAS_LIBS) \ |
5610 | 284 $(FFTW_LIBS) $(LIBS) $(FLIBS) |
4102 | 285 |
6796 | 286 BUILT_DISTFILES = DOCSTRINGS oct-gperf.h parse.cc lex.cc y.tab.h \ |
287 $(OPT_HANDLERS) $(BUILT_EXTRAS) | |
288 | |
6909 | 289 DISTFILES = Makefile.in ChangeLog genprops.awk mkdefs mkops mkgendoc \ |
6796 | 290 mkbuiltins mk-errno-list mk-pkg-add \ |
6874 | 291 defaults.h.in graphics.h.in mxarray.h.in oct-conf.h.in \ |
292 oct-errno.cc.in octave.gperf \ | |
6796 | 293 $(INCLUDES) $(DIST_SRC) $(EXTRAS) |
2 | 294 |
5534 | 295 all: octave$(EXEEXT) $(OCT_FILES) PKG_ADD DOCSTRINGS |
2 | 296 .PHONY: all |
297 | |
3613 | 298 objects: $(OBJECTS) |
299 | |
7358 | 300 lex.o parse.o pic/lex.o pic/parse.o: \ |
5761 | 301 ALL_CXXFLAGS := $(filter-out -Wold-style-cast, $(ALL_CXXFLAGS)) |
5760 | 302 |
6080 | 303 $(DLD_PICOBJ): \ |
6137 | 304 ALL_CXXFLAGS := $(filter-out $(DLL_CXXDEFS), $(ALL_CXXFLAGS)) |
6080 | 305 |
3695 | 306 XERBLA = ../libcruft/blas-xtra/xerbla.o |
4159 | 307 ifdef FPICFLAG |
308 PIC_XERBLA = ../libcruft/blas-xtra/pic/xerbla.o | |
309 else | |
310 PIC_XERBLA = $(XERBLA) | |
311 endif | |
3695 | 312 |
3615 | 313 ifeq ($(SHARED_LIBS), true) |
314 ifeq ($(STATIC_LIBS), true) | |
6051 | 315 LIBRARIES = $(LIBPRE)octinterp.$(LIBEXT) $(LIBPRE)octinterp.$(SHLEXT_VER) |
3615 | 316 else |
6051 | 317 LIBRARIES = $(LIBPRE)octinterp.$(SHLEXT_VER) |
3615 | 318 endif |
319 else | |
320 ifeq ($(STATIC_LIBS), true) | |
6051 | 321 LIBRARIES = $(LIBPRE)octinterp.$(LIBEXT) |
3615 | 322 else |
3695 | 323 ## This is not going to work, but hey, you asked for it... |
3615 | 324 LIBRARIES = |
325 endif | |
326 endif | |
327 | |
328 libraries: $(LIBRARIES) | |
329 .PHONY: libraries | |
330 | |
6051 | 331 $(LIBPRE)octinterp.$(LIBEXT): $(OBJECTS) $(XERBLA) |
3615 | 332 rm -f $@ |
3775 | 333 $(TEMPLATE_AR) $(TEMPLATE_ARFLAGS) $@ $^ |
3615 | 334 $(RANLIB) $@ |
335 | |
6051 | 336 $(LIBPRE)octinterp.$(SHLEXT_VER): $(LIBPRE)octinterp.$(SHLEXT) |
3615 | 337 rm -f $@ |
338 $(LN_S) $< $@ | |
339 | |
6051 | 340 $(LIBPRE)octinterp.$(SHLEXT): $(PICOBJ) $(PIC_XERBLA) |
3615 | 341 rm -f $@ |
4102 | 342 $(SH_LD) $(SH_LDFLAGS) $(SONAME_FLAGS) -o $@ $^ $(OCTINTERP_LINK_DEPS) |
3615 | 343 |
7446 | 344 octave$(EXEEXT): $(LIBRARIES) main.o $(DLD_STATIC_OBJ) |
3705 | 345 $(LD_CXX) $(CPPFLAGS) $(ALL_CXXFLAGS) $(RDYNAMIC_FLAG) \ |
4098 | 346 $(ALL_LDFLAGS) -o $@ \ |
4159 | 347 main.o $(DLD_STATIC_OBJ) \ |
1684 | 348 $(OCTAVE_LFLAGS) \ |
2 | 349 $(OCTAVE_LIBS) \ |
6024 | 350 $(LEXLIB) $(UMFPACK_LIBS) $(AMD_LIBS) $(CAMD_LIBS) $(COLAMD_LIBS) \ |
5610 | 351 $(CHOLMOD_LIBS) $(CCOLAMD_LIBS) $(CXSPARSE_LIBS) $(BLAS_LIBS) \ |
7874
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
352 $(FFTW_LIBS) $(OPENGL_LIBS) $(LIBS) $(FLIBS) |
2 | 353 |
3301 | 354 stmp-pic: pic |
355 @if [ -f stmp-pic ]; then \ | |
356 true; \ | |
357 else \ | |
358 echo "touch stmp-pic"; \ | |
359 touch stmp-pic; \ | |
360 fi | |
361 | |
3029 | 362 pic: |
363 @if [ -d pic ]; then \ | |
364 true; \ | |
2358 | 365 else \ |
3029 | 366 echo "mkdir pic"; \ |
367 mkdir pic; \ | |
2358 | 368 fi |
1684 | 369 |
3301 | 370 $(PICOBJ): stmp-pic |
3141 | 371 |
529 | 372 builtins.cc: $(DEF_FILES) mkbuiltins |
2907 | 373 @echo making $@ |
374 @echo DEF_FILES = $(DEF_FILES) | |
375 @echo $(DEF_FILES) > def-files | |
5794 | 376 @$(srcdir)/mkbuiltins def-files > $@-t |
7446 | 377 @mv $@-t $@ |
529 | 378 |
6874 | 379 graphics.h: graphics.h.in genprops.awk |
380 @echo making $@ | |
7065 | 381 @$(AWK) -f $(srcdir)/genprops.awk $< > $@-t |
7446 | 382 @mv $@-t $@ |
6874 | 383 |
5534 | 384 PKG_ADD: $(DLD_DEF_FILES) |
5739 | 385 $(srcdir)/mk-pkg-add $(DLD_DEF_FILES) > $@-t |
7446 | 386 @mv $@-t $@ |
5102 | 387 |
4098 | 388 DOCSTRINGS: gendoc$(BUILD_EXEEXT) |
6519 | 389 @echo making $@ |
390 @./gendoc > $@-t | |
7446 | 391 @mv $@-t $@ |
3295 | 392 |
4002 | 393 doc-files: $(DOC_FILES) |
3295 | 394 @echo making $@ |
395 @echo DOC_FILES = $(DOC_FILES) | |
4002 | 396 @echo $(DOC_FILES) > $@-t |
6519 | 397 mv $@-t $@ |
4002 | 398 |
399 gendoc.cc: doc-files mkgendoc | |
400 @echo making $@ | |
3295 | 401 @$(srcdir)/mkgendoc doc-files > $@-t |
7446 | 402 @mv $@-t $@ |
3295 | 403 |
4098 | 404 gendoc$(BUILD_EXEEXT): gendoc.cc |
4299 | 405 $(BUILD_CXX) $(BUILD_CXXFLAGS) -o $@ $^ $(BUILD_LDFLAGS) |
3363 | 406 |
2944 | 407 ops.cc: $(OP_SRC) mkops |
408 @echo making $@ from $(OP_SRC) | |
4014 | 409 @$(srcdir)/mkops $(OP_SRC) > $@-t |
7446 | 410 @mv $@-t $@ |
2909 | 411 |
7449 | 412 PREREQ := defaults.h graphics.h oct-conf.h oct-errno.cc oct-gperf.h parse.cc lex.cc |
579 | 413 |
7449 | 414 $(DEF_FILES): $(OPT_INC) mkdefs |
4619 | 415 |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7455
diff
changeset
|
416 ifndef omit_deps |
7449 | 417 $(MAKEDEPS): $(OPT_INC) $(OPT_HANDLERS) $(PREREQ) |
7466
49d462292af4
omit more dependencies for distclean target
John W. Eaton <jwe@octave.org>
parents:
7455
diff
changeset
|
418 endif |
529 | 419 |
2 | 420 check: all |
421 .PHONY: check | |
422 | |
2130 | 423 install: install-bin install-oct install-lib install-inc |
1684 | 424 .PHONY: install |
425 | |
2811 | 426 install-strip: |
427 $(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" install | |
428 .PHONY: install-strip | |
429 | |
1684 | 430 install-bin: |
4413 | 431 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) |
432 rm -f $(DESTDIR)$(bindir)/octave$(EXEEXT) | |
433 $(INSTALL_PROGRAM) octave$(EXEEXT) $(DESTDIR)$(bindir)/octave-$(version)$(EXEEXT) | |
5451 | 434 cd $(DESTDIR)$(bindir) ; $(LN_S) octave-$(version)$(EXEEXT) octave$(EXEEXT) |
1684 | 435 .PHONY: install-bin |
436 | |
5739 | 437 install-oct: |
5244 | 438 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octfiledir) |
5739 | 439 $(INSTALL_DATA) PKG_ADD $(DESTDIR)$(octfiledir)/PKG_ADD |
2437 | 440 if [ -n "$(OCT_FILES)" ]; then \ |
3029 | 441 xfiles="$(OCT_FILES)"; \ |
442 for f in $$xfiles; do \ | |
4413 | 443 $(INSTALL_PROGRAM) $$f $(DESTDIR)$(octfiledir)/$$f; \ |
3029 | 444 done; \ |
2437 | 445 fi |
2130 | 446 .PHONY: install-oct |
447 | |
1684 | 448 install-lib: |
4413 | 449 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir) |
3034 | 450 if $(STATIC_LIBS); then \ |
6051 | 451 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(LIBEXT); \ |
452 $(INSTALL_DATA) $(LIBPRE)octinterp.$(LIBEXT) \ | |
453 $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(LIBEXT); \ | |
454 $(RANLIB) $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(LIBEXT); \ | |
3034 | 455 fi |
3029 | 456 if $(SHARED_LIBS); then \ |
6051 | 457 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(SHLEXT_VER); \ |
458 $(INSTALL) $(LIBPRE)octinterp.$(SHLLIB) \ | |
459 $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(SHLLIB_VER); \ | |
460 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(SHLLIB); \ | |
461 (cd $(DESTDIR)$(octlibdir) ; $(LN_S) $(LIBPRE)octinterp.$(SHLLIB_VER) $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(SHLLIB)); \ | |
4102 | 462 if test x$(SHLBIN) != x ; then \ |
6051 | 463 rm -f $(DESTDIR)$(bindir)/$(LIBPRE)octinterp.$(SHLBIN); \ |
4473 | 464 $(INSTALL_PROGRAM) \ |
6051 | 465 $(LIBPRE)octinterp.$(SHLBIN) $(DESTDIR)$(bindir)/$(LIBPRE)octinterp.$(SHLBIN); \ |
4102 | 466 fi; \ |
3029 | 467 fi |
1684 | 468 .PHONY: install-lib |
469 | |
2130 | 470 install-inc: |
4413 | 471 $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octincludedir)/octave |
4931 | 472 for f in $(INCLUDES_FOR_INSTALL); do \ |
4413 | 473 rm -f $(DESTDIR)$(octincludedir)/octave/$$f; \ |
6686 | 474 if [ -f $$f ]; then \ |
475 $(INSTALL_DATA) $$f $(DESTDIR)$(octincludedir)/octave/$$f; \ | |
476 else \ | |
477 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(octincludedir)/octave/$$f; \ | |
478 fi ; \ | |
2130 | 479 done |
3029 | 480 for f in defaults.h oct-conf.h oct-gperf.h; do \ |
4413 | 481 rm -f $(DESTDIR)$(octincludedir)/octave/$$f; \ |
3072 | 482 if [ -f $$f ]; then \ |
4413 | 483 $(INSTALL_DATA) $$f $(DESTDIR)$(octincludedir)/octave/$$f ; \ |
3072 | 484 else \ |
4413 | 485 $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(octincludedir)/octave/$$f ; \ |
3072 | 486 fi ; \ |
2131 | 487 done |
2639 | 488 .PHONY: install-inc |
2 | 489 |
490 uninstall: | |
4413 | 491 rm -f $(DESTDIR)$(bindir)/octave$(EXEEXT) |
6366 | 492 rm -f $(DESTDIR)$(bindir)/octave-$(version)$(EXEEXT) |
6051 | 493 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(LIBEXT) |
494 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(SHLLIB) | |
495 rm -f $(DESTDIR)$(octlibdir)/$(LIBPRE)octinterp.$(SHLLIB_VER) | |
4102 | 496 if test x$(SHLBIN) != x ; then \ |
6051 | 497 rm -f $(DESTDIR)$(bindir)/$(LIBPRE)octinterp.$(SHLBIN); \ |
498 rm -f $(DESTDIR)$(bindir)/$(LIBPRE)octinterp.$(SHLBIN_VER); \ | |
4102 | 499 fi |
6366 | 500 for f in $(INCLUDES_FOR_INSTALL) defaults.h oct-conf.h oct-gperf.h; do \ |
4413 | 501 rm -f $(DESTDIR)$(octincludedir)/octave/$$f; \ |
2161 | 502 done |
6366 | 503 if [ -n "$(OCT_FILES)" ]; then \ |
504 xfiles="$(OCT_FILES)"; \ | |
505 for f in $$xfiles; do \ | |
506 rm -f $(DESTDIR)$(octfiledir)/$$f; \ | |
507 done; \ | |
508 fi | |
509 rm -f $(DESTDIR)$(octfiledir)/PKG_ADD | |
6654 | 510 -rmdir $(DESTDIR)$(octincludedir)/octave |
511 -rmdir $(DESTDIR)$(octincludedir) | |
512 -rmdir $(DESTDIR)$(octlibdir) | |
513 -rmdir $(DESTDIR)$(octfiledir) | |
2 | 514 .PHONY: uninstall |
515 | |
2930 | 516 tags: $(SOURCES) $(DLD_SRC) |
517 ctags $(SOURCES) $(DLD_SRC) | |
2 | 518 |
2930 | 519 TAGS: $(SOURCES) $(DLD_SRC) |
520 etags $(SOURCES) $(DLD_SRC) | |
2 | 521 |
522 clean: | |
6051 | 523 rm -f $(LIBPRE)octinterp.$(LIBEXT) |
524 rm -f $(LIBPRE)octinterp.$(SHLEXT_VER) $(LIBPRE)octinterp.$(SHLEXT) | |
5866 | 525 rm -f $(OBJECTS) $(DLD_OBJ) $(MAKEDEPS) $(DOC_FILES) $(OCT_FILES) |
5307 | 526 rm -f $(PICOBJ) $(DLD_PICOBJ) stmp-pic gendoc$(EXEEXT) |
5794 | 527 rm -f builtins.cc ops.cc defaults.h oct-conf.h def-files |
5276 | 528 rm -f PKG_ADD |
3141 | 529 -rmdir pic |
2 | 530 .PHONY: clean |
531 | |
3301 | 532 mostlyclean: clean |
2 | 533 .PHONY: mostlyclean |
534 | |
535 distclean: clean | |
5527 | 536 rm -f Makefile octave$(EXEEXT) .fname so_locations oct-errno.cc |
7449 | 537 rm -f stamp-liboctave-prereq |
7363 | 538 rm -f doc-files gendoc.cc graphics.h graphics-props.cc mxarray.h DOCSTRINGS |
2 | 539 .PHONY: distclean |
540 | |
1391 | 541 maintainer-clean: distclean |
7452 | 542 rm -f tags TAGS y.tab.h y.output yy.lex.c lex.cc parse.cc |
7358 | 543 rm -f oct-gperf.h $(OPT_HANDLERS) |
1391 | 544 .PHONY: maintainer-clean |
2 | 545 |
1497 | 546 dist: parse.cc lex.cc oct-gperf.h |
6797 | 547 ln $(addprefix $(srcdir)/, $(DISTFILES)) ../`cat ../.fname`/src |
6796 | 548 ln $(BUILT_DISTFILES) ../`cat ../.fname`/src |
3053 | 549 for f in DLD-FUNCTIONS OPERATORS TEMPLATE-INST; do \ |
550 if [ -d ../`cat ../.fname`/src/$$f ]; then \ | |
551 true; \ | |
552 else \ | |
553 mkdir ../`cat ../.fname`/src/$$f; \ | |
554 fi; \ | |
555 done | |
6797 | 556 ln $(addprefix $(srcdir)/, $(DLD_SRC)) ../`cat ../.fname`/src/DLD-FUNCTIONS |
557 ln $(addprefix $(srcdir)/, $(OP_SRC)) ../`cat ../.fname`/src/OPERATORS | |
558 ln $(addprefix $(srcdir)/, $(OP_INCLUDES)) ../`cat ../.fname`/src/OPERATORS | |
559 ln $(addprefix $(srcdir)/, $(TI_SRC)) ../`cat ../.fname`/src/TEMPLATE-INST | |
643 | 560 rm -f parse.cc lex.cc y.tab.h y.output yy.lex.c |
2390 | 561 rm -f oct-gperf.h defaults.h oct-conf.h *.d *.df builtins.cc |
2 | 562 .PHONY: dist |
563 | |
1895 | 564 conf-dist: |
6797 | 565 ln $(addprefix $(srcdir)/, octave.cc Makefile.in) ../`cat ../.fname`/src |
1895 | 566 .PHONY: conf-dist |
567 | |
2 | 568 # Special rules -- these files need special things to be defined. |
569 | |
3998 | 570 $(OPT_HANDLERS) : %.cc : $(top_srcdir)/liboctave/%.in $(top_srcdir)/mk-opts.pl |
571 @echo making $@ from $< | |
5465 | 572 @$(PERL) $(top_srcdir)/mk-opts.pl --opt-handler-fcns $< > $@-t |
7446 | 573 @mv $@-t $@ |
3998 | 574 |
7454 | 575 ## We require Bison. |
2524 | 576 parse.cc : parse.y |
5296 | 577 @echo "expect 14 shift/reduce conflicts" |
7454 | 578 $(YACC) $(YFLAGS) --output=$@ --defines=y.tab.h $< |
2524 | 579 |
580 lex.cc : lex.l | |
6152 | 581 $(LEX) $(LFLAGS) $< > $(@F)-t |
7446 | 582 @mv $(@F)-t $@ |
2524 | 583 |
7449 | 584 |
585 $(OPT_INC) : %.h : %.in | |
586 $(MAKE) -C $(@D) $@ | |
587 | |
5658 | 588 ## We want to force an update of defaults.h and oct-conf.h every |
589 ## time make is run because some values may come from the command | |
590 ## line or the environment. The substitution rules use move-if-change, | |
591 ## so this should not cause trouble if the file already exists and the | |
592 ## newly generated file is not different. | |
593 | |
594 defaults.h: defaults.h.in ../Makeconf Makefile FORCE | |
2161 | 595 @$(do-subst-default-vals) |
596 | |
5658 | 597 oct-conf.h: oct-conf.h.in ../Makeconf Makefile FORCE |
2161 | 598 @$(do-subst-config-vals) |
2 | 599 |
5658 | 600 FORCE: |
601 .PHONY: FORCE | |
602 | |
5465 | 603 oct-errno.cc: oct-errno.cc.in ../Makeconf Makefile |
604 @echo "making $@ from $<" | |
5468 | 605 @if test -n "$(PERL)"; then \ |
5527 | 606 $(srcdir)/mk-errno-list --perl "$(PERL)" < $< > $@-t; \ |
5494 | 607 elif test -n "$(PYTHON)"; then \ |
5527 | 608 $(srcdir)/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \ |
5465 | 609 else \ |
5527 | 610 $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \ |
5465 | 611 fi |
7446 | 612 @mv $@-t $@ |
5465 | 613 |
1497 | 614 oct-gperf.h: octave.gperf |
1903 | 615 @echo "making $@ from $<" |
5527 | 616 @$(GPERF) -t -C -D -G -L C++ -Z octave_kw_hash $< | \ |
617 $(SED) 's,lookup\[,gperf_lookup[,' > $@-t \ | |
618 || (rm -f $@-t; exit 1) | |
7446 | 619 @mv $@-t $@ |
1497 | 620 |
5235 | 621 # How to make a .oct file from a .o file: |
622 | |
623 ifeq ($(ENABLE_DYNAMIC_LINKING), true) | |
624 ifdef CXXPICFLAG | |
6823 | 625 convhulln.oct : pic/convhulln.o octave$(EXEEXT) |
626 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) | |
627 __delaunayn__.oct : pic/__delaunayn__.o octave$(EXEEXT) | |
628 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) | |
629 __voronoi__.oct : pic/__voronoi__.o octave$(EXEEXT) | |
630 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) | |
5582 | 631 regexp.oct : pic/regexp.o octave$(EXEEXT) |
632 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(REGEX_LIBS) | |
6043 | 633 urlwrite.oct : pic/urlwrite.o octave$(EXEEXT) |
634 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(CURL_LIBS) | |
5235 | 635 __glpk__.oct : pic/__glpk__.o octave$(EXEEXT) |
636 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GLPK_LIBS) | |
7874
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
637 fltk_backend.oct : pic/fltk_backend.o octave$(EXEEXT) |
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
638 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GRAPHICS_LIBS) $(FT2_LIBS) |
5235 | 639 else |
6823 | 640 convhulln.oct : convhulln.o octave$(EXEEXT) |
641 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) | |
642 __delaunayn__.oct : __delaunayn__.o octave$(EXEEXT) | |
643 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) | |
644 __voronoi__.oct : __voronoi__.o octave$(EXEEXT) | |
645 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(QHULL_LIBS) | |
5582 | 646 regexp.oct : regexp.o octave$(EXEEXT) |
647 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(REGEX_LIBS) | |
6043 | 648 urlwrite.oct : urlwrite.o octave$(EXEEXT) |
649 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(CURL_LIBS) | |
5235 | 650 __glpk__.oct : __glpk__.o octave$(EXEEXT) |
651 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GLPK_LIBS) | |
7874
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
652 fltk_backend.oct : fltk_backend.o octave$(EXEEXT) |
e3a502930e2a
eliminate src/graphics subdirectory
John W. Eaton <jwe@octave.org>
parents:
7800
diff
changeset
|
653 $(DL_LD) $(DL_LDFLAGS) -o $@ $< $(OCT_LINK_DEPS) $(GRAPHICS_LIBS) $(FT2_LIBS) |
5235 | 654 endif |
655 endif | |
656 | |
666 | 657 check: all |
658 .PHONY: check | |
659 | |
7448 | 660 ifdef omit_deps |
661 .PHONY: $(MAKEDEPS) | |
662 endif | |
663 | |
6152 | 664 -include $(MAKEDEPS) |