annotate src/Makefile.am @ 15057:46b19589b593

maint: Partition src/ directory with more code in subdirs. Create new octave-value dir for ov* code. Create new parse-tre dir for pt* code. Move OPERATORS and TEMPLATE-INST directories to lowercase names * octave-value/module.mk: Hook code in octave-value dir into build system. * octave-value/ov-base-diag.cc, octave-value/ov-base-diag.h, octave-value/ov-base-int.cc, octave-value/ov-base-int.h, octave-value/ov-base-mat.cc, octave-value/ov-base-mat.h, octave-value/ov-base-scalar.cc, octave-value/ov-base-scalar.h, octave-value/ov-base-sparse.cc, octave-value/ov-base-sparse.h, octave-value/ov-base.cc, octave-value/ov-base.h, octave-value/ov-bool-mat.cc, octave-value/ov-bool-mat.h, octave-value/ov-bool-sparse.cc, octave-value/ov-bool-sparse.h, octave-value/ov-bool.cc, octave-value/ov-bool.h, octave-value/ov-builtin.cc, octave-value/ov-builtin.h, octave-value/ov-cell.cc, octave-value/ov-cell.h, octave-value/ov-ch-mat.cc, octave-value/ov-ch-mat.h, octave-value/ov-class.cc, octave-value/ov-class.h, octave-value/ov-colon.cc, octave-value/ov-colon.h, octave-value/ov-complex.cc, octave-value/ov-complex.h, octave-value/ov-cs-list.cc, octave-value/ov-cs-list.h, octave-value/ov-cx-diag.cc, octave-value/ov-cx-diag.h, octave-value/ov-cx-mat.cc, octave-value/ov-cx-mat.h, octave-value/ov-cx-sparse.cc, octave-value/ov-cx-sparse.h, octave-value/ov-dld-fcn.cc, octave-value/ov-dld-fcn.h, octave-value/ov-fcn-handle.cc, octave-value/ov-fcn-handle.h, octave-value/ov-fcn-inline.cc, octave-value/ov-fcn-inline.h, octave-value/ov-fcn.cc, octave-value/ov-fcn.h, octave-value/ov-float.cc, octave-value/ov-float.h, octave-value/ov-flt-complex.cc, octave-value/ov-flt-complex.h, octave-value/ov-flt-cx-diag.cc, octave-value/ov-flt-cx-diag.h, octave-value/ov-flt-cx-mat.cc, octave-value/ov-flt-cx-mat.h, octave-value/ov-flt-re-diag.cc, octave-value/ov-flt-re-diag.h, octave-value/ov-flt-re-mat.cc, octave-value/ov-flt-re-mat.h, octave-value/ov-int-traits.h, octave-value/ov-int16.cc, octave-value/ov-int16.h, octave-value/ov-int32.cc, octave-value/ov-int32.h, octave-value/ov-int64.cc, octave-value/ov-int64.h, octave-value/ov-int8.cc, octave-value/ov-int8.h, octave-value/ov-intx.h, octave-value/ov-lazy-idx.cc, octave-value/ov-lazy-idx.h, octave-value/ov-mex-fcn.cc, octave-value/ov-mex-fcn.h, octave-value/ov-null-mat.cc, octave-value/ov-null-mat.h, octave-value/ov-oncleanup.cc, octave-value/ov-oncleanup.h, octave-value/ov-perm.cc, octave-value/ov-perm.h, octave-value/ov-range.cc, octave-value/ov-range.h, octave-value/ov-re-diag.cc, octave-value/ov-re-diag.h, octave-value/ov-re-mat.cc, octave-value/ov-re-mat.h, octave-value/ov-re-sparse.cc, octave-value/ov-re-sparse.h, octave-value/ov-scalar.cc, octave-value/ov-scalar.h, octave-value/ov-str-mat.cc, octave-value/ov-str-mat.h, octave-value/ov-struct.cc, octave-value/ov-struct.h, octave-value/ov-type-conv.h, octave-value/ov-typeinfo.cc, octave-value/ov-typeinfo.h, octave-value/ov-uint16.cc, octave-value/ov-uint16.h, octave-value/ov-uint32.cc, octave-value/ov-uint32.h, octave-value/ov-uint64.cc, octave-value/ov-uint64.h, octave-value/ov-uint8.cc, octave-value/ov-uint8.h, octave-value/ov-usr-fcn.cc, octave-value/ov-usr-fcn.h, octave-value/ov.cc, octave-value/ov.h: Moved from src/ dir to octave-value dir. * operators/module.mk, operators/op-b-b.cc, operators/op-b-bm.cc, operators/op-b-sbm.cc, operators/op-bm-b.cc, operators/op-bm-bm.cc, operators/op-bm-sbm.cc, operators/op-cdm-cdm.cc, operators/op-cdm-cm.cc, operators/op-cdm-cs.cc, operators/op-cdm-dm.cc, operators/op-cdm-m.cc, operators/op-cdm-s.cc, operators/op-cell.cc, operators/op-chm.cc, operators/op-class.cc, operators/op-cm-cdm.cc, operators/op-cm-cm.cc, operators/op-cm-cs.cc, operators/op-cm-dm.cc, operators/op-cm-m.cc, operators/op-cm-pm.cc, operators/op-cm-s.cc, operators/op-cm-scm.cc, operators/op-cm-sm.cc, operators/op-cs-cm.cc, operators/op-cs-cs.cc, operators/op-cs-m.cc, operators/op-cs-s.cc, operators/op-cs-scm.cc, operators/op-cs-sm.cc, operators/op-dm-cdm.cc, operators/op-dm-cm.cc, operators/op-dm-cs.cc, operators/op-dm-dm.cc, operators/op-dm-m.cc, operators/op-dm-s.cc, operators/op-dm-scm.cc, operators/op-dm-sm.cc, operators/op-dm-template.cc, operators/op-dms-template.cc, operators/op-double-conv.cc, operators/op-fcdm-fcdm.cc, operators/op-fcdm-fcm.cc, operators/op-fcdm-fcs.cc, operators/op-fcdm-fdm.cc, operators/op-fcdm-fm.cc, operators/op-fcdm-fs.cc, operators/op-fcm-fcdm.cc, operators/op-fcm-fcm.cc, operators/op-fcm-fcs.cc, operators/op-fcm-fdm.cc, operators/op-fcm-fm.cc, operators/op-fcm-fs.cc, operators/op-fcm-pm.cc, operators/op-fcn.cc, operators/op-fcs-fcm.cc, operators/op-fcs-fcs.cc, operators/op-fcs-fm.cc, operators/op-fcs-fs.cc, operators/op-fdm-fcdm.cc, operators/op-fdm-fcm.cc, operators/op-fdm-fcs.cc, operators/op-fdm-fdm.cc, operators/op-fdm-fm.cc, operators/op-fdm-fs.cc, operators/op-float-conv.cc, operators/op-fm-fcdm.cc, operators/op-fm-fcm.cc, operators/op-fm-fcs.cc, operators/op-fm-fdm.cc, operators/op-fm-fm.cc, operators/op-fm-fs.cc, operators/op-fm-pm.cc, operators/op-fs-fcm.cc, operators/op-fs-fcs.cc, operators/op-fs-fm.cc, operators/op-fs-fs.cc, operators/op-i16-i16.cc, operators/op-i32-i32.cc, operators/op-i64-i64.cc, operators/op-i8-i8.cc, operators/op-int-concat.cc, operators/op-int-conv.cc, operators/op-int.h, operators/op-m-cdm.cc, operators/op-m-cm.cc, operators/op-m-cs.cc, operators/op-m-dm.cc, operators/op-m-m.cc, operators/op-m-pm.cc, operators/op-m-s.cc, operators/op-m-scm.cc, operators/op-m-sm.cc, operators/op-pm-cm.cc, operators/op-pm-fcm.cc, operators/op-pm-fm.cc, operators/op-pm-m.cc, operators/op-pm-pm.cc, operators/op-pm-scm.cc, operators/op-pm-sm.cc, operators/op-pm-template.cc, operators/op-range.cc, operators/op-s-cm.cc, operators/op-s-cs.cc, operators/op-s-m.cc, operators/op-s-s.cc, operators/op-s-scm.cc, operators/op-s-sm.cc, operators/op-sbm-b.cc, operators/op-sbm-bm.cc, operators/op-sbm-sbm.cc, operators/op-scm-cm.cc, operators/op-scm-cs.cc, operators/op-scm-m.cc, operators/op-scm-s.cc, operators/op-scm-scm.cc, operators/op-scm-sm.cc, operators/op-sm-cm.cc, operators/op-sm-cs.cc, operators/op-sm-m.cc, operators/op-sm-s.cc, operators/op-sm-scm.cc, operators/op-sm-sm.cc, operators/op-str-m.cc, operators/op-str-s.cc, operators/op-str-str.cc, operators/op-struct.cc, operators/op-ui16-ui16.cc, operators/op-ui32-ui32.cc, operators/op-ui64-ui64.cc, operators/op-ui8-ui8.cc: Moved from OPERATORS/ dir to operators/ directory. * mkops: Correctly print comment in generated file ops.cc that it is made by mkops. Change sed expression for OPERATORS/ to operators/. * parse-tree/module.mk: Hook code in parse-tree dir into build system. * parse-tree/pt-all.h, parse-tree/pt-arg-list.cc, parse-tree/pt-arg-list.h, parse-tree/pt-assign.cc, parse-tree/pt-assign.h, parse-tree/pt-binop.cc, parse-tree/pt-binop.h, parse-tree/pt-bp.cc, parse-tree/pt-bp.h, parse-tree/pt-cbinop.cc, parse-tree/pt-cbinop.h, parse-tree/pt-cell.cc, parse-tree/pt-cell.h, parse-tree/pt-check.cc, parse-tree/pt-check.h, parse-tree/pt-cmd.cc, parse-tree/pt-cmd.h, parse-tree/pt-colon.cc, parse-tree/pt-colon.h, parse-tree/pt-const.cc, parse-tree/pt-const.h, parse-tree/pt-decl.cc, parse-tree/pt-decl.h, parse-tree/pt-eval.cc, parse-tree/pt-eval.h, parse-tree/pt-except.cc, parse-tree/pt-except.h, parse-tree/pt-exp.cc, parse-tree/pt-exp.h, parse-tree/pt-fcn-handle.cc, parse-tree/pt-fcn-handle.h, parse-tree/pt-id.cc, parse-tree/pt-id.h, parse-tree/pt-idx.cc, parse-tree/pt-idx.h, parse-tree/pt-jump.cc, parse-tree/pt-jump.h, parse-tree/pt-loop.cc, parse-tree/pt-loop.h, parse-tree/pt-mat.cc, parse-tree/pt-mat.h, parse-tree/pt-misc.cc, parse-tree/pt-misc.h, parse-tree/pt-pr-code.cc, parse-tree/pt-pr-code.h, parse-tree/pt-select.cc, parse-tree/pt-select.h, parse-tree/pt-stmt.cc, parse-tree/pt-stmt.h, parse-tree/pt-unop.cc, parse-tree/pt-unop.h, parse-tree/pt-walk.h, parse-tree/pt.cc, parse-tree/pt.h: Moved from src/ dir to parse-tree dir. * template-inst/Array-jit.cc, template-inst/Array-os.cc, template-inst/Array-sym.cc, template-inst/Array-tc.cc, template-inst/module.mk: Moved from TEMPLATE-INST dir to template-inst/ directory. * src/Makefile.am: Add new directories to build system. * corefcn/module.mk: Use COREFCN_SRC with all capitals to indicate it is not an Automake special target.
author Rik <rik@octave.org>
date Mon, 30 Jul 2012 15:29:19 -0700
parents d43fec5684dd
children 069c552587a0 aa64715164dc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # Makefile for octave's src directory
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 #
14138
72c96de7a403 maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents: 14023
diff changeset
3 # Copyright (C) 1993-2012 John W. Eaton
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 #
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 # This file is part of Octave.
13141
e81ddf9cacd5 maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 13024
diff changeset
6 #
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 # Octave is free software; you can redistribute it and/or modify it
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 # under the terms of the GNU General Public License as published by the
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 # Free Software Foundation; either version 3 of the License, or (at
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 # your option) any later version.
13141
e81ddf9cacd5 maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 13024
diff changeset
11 #
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 # Octave is distributed in the hope that it will be useful, but WITHOUT
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 # for more details.
13141
e81ddf9cacd5 maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 13024
diff changeset
16 #
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 # along with Octave; see the file COPYING. If not, see
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 # <http://www.gnu.org/licenses/>.
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
21 include $(top_srcdir)/build-aux/common.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
14397
670feb71afde maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents: 14348
diff changeset
23 ## Search local directories before those specified by the user.
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 AM_CPPFLAGS = \
14397
670feb71afde maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents: 14348
diff changeset
25 -I../libgnu -I$(top_srcdir)/libgnu \
10061
ec0c445d0d6f include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 10051
diff changeset
26 -I$(top_srcdir)/libcruft/misc \
ec0c445d0d6f include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 10051
diff changeset
27 -I../liboctave -I$(top_srcdir)/liboctave \
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
28 -Ioctave-value -I$(srcdir)/octave-value \
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
29 -Iparse-tree -I$(srcdir)/parse-tree \
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
30 -Icorefcn -I$(srcdir)/corefcn \
14397
670feb71afde maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents: 14348
diff changeset
31 -I. -I$(srcdir) \
670feb71afde maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents: 14348
diff changeset
32 @CPPFLAGS@
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 AUTOMAKE_OPTIONS = subdir-objects
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35
12727
40b16bb69fec maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents: 12720
diff changeset
36 octlib_LTLIBRARIES = liboctinterp.la
40b16bb69fec maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents: 12720
diff changeset
37
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
38 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
39 bin_PROGRAMS = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
40 mkoctfile \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
41 octave \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
42 octave-config
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
43
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
44 mkoctfile_SOURCES =
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
45 nodist_mkoctfile_SOURCES = mkoctfile.cc
12767
e548ef3eb399 maint: link mkoctfile and octave-config with gnulib and $(LIBS)
John W. Eaton <jwe@octave.org>
parents: 12762
diff changeset
46 mkoctfile_LDADD = ../libgnu/libgnu.la $(LIBS)
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
47
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
48 octave_config_SOURCES =
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
49 nodist_octave_config_SOURCES = octave-config.cc
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
50 octave_config_LDADD = corefcn/libcorefcn.la ../libgnu/libgnu.la $(LIBS)
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
51
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
52 BUILT_SOURCES_EXTRA = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
53 mkoctfile.cc \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
54 octave-config.cc
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
55 else
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
56 bin_PROGRAMS = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
57 octave
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
58
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
59 bin_SCRIPTS = \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
60 mkoctfile \
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
61 octave-config
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
62 endif
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
63
13141
e81ddf9cacd5 maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 13024
diff changeset
64 ## Order matters here. Leave builtins.cc last, because it depends on
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
65 ## $(DEF_FILES), and building those requires all the sources
9911
ac7606d51a3d src/Makefile.in (BUILT_SOURCES): include graphics-props.cc in the list
John W. Eaton <jwe@octave.org>
parents: 9907
diff changeset
66 ## (except builtins.cc) to be available.
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
67 BUILT_SOURCES = \
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
68 $(BUILT_SOURCES_EXTRA) \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
69 defaults.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
70 graphics.h \
9911
ac7606d51a3d src/Makefile.in (BUILT_SOURCES): include graphics-props.cc in the list
John W. Eaton <jwe@octave.org>
parents: 9907
diff changeset
71 graphics-props.cc \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
72 lex.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
73 mxarray.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
74 oct-conf.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
75 oct-errno.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76 oct-gperf.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 oct-parse.cc \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
78 ops.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
79 version.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
80 builtins.cc
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
81
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
82 BUILT_DISTFILES = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
83 oct-gperf.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
84 oct-parse.h
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
85
12727
40b16bb69fec maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents: 12720
diff changeset
86 ## Files that are created during build process and installed,
40b16bb69fec maint: Don't distribute files in tarball which must be re-built for each installation
Rik <octave@nomad.inbox5.com>
parents: 12720
diff changeset
87 ## BUT not distributed in tarball.
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
88 BUILT_NODISTFILES = \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
89 defaults.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
90 graphics.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
91 oct-conf.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
92 oct-errno.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
93 ops.cc \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
94 mxarray.h \
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
95 version.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 $(OPT_HANDLERS) \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
97 $(OPT_INC) \
12720
ccfe03bebeba src/Makefile.am: Fixes to get 'make dist' working
Rik <octave@nomad.inbox5.com>
parents: 12717
diff changeset
98 $(ALL_DEF_FILES) \
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
99 builtins.cc
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 EXTRA_DIST = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102 Makefile.in \
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
103 defaults.in.h \
9927
ecbf1577200c Distribute DOCSTRINGS to prevent unnecessary documentation rebuild
Rik <rdrider0-list@yahoo.com>
parents: 9917
diff changeset
104 DOCSTRINGS \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 find-defun-files.sh \
14649
5fa6a41d4fbe build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents: 14630
diff changeset
106 gendoc.pl \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
107 genprops.awk \
10035
66d56fb7cbb8 wrapper for gl2ps.c so config.h is included before oter headers
John W. Eaton <jwe@octave.org>
parents: 10004
diff changeset
108 gl2ps.c \
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
109 graphics.in.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 mk-errno-list \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111 mk-pkg-add \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
112 mkbuiltins \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
113 mkdefs \
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
114 mkoctfile.in.cc \
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
115 mkoctfile.in.sh \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116 mkops \
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
117 mxarray.in.h \
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
118 oct-conf.in.h \
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
119 oct-errno.in.cc \
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
120 octave-config.in.cc \
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
121 octave-config.in.sh \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 octave.gperf \
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
123 version.in.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 $(BUILT_DISTFILES)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126 OPT_HANDLERS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 DASPK-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
128 DASRT-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
129 DASSL-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
130 LSODE-opts.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
131 Quad-opts.cc
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
132
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
133 OPT_INC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
134 ../liboctave/DASPK-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
135 ../liboctave/DASRT-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
136 ../liboctave/DASSL-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
137 ../liboctave/LSODE-opts.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
138 ../liboctave/Quad-opts.h
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
139
15016
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
140 JIT_INCLUDES = \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
141 jit-util.h \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
142 jit-typeinfo.h \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
143 jit-ir.h \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
144 pt-jit.h
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
145
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
146 octinclude_HEADERS = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
147 Cell.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
148 builtins.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
149 c-file-ptr-stream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
150 comment-list.h \
11512
e4e82740e9cd prototype fixes for C language files
John W. Eaton <jwe@octave.org>
parents: 11243
diff changeset
151 cutils.h \
13294
7dce7e110511 make concatenation of class objects work
John W. Eaton <jwe@octave.org>
parents: 13141
diff changeset
152 data.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
153 debug.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
154 defun-dld.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
155 defun-int.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
156 defun.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
157 dirfns.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
158 display.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
159 dynamic-ld.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
160 error.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
161 file-io.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
162 gl-render.h \
9798
2d6a5af744b6 printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents: 9794
diff changeset
163 gl2ps.h \
2d6a5af744b6 printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents: 9794
diff changeset
164 gl2ps-renderer.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
165 graphics-props.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
166 gripes.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
167 help.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
168 input.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
169 lex.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
170 load-path.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
171 load-save.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
172 ls-ascii-helper.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
173 ls-hdf5.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
174 ls-mat-ascii.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
175 ls-mat4.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
176 ls-mat5.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
177 ls-oct-ascii.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
178 ls-oct-binary.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
179 ls-utils.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
180 mex.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
181 mexproto.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
182 oct-errno.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
183 oct-fstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
184 oct-gperf.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
185 oct-hdf5.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
186 oct-hist.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
187 oct-iostrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
188 oct-lvalue.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
189 oct-map.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
190 oct-obj.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
191 oct-prcstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
192 oct-procbuf.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
193 oct-stdstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
194 oct-stream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
195 oct-strstrm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
196 oct.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
197 octave.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
198 ops.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
199 pager.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
200 parse.h \
14329
8d1ae996c122 also save and restore symbol table context in parser (bug #35448)
John W. Eaton <jwe@octave.org>
parents: 14295
diff changeset
201 parse-private.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
202 pr-output.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
203 procstream.h \
13906
155e9c625761 maint: distribute profiler.h
John W. Eaton <jwe@octave.org>
parents: 13294
diff changeset
204 profiler.h \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
205 sighandlers.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
206 siglist.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
207 sparse-xdiv.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
208 sparse-xpow.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
209 symtab.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
210 sysdep.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
211 token.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
212 toplev.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
213 txt-eng-ft.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
214 txt-eng.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
215 unwind-prot.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
216 utils.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
217 variables.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
218 xdiv.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
219 xnorm.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
220 xpow.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
221 zfstream.h \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
222 $(OV_INCLUDES) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
223 $(OV_SPARSE_INCLUDES) \
15016
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
224 $(PT_INCLUDES) \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
225 $(JIT_INCLUDES)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
226
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
227 nodist_octinclude_HEADERS = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
228 defaults.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
229 graphics.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
230 oct-conf.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
231 mxarray.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
232 version.h
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
233
15016
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
234 JIT_SRC = \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
235 jit-util.cc \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
236 jit-typeinfo.cc \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
237 jit-ir.cc \
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
238 pt-jit.cc
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
239
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
240 DIST_SRC = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
241 Cell.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
242 bitfcns.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
243 c-file-ptr-stream.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
244 comment-list.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
245 cutils.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
246 data.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
247 debug.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
248 defaults.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
249 defun.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
250 dirfns.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
251 display.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
252 dynamic-ld.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
253 error.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
254 file-io.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
255 gl-render.cc \
9798
2d6a5af744b6 printing for fltk backend using gl2ps
Shai Ayal <shaiay@users.sourceforge.net>
parents: 9794
diff changeset
256 gl2ps-renderer.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
257 graphics.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
258 gripes.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
259 help.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
260 input.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
261 lex.ll \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
262 load-path.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
263 load-save.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
264 ls-ascii-helper.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
265 ls-hdf5.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
266 ls-mat-ascii.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
267 ls-mat4.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
268 ls-mat5.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
269 ls-oct-ascii.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
270 ls-oct-binary.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
271 ls-utils.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
272 mappers.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
273 matherr.c \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
274 mex.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
275 oct-fstrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
276 oct-hist.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
277 oct-iostrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
278 oct-lvalue.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
279 oct-map.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
280 oct-obj.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
281 oct-parse.yy \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
282 oct-prcstrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
283 oct-procbuf.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
284 oct-stream.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
285 oct-strstrm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
286 octave.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
287 pager.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
288 pr-output.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
289 procstream.cc \
12783
ad9263d965dc First experimental profiler implementation with flat profile.
Daniel Kraft <d@domob.eu>
parents: 12772
diff changeset
290 profiler.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
291 sighandlers.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
292 siglist.c \
11097
ffb2f1ef2097 make issparse, sparse, and spalloc built-in functions
John W. Eaton <jwe@octave.org>
parents: 11016
diff changeset
293 sparse.cc \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
294 sparse-xdiv.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
295 sparse-xpow.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
296 strfns.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
297 symtab.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
298 syscalls.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
299 sysdep.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
300 token.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
301 toplev.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
302 txt-eng-ft.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
303 unwind-prot.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
304 utils.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
305 variables.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
306 xdiv.cc \
10035
66d56fb7cbb8 wrapper for gl2ps.c so config.h is included before oter headers
John W. Eaton <jwe@octave.org>
parents: 10004
diff changeset
307 xgl2ps.c \
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
308 xnorm.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
309 xpow.cc \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
310 zfstream.cc \
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
311 $(COREFCN_SRC) \
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
312 $(OCTAVE_VALUE_SRC) \
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
313 $(PARSE_TREE_SRC) \
15016
005cb78e1dd1 Split pt-jit into multiple files.
Max Brister <max@2bass.com>
parents: 14916
diff changeset
314 $(JIT_SRC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
315
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
316 noinst_LTLIBRARIES =
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
317
15057
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
318 include parse-tree/module.mk
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
319 include octave-value/module.mk
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
320 include operators/module.mk
46b19589b593 maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents: 15051
diff changeset
321 include template-inst/module.mk
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
322 include corefcn/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
323 include DLD-FUNCTIONS/module.mk
10376
1ed7cc046c52 Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents: 10342
diff changeset
324
10448
f123146f1820 src/Makefile.am: typo
John W. Eaton <jwe@octave.org>
parents: 10376
diff changeset
325 $(srcdir)/DLD-FUNCTIONS/module.mk: $(srcdir)/DLD-FUNCTIONS/config-module.sh $(srcdir)/DLD-FUNCTIONS/config-module.awk $(srcdir)/DLD-FUNCTIONS/module-files
10376
1ed7cc046c52 Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents: 10342
diff changeset
326 $(srcdir)/DLD-FUNCTIONS/config-module.sh $(top_srcdir)
1ed7cc046c52 Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents: 10342
diff changeset
327
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
328 if AMCOND_ENABLE_DYNAMIC_LINKING
12162
c9f42acd84e2 Use Makefile rules based on timestamp files for src/DLD-FUNCTIONS/*.oct
John W. Eaton <jwe@octave.org>
parents: 11576
diff changeset
329 OCT_FILES = $(DLD_FUNCTIONS_LIBS:.la=.oct)
12163
55ebf5df9ea6 Use Automake and GNU Make variables for increased portability in DLD-FUNCTIONS/*.oct creation
Rik <octave@nomad.inbox5.com>
parents: 12162
diff changeset
330 OCT_STAMP_FILES = $(subst DLD-FUNCTIONS/,DLD-FUNCTIONS/$(am__leading_dot),$(DLD_FUNCTIONS_LIBS:.la=.oct-stamp))
14295
21572e9bd365 make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents: 14192
diff changeset
331 DLD_LIBOCTINTERP_LIBADD = liboctinterp.la
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
332 else
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
333 OCT_FILES =
12162
c9f42acd84e2 Use Makefile rules based on timestamp files for src/DLD-FUNCTIONS/*.oct
John W. Eaton <jwe@octave.org>
parents: 11576
diff changeset
334 OCT_STAMP_FILES =
14295
21572e9bd365 make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents: 14192
diff changeset
335 DLD_LIBOCTINTERP_LIBADD =
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
336 endif
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
337
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
338 liboctinterp_la_SOURCES = \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
339 $(DIST_SRC) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
340 $(OPERATORS_SRC) \
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
341 $(TEMPLATE_INST_SRC)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
342
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
343 nodist_liboctinterp_la_SOURCES = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
344 builtins.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
345 defaults.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
346 graphics.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
347 mxarray.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
348 oct-conf.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
349 oct-errno.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
350 ops.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
351 version.h \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
352 $(OPT_INC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
353
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
354 liboctinterp_la_CPPFLAGS = @OCTINTERP_DLL_DEFS@ $(AM_CPPFLAGS)
9906
8d20fb66a0dc more automake fixes
John W. Eaton <jwe@octave.org>
parents: 9864
diff changeset
355
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
356 include link-deps.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
357
13022
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
358 liboctinterp_la_LIBADD = \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
359 ../liboctave/liboctave.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
360 ../libcruft/libcruft.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
361 $(LIBOCTINTERP_LINK_DEPS)
9816
b1462c588dd5 add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents: 9798
diff changeset
362
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
363 # Increment these as needed and according to the rules in the libtool manual:
14192
5d5400bd1f62 maint: update library version numbers for release
John W. Eaton <jwe@octave.org>
parents: 14138
diff changeset
364 liboctinterp_current = 1
14348
95c43fc8dbe1 3.6.1 release candidate 0
John W. Eaton <jwe@octave.org>
parents: 14192
diff changeset
365 liboctinterp_revision = 1
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
366 liboctinterp_age = 0
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
367
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
368 liboctinterp_version_info = $(liboctinterp_current):$(liboctinterp_revision):$(liboctinterp_age)
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
369
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
370 liboctinterp_la_LDFLAGS = \
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
371 -version-info $(liboctinterp_version_info) \
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12218
diff changeset
372 $(NO_UNDEFINED_LDFLAG) \
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
373 -bindir $(bindir) \
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
374 $(LIBOCTINTERP_LINK_OPTS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
375
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
376 display.df display.lo: CPPFLAGS += $(X11_FLAGS)
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
377
15039
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
378 ## FIXME: Does this rule need to be uncommented?
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
379 #fft.df fft.lo fft2.df fft2.lo fftn.df fftn.lo: CPPFLAGS += $(FFTW_XCPPFLAGS)
e753177cde93 maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents: 15016
diff changeset
380
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
381 octave_SOURCES = main.c
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
382
13022
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
383 octave_LDADD = \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
384 liboctinterp.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
385 ../liboctave/liboctave.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
386 ../libcruft/libcruft.la \
05534f03377d maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents: 13016
diff changeset
387 $(OCTAVE_LINK_DEPS)
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
388
13024
f3c53fea9fb5 maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents: 13022
diff changeset
389 octave_LDFLAGS = \
f3c53fea9fb5 maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents: 13022
diff changeset
390 $(NO_UNDEFINED_LDFLAG) \
f3c53fea9fb5 maint: more linking tweaks
John W. Eaton <jwe@octave.org>
parents: 13022
diff changeset
391 $(OCTAVE_LINK_OPTS)
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
392
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
393 ## Section for defining and creating DEF_FILES
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
394 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(DIST_SRC))
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
395
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
396 DLD_FUNCTIONS_DEF_FILES = $(DLD_FUNCTIONS_SRC:.cc=.df)
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
397
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
398 ## builtins.cc depends on $(DEF_FILES), so DEF_FILES should only include
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
399 ## .df files that correspond to sources included in liboctave.
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
400 if AMCOND_ENABLE_DYNAMIC_LINKING
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
401 DEF_FILES = $(SRC_DEF_FILES)
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
402 else
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
403 DEF_FILES = $(SRC_DEF_FILES) $(DLD_FUNCTIONS_DEF_FILES)
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
404 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
405
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
406 ALL_DEF_FILES = $(SRC_DEF_FILES) $(DLD_FUNCTIONS_DEF_FILES)
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
407
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
408 $(SRC_DEF_FILES): mkdefs Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
409
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
410 $(DEF_FILES): $(OPT_HANDLERS) $(OPT_INC)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
411
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
412 DLL_CDEFS = @OCTINTERP_DLL_DEFS@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
413 DLL_CXXDEFS = @OCTINTERP_DLL_DEFS@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
414
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
415 ## Rule to build a DEF file from a .cc file
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
416 %.df: %.cc
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
417 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
418 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
419 -DMAKE_BUILTINS $< | $(srcdir)/mkdefs $(srcdir) $< > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
420 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
421
13141
e81ddf9cacd5 maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents: 13024
diff changeset
422 ## Special rules:
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
423 ## Mostly for sources which must be built before rest of compilation.
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
424
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
425 ## defaults.h and oct-conf.h must depend on Makefile. Calling configure
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
426 ## may change default/config values. However, calling configure will also
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
427 ## regenerate the Makefiles from Makefile.am and trigger the rules below.
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
428 defaults.h: defaults.in.h Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
429 @$(do_subst_default_vals)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
430
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
431 graphics.h: graphics.in.h genprops.awk Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
432 $(AWK) -f $(srcdir)/genprops.awk $< > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
433 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
434
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
435 oct-conf.h: oct-conf.in.h Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
436 @$(do_subst_config_vals)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
437
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
438 ## Don't use a pipeline to process gperf output since if gperf
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
439 ## is missing but sed is not, the exit status of the pipeline
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
440 ## will still be success and we will end up creating an empty
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
441 ## oct-gperf.h file.
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
442 oct-gperf.h: octave.gperf
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
443 $(GPERF) -t -C -D -G -L C++ -Z octave_kw_hash $< > $@-t1
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
444 $(SED) 's,lookup\[,gperf_lookup[,' < $@-t1 > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
445 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
446 rm -f $@-t1
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
447
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
448 mxarray.h: mxarray.in.h Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
449 $(SED) < $< \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
450 -e "s|%OCTAVE_IDX_TYPE%|${OCTAVE_IDX_TYPE}|" > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
451 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
452
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
453 version.h: version.in.h Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
454 $(SED) < $< \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
455 -e "s|%OCTAVE_API_VERSION_NUMBER%|${OCTAVE_API_VERSION_NUMBER}|" \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
456 -e "s|%OCTAVE_API_VERSION%|\"${OCTAVE_API_VERSION}\"|" \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
457 -e "s|%OCTAVE_COPYRIGHT%|\"${OCTAVE_COPYRIGHT}\"|" \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
458 -e "s|%OCTAVE_RELEASE_DATE%|\"${OCTAVE_RELEASE_DATE}\"|" \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
459 -e "s|%OCTAVE_VERSION%|\"${OCTAVE_VERSION}\"|" > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
460 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
461
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
462 builtins.cc: $(DEF_FILES) mkbuiltins
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
463 $(srcdir)/mkbuiltins $(DEF_FILES) > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
464 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
465
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
466 graphics-props.cc: graphics.in.h genprops.awk Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
467 $(AWK) -v emit_graphics_props=1 -f $(srcdir)/genprops.awk $< > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
468 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
469
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
470 ops.cc: $(OPERATORS_SRC) mkops
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
471 $(srcdir)/mkops $(OPERATORS_SRC) > $@-t
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
472 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
473
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
474 oct-errno.cc: oct-errno.in.cc Makefile
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
475 if test -n "$(PERL)"; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
476 $(srcdir)/mk-errno-list --perl "$(PERL)" < $< > $@-t; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
477 elif test -n "$(PYTHON)"; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
478 $(srcdir)/mk-errno-list --python "$(PYTHON)" < $< > $@-t; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
479 else \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
480 $(SED) '/@SYSDEP_ERRNO_LIST@/D' $< > $@-t; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
481 fi
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
482 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
483
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
484 $(OPT_HANDLERS) : %.cc : $(top_srcdir)/liboctave/%.in $(top_srcdir)/build-aux/mk-opts.pl
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
485 $(PERL) $(top_srcdir)/build-aux/mk-opts.pl --opt-handler-fcns $< > $@-t
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
486 mv $@-t $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
487
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
488 $(OPT_INC) : %.h : %.in
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
489 $(MAKE) -C $(@D) $(@F)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
490
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
491 if AMCOND_ENABLE_DYNAMIC_LINKING
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
492 DLD_FUNCTIONS_PKG_ADD_FILE = DLD-FUNCTIONS/PKG_ADD
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
493
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
494 DLD-FUNCTIONS/PKG_ADD: $(DLD_FUNCTIONS_DEF_FILES) mk-pkg-add
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
495 $(srcdir)/mk-pkg-add $(DLD_FUNCTIONS_DEF_FILES) > $@-t
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
496 mv $@-t $@
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
497 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
498
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
499 lex.lo lex.o oct-parse.lo oct-parse.o: \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
500 AM_CXXFLAGS := $(filter-out -Wold-style-cast, $(AM_CXXFLAGS))
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
501
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
502 __fltk_uigetfile__.lo __fltk_uigetfile__.o: \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
503 AM_CXXFLAGS := $(filter-out $(DLL_CXXDEFS), $(AM_CXXFLAGS) $(GRAPHICS_CFLAGS))
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
504
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
505 __init_fltk__.lo __init_fltk__.o: \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
506 AM_CXXFLAGS := $(filter-out $(DLL_CXXDEFS), $(AM_CXXFLAGS) $(GRAPHICS_CFLAGS))
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
507
14432
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14398
diff changeset
508 if AMCOND_BUILD_DOCS
14649
5fa6a41d4fbe build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents: 14630
diff changeset
509 .DOCSTRINGS: $(ALL_DEF_FILES) gendoc.pl
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
510 if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/DOCSTRINGS ] && [ ! -f DOCSTRINGS ]; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
511 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
512 touch -r $(srcdir)/DOCSTRINGS DOCSTRINGS; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
513 fi
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
514 @echo "creating .DOCSTRINGS from .cc source files"
14649
5fa6a41d4fbe build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents: 14630
diff changeset
515 @$(PERL) $(srcdir)/gendoc.pl $(ALL_DEF_FILES) > $@
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
516 $(top_srcdir)/build-aux/move-if-change $@ DOCSTRINGS
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
517 touch $@
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
518
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
519 all-local: $(OCT_STAMP_FILES) $(DLD_FUNCTIONS_PKG_ADD_FILE) .DOCSTRINGS
14432
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14398
diff changeset
520 else
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14398
diff changeset
521 all-local: $(OCT_STAMP_FILES) $(DLD_FUNCTIONS_PKG_ADD_FILE)
e053d1622f4e build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents: 14398
diff changeset
522 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
523
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
524 if AMCOND_BUILD_COMPILED_AUX_PROGRAMS
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
525 octave-config.cc: octave-config.in.cc Makefile
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
526 @$(do_subst_default_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
527
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
528 mkoctfile.cc: mkoctfile.in.cc Makefile
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
529 @$(do_subst_config_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
530 else
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
531 octave-config: octave-config.in.sh Makefile
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
532 @$(do_subst_default_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
533 chmod a+rx $@
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
534
14547
1bf39e944e43 rename .in.h and .in.cc files to .h.in and .cc.in
John W. Eaton <jwe@octave.org>
parents: 14432
diff changeset
535 mkoctfile: mkoctfile.in.sh Makefile
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
536 @$(do_subst_config_vals)
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
537 chmod a+rx $@
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
538 endif
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
539
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
540 install-exec-hook: make-version-links
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
541
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
542 install-data-hook: install-oct
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
543
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
544 uninstall-local: remove-version-links uninstall-oct
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
545
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
546 make-version-links:
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
547 cd $(DESTDIR)$(bindir) && \
12754
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
548 for f in $(basename $(bin_PROGRAMS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
549 mv $$f$(EXEEXT) $$f-$(version)$(EXEEXT) && \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
550 $(LN_S) $$f-$(version)$(EXEEXT) $$f$(EXEEXT); \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
551 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
552 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
553 cd $(DESTDIR)$(bindir) && \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
554 for f in $(basename $(bin_SCRIPTS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
555 mv $$f $$f-$(version) && \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
556 $(LN_S) $$f-$(version) $$f; \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
557 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
558 endif
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
559
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
560 remove-version-links:
12754
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
561 for f in $(basename $(bin_PROGRAMS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
562 rm -f $(DESTDIR)$(bindir)/$$f-$(version)$(EXEEXT); \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
563 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
564 if ! AMCOND_BUILD_COMPILED_AUX_PROGRAMS
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
565 for f in $(basename $(bin_SCRIPTS)); do \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
566 rm -f $(DESTDIR)$(bindir)/$$f-$(version); \
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
567 done
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
568 endif
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
569
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
570 .PHONY: make-version-links remove-version-links
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
571
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
572 if AMCOND_ENABLE_DYNAMIC_LINKING
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
573 install-oct:
12733
b67c2d580a25 maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents: 12730
diff changeset
574 $(top_srcdir)/build-aux/mkinstalldirs $(DESTDIR)$(octfiledir)
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
575 if [ -n "`cat $(DLD_FUNCTIONS_PKG_ADD_FILE)`" ]; then \
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
576 $(INSTALL_DATA) $(DLD_FUNCTIONS_PKG_ADD_FILE) $(DESTDIR)$(octfiledir)/PKG_ADD; \
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
577 fi
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
578 cd $(DESTDIR)$(octlibdir) && \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
579 for ltlib in $(DLD_FUNCTIONS_LIBS); do \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
580 f=`echo $$ltlib | $(SED) 's,.*/,,'`; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
581 dl=`$(SED) -n -e "s/dlname='\([^']*\)'/\1/p" < $$f`; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
582 if [ -n "$$dl" ]; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
583 $(INSTALL_PROGRAM) $$dl $(DESTDIR)$(octfiledir)/`echo $$f | $(SED) 's,^lib,,; s,\.la$$,.oct,'`; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
584 else \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
585 echo "error: dlname is empty in $$ltlib!"; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
586 exit 1; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
587 fi; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
588 lnames=`$(SED) -n -e "s/library_names='\([^']*\)'/\1/p" < $$f`; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
589 if [ -n "$$lnames" ]; then \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
590 rm -f $$f $$lnames $$dl; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
591 fi \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
592 done
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
593
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
594 uninstall-oct:
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
595 for f in $(notdir $(OCT_FILES)); do \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
596 rm -f $(DESTDIR)$(octfiledir)/$$f; \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
597 done
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
598 rm -f $(DESTDIR)$(octfiledir)/PKG_ADD
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
599 endif
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
600 .PHONY: install-oct uninstall-oct
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
601
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
602 CLEANFILES = \
12754
5ee4fc58585f * Makefile.am (CLEANFILES): Remove $(bin_PROGRAMS)
John W. Eaton <jwe@octave.org>
parents: 12733
diff changeset
603 $(bin_SCRIPTS) \
13010
edc5ec6e949b maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents: 12958
diff changeset
604 $(DLD_FUNCTIONS_PKG_ADD_FILE) \
12730
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
605 graphics-props.cc \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
606 oct-parse.output
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
607
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
608 DISTCLEANFILES = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
609 .DOCSTRINGS \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
610 DOCSTRINGS \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
611 $(BUILT_NODISTFILES) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
612 $(OCT_FILES) \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
613 $(OCT_STAMP_FILES)
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
614
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
615 MAINTAINERCLEANFILES = \
633ef00d963c maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents: 12727
diff changeset
616 $(BUILT_DISTFILES)