Mercurial > octave-nkf
annotate liboctave/cruft/Makefile.am @ 15272:dd794aa84232
additional changes for merger of libcruft with liboctave
* libgui/src/Makefile.am (AM_CPPFLAGS): Include
-I../../liboctave/numeric, -I../../liboctave/operators,
--I$(srcdir)/../../liboctave/array,
--I$(srcdir)/../../liboctave/numeric,
--I$(srcdir)/../../liboctave/operators,
--I$(srcdir)/../../liboctave/system, and
-I$(srcdir)/../../liboctave/util in the list.
* libinterp/link-deps.mk (LIBOCTINTERP_LINK_DEPS): Delete
$(GNULIB_LINK_DEPS) from the list.
* liboctave/Makefile.am (liboctae_la_LIBADD): Include
cruft/ranlib/libranlib.la and ../libgnu/libgnu.la in the list.
* liboctave/cruft/link-deps.mk: Delete.
* liboctave/cruft/Makefile.am (noinst_LTLIBRARIES): Rename from
octlib_LTLIBRARIES. Don't include link-deps.mk.
(libcruft_la_LIBADD, libcruft_current, libcruft_revision,
libcruft_age, libcruft_la_LDFLAGS): Delete.
Build libranlib.la in ranlib subdirectory.
* module.mk (ranlib_libranlib_la_SOURCES): Rename from libranlib_la_SOURCES.
* liboctave/link-deps.mk: Don't include
$(top_srcdir)/liboctave/cruft/link-deps.mk.
(GNULIB_LINK_DEPS): Move definition here from
liboctave/cruft/link-deps.mk.
(LIBOCTAVE_LINK_DEPS): Include $(FLIBS) in the list.
Don't add $(LIBCRUFT_LINK_DEPS) to LIBOCTAVE_LINK_DEPS.
Don't add $(LIBCRUFT_LINK_OPTS) to LIBOCTAVE_LINK_OPTS.
* liboctave/operators/module.mk: Use correct names for mk-ops.awk
script and mx-ops, vx-ops, and sparse-mx-ops files.
* src/Makefile.am (AM_CPPFLAGS): Include
-I$(srcdir)/../liboctave/array, -I$(srcdir)/../liboctave/numeric, and
-I$(srcdir)/../liboctave/util in the list.
Include -I$(srcdir)/../liboctave/cruft/misc in the list, not
-I$(srcdir)/../libcruft/misc.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 01 Sep 2012 10:46:45 -0400 |
parents | 648dabbb4c6b |
children | e359158c917f |
rev | line source |
---|---|
15271
648dabbb4c6b
build: Refactor liboctave into multiple subdirectories. Move libcruft into liboctave.
Rik <rik@octave.org>
parents:
15269
diff
changeset
|
1 # Makefile for Octave's liboctave/cruft directory |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
13141
diff
changeset
|
3 # Copyright (C) 1993-2012 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 # |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 # This file is part of Octave. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
6 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 # Octave is free software; you can redistribute it and/or modify it |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 # under the terms of the GNU General Public License as published by the |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 # Free Software Foundation; either version 3 of the License, or (at |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 # your option) any later version. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
11 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 # Octave is distributed in the hope that it will be useful, but WITHOUT |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 # for more details. |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
13022
diff
changeset
|
16 # |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 # You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 # along with Octave; see the file COPYING. If not, see |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 # <http://www.gnu.org/licenses/>. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 |
12733
b67c2d580a25
maint: clean up top-level directory
John W. Eaton <jwe@octave.org>
parents:
12717
diff
changeset
|
21 include $(top_srcdir)/build-aux/common.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15120
diff
changeset
|
23 AUTOMAKE_OPTIONS = subdir-objects |
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15120
diff
changeset
|
24 |
14397
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
25 ## Search local directories before those specified by the user. |
670feb71afde
maint: Move @CPPFLAGS@ to end of AM_CPPFLAGS lists in Makefiles.
John W. Eaton <jwe@octave.org>
parents:
14192
diff
changeset
|
26 AM_CPPFLAGS = \ |
15132
3e5b00d964ad
Use $(top_builddir)/libgnu for parallelism with $(top_srcdir)/libgnu
Rik <rik@octave.org>
parents:
15120
diff
changeset
|
27 -I$(top_builddir)/libgnu -I$(top_srcdir)/libgnu |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
15272
dd794aa84232
additional changes for merger of libcruft with liboctave
John W. Eaton <jwe@octave.org>
parents:
15271
diff
changeset
|
29 noinst_LTLIBRARIES = libcruft.la |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
31 libcruft_la_SOURCES = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
32 |
14553
aacb604ca2b6
Clean generated fortran files.
Mike Miller <mtmiller@ieee.org>
parents:
14397
diff
changeset
|
33 nodist_libcruft_la_SOURCES = |
aacb604ca2b6
Clean generated fortran files.
Mike Miller <mtmiller@ieee.org>
parents:
14397
diff
changeset
|
34 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
35 libcruft_la_FFLAGS = $(F77_INTEGER_8_FLAG) |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
36 |
10412
d2ac9433cd09
append AM_CPPFLAGS to libcruft_la_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
37 libcruft_la_CPPFLAGS = \ |
d2ac9433cd09
append AM_CPPFLAGS to libcruft_la_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
38 @CRUFT_DLL_DEFS@ \ |
d2ac9433cd09
append AM_CPPFLAGS to libcruft_la_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
39 $(AM_CPPFLAGS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9799
diff
changeset
|
40 |
9817
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
41 libcruft_la_DEPENDENCIES = cruft.def |
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
42 |
15272
dd794aa84232
additional changes for merger of libcruft with liboctave
John W. Eaton <jwe@octave.org>
parents:
15271
diff
changeset
|
43 noinst_LTLIBRARIES += ranlib/libranlib.la |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
44 |
15272
dd794aa84232
additional changes for merger of libcruft with liboctave
John W. Eaton <jwe@octave.org>
parents:
15271
diff
changeset
|
45 ranlib_libranlib_la_SOURCES = |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
46 |
15272
dd794aa84232
additional changes for merger of libcruft with liboctave
John W. Eaton <jwe@octave.org>
parents:
15271
diff
changeset
|
47 ranlib_libranlib_la_DEPENDENCIES = ranlib.def |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
48 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
49 octinclude_HEADERS = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9980
diff
changeset
|
51 EXTRA_DIST = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
52 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
53 include amos/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 include blas-xtra/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
55 include daspk/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 include dasrt/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
57 include dassl/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 include fftpack/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
59 include lapack-xtra/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 include misc/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
61 include odepack/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
62 include ordered-qz/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
63 include quadpack/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 include ranlib/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 include slatec-err/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 include slatec-fn/module.mk |
9817
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
67 |
9980
e352f8366b02
Use simple_move_if_change_rule for cruft.def to eliminate unnecessary compilations.
Rik <rdrider0-list@yahoo.com>
parents:
9906
diff
changeset
|
68 cruft.def: $(libcruft_la_SOURCES) mkf77def |
9817
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
69 chmod a+rx mkf77def |
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
70 ./mkf77def $(srcdir) $(libcruft_la_SOURCES) > $@-t |
10045
f91d41387a05
Reverse using move_if_change rule for cruft.def (Changeset:9980)
Rik <rdrider0-list@yahoo.com>
parents:
10004
diff
changeset
|
71 mv $@-t $@ |
9980
e352f8366b02
Use simple_move_if_change_rule for cruft.def to eliminate unnecessary compilations.
Rik <rdrider0-list@yahoo.com>
parents:
9906
diff
changeset
|
72 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
73 ranlib.def: $(libranlib_la_SOURCES) mkf77def |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
74 chmod a+rx mkf77def |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
75 ./mkf77def $(srcdir) $(libranlib_la_SOURCES) > $@-t |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
76 mv $@-t $@ |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
77 |
12717
a87052630372
maint: Update various Makefile.am to no longer distribute ChangeLog file
Rik <octave@nomad.inbox5.com>
parents:
12708
diff
changeset
|
78 EXTRA_DIST += mkf77def.in |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9980
diff
changeset
|
79 |
14553
aacb604ca2b6
Clean generated fortran files.
Mike Miller <mtmiller@ieee.org>
parents:
14397
diff
changeset
|
80 DISTCLEANFILES = cruft.def ranlib.def $(nodist_libcruft_la_SOURCES) |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9980
diff
changeset
|
81 |