Mercurial > octave
annotate liboctave/cruft/module.mk @ 21290:1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
The build system runs primarily in the top-level directory now, so
unless a Make rule changes the working directory before referencing a
file, it is not necessary to use the abs_top_X or top_X directory
names.
* Makefile.am, build-aux/common.mk, doc/module.mk,
libgui/graphics/module.mk, libgui/module.mk, libgui/src/module.mk,
libinterp/corefcn/module.mk, libinterp/module.mk,
liboctave/cruft/module.mk, liboctave/cruft/ranlib/module.mk,
liboctave/module.mk, liboctave/numeric/module.mk
liboctave/operators/module.mk, scripts/module.mk, src/module.mk:
Only use Use $(top_srcdir), $(top_builddir), $(abs_top_srcdir), and
$(abs_top_builddir) if necessary.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 17 Feb 2016 13:32:44 -0500 |
parents | 9b44691a3520 |
children | 7e8a410e6124 |
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 nodist_liboctave_cruft_libcruft_la_SOURCES = |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
3 liboctave_cruft_libcruft_la_FFLAGS = $(F77_INTEGER_8_FLAG) |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@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 liboctave_cruft_libcruft_la_DEPENDENCIES = liboctave/cruft/cruft.def |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 CRUFT_INC = |
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_SOURCES = |
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
11 include liboctave/cruft/amos/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
12 include liboctave/cruft/blas-xtra/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
13 include liboctave/cruft/daspk/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
14 include liboctave/cruft/dasrt/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
15 include liboctave/cruft/dassl/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
16 include liboctave/cruft/Faddeeva/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
17 include liboctave/cruft/fftpack/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
18 include liboctave/cruft/lapack-xtra/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
19 include liboctave/cruft/misc/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
20 include liboctave/cruft/odepack/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
21 include liboctave/cruft/ordered-qz/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
22 include liboctave/cruft/quadpack/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
23 include liboctave/cruft/ranlib/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
24 include liboctave/cruft/slatec-err/module.mk |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
25 include liboctave/cruft/slatec-fn/module.mk |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19125
diff
changeset
|
27 define gen-cruft-def |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19125
diff
changeset
|
28 rm -f $@-t $@ && \ |
21290
1309edb344e1
use top_srcdir, top_builddir, abs_top_srcdir or abs_top_builddir only if needed
John W. Eaton <jwe@octave.org>
parents:
20366
diff
changeset
|
29 $(SHELL) liboctave/cruft/mkf77def $(srcdir) $(liboctave_cruft_libcruft_la_SOURCES) > $@-t && \ |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19125
diff
changeset
|
30 mv $@-t $@ |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19125
diff
changeset
|
31 endef |
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19125
diff
changeset
|
32 |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
33 ## Special rules for files which must be built before compilation |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
34 liboctave/cruft/cruft.def: $(liboctave_cruft_libcruft_la_SOURCES) liboctave/cruft/mkf77def |
19792
4f6ae6b94abe
make --enable-silent-rules configure option more useful
John W. Eaton <jwe@octave.org>
parents:
19125
diff
changeset
|
35 $(AM_V_GEN)$(gen-cruft-def) |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
36 |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
37 liboctave_DISTCLEANFILES += \ |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
38 liboctave/cruft/cruft.def \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
39 liboctave/cruft/mkf77def \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
40 liboctave/cruft/ranlib/ranlib.def \ |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
41 $(nodist_liboctave_cruft_libcruft_la_SOURCES) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
42 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
43 noinst_LTLIBRARIES += liboctave/cruft/libcruft.la |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
44 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
45 liboctave_cruft_libcruft_la_SOURCES = $(CRUFT_SOURCES) |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
46 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
47 liboctave_cruft_libcruft_la_CPPFLAGS = $(liboctave_liboctave_la_CPPFLAGS) |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
49 liboctave_cruft_libcruft_la_CFLAGS = $(liboctave_liboctave_la_CFLAGS) |
19125
62f833acf183
* liboctave/cruft/module.mk: Add file missing from previous changeset.
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 |
20327
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
51 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:
19792
diff
changeset
|
52 |
0ce7d8303152
eliminate recursive make invocations in liboctave and libinterp directories
John W. Eaton <jwe@octave.org>
parents:
19792
diff
changeset
|
53 liboctave_liboctave_la_LIBADD += liboctave/cruft/libcruft.la |
20366
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
54 |
9b44691a3520
provide per-directory clean targets
John W. Eaton <jwe@octave.org>
parents:
20327
diff
changeset
|
55 liboctave_EXTRA_DIST += liboctave/cruft/mkf77def.in |