Mercurial > octave
annotate liboctave/operators/module.mk @ 21249:a032c6708f5c
fix filenames for distribution (bug #47122)
* liboctave/operators/module.mk (liboctafe_EXTRA_DIST): Fix names of
mx-ops, smx-ops, vx-ops files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2016 17:05:47 -0500 |
parents | 7be239ae42c8 |
children | 1309edb344e1 |
rev | line source |
---|---|
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
1 include liboctave/operators/vx-op-inc.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
2 include liboctave/operators/mx-op-inc.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
3 include liboctave/operators/smx-op-inc.mk |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
4 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
5 include liboctave/operators/vx-op-src.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
6 include liboctave/operators/mx-op-src.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
7 include liboctave/operators/smx-op-src.mk |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
8 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
9 BUILT_LIBOCTAVE_OPERATORS_SOURCES = \ |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
10 $(MX_OP_SRC) \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
11 $(VX_OP_SRC) \ |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
12 $(SMX_OP_SRC) |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
13 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
14 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
|
15 liboctave/operators/mx-ops.h \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
16 liboctave/operators/smx-ops.h \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
17 liboctave/operators/vx-ops.h \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
18 $(MX_OP_INC) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
19 $(VX_OP_INC) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
20 $(SMX_OP_INC) |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
21 |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
22 BUILT_LIBOCTAVE_OPERATORS_FILES = \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
23 $(BUILT_LIBOCTAVE_OPERATORS_SOURCES) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
24 $(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
|
25 |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
26 BUILT_FULL_MATRIX_OPERATORS_FILES = \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
27 liboctave/operators/mx-ops.h \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
28 $(MX_OP_INC) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
29 $(MX_OP_SRC) |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
30 |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
31 BUILT_SPARSE_MATRIX_OPERATORS_FILES = \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
32 liboctave/operators/smx-ops.h \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
33 $(SMX_OP_INC) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
34 $(SMX_OP_SRC) |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
35 |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
36 BUILT_VECTOR_OPERATORS_FILES = \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
37 liboctave/operators/vx-ops.h \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
38 $(VX_OP_INC) \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
39 $(VX_OP_SRC) |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
40 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
41 LIBOCTAVE_OPERATORS_INC = \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
42 liboctave/operators/mx-base.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
43 liboctave/operators/mx-defs.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
44 liboctave/operators/mx-ext.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
45 liboctave/operators/mx-op-decl.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
46 liboctave/operators/mx-op-defs.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
47 liboctave/operators/Sparse-diag-op-defs.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
48 liboctave/operators/Sparse-op-decls.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
49 liboctave/operators/Sparse-op-defs.h \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
50 liboctave/operators/Sparse-perm-op-defs.h |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
51 |
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
52 ## There are no distributed source files in this directory |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
53 LIBOCTAVE_OPERATORS_SRC = |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
54 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
55 LIBOCTAVE_TEMPLATE_SRC += \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
56 liboctave/operators/mx-inlines.cc |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
57 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
58 ## Special rules for sources which must be built before rest of compilation. |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
59 |
15273
535bb601e7db
use absolute file name to find mk-ops.awk
John W. Eaton <jwe@octave.org>
parents:
15272
diff
changeset
|
60 OP_SRCDIR = $(abs_top_srcdir)/liboctave/operators |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
61 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
62 define run-mk-ops |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
63 rm -f $@-t $@ && \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
64 $(AWK) -f $(OP_SRCDIR)/mk-ops.awk -v build_file=$(notdir $@) $< > $@-t && \ |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
65 mv $@-t $@ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19269
diff
changeset
|
66 endef |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19269
diff
changeset
|
67 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
68 $(BUILT_FULL_MATRIX_OPERATORS_FILES): liboctave/operators/mx-ops liboctave/operators/mk-ops.awk |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
69 $(AM_V_GEN)$(run-mk-ops) |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
70 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
71 $(BUILT_SPARSE_MATRIX_OPERATORS_FILES): liboctave/operators/smx-ops liboctave/operators/mk-ops.awk |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
72 $(AM_V_GEN)$(run-mk-ops) |
21243
c2b17840910e
generate and install smx-ops.h and vx-ops.h
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
73 |
21247
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
74 $(BUILT_VECTOR_OPERATORS_FILES): liboctave/operators/vx-ops liboctave/operators/mk-ops.awk |
7be239ae42c8
merge sparse-mk-ops.awk and mk-ops.awk scripts
John W. Eaton <jwe@octave.org>
parents:
21243
diff
changeset
|
75 $(AM_V_GEN)$(run-mk-ops) |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
76 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
77 noinst_LTLIBRARIES += liboctave/operators/liboperators.la |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
78 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
79 liboctave_operators_liboperators_la_SOURCES = $(LIBOCTAVE_OPERATORS_SRC) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
80 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
81 nodist_liboctave_operators_liboperators_la_SOURCES = $(BUILT_LIBOCTAVE_OPERATORS_SOURCES) |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
82 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
83 liboctave_operators_liboperators_la_CPPFLAGS = $(liboctave_liboctave_la_CPPFLAGS) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
84 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
85 liboctave_operators_liboperators_la_CFLAGS = $(liboctave_liboctave_la_CFLAGS) |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
86 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
87 liboctave_operators_liboperators_la_CXXFLAGS = $(liboctave_liboctave_la_CXXFLAGS) |
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
diff
changeset
|
88 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
89 liboctave_liboctave_la_LIBADD += liboctave/operators/liboperators.la |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
90 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
91 liboctave_EXTRA_DIST += \ |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
92 liboctave/operators/config-ops.sh \ |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
93 liboctave/operators/mk-ops.awk \ |
21249
a032c6708f5c
fix filenames for distribution (bug #47122)
John W. Eaton <jwe@octave.org>
parents:
21247
diff
changeset
|
94 liboctave/operators/mx-ops \ |
a032c6708f5c
fix filenames for distribution (bug #47122)
John W. Eaton <jwe@octave.org>
parents:
21247
diff
changeset
|
95 liboctave/operators/smx-ops \ |
a032c6708f5c
fix filenames for distribution (bug #47122)
John W. Eaton <jwe@octave.org>
parents:
21247
diff
changeset
|
96 liboctave/operators/vx-ops |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
97 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
98 liboctave_DISTCLEANFILES += $(BUILT_LIBOCTAVE_OPERATORS_SOURCES) |