Mercurial > octave-nkf
annotate liboctave/cruft/module.mk @ 20362:0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
* libinterp/module.mk: New file created from libinterp/Makefile.am.
* liboctave/module.mk: New file created from liboctave/Makefile.am.
* libinterp/Makefile.am, liboctave/Makefile.am: Delete.
* configure.ac (AC_CONFIG_FILES): Remove libinterp/Makefile and
liboctave/Makefile from the list.
* Makefile.am (SUBDIRS): Remove liboctave and libinterp from the list.
(BUILT_DISTFILES, BUILT_NODISTFILES, EXTRA_DIST, DIST_SRC,
octinclude_HEADERS, nodist_octinclude_HEADERS): Initialize as empty.
Include liboctave/module.mk liboctave/link-deps.mk,
libinterp/module.mk, and libinterp/link-deps.mk.
* doc/module.mk, libgui/link-deps.mk, libinterp/corefcn/module.mk,
libinterp/dldfcn/config-module.awk, libinterp/link-deps.mk,
libinterp/mkops, libinterp/octave-value/module.mk,
libinterp/operators/module.mk, libinterp/parse-tree/module.mk,
libinterp/template-inst/module.mk, liboctave/array/module.mk,
liboctave/cruft/Faddeeva/module.mk, liboctave/cruft/amos/module.mk,
liboctave/cruft/blas-xtra/module.mk, liboctave/cruft/daspk/module.mk,
liboctave/cruft/dasrt/module.mk, liboctave/cruft/dassl/module.mk,
liboctave/cruft/fftpack/module.mk,
liboctave/cruft/lapack-xtra/module.mk, liboctave/cruft/misc/module.mk,
liboctave/cruft/module.mk, liboctave/cruft/odepack/module.mk,
liboctave/cruft/ordered-qz/module.mk,
liboctave/cruft/quadpack/module.mk, liboctave/cruft/ranlib/module.mk,
liboctave/cruft/slatec-err/module.mk,
liboctave/cruft/slatec-fn/module.mk, liboctave/numeric/module.mk,
liboctave/operators/mk-ops.awk, liboctave/operators/module.mk,
liboctave/operators/sparse-mk-ops.awk, liboctave/system/module.mk,
liboctave/util/module.mk: Update for non-recursive build.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 10 Jul 2015 13:28:33 -0400 |
parents | 4f6ae6b94abe |
children | 9b44691a3520 |
rev | line source |
---|---|
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
1 EXTRA_DIST += liboctave/cruft/mkf77def.in |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
3 nodist_liboctave_cruft_libcruft_la_SOURCES = |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
5 liboctave_cruft_libcruft_la_FFLAGS = $(F77_INTEGER_8_FLAG) |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
7 liboctave_cruft_libcruft_la_DEPENDENCIES = liboctave/cruft/cruft.def |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 CRUFT_INC = |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 CRUFT_SOURCES = |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
13 include liboctave/cruft/amos/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
14 include liboctave/cruft/blas-xtra/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
15 include liboctave/cruft/daspk/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
16 include liboctave/cruft/dasrt/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
17 include liboctave/cruft/dassl/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
18 include liboctave/cruft/Faddeeva/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
19 include liboctave/cruft/fftpack/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
20 include liboctave/cruft/lapack-xtra/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
21 include liboctave/cruft/misc/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
22 include liboctave/cruft/odepack/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
23 include liboctave/cruft/ordered-qz/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
24 include liboctave/cruft/quadpack/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
25 include liboctave/cruft/ranlib/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
26 include liboctave/cruft/slatec-err/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
27 include liboctave/cruft/slatec-fn/module.mk |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19159
diff
changeset
|
29 define gen-cruft-def |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19159
diff
changeset
|
30 rm -f $@-t $@ && \ |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
31 $(SHELL) liboctave/cruft/mkf77def $(top_srcdir) $(liboctave_cruft_libcruft_la_SOURCES) > $@-t && \ |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19159
diff
changeset
|
32 mv $@-t $@ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19159
diff
changeset
|
33 endef |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19159
diff
changeset
|
34 |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
35 ## Special rules for files which must be built before compilation |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
36 liboctave/cruft/cruft.def: $(liboctave_cruft_libcruft_la_SOURCES) liboctave/cruft/mkf77def |
19826
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19159
diff
changeset
|
37 $(AM_V_GEN)$(gen-cruft-def) |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
38 |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
39 DISTCLEANFILES += \ |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
40 liboctave/cruft/cruft.def \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
41 liboctave/cruft/mkf77def \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
42 liboctave/cruft/ranlib/ranlib.def \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
43 $(nodist_liboctave_cruft_libcruft_la_SOURCES) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
44 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
45 noinst_LTLIBRARIES += liboctave/cruft/libcruft.la |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
47 liboctave_cruft_libcruft_la_SOURCES = $(CRUFT_SOURCES) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
48 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
49 liboctave_cruft_libcruft_la_CPPFLAGS = $(liboctave_liboctave_la_CPPFLAGS) |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
51 liboctave_cruft_libcruft_la_CFLAGS = $(liboctave_liboctave_la_CFLAGS) |
19159
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 |
20362
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
53 liboctave_cruft_libcruft_la_CXXFLAGS = $(liboctave_liboctave_la_CXXFLAGS) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
54 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19826
diff
changeset
|
55 liboctave_liboctave_la_LIBADD += liboctave/cruft/libcruft.la |