Mercurial > octave-nkf
annotate libcruft/Makefile.am @ 13015:143003684835
maint: fix typo in previous libcruft/Makefile.am change
* libcruft/Makefile.am (libcruft_la_LDFLAGS): Use LIBCRUFT_LINK_OPTS,
not LIBCRFUT_LDLFAGS.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sat, 27 Aug 2011 11:23:17 -0400 |
parents | edc5ec6e949b |
children | 6b0798860fa4 |
rev | line source |
---|---|
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # Makefile for octave's libcruft directory |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # |
11523 | 3 # Copyright (C) 1993-2011 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. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 # |
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. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 # |
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. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 # |
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 |
10061
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10045
diff
changeset
|
23 AM_CPPFLAGS = @CPPFLAGS@ -I../libgnu -I$(top_srcdir)/libgnu |
ec0c445d0d6f
include -I../libgnu in AM_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10045
diff
changeset
|
24 |
9980
e352f8366b02
Use simple_move_if_change_rule for cruft.def to eliminate unnecessary compilations.
Rik <rdrider0-list@yahoo.com>
parents:
9906
diff
changeset
|
25 AUTOMAKE_OPTIONS = subdir-objects |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
9980
e352f8366b02
Use simple_move_if_change_rule for cruft.def to eliminate unnecessary compilations.
Rik <rdrider0-list@yahoo.com>
parents:
9906
diff
changeset
|
27 octlib_LTLIBRARIES = libcruft.la |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 libcruft_la_SOURCES = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
31 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
|
32 |
10412
d2ac9433cd09
append AM_CPPFLAGS to libcruft_la_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
33 libcruft_la_CPPFLAGS = \ |
d2ac9433cd09
append AM_CPPFLAGS to libcruft_la_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
34 @CRUFT_DLL_DEFS@ \ |
d2ac9433cd09
append AM_CPPFLAGS to libcruft_la_CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
10342
diff
changeset
|
35 $(AM_CPPFLAGS) |
9816
b1462c588dd5
add -DX_DLL_DEFS to CPPFLAGS
John W. Eaton <jwe@octave.org>
parents:
9799
diff
changeset
|
36 |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
37 include link-deps.mk |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
38 |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
39 libcruft_la_LIBADD = $(LIBCRUFT_LINK_DEPS) |
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
40 |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
41 # Increment these as needed and according to the rules in the libtool |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
42 # manual: |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
43 libcruft_current = 0 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
44 libcruft_revision = 0 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
45 libcruft_age = 0 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
46 |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
47 libcruft_version_info = $(libcruft_current):$(libcruft_revision):$(libcruft_age) |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
48 |
9817
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
49 libcruft_la_LDFLAGS = \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
50 $(RLD_FLAG) \ |
12708
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
51 -version-info $(libcruft_version_info) \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
52 $(NO_UNDEFINED_LDFLAG) \ |
e34f2bf7319d
maint: implement proper library versioning.
John W. Eaton <jwe@octave.org>
parents:
12194
diff
changeset
|
53 @XTRA_CRUFT_SH_LDFLAGS@ \ |
13010
edc5ec6e949b
maint: allow --enable-static --disable-dl to work again
John W. Eaton <jwe@octave.org>
parents:
12733
diff
changeset
|
54 -bindir $(bindir) \ |
13015
143003684835
maint: fix typo in previous libcruft/Makefile.am change
John W. Eaton <jwe@octave.org>
parents:
13010
diff
changeset
|
55 $(LIBCRUFT_LINK_OPTS) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 |
9817
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
57 libcruft_la_DEPENDENCIES = cruft.def |
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
58 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
59 noinst_LTLIBRARIES = libranlib.la |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
60 |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
61 libranlib_la_SOURCES = |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
62 |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
63 libranlib_la_DEPENDENCIES = ranlib.def |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
64 |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
65 octinclude_HEADERS = |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
66 |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9980
diff
changeset
|
67 EXTRA_DIST = |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
69 include amos/module.mk |
12194
470857149e61
import ARPACK sources to libcruft from Debian package libarpack2 2.1+parpack96.dfsg-3+b1
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
70 include arpack/module.mk |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 include blas-xtra/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
72 include daspk/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
73 include dasrt/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
74 include dassl/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
75 include fftpack/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
76 include lapack-xtra/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
77 include misc/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
78 include odepack/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
79 include ordered-qz/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
80 include quadpack/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
81 include ranlib/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
82 include slatec-err/module.mk |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
83 include slatec-fn/module.mk |
9817
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
84 |
9980
e352f8366b02
Use simple_move_if_change_rule for cruft.def to eliminate unnecessary compilations.
Rik <rdrider0-list@yahoo.com>
parents:
9906
diff
changeset
|
85 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
|
86 chmod a+rx mkf77def |
932b0efeb81b
restore rules to create libcruft/cruft.def
John W. Eaton <jwe@octave.org>
parents:
9816
diff
changeset
|
87 ./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
|
88 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
|
89 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
90 ranlib.def: $(libranlib_la_SOURCES) mkf77def |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
91 chmod a+rx mkf77def |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
92 ./mkf77def $(srcdir) $(libranlib_la_SOURCES) > $@-t |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
93 mv $@-t $@ |
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
94 |
12717
a87052630372
maint: Update various Makefile.am to no longer distribute ChangeLog file
Rik <octave@nomad.inbox5.com>
parents:
12708
diff
changeset
|
95 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
|
96 |
10331
6a50aa2cdf00
never compile ranlib with 8-byte integers
John W. Eaton <jwe@octave.org>
parents:
10149
diff
changeset
|
97 DISTCLEANFILES = cruft.def ranlib.def |
10004
e517da95bf98
Eliminate TOPDIR variable in favor of built-in automake variables
Rik <rdrider0-list@yahoo.com>
parents:
9980
diff
changeset
|
98 |