Mercurial > octave
annotate liboctave/module.mk @ 22614:78b3c48be3e6 stable
build -tst files with "make all" (bug #49310)
* liboctave/module.mk (OCTAVE_INTERPRETER_TARGETS): Add
$(LIBOCTAVE_TST_FILES) to the list.
* libinterp/module.mk (OCTAVE_INTERPRETER_TARGETS): Add
$(LIBINTERP_TST_FILES) to the list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 11 Oct 2016 13:26:54 -0400 |
parents | b8eeca55fa81 |
children | 13881569f613 |
rev | line source |
---|---|
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
1 liboctave_EXTRA_DIST = \ |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
2 liboctave/liboctave-build-info.in.cc |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
3 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
4 liboctave_CLEANFILES = |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
5 liboctave_DISTCLEANFILES = |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
6 liboctave_MAINTAINERCLEANFILES = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14348
diff
changeset
|
8 ## Search local directories before those specified by the user. |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
9 liboctave_liboctave_la_CPPFLAGS = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
10 @OCTAVE_DLL_DEFS@ \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
11 @CRUFT_DLL_DEFS@ \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
12 -Iliboctave -I$(srcdir)/liboctave \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
13 -I$(srcdir)/liboctave/array \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
14 -I$(srcdir)/liboctave/cruft/misc \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
15 -Iliboctave/numeric -I$(srcdir)/liboctave/numeric \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
16 -Iliboctave/operators -I$(srcdir)/liboctave/operators \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
17 -I$(srcdir)/liboctave/system \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
18 -I$(srcdir)/liboctave/util \ |
21888
00f1249f2483
create wrappers for some gnulib functions
John W. Eaton <jwe@octave.org>
parents:
21640
diff
changeset
|
19 -I$(srcdir)/liboctave/wrappers |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
21 liboctave_liboctave_la_CFLAGS = $(AM_CFLAGS) $(WARN_CFLAGS) |
15363
482d92904aa4
don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents:
15278
diff
changeset
|
22 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
23 liboctave_liboctave_la_CXXFLAGS = $(AM_CXXFLAGS) $(WARN_CXXFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
25 octlib_LTLIBRARIES += liboctave/liboctave.la |
10376
1ed7cc046c52
Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents:
10350
diff
changeset
|
26 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 BUILT_INCS = \ |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
28 $(BUILT_LIBOCTAVE_OPERATORS_INC) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
29 $(LIBOCTAVE_OPT_INC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
31 BUILT_SOURCES += \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
32 $(BUILT_INCS) \ |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21963
diff
changeset
|
33 $(BUILT_LIBOCTAVE_OPERATORS_SOURCES) |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
34 |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
35 LIBOCTAVE_BUILT_NODISTFILES = \ |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
36 liboctave/liboctave-build-info.cc |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
37 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
38 octinclude_HEADERS += \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
39 liboctave/liboctave-build-info.h \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
40 $(ARRAY_INC) \ |
19124
3087dc835497
eliminate recursive build in liboctave/cruft directory
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
41 $(CRUFT_INC) \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
42 $(NUMERIC_INC) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
43 $(LIBOCTAVE_OPERATORS_INC) \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
44 $(SYSTEM_INC) \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
45 $(UTIL_INC) \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
46 $(OTHER_INC) \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
47 $(LIBOCTAVE_TEMPLATE_SRC) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
49 nodist_octinclude_HEADERS += $(BUILT_INCS) |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
50 |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
51 ## C++ files that are #included, not compiled |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
52 OTHER_INC = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
54 ## C++ files with templates that are #included, not compiled |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
55 LIBOCTAVE_TEMPLATE_SRC = |
9979
3878bae57c12
Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents:
9946
diff
changeset
|
56 |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
57 ## A list of all files that could include tests |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
58 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
59 liboctave_liboctave_la_LIBADD = |
19124
3087dc835497
eliminate recursive build in liboctave/cruft directory
John W. Eaton <jwe@octave.org>
parents:
18041
diff
changeset
|
60 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
61 include liboctave/array/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
62 include liboctave/cruft/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
63 include liboctave/numeric/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
64 include liboctave/operators/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
65 include liboctave/system/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
66 include liboctave/util/module.mk |
21888
00f1249f2483
create wrappers for some gnulib functions
John W. Eaton <jwe@octave.org>
parents:
21640
diff
changeset
|
67 include liboctave/wrappers/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
69 ## liboctave merely collects a bunch of compiled convenience libraries. |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
70 ## It has no source code itself. |
21963
ab2daf3ffcda
build: don't distribute liboctave-build-info.cc
Mike Miller <mtmiller@octave.org>
parents:
21942
diff
changeset
|
71 nodist_liboctave_liboctave_la_SOURCES = \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
72 liboctave/liboctave-build-info.cc |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
73 |
15416
a0fb36acbd0d
build: Only use extra CPPFLAGS in the convenience libraries that need them.
Rik <rik@octave.org>
parents:
15386
diff
changeset
|
74 # Dummy C++ source to force C++ linking. |
21387
cd9d95d74403
build: Fix ctags target for Makefile.
Rik <rik@octave.org>
parents:
21290
diff
changeset
|
75 EXTRA_liboctave_liboctave_la_SOURCES = liboctave/.dummy_force_cxx_link.cc |
15386
5546fe4dd77f
force C++ linking for liboctave and liboctgui
John W. Eaton <jwe@octave.org>
parents:
15363
diff
changeset
|
76 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
77 liboctave_liboctave_la_LIBADD += \ |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21281
diff
changeset
|
78 libgnu/libgnu.la \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
79 $(LIBOCTAVE_LINK_DEPS) |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
80 |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
81 # Increment these as needed and according to the rules in the libtool manual: |
22455
b8eeca55fa81
maint: Bump version number for 4.2.0-rc1.
John W. Eaton <jwe@octave.org>
parents:
22074
diff
changeset
|
82 liboctave_liboctave_current = 4 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
83 liboctave_liboctave_revision = 0 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
84 liboctave_liboctave_age = 0 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12338
diff
changeset
|
85 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
86 liboctave_liboctave_version_info = $(liboctave_liboctave_current):$(liboctave_liboctave_revision):$(liboctave_age) |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12338
diff
changeset
|
87 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
88 liboctave_liboctave_la_LDFLAGS = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
89 -version-info $(liboctave_liboctave_version_info) \ |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12338
diff
changeset
|
90 $(NO_UNDEFINED_LDFLAG) \ |
15600
fcdc284f96ef
Fix cruft.def location and usage.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15416
diff
changeset
|
91 @XTRA_CRUFT_SH_LDFLAGS@ \ |
10342
7f6b4c6838ea
Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
10331
diff
changeset
|
92 -bindir $(bindir) \ |
20712
4a25c398ffa2
configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents:
20383
diff
changeset
|
93 $(LIBOCTAVE_LINK_OPTS) \ |
4a25c398ffa2
configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents:
20383
diff
changeset
|
94 $(WARN_LDFLAGS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
95 |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
96 ## Rules to build test files |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
97 |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
98 LIBOCTAVE_TST_SRC = \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
99 $(liboctave_array_libarray_la_SOURCES) \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
100 $(liboctave_numeric_libnumeric_la_SOURCES) \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
101 $(liboctave_system_libsystem_la_SOURCES) \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
102 $(liboctave_util_libutil_la_SOURCES) \ |
20370
f74ab65ee1bf
Restore installation of tests from template source files
Mike Miller <mtmiller@octave.org>
parents:
20366
diff
changeset
|
103 $(LIBOCTAVE_TEMPLATE_SRC) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
104 |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
21281
diff
changeset
|
105 LIBOCTAVE_TST_FILES_SRC := $(shell $(SHELL) $(srcdir)/build-aux/find-files-with-tests.sh "$(srcdir)" $(LIBOCTAVE_TST_SRC)) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
106 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
107 LIBOCTAVE_TST_FILES := $(addsuffix -tst,$(LIBOCTAVE_TST_FILES_SRC)) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
108 |
20373
3c70050faa1e
Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents:
20370
diff
changeset
|
109 liboctavetestsdir := $(octtestsdir) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
110 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
20134
diff
changeset
|
111 nobase_liboctavetests_DATA = $(LIBOCTAVE_TST_FILES) |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15601
diff
changeset
|
112 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22030
diff
changeset
|
113 liboctave/liboctave-build-info.cc: liboctave/liboctave-build-info.in.cc HG-ID | liboctave/$(octave_dirstamp) |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
114 $(AM_V_GEN)rm -f $@-t && \ |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
115 $(SED) \ |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
116 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \ |
22020
e154d23b2fd1
maint: reduce multiple mentions of the HG-ID file name and contents
Mike Miller <mtmiller@octave.org>
parents:
22015
diff
changeset
|
117 -e "s|%OCTAVE_HG_ID%|$(HG_ID_VAR)|" $< > $@-t && \ |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
118 $(simple_move_if_change_rule) |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
119 |
22614
78b3c48be3e6
build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents:
22455
diff
changeset
|
120 OCTAVE_INTERPRETER_TARGETS += \ |
78b3c48be3e6
build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents:
22455
diff
changeset
|
121 $(LIBOCTAVE_TST_FILES) |
78b3c48be3e6
build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents:
22455
diff
changeset
|
122 |
22074
5a0eea960bdb
build: fix typo of $(octave_dirstamp) in build prerequisites
Mike Miller <mtmiller@octave.org>
parents:
22030
diff
changeset
|
123 DIRSTAMP_FILES += liboctave/$(octave_dirstamp) |
21966
112b20240c87
move docstrings in C++ files out of C strings and into comments
John W. Eaton <jwe@octave.org>
parents:
21963
diff
changeset
|
124 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
125 EXTRA_DIST += $(liboctave_EXTRA_DIST) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
126 |
22015
cb25e0da9541
build: clean all PKG_ADD, *.oct, and *-tst files on 'make clean'
Mike Miller <mtmiller@octave.org>
parents:
21966
diff
changeset
|
127 liboctave_CLEANFILES += \ |
22024
659731a4563f
build: delete generated files, keep distributed files on clean and distclean (bug #45646)
Mike Miller <mtmiller@octave.org>
parents:
22020
diff
changeset
|
128 $(LIBOCTAVE_BUILT_NODISTFILES) \ |
22015
cb25e0da9541
build: clean all PKG_ADD, *.oct, and *-tst files on 'make clean'
Mike Miller <mtmiller@octave.org>
parents:
21966
diff
changeset
|
129 $(LIBOCTAVE_TST_FILES) |
cb25e0da9541
build: clean all PKG_ADD, *.oct, and *-tst files on 'make clean'
Mike Miller <mtmiller@octave.org>
parents:
21966
diff
changeset
|
130 |
21607
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
131 BUILT_NODISTFILES += $(LIBOCTAVE_BUILT_NODISTFILES) |
37f6ed8a6f1b
store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents:
21432
diff
changeset
|
132 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
133 CLEANFILES += $(liboctave_CLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
134 DISTCLEANFILES += $(liboctave_DISTCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
135 MAINTAINERCLEANFILES += $(liboctave_MAINTAINERCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
136 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
137 liboctave-clean: |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
138 rm -f $(liboctave_CLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
139 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
140 liboctave-distclean: liboctave-clean |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
141 rm -f $(liboctave_DISTCLEANFILES) |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
142 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
143 liboctave-maintainer-clean: liboctave-distclean |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
144 rm -f $(liboctave_MAINTAINERCLEANFILES) |