1 | # Makefile.in generated automatically by automake 1.5 from Makefile.am. |
---|
2 | |
---|
3 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
---|
4 | # Free Software Foundation, Inc. |
---|
5 | # This Makefile.in is free software; the Free Software Foundation |
---|
6 | # gives unlimited permission to copy and/or distribute it, |
---|
7 | # with or without modifications, as long as this notice is preserved. |
---|
8 | |
---|
9 | # This program is distributed in the hope that it will be useful, |
---|
10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
---|
11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
---|
12 | # PARTICULAR PURPOSE. |
---|
13 | |
---|
14 | @SET_MAKE@ |
---|
15 | |
---|
16 | # Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002 Free |
---|
17 | # Software Foundation, Inc. |
---|
18 | # |
---|
19 | # This file is part of the GNU MP Library. |
---|
20 | # |
---|
21 | # The GNU MP Library is free software; you can redistribute it and/or modify |
---|
22 | # it under the terms of the GNU Lesser General Public License as published by |
---|
23 | # the Free Software Foundation; either version 2.1 of the License, or (at your |
---|
24 | # option) any later version. |
---|
25 | # |
---|
26 | # The GNU MP Library is distributed in the hope that it will be useful, but |
---|
27 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
---|
28 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public |
---|
29 | # License for more details. |
---|
30 | # |
---|
31 | # You should have received a copy of the GNU Lesser General Public License |
---|
32 | # along with the GNU MP Library; see the file COPYING.LIB. If not, write to |
---|
33 | # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
---|
34 | # MA 02111-1307, USA. |
---|
35 | |
---|
36 | # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the |
---|
37 | # libtool manual. |
---|
38 | # |
---|
39 | # 1. No interfaces changed, only implementations (good): Increment REVISION. |
---|
40 | # |
---|
41 | # 2. Interfaces added, none removed (good): Increment CURRENT, increment |
---|
42 | # AGE, set REVISION to 0. |
---|
43 | # |
---|
44 | # 3. Interfaces removed (BAD, breaks upward compatibility): Increment |
---|
45 | # CURRENT, set AGE and REVISION to 0. |
---|
46 | # |
---|
47 | # Do this separately for libgmp and libmp, and only for releases. |
---|
48 | # |
---|
49 | # GMP -version-info |
---|
50 | # release libgmp libgmpxx libmp |
---|
51 | # 2.0.x - - - |
---|
52 | # 3.0 3:0:0 - 3:0:0 |
---|
53 | # 3.0.1 3:1:0 - 3:0:0 |
---|
54 | # 3.1 4:0:1 - 4:0:1 |
---|
55 | # 3.1.1 4:1:1 - 4:1:1 |
---|
56 | # 4.0 5:0:2 3:0:0 4:2:1 |
---|
57 | # 4.0.1 5:1:2 3:1:0 4:3:1 |
---|
58 | # 4.1 6:0:3 3:2:0 4:4:1 |
---|
59 | # 4.1.1 6:1:3 3:3:0 4:5:1 |
---|
60 | # |
---|
61 | # Starting at 3:0:0 is a slight abuse of the versioning system, but it |
---|
62 | # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux |
---|
63 | # packages of gmp 2. Pretend gmp 2 was 2:0:0, so the interface changes for |
---|
64 | # gmp 3 mean 3:0:0 is right. |
---|
65 | |
---|
66 | SHELL = @SHELL@ |
---|
67 | |
---|
68 | srcdir = @srcdir@ |
---|
69 | top_srcdir = @top_srcdir@ |
---|
70 | VPATH = @srcdir@ |
---|
71 | prefix = @prefix@ |
---|
72 | exec_prefix = @exec_prefix@ |
---|
73 | |
---|
74 | bindir = @bindir@ |
---|
75 | sbindir = @sbindir@ |
---|
76 | libexecdir = @libexecdir@ |
---|
77 | datadir = @datadir@ |
---|
78 | sysconfdir = @sysconfdir@ |
---|
79 | sharedstatedir = @sharedstatedir@ |
---|
80 | localstatedir = @localstatedir@ |
---|
81 | libdir = @libdir@ |
---|
82 | infodir = @infodir@ |
---|
83 | mandir = @mandir@ |
---|
84 | includedir = @includedir@ |
---|
85 | oldincludedir = /usr/include |
---|
86 | pkgdatadir = $(datadir)/@PACKAGE@ |
---|
87 | pkglibdir = $(libdir)/@PACKAGE@ |
---|
88 | pkgincludedir = $(includedir)/@PACKAGE@ |
---|
89 | top_builddir = . |
---|
90 | |
---|
91 | ACLOCAL = @ACLOCAL@ |
---|
92 | AUTOCONF = @AUTOCONF@ |
---|
93 | AUTOMAKE = @AUTOMAKE@ |
---|
94 | AUTOHEADER = @AUTOHEADER@ |
---|
95 | |
---|
96 | INSTALL = @INSTALL@ |
---|
97 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
---|
98 | INSTALL_DATA = @INSTALL_DATA@ |
---|
99 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
---|
100 | INSTALL_HEADER = $(INSTALL_DATA) |
---|
101 | transform = @program_transform_name@ |
---|
102 | NORMAL_INSTALL = : |
---|
103 | PRE_INSTALL = : |
---|
104 | POST_INSTALL = : |
---|
105 | NORMAL_UNINSTALL = : |
---|
106 | PRE_UNINSTALL = : |
---|
107 | POST_UNINSTALL = : |
---|
108 | host_alias = @host_alias@ |
---|
109 | host_triplet = @host@ |
---|
110 | AMTAR = @AMTAR@ |
---|
111 | AR = @AR@ |
---|
112 | AS = @AS@ |
---|
113 | AWK = @AWK@ |
---|
114 | BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@ |
---|
115 | CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@ |
---|
116 | CC = @CC@ |
---|
117 | CCAS = @CCAS@ |
---|
118 | CPP = @CPP@ |
---|
119 | CXX = @CXX@ |
---|
120 | CXXCPP = @CXXCPP@ |
---|
121 | DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@ |
---|
122 | DEPDIR = @DEPDIR@ |
---|
123 | DLLTOOL = @DLLTOOL@ |
---|
124 | ECHO = @ECHO@ |
---|
125 | EXEEXT = @EXEEXT@ |
---|
126 | GCJ = @GCJ@ |
---|
127 | GCJFLAGS = @GCJFLAGS@ |
---|
128 | GMP_LDFLAGS = @GMP_LDFLAGS@ |
---|
129 | GMP_NAIL_BITS = @GMP_NAIL_BITS@ |
---|
130 | HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@ |
---|
131 | HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@ |
---|
132 | HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@ |
---|
133 | HAVE_MPFR_01 = @HAVE_MPFR_01@ |
---|
134 | HAVE_STACK_T_01 = @HAVE_STACK_T_01@ |
---|
135 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
---|
136 | LEX = @LEX@ |
---|
137 | LIBGMP_DLL = @LIBGMP_DLL@ |
---|
138 | LIBM = @LIBM@ |
---|
139 | LIBREADLINE = @LIBREADLINE@ |
---|
140 | LIBTOOL = @LIBTOOL@ |
---|
141 | LN_S = @LN_S@ |
---|
142 | M4 = @M4@ |
---|
143 | MAINT = @MAINT@ |
---|
144 | MPFR_CFLAGS = @MPFR_CFLAGS@ |
---|
145 | MPFR_LIBS = @MPFR_LIBS@ |
---|
146 | OBJDUMP = @OBJDUMP@ |
---|
147 | OBJEXT = @OBJEXT@ |
---|
148 | PACKAGE = @PACKAGE@ |
---|
149 | RANLIB = @RANLIB@ |
---|
150 | RC = @RC@ |
---|
151 | REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@ |
---|
152 | REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@ |
---|
153 | SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@ |
---|
154 | STRIP = @STRIP@ |
---|
155 | TAL_OBJECT = @TAL_OBJECT@ |
---|
156 | TUNE_SQR_OBJ = @TUNE_SQR_OBJ@ |
---|
157 | U = @U@ |
---|
158 | VERSION = @VERSION@ |
---|
159 | WITH_READLINE_01 = @WITH_READLINE_01@ |
---|
160 | YACC = @YACC@ |
---|
161 | am__include = @am__include@ |
---|
162 | am__quote = @am__quote@ |
---|
163 | gmp_srclinks = @gmp_srclinks@ |
---|
164 | install_sh = @install_sh@ |
---|
165 | mpn_objects = @mpn_objects@ |
---|
166 | mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ |
---|
167 | mpn_objs_in_libmp = @mpn_objs_in_libmp@ |
---|
168 | |
---|
169 | LIBGMP_LT_CURRENT = 6 |
---|
170 | LIBGMP_LT_REVISION = 1 |
---|
171 | LIBGMP_LT_AGE = 3 |
---|
172 | |
---|
173 | LIBGMPXX_LT_CURRENT = 3 |
---|
174 | LIBGMPXX_LT_REVISION = 3 |
---|
175 | LIBGMPXX_LT_AGE = 0 |
---|
176 | |
---|
177 | LIBMP_LT_CURRENT = 4 |
---|
178 | LIBMP_LT_REVISION = 5 |
---|
179 | LIBMP_LT_AGE = 1 |
---|
180 | |
---|
181 | AUTOMAKE_OPTIONS = gnu no-dependencies ansi2knr |
---|
182 | ACLOCAL_AMFLAGS = -I mpfr |
---|
183 | |
---|
184 | # FIXME: This is a workaround for automake not allowing info_TEXINFOS to be |
---|
185 | # conditionalized. We want mpfr/mpfr.info only installed under |
---|
186 | # --enable-mpfr, but it and the rest of mpfr always included in a "make |
---|
187 | # dist". |
---|
188 | @MAINTAINER_MODE_TRUE@@WANT_MPFR_FALSE@MPFR_DIR = mpfr |
---|
189 | @WANT_MPFR_TRUE@MPFR_DIR = mpfr |
---|
190 | |
---|
191 | # "tests" ahead of "mpfr" ensures tests/t-constants is run before the |
---|
192 | # mpfr/tests programs. |
---|
193 | # |
---|
194 | SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd $(MPFR_DIR) demos tune |
---|
195 | |
---|
196 | @WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h |
---|
197 | @WANT_CXX_TRUE@@WANT_MPFR_TRUE@MPFRXX_HEADERS_OPTION = mpfrxx.h |
---|
198 | include_HEADERS = $(GMPXX_HEADERS_OPTION) $(MPFRXX_HEADERS_OPTION) |
---|
199 | nodist_include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) |
---|
200 | lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION) |
---|
201 | |
---|
202 | EXTRA_DIST = doc macos \ |
---|
203 | configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf libmp.sym \ |
---|
204 | gmpxx.h mpfrxx.h mpfr/README |
---|
205 | |
---|
206 | |
---|
207 | DISTCLEANFILES = $(nodist_include_HEADERS) config.m4 configure.lineno @gmp_srclinks@ |
---|
208 | |
---|
209 | # Generated by current texinfo.tex when processing gmp.texi. |
---|
210 | # FIXME: Maybe this should be added to automake. |
---|
211 | MOSTLYCLEANFILES = gmp.tmp |
---|
212 | |
---|
213 | # Tell gmp.h it's building gmp, not an application, used by windows DLL stuff. |
---|
214 | INCLUDES = -D__GMP_WITHIN_GMP |
---|
215 | |
---|
216 | MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/set$U.lo mpf/set_ui$U.lo \ |
---|
217 | mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo mpf/set_z$U.lo \ |
---|
218 | mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo mpf/iset_str$U.lo \ |
---|
219 | mpf/iset_d$U.lo mpf/clear$U.lo mpf/get_str$U.lo mpf/dump$U.lo \ |
---|
220 | mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo mpf/sqrt$U.lo mpf/random2$U.lo \ |
---|
221 | mpf/inp_str$U.lo mpf/out_str$U.lo mpf/add$U.lo mpf/add_ui$U.lo \ |
---|
222 | mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo mpf/mul$U.lo mpf/mul_ui$U.lo \ |
---|
223 | mpf/div$U.lo mpf/div_ui$U.lo \ |
---|
224 | mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo \ |
---|
225 | mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo \ |
---|
226 | mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo \ |
---|
227 | mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo \ |
---|
228 | mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo \ |
---|
229 | mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo \ |
---|
230 | mpf/urandomb$U.lo mpf/swap$U.lo \ |
---|
231 | mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo \ |
---|
232 | mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo \ |
---|
233 | mpf/get_si$U.lo mpf/get_ui$U.lo \ |
---|
234 | mpf/int_p$U.lo |
---|
235 | |
---|
236 | |
---|
237 | MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \ |
---|
238 | mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \ |
---|
239 | mpz/bin_ui$U.lo mpz/bin_uiui$U.lo \ |
---|
240 | mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo \ |
---|
241 | mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo \ |
---|
242 | mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo \ |
---|
243 | mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo \ |
---|
244 | mpz/clear$U.lo mpz/clrbit$U.lo \ |
---|
245 | mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo \ |
---|
246 | mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo \ |
---|
247 | mpz/com$U.lo \ |
---|
248 | mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo \ |
---|
249 | mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo \ |
---|
250 | mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo \ |
---|
251 | mpz/export$U.lo mpz/fac_ui$U.lo mpz/fdiv_q$U.lo \ |
---|
252 | mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo \ |
---|
253 | mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo \ |
---|
254 | mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo \ |
---|
255 | mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo \ |
---|
256 | mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo \ |
---|
257 | mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo \ |
---|
258 | mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo \ |
---|
259 | mpz/hamdist$U.lo \ |
---|
260 | mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inp_raw$U.lo \ |
---|
261 | mpz/inp_str$U.lo mpz/invert$U.lo \ |
---|
262 | mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo \ |
---|
263 | mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo \ |
---|
264 | mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo \ |
---|
265 | mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo \ |
---|
266 | mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo \ |
---|
267 | mpz/mul_si$U.lo mpz/mul_ui$U.lo \ |
---|
268 | mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \ |
---|
269 | mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \ |
---|
270 | mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_ui$U.lo \ |
---|
271 | mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo \ |
---|
272 | mpz/realloc$U.lo mpz/realloc2$U.lo \ |
---|
273 | mpz/remove$U.lo mpz/root$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \ |
---|
274 | mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \ |
---|
275 | mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo \ |
---|
276 | mpz/setbit$U.lo \ |
---|
277 | mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo \ |
---|
278 | mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo \ |
---|
279 | mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo \ |
---|
280 | mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo \ |
---|
281 | mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo \ |
---|
282 | mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo \ |
---|
283 | mpz/urandomm$U.lo mpz/xor$U.lo |
---|
284 | |
---|
285 | |
---|
286 | MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo \ |
---|
287 | mpq/canonicalize$U.lo mpq/clear$U.lo \ |
---|
288 | mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo \ |
---|
289 | mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo \ |
---|
290 | mpq/init$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \ |
---|
291 | mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo \ |
---|
292 | mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo \ |
---|
293 | mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo \ |
---|
294 | mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo \ |
---|
295 | mpq/set_f$U.lo mpq/swap$U.lo |
---|
296 | |
---|
297 | |
---|
298 | MPN_OBJECTS = @mpn_objs_in_libgmp@ |
---|
299 | |
---|
300 | PRINTF_OBJECTS = \ |
---|
301 | @REPL_VSNPRINTF_PRINTF_OBJ@ \ |
---|
302 | printf/asprintf$U.lo printf/asprntffuns$U.lo \ |
---|
303 | printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo \ |
---|
304 | printf/fprintf$U.lo \ |
---|
305 | printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo \ |
---|
306 | printf/printf$U.lo printf/printffuns$U.lo \ |
---|
307 | printf/snprintf$U.lo printf/snprntffuns$U.lo \ |
---|
308 | printf/sprintf$U.lo printf/sprintffuns$U.lo \ |
---|
309 | printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo \ |
---|
310 | printf/vsnprintf$U.lo printf/vsprintf$U.lo |
---|
311 | |
---|
312 | |
---|
313 | SCANF_OBJECTS = \ |
---|
314 | scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo \ |
---|
315 | scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo \ |
---|
316 | scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo |
---|
317 | |
---|
318 | |
---|
319 | CXX_OBJECTS = \ |
---|
320 | cxx/isfuns$U.lo cxx/ismpf$U.lo cxx/ismpq$U.lo cxx/ismpz$U.lo \ |
---|
321 | cxx/osdoprnti$U.lo cxx/osfuns$U.lo \ |
---|
322 | cxx/osmpf$U.lo cxx/osmpq$U.lo cxx/osmpz$U.lo |
---|
323 | |
---|
324 | |
---|
325 | MPBSD_OBJECTS = mpbsd/add$U.lo mpbsd/tdiv_qr$U.lo mpbsd/set$U.lo \ |
---|
326 | mpbsd/powm$U.lo mpbsd/sub$U.lo mpbsd/cmp$U.lo mpbsd/mfree$U.lo \ |
---|
327 | mpbsd/mtox$U.lo mpbsd/realloc$U.lo mpbsd/gcd$U.lo mpbsd/itom$U.lo \ |
---|
328 | mpbsd/min$U.lo mpbsd/mul$U.lo mpbsd/mout$U.lo mpbsd/rpow$U.lo \ |
---|
329 | mpbsd/sdiv$U.lo mpbsd/sqrtrem$U.lo mpbsd/xtom$U.lo |
---|
330 | |
---|
331 | |
---|
332 | |
---|
333 | # In the current libtool it doesn't work to build libgmp.la from convenience |
---|
334 | # libraries like mpz/libmpz.la. Or rather it works, but it ends up putting |
---|
335 | # PIC objects into libgmp.a when shared and static are both built. |
---|
336 | # |
---|
337 | # For now the big lists of objects above are used. Something like mpz/*.lo |
---|
338 | # would probably work, but might risk missing something out or getting |
---|
339 | # something extra. The source files for each .lo are listed in the |
---|
340 | # Makefile.am's in the subdirectories. |
---|
341 | # |
---|
342 | # Currently, unlike libmp below, we're not using -export-symbols, since the |
---|
343 | # tune and speed programs, and perhaps some of the test programs, want to |
---|
344 | # access undocumented symbols. |
---|
345 | libgmp_la_SOURCES = gmp-impl.h longlong.h \ |
---|
346 | assert.c compat.c errno.c extract-dbl.c insert-dbl.c memory.c \ |
---|
347 | mp_bpl.c mp_clz_tab.c mp_minv_tab.c mp_set_fns.c \ |
---|
348 | rand.c randclr.c randdef.c randlc.c randlc2s.c randlc2x.c randraw.c \ |
---|
349 | rands.c randsd.c randsdui.c version.c |
---|
350 | |
---|
351 | libgmp_la_DEPENDENCIES = @TAL_OBJECT@ \ |
---|
352 | $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \ |
---|
353 | $(PRINTF_OBJECTS) $(SCANF_OBJECTS) |
---|
354 | |
---|
355 | libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) |
---|
356 | libgmp_la_LDFLAGS = $(GMP_LDFLAGS) \ |
---|
357 | -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) |
---|
358 | |
---|
359 | |
---|
360 | |
---|
361 | # We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will |
---|
362 | # use $(CXXLINK) rather than the plain C $(LINK). cxx/osfuns.cc is an |
---|
363 | # arbitrary choice for that. |
---|
364 | @WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la |
---|
365 | libgmpxx_la_SOURCES = dummy.cc |
---|
366 | libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la |
---|
367 | libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES) |
---|
368 | libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) \ |
---|
369 | -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE) |
---|
370 | |
---|
371 | |
---|
372 | |
---|
373 | # The selected mpz objects here support mpz/powm.c (built as mpbsd/powm.lo) |
---|
374 | # and can probably be removed when that switches to an mpn implementation. |
---|
375 | # (Apart from mpz/n_pow_ui$U.lo, which supports mpbsd/rpow.c) |
---|
376 | @WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = mp.h |
---|
377 | @WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = libmp.la |
---|
378 | libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \ |
---|
379 | mp_minv_tab.c mp_set_fns.c |
---|
380 | |
---|
381 | MPN_OBJS_IN_LIBMP = @mpn_objs_in_libmp@ |
---|
382 | libmp_la_DEPENDENCIES = $(srcdir)/libmp.sym \ |
---|
383 | @TAL_OBJECT@ $(MPBSD_OBJECTS) $(MPN_OBJS_IN_LIBMP) \ |
---|
384 | mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo mpz/mul$U.lo \ |
---|
385 | mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo mpz/sub$U.lo \ |
---|
386 | mpz/tdiv_q$U.lo |
---|
387 | |
---|
388 | libmp_la_LIBADD = $(libmp_la_DEPENDENCIES) |
---|
389 | libmp_la_LDFLAGS = $(GMP_LDFLAGS) \ |
---|
390 | -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE) \ |
---|
391 | -export-symbols $(srcdir)/libmp.sym |
---|
392 | |
---|
393 | |
---|
394 | # Optional objects, listed in a dummy library to generate ansi2knr rules and |
---|
395 | # get them in "make dist". |
---|
396 | # |
---|
397 | EXTRA_LTLIBRARIES = libdummy.la |
---|
398 | libdummy_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c |
---|
399 | |
---|
400 | info_TEXINFOS = gmp.texi |
---|
401 | gmp_TEXINFOS = fdl.texi |
---|
402 | subdir = . |
---|
403 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
---|
404 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
---|
405 | CONFIG_HEADER = config.h |
---|
406 | CONFIG_CLEAN_FILES = gmp.h mp.h |
---|
407 | LTLIBRARIES = $(lib_LTLIBRARIES) |
---|
408 | |
---|
409 | libdummy_la_LDFLAGS = |
---|
410 | libdummy_la_LIBADD = |
---|
411 | am_libdummy_la_OBJECTS = tal-debug$U.lo tal-notreent$U.lo tal-reent$U.lo |
---|
412 | libdummy_la_OBJECTS = $(am_libdummy_la_OBJECTS) |
---|
413 | am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo \ |
---|
414 | extract-dbl$U.lo insert-dbl$U.lo memory$U.lo mp_bpl$U.lo \ |
---|
415 | mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo rand$U.lo \ |
---|
416 | randclr$U.lo randdef$U.lo randlc$U.lo randlc2s$U.lo \ |
---|
417 | randlc2x$U.lo randraw$U.lo rands$U.lo randsd$U.lo randsdui$U.lo \ |
---|
418 | version$U.lo |
---|
419 | libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS) |
---|
420 | am_libgmpxx_la_OBJECTS = dummy.lo |
---|
421 | libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS) |
---|
422 | am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \ |
---|
423 | mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo |
---|
424 | libmp_la_OBJECTS = $(am_libmp_la_OBJECTS) |
---|
425 | |
---|
426 | DEFS = @DEFS@ |
---|
427 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I. |
---|
428 | CPPFLAGS = @CPPFLAGS@ |
---|
429 | LDFLAGS = @LDFLAGS@ |
---|
430 | LIBS = @LIBS@ |
---|
431 | depcomp = |
---|
432 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
---|
433 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
---|
434 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ |
---|
435 | $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
---|
436 | CCLD = $(CC) |
---|
437 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
---|
438 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
---|
439 | CFLAGS = @CFLAGS@ |
---|
440 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ |
---|
441 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
---|
442 | LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ |
---|
443 | $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ |
---|
444 | $(AM_CXXFLAGS) $(CXXFLAGS) |
---|
445 | CXXLD = $(CXX) |
---|
446 | CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ |
---|
447 | $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
---|
448 | CXXFLAGS = @CXXFLAGS@ |
---|
449 | DIST_SOURCES = $(libdummy_la_SOURCES) $(libgmp_la_SOURCES) \ |
---|
450 | $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES) |
---|
451 | INFO_DEPS = gmp.info |
---|
452 | DVIS = gmp.dvi |
---|
453 | TEXINFOS = gmp.texi |
---|
454 | HEADERS = $(include_HEADERS) $(nodist_include_HEADERS) |
---|
455 | |
---|
456 | |
---|
457 | RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ |
---|
458 | uninstall-info-recursive all-recursive install-data-recursive \ |
---|
459 | install-exec-recursive installdirs-recursive install-recursive \ |
---|
460 | uninstall-recursive check-recursive installcheck-recursive |
---|
461 | DIST_COMMON = README $(gmp_TEXINFOS) $(include_HEADERS) ./stamp-h1.in \ |
---|
462 | AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am \ |
---|
463 | Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 \ |
---|
464 | ansi2knr.c config.guess config.in config.sub configure \ |
---|
465 | configure.in gmp-h.in install-sh ltmain.sh mdate-sh missing \ |
---|
466 | mkinstalldirs mp-h.in stamp-vti texinfo.tex version.texi |
---|
467 | DIST_SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd mpfr demos \ |
---|
468 | tune |
---|
469 | SOURCES = $(libdummy_la_SOURCES) $(libgmp_la_SOURCES) $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES) |
---|
470 | |
---|
471 | all: config.h |
---|
472 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
---|
473 | |
---|
474 | .SUFFIXES: |
---|
475 | .SUFFIXES: .c .cc .dvi .info .lo .o .obj .ps .texi |
---|
476 | |
---|
477 | mostlyclean-libtool: |
---|
478 | -rm -f *.lo |
---|
479 | |
---|
480 | clean-libtool: |
---|
481 | -rm -rf .libs _libs |
---|
482 | |
---|
483 | distclean-libtool: |
---|
484 | -rm -f libtool |
---|
485 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
---|
486 | cd $(top_srcdir) && \ |
---|
487 | $(AUTOMAKE) --gnu Makefile |
---|
488 | Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status |
---|
489 | cd $(top_builddir) && \ |
---|
490 | CONFIG_HEADERS= CONFIG_LINKS= \ |
---|
491 | CONFIG_FILES=$@ $(SHELL) ./config.status |
---|
492 | |
---|
493 | $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
---|
494 | $(SHELL) ./config.status --recheck |
---|
495 | $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
---|
496 | cd $(srcdir) && $(AUTOCONF) |
---|
497 | |
---|
498 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 mpfr/acinclude.m4 |
---|
499 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
---|
500 | config.h: stamp-h1 |
---|
501 | @if test ! -f $@; then \ |
---|
502 | rm -f stamp-h1; \ |
---|
503 | $(MAKE) stamp-h1; \ |
---|
504 | else :; fi |
---|
505 | stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status |
---|
506 | @rm -f stamp-h1 stamp-h1T |
---|
507 | @echo timestamp > stamp-h1T 2> /dev/null |
---|
508 | cd $(top_builddir) \ |
---|
509 | && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \ |
---|
510 | $(SHELL) ./config.status |
---|
511 | @mv stamp-h1T stamp-h1 |
---|
512 | $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/./stamp-h1.in |
---|
513 | @if test ! -f $@; then \ |
---|
514 | rm -f $(srcdir)/./stamp-h1.in; \ |
---|
515 | $(MAKE) $(srcdir)/./stamp-h1.in; \ |
---|
516 | else :; fi |
---|
517 | $(srcdir)/./stamp-h1.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h |
---|
518 | @rm -f $(srcdir)/./stamp-h1.in $(srcdir)/./stamp-h1.inT |
---|
519 | @echo timestamp > $(srcdir)/./stamp-h1.inT 2> /dev/null |
---|
520 | cd $(top_srcdir) && $(AUTOHEADER) |
---|
521 | @mv $(srcdir)/./stamp-h1.inT $(srcdir)/./stamp-h1.in |
---|
522 | |
---|
523 | distclean-hdr: |
---|
524 | -rm -f config.h |
---|
525 | gmp.h: $(top_builddir)/config.status gmp-h.in |
---|
526 | cd $(top_builddir) && CONFIG_FILES=$@:gmp-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status |
---|
527 | mp.h: $(top_builddir)/config.status mp-h.in |
---|
528 | cd $(top_builddir) && CONFIG_FILES=$@:mp-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status |
---|
529 | install-libLTLIBRARIES: $(lib_LTLIBRARIES) |
---|
530 | @$(NORMAL_INSTALL) |
---|
531 | $(mkinstalldirs) $(DESTDIR)$(libdir) |
---|
532 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
---|
533 | if test -f $$p; then \ |
---|
534 | echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \ |
---|
535 | $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \ |
---|
536 | else :; fi; \ |
---|
537 | done |
---|
538 | |
---|
539 | uninstall-libLTLIBRARIES: |
---|
540 | @$(NORMAL_UNINSTALL) |
---|
541 | @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ |
---|
542 | echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ |
---|
543 | $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ |
---|
544 | done |
---|
545 | |
---|
546 | clean-libLTLIBRARIES: |
---|
547 | -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) |
---|
548 | libdummy.la: $(libdummy_la_OBJECTS) $(libdummy_la_DEPENDENCIES) |
---|
549 | $(LINK) $(libdummy_la_LDFLAGS) $(libdummy_la_OBJECTS) $(libdummy_la_LIBADD) $(LIBS) |
---|
550 | libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES) |
---|
551 | $(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS) |
---|
552 | libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES) |
---|
553 | $(CXXLINK) -rpath $(libdir) $(libgmpxx_la_LDFLAGS) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS) |
---|
554 | libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES) |
---|
555 | $(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS) |
---|
556 | |
---|
557 | mostlyclean-compile: |
---|
558 | -rm -f *.$(OBJEXT) core *.core |
---|
559 | |
---|
560 | distclean-compile: |
---|
561 | -rm -f *.tab.c |
---|
562 | |
---|
563 | ANSI2KNR = @ANSI2KNR@ |
---|
564 | ansi2knr: ansi2knr.$(OBJEXT) |
---|
565 | $(LINK) ansi2knr.$(OBJEXT) $(LIBS) |
---|
566 | ansi2knr.$(OBJEXT): $(CONFIG_HEADER) |
---|
567 | |
---|
568 | clean-krextra: |
---|
569 | -rm -f ansi2knr |
---|
570 | |
---|
571 | mostlyclean-kr: |
---|
572 | -test "$U" = "" || rm -f *_.c |
---|
573 | |
---|
574 | .c.o: |
---|
575 | $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$< |
---|
576 | |
---|
577 | .c.obj: |
---|
578 | $(COMPILE) -c `cygpath -w $<` |
---|
579 | |
---|
580 | .c.lo: |
---|
581 | $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< |
---|
582 | assert_.c: assert.c $(ANSI2KNR) |
---|
583 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/assert.c; then echo $(srcdir)/assert.c; else echo assert.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > assert_.c || rm -f assert_.c |
---|
584 | compat_.c: compat.c $(ANSI2KNR) |
---|
585 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/compat.c; then echo $(srcdir)/compat.c; else echo compat.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > compat_.c || rm -f compat_.c |
---|
586 | errno_.c: errno.c $(ANSI2KNR) |
---|
587 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/errno.c; then echo $(srcdir)/errno.c; else echo errno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > errno_.c || rm -f errno_.c |
---|
588 | extract-dbl_.c: extract-dbl.c $(ANSI2KNR) |
---|
589 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/extract-dbl.c; then echo $(srcdir)/extract-dbl.c; else echo extract-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > extract-dbl_.c || rm -f extract-dbl_.c |
---|
590 | insert-dbl_.c: insert-dbl.c $(ANSI2KNR) |
---|
591 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/insert-dbl.c; then echo $(srcdir)/insert-dbl.c; else echo insert-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > insert-dbl_.c || rm -f insert-dbl_.c |
---|
592 | memory_.c: memory.c $(ANSI2KNR) |
---|
593 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memory.c; then echo $(srcdir)/memory.c; else echo memory.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memory_.c || rm -f memory_.c |
---|
594 | mp_bpl_.c: mp_bpl.c $(ANSI2KNR) |
---|
595 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_bpl.c; then echo $(srcdir)/mp_bpl.c; else echo mp_bpl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_bpl_.c || rm -f mp_bpl_.c |
---|
596 | mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR) |
---|
597 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_clz_tab.c; then echo $(srcdir)/mp_clz_tab.c; else echo mp_clz_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_clz_tab_.c || rm -f mp_clz_tab_.c |
---|
598 | mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR) |
---|
599 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_minv_tab.c; then echo $(srcdir)/mp_minv_tab.c; else echo mp_minv_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_minv_tab_.c || rm -f mp_minv_tab_.c |
---|
600 | mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR) |
---|
601 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_set_fns.c; then echo $(srcdir)/mp_set_fns.c; else echo mp_set_fns.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_set_fns_.c || rm -f mp_set_fns_.c |
---|
602 | rand_.c: rand.c $(ANSI2KNR) |
---|
603 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rand.c; then echo $(srcdir)/rand.c; else echo rand.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rand_.c || rm -f rand_.c |
---|
604 | randclr_.c: randclr.c $(ANSI2KNR) |
---|
605 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randclr.c; then echo $(srcdir)/randclr.c; else echo randclr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randclr_.c || rm -f randclr_.c |
---|
606 | randdef_.c: randdef.c $(ANSI2KNR) |
---|
607 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randdef.c; then echo $(srcdir)/randdef.c; else echo randdef.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randdef_.c || rm -f randdef_.c |
---|
608 | randlc_.c: randlc.c $(ANSI2KNR) |
---|
609 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc.c; then echo $(srcdir)/randlc.c; else echo randlc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc_.c || rm -f randlc_.c |
---|
610 | randlc2s_.c: randlc2s.c $(ANSI2KNR) |
---|
611 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2s.c; then echo $(srcdir)/randlc2s.c; else echo randlc2s.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2s_.c || rm -f randlc2s_.c |
---|
612 | randlc2x_.c: randlc2x.c $(ANSI2KNR) |
---|
613 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2x.c; then echo $(srcdir)/randlc2x.c; else echo randlc2x.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2x_.c || rm -f randlc2x_.c |
---|
614 | randraw_.c: randraw.c $(ANSI2KNR) |
---|
615 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randraw.c; then echo $(srcdir)/randraw.c; else echo randraw.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randraw_.c || rm -f randraw_.c |
---|
616 | rands_.c: rands.c $(ANSI2KNR) |
---|
617 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rands.c; then echo $(srcdir)/rands.c; else echo rands.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rands_.c || rm -f rands_.c |
---|
618 | randsd_.c: randsd.c $(ANSI2KNR) |
---|
619 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsd.c; then echo $(srcdir)/randsd.c; else echo randsd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsd_.c || rm -f randsd_.c |
---|
620 | randsdui_.c: randsdui.c $(ANSI2KNR) |
---|
621 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsdui.c; then echo $(srcdir)/randsdui.c; else echo randsdui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsdui_.c || rm -f randsdui_.c |
---|
622 | tal-debug_.c: tal-debug.c $(ANSI2KNR) |
---|
623 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-debug.c; then echo $(srcdir)/tal-debug.c; else echo tal-debug.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-debug_.c || rm -f tal-debug_.c |
---|
624 | tal-notreent_.c: tal-notreent.c $(ANSI2KNR) |
---|
625 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-notreent.c; then echo $(srcdir)/tal-notreent.c; else echo tal-notreent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-notreent_.c || rm -f tal-notreent_.c |
---|
626 | tal-reent_.c: tal-reent.c $(ANSI2KNR) |
---|
627 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-reent.c; then echo $(srcdir)/tal-reent.c; else echo tal-reent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-reent_.c || rm -f tal-reent_.c |
---|
628 | version_.c: version.c $(ANSI2KNR) |
---|
629 | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version.c; then echo $(srcdir)/version.c; else echo version.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > version_.c || rm -f version_.c |
---|
630 | assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \ |
---|
631 | errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \ |
---|
632 | insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \ |
---|
633 | mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \ |
---|
634 | mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \ |
---|
635 | mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \ |
---|
636 | randdef_.$(OBJEXT) randdef_.lo randlc_.$(OBJEXT) randlc_.lo \ |
---|
637 | randlc2s_.$(OBJEXT) randlc2s_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \ |
---|
638 | randraw_.$(OBJEXT) randraw_.lo rands_.$(OBJEXT) rands_.lo \ |
---|
639 | randsd_.$(OBJEXT) randsd_.lo randsdui_.$(OBJEXT) randsdui_.lo \ |
---|
640 | tal-debug_.$(OBJEXT) tal-debug_.lo tal-notreent_.$(OBJEXT) \ |
---|
641 | tal-notreent_.lo tal-reent_.$(OBJEXT) tal-reent_.lo version_.$(OBJEXT) \ |
---|
642 | version_.lo : $(ANSI2KNR) |
---|
643 | |
---|
644 | .cc.o: |
---|
645 | $(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< |
---|
646 | |
---|
647 | .cc.obj: |
---|
648 | $(CXXCOMPILE) -c -o $@ `cygpath -w $<` |
---|
649 | |
---|
650 | .cc.lo: |
---|
651 | $(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< |
---|
652 | |
---|
653 | $(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti |
---|
654 | @: |
---|
655 | $(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in |
---|
656 | @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`; \ |
---|
657 | echo "@set UPDATED $$1 $$2 $$3"; \ |
---|
658 | echo "@set UPDATED-MONTH $$2 $$3"; \ |
---|
659 | echo "@set EDITION $(VERSION)"; \ |
---|
660 | echo "@set VERSION $(VERSION)") > vti.tmp |
---|
661 | @cmp -s vti.tmp $(srcdir)/version.texi \ |
---|
662 | || (echo "Updating $(srcdir)/version.texi"; \ |
---|
663 | cp vti.tmp $(srcdir)/version.texi) |
---|
664 | -@rm -f vti.tmp |
---|
665 | @cp $(srcdir)/version.texi $@ |
---|
666 | |
---|
667 | mostlyclean-vti: |
---|
668 | -rm -f vti.tmp |
---|
669 | |
---|
670 | maintainer-clean-vti: |
---|
671 | @MAINTAINER_MODE_TRUE@ -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi |
---|
672 | |
---|
673 | gmp.info: gmp.texi $(srcdir)/version.texi $(gmp_TEXINFOS) |
---|
674 | gmp.dvi: gmp.texi $(srcdir)/version.texi $(gmp_TEXINFOS) |
---|
675 | |
---|
676 | .texi.info: |
---|
677 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
678 | cd $(srcdir) \ |
---|
679 | && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \ |
---|
680 | `echo $< | sed 's,.*/,,'` |
---|
681 | |
---|
682 | .texi.dvi: |
---|
683 | TEXINPUTS=$(srcdir):$$TEXINPUTS \ |
---|
684 | MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \ |
---|
685 | $(TEXI2DVI) $< |
---|
686 | |
---|
687 | .texi: |
---|
688 | @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] |
---|
689 | cd $(srcdir) \ |
---|
690 | && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \ |
---|
691 | `echo $< | sed 's,.*/,,'` |
---|
692 | |
---|
693 | MAKEINFO = @MAKEINFO@ |
---|
694 | TEXI2DVI = texi2dvi |
---|
695 | DVIPS = dvips |
---|
696 | .dvi.ps: |
---|
697 | $(DVIPS) $< -o $@ |
---|
698 | |
---|
699 | uninstall-info-am: |
---|
700 | $(PRE_UNINSTALL) |
---|
701 | @if (install-info --version && \ |
---|
702 | install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \ |
---|
703 | list='$(INFO_DEPS)'; \ |
---|
704 | for file in $$list; do \ |
---|
705 | echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \ |
---|
706 | install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \ |
---|
707 | done; \ |
---|
708 | else :; fi |
---|
709 | @$(NORMAL_UNINSTALL) |
---|
710 | @list='$(INFO_DEPS)'; \ |
---|
711 | for file in $$list; do \ |
---|
712 | (if cd $(DESTDIR)$(infodir); then \ |
---|
713 | echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \ |
---|
714 | rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \ |
---|
715 | else :; fi); \ |
---|
716 | done |
---|
717 | |
---|
718 | dist-info: $(INFO_DEPS) |
---|
719 | list='$(INFO_DEPS)'; \ |
---|
720 | for base in $$list; do \ |
---|
721 | d=$(srcdir); \ |
---|
722 | for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \ |
---|
723 | test -f $(distdir)/$$file \ |
---|
724 | || cp -p $$d/$$file $(distdir)/$$file; \ |
---|
725 | done; \ |
---|
726 | done |
---|
727 | |
---|
728 | mostlyclean-aminfo: |
---|
729 | -rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.ky gmp.log gmp.pg \ |
---|
730 | gmp.ps gmp.toc gmp.tp gmp.vr gmp.vrs |
---|
731 | |
---|
732 | maintainer-clean-aminfo: |
---|
733 | cd $(srcdir) && \ |
---|
734 | for i in $(INFO_DEPS); do \ |
---|
735 | rm -f $$i; \ |
---|
736 | if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ |
---|
737 | rm -f $$i-[0-9]*; \ |
---|
738 | fi; \ |
---|
739 | done |
---|
740 | install-includeHEADERS: $(include_HEADERS) |
---|
741 | @$(NORMAL_INSTALL) |
---|
742 | $(mkinstalldirs) $(DESTDIR)$(includedir) |
---|
743 | @list='$(include_HEADERS)'; for p in $$list; do \ |
---|
744 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
---|
745 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
746 | echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ |
---|
747 | $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \ |
---|
748 | done |
---|
749 | |
---|
750 | uninstall-includeHEADERS: |
---|
751 | @$(NORMAL_UNINSTALL) |
---|
752 | @list='$(include_HEADERS)'; for p in $$list; do \ |
---|
753 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
754 | echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ |
---|
755 | rm -f $(DESTDIR)$(includedir)/$$f; \ |
---|
756 | done |
---|
757 | install-nodist_includeHEADERS: $(nodist_include_HEADERS) |
---|
758 | @$(NORMAL_INSTALL) |
---|
759 | $(mkinstalldirs) $(DESTDIR)$(includedir) |
---|
760 | @list='$(nodist_include_HEADERS)'; for p in $$list; do \ |
---|
761 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
---|
762 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
763 | echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ |
---|
764 | $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \ |
---|
765 | done |
---|
766 | |
---|
767 | uninstall-nodist_includeHEADERS: |
---|
768 | @$(NORMAL_UNINSTALL) |
---|
769 | @list='$(nodist_include_HEADERS)'; for p in $$list; do \ |
---|
770 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
---|
771 | echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ |
---|
772 | rm -f $(DESTDIR)$(includedir)/$$f; \ |
---|
773 | done |
---|
774 | |
---|
775 | # This directory's subdirectories are mostly independent; you can cd |
---|
776 | # into them and run `make' without going through this Makefile. |
---|
777 | # To change the values of `make' variables: instead of editing Makefiles, |
---|
778 | # (1) if the variable is set in `config.status', edit `config.status' |
---|
779 | # (which will cause the Makefiles to be regenerated when you run `make'); |
---|
780 | # (2) otherwise, pass the desired values on the `make' command line. |
---|
781 | $(RECURSIVE_TARGETS): |
---|
782 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
---|
783 | dot_seen=no; \ |
---|
784 | target=`echo $@ | sed s/-recursive//`; \ |
---|
785 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
786 | echo "Making $$target in $$subdir"; \ |
---|
787 | if test "$$subdir" = "."; then \ |
---|
788 | dot_seen=yes; \ |
---|
789 | local_target="$$target-am"; \ |
---|
790 | else \ |
---|
791 | local_target="$$target"; \ |
---|
792 | fi; \ |
---|
793 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
---|
794 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
795 | done; \ |
---|
796 | if test "$$dot_seen" = "no"; then \ |
---|
797 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
---|
798 | fi; test -z "$$fail" |
---|
799 | |
---|
800 | mostlyclean-recursive clean-recursive distclean-recursive \ |
---|
801 | maintainer-clean-recursive: |
---|
802 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
---|
803 | dot_seen=no; \ |
---|
804 | case "$@" in \ |
---|
805 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
---|
806 | *) list='$(SUBDIRS)' ;; \ |
---|
807 | esac; \ |
---|
808 | rev=''; for subdir in $$list; do \ |
---|
809 | if test "$$subdir" = "."; then :; else \ |
---|
810 | rev="$$subdir $$rev"; \ |
---|
811 | fi; \ |
---|
812 | done; \ |
---|
813 | rev="$$rev ."; \ |
---|
814 | target=`echo $@ | sed s/-recursive//`; \ |
---|
815 | for subdir in $$rev; do \ |
---|
816 | echo "Making $$target in $$subdir"; \ |
---|
817 | if test "$$subdir" = "."; then \ |
---|
818 | local_target="$$target-am"; \ |
---|
819 | else \ |
---|
820 | local_target="$$target"; \ |
---|
821 | fi; \ |
---|
822 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
---|
823 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
824 | done && test -z "$$fail" |
---|
825 | tags-recursive: |
---|
826 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
827 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
---|
828 | done |
---|
829 | |
---|
830 | tags: TAGS |
---|
831 | |
---|
832 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
---|
833 | list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
---|
834 | unique=`for i in $$list; do \ |
---|
835 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
---|
836 | done | \ |
---|
837 | $(AWK) ' { files[$$0] = 1; } \ |
---|
838 | END { for (i in files) print i; }'`; \ |
---|
839 | mkid -fID $$unique $(LISP) |
---|
840 | |
---|
841 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \ |
---|
842 | $(TAGS_FILES) $(LISP) |
---|
843 | tags=; \ |
---|
844 | here=`pwd`; \ |
---|
845 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
---|
846 | if test "$$subdir" = .; then :; else \ |
---|
847 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
---|
848 | fi; \ |
---|
849 | done; \ |
---|
850 | list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
---|
851 | unique=`for i in $$list; do \ |
---|
852 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
---|
853 | done | \ |
---|
854 | $(AWK) ' { files[$$0] = 1; } \ |
---|
855 | END { for (i in files) print i; }'`; \ |
---|
856 | test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \ |
---|
857 | || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP) |
---|
858 | |
---|
859 | GTAGS: |
---|
860 | here=`CDPATH=: && cd $(top_builddir) && pwd` \ |
---|
861 | && cd $(top_srcdir) \ |
---|
862 | && gtags -i $(GTAGS_ARGS) $$here |
---|
863 | |
---|
864 | distclean-tags: |
---|
865 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH |
---|
866 | |
---|
867 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
---|
868 | |
---|
869 | top_distdir = . |
---|
870 | # Avoid unsightly `./'. |
---|
871 | distdir = $(PACKAGE)-$(VERSION) |
---|
872 | |
---|
873 | GZIP_ENV = --best |
---|
874 | |
---|
875 | distdir: $(DISTFILES) |
---|
876 | -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) |
---|
877 | mkdir $(distdir) |
---|
878 | $(mkinstalldirs) $(distdir)/. $(distdir)/demos $(distdir)/demos/calc $(distdir)/demos/expr $(distdir)/mpfr |
---|
879 | @for file in $(DISTFILES); do \ |
---|
880 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
---|
881 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
---|
882 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
---|
883 | $(mkinstalldirs) "$(distdir)/$$dir"; \ |
---|
884 | fi; \ |
---|
885 | if test -d $$d/$$file; then \ |
---|
886 | cp -pR $$d/$$file $(distdir) \ |
---|
887 | || exit 1; \ |
---|
888 | else \ |
---|
889 | test -f $(distdir)/$$file \ |
---|
890 | || cp -p $$d/$$file $(distdir)/$$file \ |
---|
891 | || exit 1; \ |
---|
892 | fi; \ |
---|
893 | done |
---|
894 | for subdir in $(DIST_SUBDIRS); do \ |
---|
895 | if test "$$subdir" = .; then :; else \ |
---|
896 | test -d $(distdir)/$$subdir \ |
---|
897 | || mkdir $(distdir)/$$subdir \ |
---|
898 | || exit 1; \ |
---|
899 | (cd $$subdir && \ |
---|
900 | $(MAKE) $(AM_MAKEFLAGS) \ |
---|
901 | top_distdir="$(top_distdir)" \ |
---|
902 | distdir=../$(distdir)/$$subdir \ |
---|
903 | distdir) \ |
---|
904 | || exit 1; \ |
---|
905 | fi; \ |
---|
906 | done |
---|
907 | $(MAKE) $(AM_MAKEFLAGS) \ |
---|
908 | top_distdir="${top_distdir}" distdir="$(distdir)" \ |
---|
909 | dist-info dist-hook |
---|
910 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
---|
911 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
---|
912 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
---|
913 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
---|
914 | || chmod -R a+r $(distdir) |
---|
915 | dist: distdir |
---|
916 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
---|
917 | -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) |
---|
918 | |
---|
919 | # This target untars the dist file and tries a VPATH configuration. Then |
---|
920 | # it guarantees that the distribution is self-contained by making another |
---|
921 | # tarfile. |
---|
922 | distcheck: dist |
---|
923 | -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
---|
924 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - |
---|
925 | chmod -R a-w $(distdir); chmod a+w $(distdir) |
---|
926 | mkdir $(distdir)/=build |
---|
927 | mkdir $(distdir)/=inst |
---|
928 | chmod a-w $(distdir) |
---|
929 | dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \ |
---|
930 | && cd $(distdir)/=build \ |
---|
931 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ |
---|
932 | && $(MAKE) $(AM_MAKEFLAGS) \ |
---|
933 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
---|
934 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
---|
935 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
---|
936 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
---|
937 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
---|
938 | && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ |
---|
939 | || (echo "Error: files left after uninstall" 1>&2; \ |
---|
940 | exit 1) ) \ |
---|
941 | && $(MAKE) $(AM_MAKEFLAGS) dist \ |
---|
942 | && $(MAKE) $(AM_MAKEFLAGS) distclean \ |
---|
943 | && rm -f $(distdir).tar.gz \ |
---|
944 | && (test `find . -type f -print | wc -l` -eq 0 \ |
---|
945 | || (echo "Error: files left after distclean" 1>&2; \ |
---|
946 | exit 1) ) |
---|
947 | -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir) |
---|
948 | @echo "$(distdir).tar.gz is ready for distribution" | \ |
---|
949 | sed 'h;s/./=/g;p;x;p;x' |
---|
950 | check-am: all-am |
---|
951 | check: check-recursive |
---|
952 | all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \ |
---|
953 | config.h |
---|
954 | installdirs: installdirs-recursive |
---|
955 | installdirs-am: |
---|
956 | $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir) |
---|
957 | |
---|
958 | install: install-recursive |
---|
959 | install-exec: install-exec-recursive |
---|
960 | install-data: install-data-recursive |
---|
961 | uninstall: uninstall-recursive |
---|
962 | |
---|
963 | install-am: all-am |
---|
964 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
---|
965 | |
---|
966 | installcheck: installcheck-recursive |
---|
967 | install-strip: |
---|
968 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
---|
969 | `test -z '$(STRIP)' || \ |
---|
970 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
---|
971 | mostlyclean-generic: |
---|
972 | -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) |
---|
973 | |
---|
974 | clean-generic: |
---|
975 | |
---|
976 | distclean-generic: |
---|
977 | -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* |
---|
978 | -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
---|
979 | |
---|
980 | maintainer-clean-generic: |
---|
981 | @echo "This command is intended for maintainers to use" |
---|
982 | @echo "it deletes files that may require special tools to rebuild." |
---|
983 | clean: clean-recursive |
---|
984 | |
---|
985 | clean-am: clean-generic clean-krextra clean-libLTLIBRARIES clean-libtool \ |
---|
986 | mostlyclean-am |
---|
987 | |
---|
988 | dist-all: distdir |
---|
989 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
---|
990 | -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir) |
---|
991 | distclean: distclean-recursive |
---|
992 | -rm -f config.status config.cache config.log |
---|
993 | distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \ |
---|
994 | distclean-libtool distclean-tags |
---|
995 | |
---|
996 | dvi: dvi-recursive |
---|
997 | |
---|
998 | dvi-am: $(DVIS) |
---|
999 | |
---|
1000 | info: info-recursive |
---|
1001 | |
---|
1002 | info-am: $(INFO_DEPS) |
---|
1003 | |
---|
1004 | install-data-am: install-includeHEADERS install-info-am \ |
---|
1005 | install-nodist_includeHEADERS |
---|
1006 | |
---|
1007 | install-exec-am: install-libLTLIBRARIES |
---|
1008 | |
---|
1009 | install-info: install-info-recursive |
---|
1010 | |
---|
1011 | install-info-am: $(INFO_DEPS) |
---|
1012 | @$(NORMAL_INSTALL) |
---|
1013 | $(mkinstalldirs) $(DESTDIR)$(infodir) |
---|
1014 | @list='$(INFO_DEPS)'; \ |
---|
1015 | for file in $$list; do \ |
---|
1016 | d=$(srcdir); \ |
---|
1017 | for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ |
---|
1018 | if test -f $$d/$$ifile; then \ |
---|
1019 | echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ |
---|
1020 | $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ |
---|
1021 | else : ; fi; \ |
---|
1022 | done; \ |
---|
1023 | done |
---|
1024 | @$(POST_INSTALL) |
---|
1025 | @if (install-info --version && \ |
---|
1026 | install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \ |
---|
1027 | list='$(INFO_DEPS)'; \ |
---|
1028 | for file in $$list; do \ |
---|
1029 | echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ |
---|
1030 | install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ |
---|
1031 | done; \ |
---|
1032 | else : ; fi |
---|
1033 | install-man: |
---|
1034 | |
---|
1035 | installcheck-am: |
---|
1036 | |
---|
1037 | maintainer-clean: maintainer-clean-recursive |
---|
1038 | |
---|
1039 | maintainer-clean-am: distclean-am maintainer-clean-aminfo \ |
---|
1040 | maintainer-clean-generic maintainer-clean-vti |
---|
1041 | |
---|
1042 | mostlyclean: mostlyclean-recursive |
---|
1043 | |
---|
1044 | mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \ |
---|
1045 | mostlyclean-generic mostlyclean-kr mostlyclean-libtool \ |
---|
1046 | mostlyclean-vti |
---|
1047 | |
---|
1048 | uninstall-am: uninstall-includeHEADERS uninstall-info-am \ |
---|
1049 | uninstall-libLTLIBRARIES uninstall-nodist_includeHEADERS |
---|
1050 | |
---|
1051 | uninstall-info: uninstall-info-recursive |
---|
1052 | |
---|
1053 | .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ |
---|
1054 | clean-generic clean-krextra clean-libLTLIBRARIES clean-libtool \ |
---|
1055 | clean-recursive dist dist-all dist-info distcheck distclean \ |
---|
1056 | distclean-compile distclean-generic distclean-hdr \ |
---|
1057 | distclean-libtool distclean-recursive distclean-tags distdir \ |
---|
1058 | dvi dvi-am dvi-recursive info info-am info-recursive install \ |
---|
1059 | install-am install-data install-data-am install-data-recursive \ |
---|
1060 | install-exec install-exec-am install-exec-recursive \ |
---|
1061 | install-includeHEADERS install-info install-info-am \ |
---|
1062 | install-info-recursive install-libLTLIBRARIES install-man \ |
---|
1063 | install-nodist_includeHEADERS install-recursive install-strip \ |
---|
1064 | installcheck installcheck-am installdirs installdirs-am \ |
---|
1065 | installdirs-recursive maintainer-clean maintainer-clean-aminfo \ |
---|
1066 | maintainer-clean-generic maintainer-clean-recursive \ |
---|
1067 | maintainer-clean-vti mostlyclean mostlyclean-aminfo \ |
---|
1068 | mostlyclean-compile mostlyclean-generic mostlyclean-kr \ |
---|
1069 | mostlyclean-libtool mostlyclean-recursive mostlyclean-vti tags \ |
---|
1070 | tags-recursive uninstall uninstall-am uninstall-includeHEADERS \ |
---|
1071 | uninstall-info-am uninstall-info-recursive \ |
---|
1072 | uninstall-libLTLIBRARIES uninstall-nodist_includeHEADERS \ |
---|
1073 | uninstall-recursive |
---|
1074 | |
---|
1075 | |
---|
1076 | # Avoid: CVS - cvs directories |
---|
1077 | # *~ - emacs backups |
---|
1078 | # .#* - cvs merge originals |
---|
1079 | # |
---|
1080 | # *~ and .#* only occur when a whole directory without it's own Makefile.am |
---|
1081 | # is distributed, like "doc" or the mpn cpu subdirectories. |
---|
1082 | # |
---|
1083 | dist-hook: |
---|
1084 | -find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \ |
---|
1085 | | xargs rm -rf |
---|
1086 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
---|
1087 | # Otherwise a system limit (for SysV at least) may be exceeded. |
---|
1088 | .NOEXPORT: |
---|