annotate liboctave/module.mk @ 33587:a56b2283959a default tip @

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 May 2024 08:42:51 +0200
parents 99d90c3bd485
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
1 %canon_reldir%_EXTRA_DIST = \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
2 %reldir%/liboctave-build-info.in.cc \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
3 %reldir%/mk-version-h.in.sh \
25406
358cfc60b8e1 distribute liboctave/version.cc
John W. Eaton <jwe@octave.org>
parents: 25397
diff changeset
4 %reldir%/version.cc \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
5 %reldir%/version.in.h
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
6
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
7 GEN_CONFIG_SHELL += \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
8 %reldir%/mk-version-h.sh
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
9
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
10 %canon_reldir%_CLEANFILES =
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
11 %canon_reldir%_DISTCLEANFILES =
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
12 %canon_reldir%_MAINTAINERCLEANFILES =
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
14397
670feb71afde maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents: 14348
diff changeset
14 ## Search local directories before those specified by the user.
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
15 %canon_reldir%_%canon_reldir%_la_CPPFLAGS = \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
16 @OCTAVE_DLL_DEFS@ \
23434
f4d4d83f15c5 maint: rename cruft/ directory to external/
Rik <rik@octave.org>
parents: 23427
diff changeset
17 @EXTERNAL_DLL_DEFS@ \
21607
37f6ed8a6f1b store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
18 -Iliboctave -I$(srcdir)/liboctave \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
19 -I$(srcdir)/%reldir%/array \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
20 -I%reldir%/numeric -I$(srcdir)/%reldir%/numeric \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
21 -I%reldir%/operators -I$(srcdir)/%reldir%/operators \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
22 -I$(srcdir)/%reldir%/system \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
23 -I$(srcdir)/%reldir%/util \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
24 -I$(srcdir)/%reldir%/wrappers
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
26 octlib_LTLIBRARIES += %reldir%/liboctave.la
15363
482d92904aa4 don't use WARN_CXXFLAGS for qterminal library
John W. Eaton <jwe@octave.org>
parents: 15278
diff changeset
27
25391
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
28 %canon_reldir%_pkgconfig_DATA = %reldir%/octave.pc
10376
1ed7cc046c52 Makefile.am rules for rebuilding .mk files
John W. Eaton <jwe@octave.org>
parents: 10350
diff changeset
29
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30 BUILT_INCS = \
21247
7be239ae42c8 merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents: 21243
diff changeset
31 $(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
32 $(LIBOCTAVE_OPT_INC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33
21247
7be239ae42c8 merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents: 21243
diff changeset
34 BUILT_SOURCES += \
7be239ae42c8 merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents: 21243
diff changeset
35 $(BUILT_INCS) \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
36 $(BUILT_LIBOCTAVE_OPERATORS_SOURCES) \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
37 %reldir%/version.h
21607
37f6ed8a6f1b store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
38
37f6ed8a6f1b store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
39 LIBOCTAVE_BUILT_NODISTFILES = \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
40 %reldir%/liboctave-build-info.cc \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
41 %reldir%/version.h
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
43 octinclude_HEADERS += \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
44 %reldir%/liboctave-build-info.h \
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
45 $(ARRAY_INC) \
23434
f4d4d83f15c5 maint: rename cruft/ directory to external/
Rik <rik@octave.org>
parents: 23427
diff changeset
46 $(EXTERNAL_INC) \
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
47 $(NUMERIC_INC) \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
48 $(LIBOCTAVE_OPERATORS_INC) \
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
49 $(SYSTEM_INC) \
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
50 $(UTIL_INC) \
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
51 $(OTHER_INC) \
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
52 $(LIBOCTAVE_TEMPLATE_SRC)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
53
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
54 nodist_octinclude_HEADERS += \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
55 $(BUILT_INCS) \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
56 %reldir%/version.h
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
57
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
58 ## 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
59 OTHER_INC =
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
61 ## 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
62 LIBOCTAVE_TEMPLATE_SRC =
9979
3878bae57c12 Clean liboctave/Makefile.am to use more standard automake syntax
Rik <rdrider0-list@yahoo.com>
parents: 9946
diff changeset
63
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15601
diff changeset
64 ## 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
65
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
66 %canon_reldir%_%canon_reldir%_la_LIBADD =
19124
3087dc835497 eliminate recursive build in liboctave/cruft directory
John W. Eaton <jwe@octave.org>
parents: 18041
diff changeset
67
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
68 include %reldir%/array/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
69 include %reldir%/external/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
70 include %reldir%/numeric/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
71 include %reldir%/operators/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
72 include %reldir%/system/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
73 include %reldir%/util/module.mk
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
74 include %reldir%/wrappers/module.mk
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
76 nodist_%canon_reldir%_%canon_reldir%_la_SOURCES = \
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
77 %reldir%/liboctave-build-info.cc \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
78 %reldir%/version.cc \
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
79 %reldir%/version.h
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
80
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
81 %canon_reldir%_%canon_reldir%_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
82 libgnu/libgnu.la \
15271
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
83 $(LIBOCTAVE_LINK_DEPS)
648dabbb4c6b build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents: 15269
diff changeset
84
25590
02766a14c461 add info about version numbers in etc/HACKING.md file
John W. Eaton <jwe@octave.org>
parents: 25406
diff changeset
85 ## Increment the following version numbers as needed and according
02766a14c461 add info about version numbers in etc/HACKING.md file
John W. Eaton <jwe@octave.org>
parents: 25406
diff changeset
86 ## to the rules in the etc/HACKING.md file:
02766a14c461 add info about version numbers in etc/HACKING.md file
John W. Eaton <jwe@octave.org>
parents: 25406
diff changeset
87
32956
99d90c3bd485 bump version for first 9.1 release candidate
John W. Eaton <jwe@octave.org>
parents: 32470
diff changeset
88 %canon_reldir%_%canon_reldir%_current = 11
30620
d0bca82e1a5a build: Bump library versions for Octave 7.
Markus Mützel <markus.muetzel@gmx.de>
parents: 29735
diff changeset
89 %canon_reldir%_%canon_reldir%_revision = 0
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
90 %canon_reldir%_%canon_reldir%_age = 0
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12338
diff changeset
91
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
92 %canon_reldir%_%canon_reldir%_version_info = $(%canon_reldir%_%canon_reldir%_current):$(%canon_reldir%_%canon_reldir%_revision):$(%canon_reldir%_%canon_reldir%_age)
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12338
diff changeset
93
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
94 %canon_reldir%_%canon_reldir%_la_LDFLAGS = \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
95 -version-info $(%canon_reldir%_%canon_reldir%_version_info) \
12708
e34f2bf7319d maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents: 12338
diff changeset
96 $(NO_UNDEFINED_LDFLAG) \
23434
f4d4d83f15c5 maint: rename cruft/ directory to external/
Rik <rik@octave.org>
parents: 23427
diff changeset
97 @XTRA_EXTERNAL_SH_LDFLAGS@ \
10342
7f6b4c6838ea Add -bindir flags to _LDFLAGS variables.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 10331
diff changeset
98 -bindir $(bindir) \
20712
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20383
diff changeset
99 $(LIBOCTAVE_LINK_OPTS) \
4a25c398ffa2 configure option to build with address sanitizer (bugg #46449)
John W. Eaton <jwe@octave.org>
parents: 20383
diff changeset
100 $(WARN_LDFLAGS)
9794
0d4613a736e9 convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15601
diff changeset
102 ## Rules to build test files
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15601
diff changeset
103
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15601
diff changeset
104 LIBOCTAVE_TST_SRC = \
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
105 $(%canon_reldir%_array_libarray_la_SOURCES) \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
106 $(%canon_reldir%_numeric_libnumeric_la_SOURCES) \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
107 $(%canon_reldir%_system_libsystem_la_SOURCES) \
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
108 $(%canon_reldir%_util_libutil_la_SOURCES) \
20370
f74ab65ee1bf Restore installation of tests from template source files
Mike Miller <mtmiller@octave.org>
parents: 20366
diff changeset
109 $(LIBOCTAVE_TEMPLATE_SRC)
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15601
diff changeset
110
31899
c01849481834 avoid problems with $(shell ...) execution in Makefile
John W. Eaton <jwe@octave.org>
parents: 31772
diff changeset
111 LIBOCTAVE_TST_FILES_SRC := $(shell $(SHELL) 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
112
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
113 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
114
20373
3c70050faa1e Fix install paths of fixed and generated test files
Mike Miller <mtmiller@octave.org>
parents: 20370
diff changeset
115 liboctavetestsdir := $(octtestsdir)
16019
5b2126a8c84f install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents: 15601
diff changeset
116
20327
0ce7d8303152 eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents: 20134
diff changeset
117 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
118
25397
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
119 %reldir%/version.h: %reldir%/version.in.h %reldir%/mk-version-h.sh | %reldir%/$(octave_dirstamp)
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
120 $(AM_V_GEN)$(call simple-filter-rule,%reldir%/mk-version-h.sh)
2cf750f5cb7d make version info accessible in liboctave
John W. Eaton <jwe@octave.org>
parents: 25391
diff changeset
121
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
122 %reldir%/liboctave-build-info.cc: %reldir%/liboctave-build-info.in.cc HG-ID | %reldir%/$(octave_dirstamp)
23427
48fd5980e29a Refactor and normalize generated build info source files
Mike Miller <mtmiller@octave.org>
parents: 23426
diff changeset
123 $(AM_V_GEN)$(build-info-commands)
21607
37f6ed8a6f1b store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
124
22614
78b3c48be3e6 build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents: 22455
diff changeset
125 OCTAVE_INTERPRETER_TARGETS += \
78b3c48be3e6 build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents: 22455
diff changeset
126 $(LIBOCTAVE_TST_FILES)
78b3c48be3e6 build -tst files with "make all" (bug #49310)
John W. Eaton <jwe@octave.org>
parents: 22455
diff changeset
127
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
128 DIRSTAMP_FILES += %reldir%/$(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
129
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
130 EXTRA_DIST += $(%canon_reldir%_EXTRA_DIST)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
131
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
132 %canon_reldir%_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
133 $(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
134 $(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
135
25391
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
136 %canon_reldir%_DISTCLEANFILES += \
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
137 $(%canon_reldir%_pkgconfig_DATA)
26070f36f1e7 Provide octave configuration files for pkg-config (bug #48775)
Carnë Draug <carandraug@octave.org>
parents: 25295
diff changeset
138
21607
37f6ed8a6f1b store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
139 BUILT_NODISTFILES += $(LIBOCTAVE_BUILT_NODISTFILES)
37f6ed8a6f1b store liboctave and liboctinterp hg ids separately
John W. Eaton <jwe@octave.org>
parents: 21432
diff changeset
140
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
141 CLEANFILES += $(%canon_reldir%_CLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
142 DISTCLEANFILES += $(%canon_reldir%_DISTCLEANFILES)
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
143 MAINTAINERCLEANFILES += $(%canon_reldir%_MAINTAINERCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
144
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
145 liboctave-clean:
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
146 rm -f $(%canon_reldir%_CLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
147
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
148 liboctave-distclean: liboctave-clean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
149 rm -f $(%canon_reldir%_DISTCLEANFILES)
20366
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
150
9b44691a3520 provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents: 20327
diff changeset
151 liboctave-maintainer-clean: liboctave-distclean
23495
8308417aff1c use automake %reldir% feature
John W. Eaton <jwe@octave.org>
parents: 23434
diff changeset
152 rm -f $(%canon_reldir%_MAINTAINERCLEANFILES)