Mercurial > octave
annotate libinterp/Makefile.am @ 21638:acaf1e137c5e stable release-4-0-2
Version 4.0.2 released.
* configure.ac: Bump version to 4.0.2.
(OCTAVE_PATCH_VERSION): Bump to 2.
(OCTAVE_RELEASE_DATE): Update.
* liboctave/Makefile.am (liboctave_revision): Increment.
* libinterp/Makefile.am (liboctinterp_revision): Increment.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Apr 2016 15:00:37 -0400 |
parents | 7bb71bf2f30f |
children | 44f7664689f2 |
rev | line source |
---|---|
15269
b42167e9d805
maint: Update Makefile.am comments to refer to Octave (program) rather than octave (command).
Rik <rik@octave.org>
parents:
15203
diff
changeset
|
1 # Makefile for Octave's libinterp directory |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
19697
4197fc428c7d
maint: Update copyright notices for 2015.
John W. Eaton <jwe@octave.org>
parents:
19281
diff
changeset
|
3 # Copyright (C) 1993-2015 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 = \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
25 -I$(top_srcdir)/liboctave/cruft/misc \ |
15278
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
26 -I$(top_srcdir)/liboctave/array \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
27 -I$(top_builddir)/liboctave/numeric -I$(top_srcdir)/liboctave/numeric \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
28 -I$(top_builddir)/liboctave/operators -I$(top_srcdir)/liboctave/operators \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
29 -I$(top_srcdir)/liboctave/system \ |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
30 -I$(top_srcdir)/liboctave/util \ |
15174
f3a5338aaa01
build: Remove unneeded -Ioctave-value, -Ioperators from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15156
diff
changeset
|
31 -I$(srcdir)/octave-value \ |
f3a5338aaa01
build: Remove unneeded -Ioctave-value, -Ioperators from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15156
diff
changeset
|
32 -I$(srcdir)/operators \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
33 -Iparse-tree -I$(srcdir)/parse-tree \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
34 -Icorefcn -I$(srcdir)/corefcn \ |
19277
18a3eaf7bdf0
make --with-PKG-includedir and --with-PKG-libdir configure options work again
John W. Eaton <jwe@octave.org>
parents:
18233
diff
changeset
|
35 -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu \ |
19281
4b8b942ef8db
limit specific CPPFLAGS variables to specific convenience libs (bug #38928)
John W. Eaton <jwe@octave.org>
parents:
19277
diff
changeset
|
36 $(HDF5_CPPFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 |
15363
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
38 AM_CFLAGS += $(WARN_CFLAGS) |
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
39 |
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
40 AM_CXXFLAGS += $(WARN_CXXFLAGS) |
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15281
diff
changeset
|
41 |
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
|
42 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
|
43 |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
44 ## This is the subset of $(BUILT_SOURCES) that may be included by source |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
45 ## files that are preprocessed to make $(DEF_FILES). This ensures that |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
46 ## files in $(BUILT_SOURCES) are built in the right dependency order. |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
47 GENERATED_MAKE_BUILTINS_INCS = \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
48 corefcn/defaults.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
49 corefcn/graphics-props.cc \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
50 corefcn/graphics.h \ |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
51 corefcn/mxarray.h \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
52 oct-conf-features.h \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
53 oct-conf.h \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
54 parse-tree/oct-gperf.h \ |
19879
2350fc8ba960
build: Fix build failure on missing oct-parse.h (bug #44391)
Mike Miller <mtmiller@ieee.org>
parents:
19878
diff
changeset
|
55 parse-tree/oct-parse.h \ |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
56 version.h |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
57 |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
58 BUILT_SOURCES = \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
59 $(GENERATED_MAKE_BUILTINS_INCS) \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
60 builtin-defun-decls.h \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
61 builtins.cc \ |
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
62 corefcn/oct-errno.cc \ |
17269
5b088598df1d
Add simple TeX parser based on flex/bison.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17232
diff
changeset
|
63 corefcn/oct-tex-lexer.cc \ |
5b088598df1d
Add simple TeX parser based on flex/bison.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17232
diff
changeset
|
64 corefcn/oct-tex-parser.cc \ |
17327
fe6518a1d87c
Move TeX symbol decoding into the lexer (bug #39831).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17280
diff
changeset
|
65 corefcn/oct-tex-symbols.cc \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
66 operators/ops.cc \ |
15085
28f5f4a4a80a
maint: Move parser code and rules to parse-tree/ directory
Rik <rik@octave.org>
parents:
15083
diff
changeset
|
67 parse-tree/lex.cc \ |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
68 parse-tree/oct-parse.cc |
9906 | 69 |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
70 ULT_PARSER_SRC := \ |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
71 corefcn/oct-tex-lexer.in.ll \ |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
72 corefcn/oct-tex-parser.in.yy \ |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
73 parse-tree/oct-parse.in.yy |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
74 |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
75 GENERATED_PARSER_FILES := \ |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
76 corefcn/oct-tex-lexer.ll \ |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
77 corefcn/oct-tex-parser.yy \ |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
78 parse-tree/oct-parse.yy |
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
79 |
9906 | 80 BUILT_DISTFILES = \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
81 $(GENERATED_PARSER_FILES) \ |
17280
1a5407bae739
libinterp/Makefile.am (BUILT_DISTFILES): Add corefcn/oct-tex-parser.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17269
diff
changeset
|
82 corefcn/oct-tex-parser.h \ |
17327
fe6518a1d87c
Move TeX symbol decoding into the lexer (bug #39831).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17280
diff
changeset
|
83 corefcn/oct-tex-symbols.cc \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
84 parse-tree/oct-gperf.h \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
85 parse-tree/oct-parse.h |
9906 | 86 |
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
|
87 ## 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
|
88 ## BUT not distributed in tarball. |
9906 | 89 BUILT_NODISTFILES = \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
90 corefcn/mxarray.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
91 corefcn/oct-errno.cc \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
92 corefcn/defaults.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
93 corefcn/graphics.h \ |
15418
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
94 builtin-defun-decls.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
95 operators/ops.cc \ |
9906 | 96 oct-conf.h \ |
16170
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
97 oct-conf-features.h \ |
9906 | 98 version.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
99 $(OPT_HANDLERS) \ |
9906 | 100 $(OPT_INC) \ |
12720
ccfe03bebeba
src/Makefile.am: Fixes to get 'make dist' working
Rik <octave@nomad.inbox5.com>
parents:
12717
diff
changeset
|
101 $(ALL_DEF_FILES) \ |
9906 | 102 builtins.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
103 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
104 EXTRA_DIST = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
105 Makefile.in \ |
9927
ecbf1577200c
Distribute DOCSTRINGS to prevent unnecessary documentation rebuild
Rik <rdrider0-list@yahoo.com>
parents:
9917
diff
changeset
|
106 DOCSTRINGS \ |
16182 | 107 config-features.sh \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
108 find-defun-files.sh \ |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
109 gendoc.pl \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
110 genprops.awk \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
111 mk-errno-list \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
112 mk-pkg-add \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
113 mkbuiltins \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
114 mkdefs \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
115 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
|
116 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
|
117 version.in.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
118 $(BUILT_DISTFILES) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
119 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
120 octinclude_HEADERS = \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
121 corefcn/graphics-props.cc \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
122 parse-tree/oct-gperf.h \ |
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
123 builtins.h \ |
15418
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
124 builtin-defun-decls.h \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
125 octave.h \ |
17779
9244d2a908fd
distribute options-usage.h
John W. Eaton <jwe@octave.org>
parents:
17777
diff
changeset
|
126 options-usage.h \ |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15278
diff
changeset
|
127 $(OCTAVE_VALUE_INC) \ |
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15278
diff
changeset
|
128 $(PARSE_TREE_INC) \ |
16321
7612d75a559b
distribute parser header files omitted in changeset faaf60aa457c
John W. Eaton <jwe@octave.org>
parents:
16298
diff
changeset
|
129 $(PARSER_INC) \ |
15281
03ef3a183129
build: Use INC rather than INCLUDES for consistent naming in libinterp Makefile.am.
Rik <rik@octave.org>
parents:
15278
diff
changeset
|
130 $(OPERATORS_INC) \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
131 $(COREFCN_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
132 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
133 nodist_octinclude_HEADERS = \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
134 corefcn/mxarray.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
135 corefcn/defaults.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
136 corefcn/graphics.h \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
137 oct-conf.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
138 version.h |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
139 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
140 DIST_SRC = \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
141 octave.cc \ |
17510
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
17378
diff
changeset
|
142 version.cc \ |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
143 $(OCTAVE_VALUE_SRC) \ |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
144 $(PARSE_TREE_SRC) \ |
16298
faaf60aa457c
use separate automake convenience library for bison and flex generated files
John W. Eaton <jwe@octave.org>
parents:
16184
diff
changeset
|
145 $(PARSER_SRC) \ |
17378
813523c2b581
build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents:
17376
diff
changeset
|
146 $(COREFCN_SRC) \ |
813523c2b581
build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents:
17376
diff
changeset
|
147 $(TEX_PARSER_SRC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
148 |
15039
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
149 noinst_LTLIBRARIES = |
e753177cde93
maint: Move non-dynamically linked functions from DLD-FUNCTIONS/ to corefcn/ directory
Rik <rik@octave.org>
parents:
15016
diff
changeset
|
150 |
15057
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
151 include parse-tree/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
152 include octave-value/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
153 include operators/module.mk |
46b19589b593
maint: Partition src/ directory with more code in subdirs.
Rik <rik@octave.org>
parents:
15051
diff
changeset
|
154 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
|
155 include corefcn/module.mk |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
156 include dldfcn/module.mk |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
157 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
158 $(srcdir)/dldfcn/module.mk: $(srcdir)/dldfcn/config-module.sh $(srcdir)/dldfcn/config-module.awk $(srcdir)/dldfcn/module-files |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
159 $(srcdir)/dldfcn/config-module.sh $(top_srcdir) |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
160 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
161 if AMCOND_ENABLE_DYNAMIC_LINKING |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
162 OCT_FILES = $(DLDFCN_LIBS:.la=.oct) |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
163 DLD_LIBOCTINTERP_LIBADD = liboctinterp.la |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
164 else |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
165 OCT_FILES = |
14295
21572e9bd365
make --disable-dl work again
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
166 DLD_LIBOCTINTERP_LIBADD = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
167 endif |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
168 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
169 liboctinterp_la_SOURCES = \ |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
170 octave.cc \ |
17510
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
17378
diff
changeset
|
171 version.cc \ |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
172 $(OPERATORS_SRC) \ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
173 $(TEMPLATE_INST_SRC) |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
174 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
175 nodist_liboctinterp_la_SOURCES = \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
176 corefcn/mxarray.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
177 corefcn/oct-errno.cc \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
178 corefcn/defaults.h \ |
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
179 corefcn/graphics.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
180 operators/ops.cc \ |
15418
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
181 builtin-defun-decls.h \ |
15096
909a2797935b
maint: Move interp source code without DEFUNs to interp-core/ dir.
Rik <rik@octave.org>
parents:
15088
diff
changeset
|
182 builtins.cc \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
183 oct-conf.h \ |
16170
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
184 oct-conf-features.h \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
185 version.h \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
186 $(OPT_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
187 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
188 liboctinterp_la_CPPFLAGS = @OCTINTERP_DLL_DEFS@ $(AM_CPPFLAGS) |
9906 | 189 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
190 include link-deps.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
191 |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
192 liboctinterp_la_LIBADD = \ |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
193 octave-value/liboctave-value.la \ |
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
194 parse-tree/libparse-tree.la \ |
16298
faaf60aa457c
use separate automake convenience library for bison and flex generated files
John W. Eaton <jwe@octave.org>
parents:
16184
diff
changeset
|
195 parse-tree/libparser.la \ |
15107
03381a36f70d
generate convenience libraries for new parse-tree and interpfcn subdirectories
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
196 corefcn/libcorefcn.la \ |
17378
813523c2b581
build: Use convenience library to build tex-parser so "old-style cast" warning can be disabled.
Rik <rik@octave.org>
parents:
17376
diff
changeset
|
197 corefcn/libtex_parser.la \ |
15278
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
198 $(top_builddir)/liboctave/liboctave.la \ |
13022
05534f03377d
maint: ensure we always link with local libtool libraries
John W. Eaton <jwe@octave.org>
parents:
13016
diff
changeset
|
199 $(LIBOCTINTERP_LINK_DEPS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9798
diff
changeset
|
200 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
201 # Increment these as needed and according to the rules in the libtool manual: |
21429
7bb71bf2f30f
bump liboctave, libinterp, and libgui version numbers for release
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
202 liboctinterp_current = 4 |
21638 | 203 liboctinterp_revision = 1 |
21429
7bb71bf2f30f
bump liboctave, libinterp, and libgui version numbers for release
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
204 liboctinterp_age = 1 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
205 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
206 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
|
207 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
208 liboctinterp_la_LDFLAGS = \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
209 -version-info $(liboctinterp_version_info) \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12218
diff
changeset
|
210 $(NO_UNDEFINED_LDFLAG) \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
211 -bindir $(bindir) \ |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
212 $(LIBOCTINTERP_LINK_OPTS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
213 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
214 ## Section for defining and creating DEF_FILES |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
215 |
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
216 ULT_DIST_SRC := \ |
19775
a941a65c7cb8
handle bison syntax changes in TeX parser
John W. Eaton <jwe@octave.org>
parents:
19697
diff
changeset
|
217 $(filter-out $(GENERATED_PARSER_FILES), $(DIST_SRC)) $(ULT_PARSER_SRC) |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
218 |
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
219 SRC_DEF_FILES := $(shell $(srcdir)/find-defun-files.sh "$(srcdir)" $(ULT_DIST_SRC)) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
220 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
221 DLDFCN_DEF_FILES = $(DLDFCN_SRC:.cc=.df) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
222 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
223 ## 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
|
224 ## .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
|
225 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
|
226 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
|
227 else |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
228 DEF_FILES = $(SRC_DEF_FILES) $(DLDFCN_DEF_FILES) |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
229 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
230 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
231 ALL_DEF_FILES = $(SRC_DEF_FILES) $(DLDFCN_DEF_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
232 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
233 $(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
|
234 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
235 $(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
|
236 |
15415
15c435992d3c
build: Deprecate DLL_CDEFS, CLL_CXXDEFS in Makefiles.
Rik <rik@octave.org>
parents:
15363
diff
changeset
|
237 ## FIXME: The following two variables are deprecated and should be removed |
15c435992d3c
build: Deprecate DLL_CDEFS, CLL_CXXDEFS in Makefiles.
Rik <rik@octave.org>
parents:
15363
diff
changeset
|
238 ## in Octave version 3.12. |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
239 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
|
240 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
|
241 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
242 ## Rule to build a DEF file from a .cc file |
17830
f22714d4a5da
build: Don't use JAVA_CPPFLAGS, FT2_CPPFLAGS everywhere when making .df files.
Rik <rik@octave.org>
parents:
17820
diff
changeset
|
243 ## See also module.mk files for overrides when speciall CPPFLAGS are needed. |
17820
3488d987eb50
build: Remove LLVM_(CPPFLAGS|CXXFLAGS) from XTRA_CXXFLAGS.
Rik <rik@octave.org>
parents:
17816
diff
changeset
|
244 ## FIXME: Shouldn't the build stop if CPP fails here? Yes (10/31/2013) |
19878
7575048a555b
build: Declare dependencies between generated sources (bug #44383)
Mike Miller <mtmiller@ieee.org>
parents:
19798
diff
changeset
|
245 %.df: %.cc $(GENERATED_MAKE_BUILTINS_INCS) |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
246 $(AM_V_GEN)rm -f $@-t $@-t1 $@ && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
247 $(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
17830
f22714d4a5da
build: Don't use JAVA_CPPFLAGS, FT2_CPPFLAGS everywhere when making .df files.
Rik <rik@octave.org>
parents:
17820
diff
changeset
|
248 $(AM_CPPFLAGS) $(LLVM_CPPFLAGS) $(CPPFLAGS) \ |
15768
a2a2c241f2d5
use JAVA_CPPFLAGS when building .df files.
John W. Eaton <jwe@octave.org>
parents:
15752
diff
changeset
|
249 $(AM_CXXFLAGS) $(CXXFLAGS) \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
250 -DMAKE_BUILTINS $< > $@-t1 && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
251 $(srcdir)/mkdefs $(srcdir) $< < $@-t1 > $@-t && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
252 mv $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
253 rm -f $@-t1 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
254 |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
255 ## Rules to build test files |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
256 |
16174
39096b290a2f
check syntax used to enable bison push/pull parser
John W. Eaton <jwe@octave.org>
parents:
16170
diff
changeset
|
257 TST_FILES_SRC := $(shell $(top_srcdir)/build-aux/find-files-with-tests.sh "$(srcdir)" $(ULT_DIST_SRC) $(DLDFCN_SRC)) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
258 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
259 TST_FILES := $(addsuffix -tst,$(TST_FILES_SRC)) |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
260 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
261 libinterptestsdir := $(octtestsdir)/libinterp |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
262 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
263 nobase_libinterptests_DATA = $(TST_FILES) |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15924
diff
changeset
|
264 |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
265 ## Override Automake's rule that forces a .hh extension on us even |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
266 ## though we don't want it. It would be super awesome if automake |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
267 ## would allow users to choose the header file extension. |
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
268 .yy.cc: |
17375
bc018154e46a
build: Support optional Automake silent rules
Mike Miller <mtmiller@ieee.org>
parents:
17327
diff
changeset
|
269 $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) |
15203
aa7f4e33c524
override automake .yy.cc rule (bug #36407)
John W. Eaton <jwe@octave.org>
parents:
15195
diff
changeset
|
270 |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13024
diff
changeset
|
271 ## Special rules: |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
272 ## 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
|
273 |
15278
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
274 ## oct-conf.h must depend on Makefile. |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
275 ## Calling configure may change default/config values. |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
276 ## However, calling configure will also regenerate the Makefiles from |
f4b5304ee451
build: Remove unnecessary -I includes from AM_CPPFLAGS.
Rik <rik@octave.org>
parents:
15271
diff
changeset
|
277 ## 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
|
278 oct-conf.h: oct-conf.in.h Makefile |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
279 $(AM_V_GEN)$(do_subst_config_vals) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
280 |
16170
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
281 oct-conf-features.h: $(top_builddir)/config.h config-features.sh |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
282 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
283 $(srcdir)/config-features.sh $< > $@-t && \ |
16170
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
284 mv $@-t $@ |
2a4f83826024
new way to test for features in Octave scripts
John W. Eaton <jwe@octave.org>
parents:
16156
diff
changeset
|
285 |
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
|
286 version.h: version.in.h Makefile |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
287 $(AM_V_GEN)rm -f $@-t $@ && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
288 $(SED) < $< \ |
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15096
diff
changeset
|
289 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from $(<F) by Make.|" \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
290 -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
|
291 -e "s|%OCTAVE_COPYRIGHT%|\"${OCTAVE_COPYRIGHT}\"|" \ |
18229
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
292 -e "s|%OCTAVE_MAJOR_VERSION%|${OCTAVE_MAJOR_VERSION}|" \ |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
293 -e "s|%OCTAVE_MINOR_VERSION%|${OCTAVE_MINOR_VERSION}|" \ |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
294 -e "s|%OCTAVE_PATCH_VERSION%|${OCTAVE_PATCH_VERSION}|" \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
295 -e "s|%OCTAVE_RELEASE_DATE%|\"${OCTAVE_RELEASE_DATE}\"|" \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
296 -e "s|%OCTAVE_VERSION%|\"${OCTAVE_VERSION}\"|" > $@-t && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
297 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
298 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
299 builtins.cc: $(DEF_FILES) mkbuiltins |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
300 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
301 $(srcdir)/mkbuiltins --source $(DEF_FILES) > $@-t && \ |
15418
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
302 mv $@-t $@ |
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
303 |
60090630cb76
generate declarations for all built-in DEFUN functions
John W. Eaton <jwe@octave.org>
parents:
15417
diff
changeset
|
304 builtin-defun-decls.h: $(SRC_DEF_FILES) mkbuiltins |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
305 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
306 $(srcdir)/mkbuiltins --header $(SRC_DEF_FILES) > $@-t && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
307 mv $@-t $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
308 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
309 if AMCOND_ENABLE_DYNAMIC_LINKING |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
310 DLDFCN_PKG_ADD_FILE = dldfcn/PKG_ADD |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
311 |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
312 dldfcn/PKG_ADD: $(DLDFCN_DEF_FILES) mk-pkg-add |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
313 $(AM_V_GEN)rm -f $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
314 $(srcdir)/mk-pkg-add $(DLDFCN_DEF_FILES) > $@-t && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
315 mv $@-t $@ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12958
diff
changeset
|
316 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
317 |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
318 if AMCOND_BUILD_DOCS |
14649
5fa6a41d4fbe
build: Use Perl to create DOCSTRINGS in src/ directory.
Rik <octave@nomad.inbox5.com>
parents:
14630
diff
changeset
|
319 .DOCSTRINGS: $(ALL_DEF_FILES) gendoc.pl |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
320 $(AM_V_GEN)rm -f $@-t $@ && \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
321 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
|
322 cp $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
323 touch -r $(srcdir)/DOCSTRINGS DOCSTRINGS; \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
324 fi && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
325 $(PERL) $(srcdir)/gendoc.pl $(ALL_DEF_FILES) > $@-t && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
326 mv $@-t $@ && \ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19775
diff
changeset
|
327 $(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
|
328 touch $@ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
329 |
19798
925fdd91abba
create .oct files directly instead of using stamp files (bug #44329)
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
330 all-local: $(OCT_FILES) $(DLDFCN_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
|
331 else |
19798
925fdd91abba
create .oct files directly instead of using stamp files (bug #44329)
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
332 all-local: $(OCT_FILES) $(DLDFCN_PKG_ADD_FILE) |
14432
e053d1622f4e
build: Don't build DOCSTRINGS files when --disable-docs specified.
Rik <octave@nomad.inbox5.com>
parents:
14398
diff
changeset
|
333 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
334 |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
335 if AMCOND_BUILD_DOCS |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
336 install-data-hook: install-oct install-built-in-docstrings |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
337 else |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
338 install-data-hook: install-oct uninstall-built-in-docstrings |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
339 endif |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
340 |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
341 uninstall-local: uninstall-oct uninstall-built-in-docstrings |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
342 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
343 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
|
344 install-oct: |
17232
090145ad5b4b
build: Eliminate obsolete mkinstalldirs helper scripts
Mike Miller <mtmiller@ieee.org>
parents:
16892
diff
changeset
|
345 $(MKDIR_P) $(DESTDIR)$(octfiledir) |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
346 if [ -n "`cat $(DLDFCN_PKG_ADD_FILE)`" ]; then \ |
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
347 $(INSTALL_DATA) $(DLDFCN_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
|
348 fi |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
349 cd $(DESTDIR)$(octlibdir) && \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
350 for ltlib in $(DLDFCN_LIBS); do \ |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
351 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
|
352 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
|
353 if [ -n "$$dl" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
354 $(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
|
355 else \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
356 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
|
357 exit 1; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
358 fi; \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
359 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
|
360 if [ -n "$$lnames" ]; then \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
361 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
|
362 fi \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
363 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
364 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
365 uninstall-oct: |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
366 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
|
367 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
|
368 done |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
369 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
|
370 endif |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
371 .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
|
372 |
15492
f62c2c57b800
build: do not install DOCSTRINGS when configuring with --disable-docs
Stefan Husmann <stefan-husmann@t-online.de>
parents:
15482
diff
changeset
|
373 if AMCOND_BUILD_DOCS |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
374 install-built-in-docstrings: |
15482
cb49817af457
ensure $(octetcdir) exists when installing built-in-docstrings file
John W. Eaton <jwe@octave.org>
parents:
15470
diff
changeset
|
375 $(MKDIR_P) $(DESTDIR)$(octetcdir) |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
376 $(INSTALL_DATA) DOCSTRINGS $(DESTDIR)$(octetcdir)/built-in-docstrings |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
377 |
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
378 uninstall-built-in-docstrings: |
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
379 rm -f $(DESTDIR)$(octetcdir)/built-in-docstrings |
15496
acfee9c61f80
build: Fix Makefile warning about redefinition of PHONY target
Rik <rik@octave.org>
parents:
15492
diff
changeset
|
380 endif |
15796
07231ebb6df3
build: Add rule to uninstall built-in-docstrings and allow distcheck to pass.
Rik <rik@octave.org>
parents:
15768
diff
changeset
|
381 .PHONY: install-built-in-docstrings uninstall-built-in-docstrings |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15463
diff
changeset
|
382 |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
383 CLEANFILES = \ |
15076
000587f92082
rename src/DLD-FUNCTIONS directory to src/dldfcn
John W. Eaton <jwe@octave.org>
parents:
15075
diff
changeset
|
384 $(DLDFCN_PKG_ADD_FILE) \ |
16892
68fc671a9339
maint: Collapse interpfcn and interpfcn-core directories into corefcn directory.
Rik <rik@octave.org>
parents:
16321
diff
changeset
|
385 corefcn/graphics-props.cc \ |
17327
fe6518a1d87c
Move TeX symbol decoding into the lexer (bug #39831).
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17280
diff
changeset
|
386 corefcn/oct-tex-parser.output \ |
15088
60ff2cef569d
maint: Move core interpreter files with DEFUNS to interpfcn/ directory
Rik <rik@octave.org>
parents:
15086
diff
changeset
|
387 parse-tree/oct-parse.output |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
388 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
389 DISTCLEANFILES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
390 .DOCSTRINGS \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
391 DOCSTRINGS \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
392 $(BUILT_NODISTFILES) \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
393 $(OCT_FILES) \ |
16056
f4f0aea29b21
build: remove *-tst files with distclean rule.
Rik <rik@octave.org>
parents:
16019
diff
changeset
|
394 $(TST_FILES) |
12730
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
395 |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
396 MAINTAINERCLEANFILES = \ |
633ef00d963c
maint: Reorganize src/Makefile.am for understanding. No rules changed.
Rik <octave@nomad.inbox5.com>
parents:
12727
diff
changeset
|
397 $(BUILT_DISTFILES) |
16056
f4f0aea29b21
build: remove *-tst files with distclean rule.
Rik <rik@octave.org>
parents:
16019
diff
changeset
|
398 |