[project @ 2000-08-21 15:12:04 by simonmar]
[ghc-hetmet.git] / ghc / rts / gmp / Makefile.in
1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 SHELL = @SHELL@
14
15 srcdir = @srcdir@
16 top_srcdir = @top_srcdir@
17 VPATH = @srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = .
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 INSTALL_STRIP_FLAG =
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60
61 @SET_MAKE@
62 build_alias = @build_alias@
63 build_triplet = @build@
64 host_alias = @host_alias@
65 host_triplet = @host@
66 target_alias = @target_alias@
67 target_triplet = @target@
68 AMDEP = @AMDEP@
69 AMTAR = @AMTAR@
70 AR = @AR@
71 AS = @AS@
72 AWK = @AWK@
73 CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
74 CC = @CC@
75 CCAS = @CCAS@
76 CPP = @CPP@
77 CXX = @CXX@
78 CXXCPP = @CXXCPP@
79 DEPDIR = @DEPDIR@
80 DLLTOOL = @DLLTOOL@
81 EXEEXT = @EXEEXT@
82 LIBTOOL = @LIBTOOL@
83 LN_S = @LN_S@
84 M4 = @M4@
85 MAINT = @MAINT@
86 MAKEINFO = @MAKEINFO@
87 OBJDUMP = @OBJDUMP@
88 OBJEXT = @OBJEXT@
89 PACKAGE = @PACKAGE@
90 RANLIB = @RANLIB@
91 SPEED_CYCLECOUNTER_OBJS = @SPEED_CYCLECOUNTER_OBJS@
92 STRIP = @STRIP@
93 U = @U@
94 VERSION = @VERSION@
95 gmp_srclinks = @gmp_srclinks@
96 install_sh = @install_sh@
97 mpn_objects = @mpn_objects@
98 mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
99
100 # Copyright (C) 1991, 1993, 1994, 1996, 1997, 1999, 2000 Free Software
101 # Foundation, Inc.
102 #
103 # This file is part of the GNU MP Library.
104 #
105 # The GNU MP Library is free software; you can redistribute it and/or modify
106 # it under the terms of the GNU Lesser General Public License as published by
107 # the Free Software Foundation; either version 2.1 of the License, or (at your
108 # option) any later version.
109 #
110 # The GNU MP Library is distributed in the hope that it will be useful, but
111 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
112 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
113 # License for more details.
114 #
115 # You should have received a copy of the GNU Lesser General Public License
116 # along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
117 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
118 # MA 02111-1307, USA.
119
120 # make check
121 #
122 #     It'd be good if "make check" first did a "make all" or whatever to
123 #     build libgmp.la, but it's not clear how best to do this.  Putting a
124 #     "check:" target is overridden by automake, and a "check-local:" runs
125 #     too late (due to depth-first subdirectory processing).  For now it's
126 #     necessary to do "make && make check".
127 #
128 # MPF_OBJECTS etc
129 #
130 #     Libtool needs all the .lo files passed to it if it's going to build
131 #     both a static and shared library.  If a convenience library like
132 #     mpf/libmpf.la is passed then the resulting libgmp.a gets the PIC .lo
133 #     objects rather than the non-PIC .o's.
134 #
135 #     Unfortunately this leads to the big lists of objects below.  Something
136 #     like mpz/*.lo would probably work, but might risk missing something
137 #     out or getting something extra.  The source files for each .lo are
138 #     listed in the Makefile.am's in the subdirectories.
139
140 # Libtool -version-info for libgmp.la and libmp.la.  See (libtool)Versioning
141 #
142 # 1. No interfaces changed, only implementations (good): Increment REVISION.
143 #
144 # 2. Interfaces added, none removed (good): Increment CURRENT, increment
145 #    AGE, set REVISION to 0.
146 #
147 # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
148 #    CURRENT, set AGE and REVISION to 0.
149 #
150 # Do this separately for libgmp and libmp, only do it just before a release.
151 #
152 #         GMP      -version-info
153 #       release   libgmp  libmp
154 #        2.0.x      -       -
155 #        3.0      3:0:0   3:0:0
156 #        3.0.1    3:1:0   3:0:0
157 #        3.1      4:0:1   4:0:1
158 #
159 #
160 # Starting at 3:0:0 is a slight abuse of the versioning system, but it
161 # ensures we're past soname libgmp.so.2, which is what has been used on
162 # Debian GNU/Linux packages of gmp 2.  Pretend gmp 2 was 2:0:0, so the
163 # interface changes for gmp 3 mean 3:0:0 is right.
164
165
166 LIBGMP_LT_CURRENT = 4
167 LIBGMP_LT_REVISION = 0
168 LIBGMP_LT_AGE = 1
169
170 LIBMP_LT_CURRENT = 4
171 LIBMP_LT_REVISION = 0
172 LIBMP_LT_AGE = 1
173
174 AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr
175
176 SUBDIRS = mpn mpz mpq mpf mpbsd mpfr tests demos tune
177
178 include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) $(MPFR_HEADERS_OPTION)
179 EXTRA_HEADERS = mp.h
180
181 lib_LTLIBRARIES = libgmp.la $(MPBSD_LTLIBRARIES_OPTION)
182
183 EXTRA_DIST = .gdbinit gmp-impl.h longlong.h stack-alloc.h urandom.h doc macos
184
185 DISTCLEANFILES = asm-syntax.h config.m4 @gmp_srclinks@
186
187 MPF_OBJECTS = mpf/init.lo mpf/init2.lo mpf/set.lo mpf/set_ui.lo mpf/set_si.lo \
188   mpf/set_str.lo mpf/set_d.lo mpf/set_z.lo mpf/iset.lo mpf/iset_ui.lo \
189   mpf/iset_si.lo mpf/iset_str.lo mpf/iset_d.lo mpf/clear.lo mpf/get_str.lo \
190   mpf/dump.lo mpf/size.lo mpf/eq.lo mpf/reldiff.lo mpf/sqrt.lo mpf/random2.lo \
191   mpf/inp_str.lo mpf/out_str.lo mpf/add.lo mpf/add_ui.lo mpf/sub.lo \
192   mpf/sub_ui.lo mpf/ui_sub.lo mpf/mul.lo mpf/mul_ui.lo mpf/div.lo \
193   mpf/div_ui.lo mpf/cmp.lo mpf/cmp_ui.lo mpf/cmp_si.lo mpf/mul_2exp.lo \
194   mpf/div_2exp.lo mpf/abs.lo mpf/neg.lo mpf/set_q.lo mpf/get_d.lo \
195   mpf/set_dfl_prec.lo mpf/set_prc.lo mpf/set_prc_raw.lo mpf/get_prc.lo \
196   mpf/ui_div.lo mpf/sqrt_ui.lo mpf/floor.lo mpf/ceil.lo mpf/trunc.lo \
197   mpf/pow_ui.lo mpf/urandomb.lo mpf/swap.lo
198
199 MPZ_OBJECTS = mpz/abs.lo mpz/add.lo mpz/add_ui.lo mpz/addmul_ui.lo mpz/and.lo \
200   mpz/array_init.lo mpz/bin_ui.lo mpz/bin_uiui.lo mpz/cdiv_q.lo \
201   mpz/cdiv_q_ui.lo mpz/cdiv_qr.lo mpz/cdiv_qr_ui.lo mpz/cdiv_r.lo \
202   mpz/cdiv_r_ui.lo mpz/cdiv_ui.lo mpz/clear.lo mpz/clrbit.lo mpz/cmp.lo \
203   mpz/cmp_si.lo mpz/cmp_ui.lo mpz/cmpabs.lo mpz/cmpabs_ui.lo mpz/com.lo \
204   mpz/divexact.lo mpz/dump.lo mpz/fac_ui.lo mpz/fdiv_q.lo mpz/fdiv_q_2exp.lo \
205   mpz/fdiv_q_ui.lo mpz/fdiv_qr.lo mpz/fdiv_qr_ui.lo mpz/fdiv_r.lo \
206   mpz/fdiv_r_2exp.lo mpz/fdiv_r_ui.lo mpz/fdiv_ui.lo mpz/fib_ui.lo \
207   mpz/fits_sint_p.lo mpz/fits_slong_p.lo mpz/fits_sshort_p.lo \
208   mpz/fits_uint_p.lo mpz/fits_ulong_p.lo mpz/fits_ushort_p.lo mpz/gcd.lo \
209   mpz/gcd_ui.lo mpz/gcdext.lo mpz/get_d.lo mpz/get_si.lo mpz/get_str.lo \
210   mpz/get_ui.lo mpz/getlimbn.lo mpz/hamdist.lo mpz/init.lo mpz/inp_raw.lo \
211   mpz/inp_str.lo mpz/invert.lo mpz/ior.lo mpz/iset.lo mpz/iset_d.lo \
212   mpz/iset_si.lo mpz/iset_str.lo mpz/iset_ui.lo mpz/jacobi.lo \
213   mpz/kronsz.lo mpz/kronuz.lo mpz/kronzs.lo mpz/kronzu.lo \
214   mpz/lcm.lo mpz/legendre.lo \
215   mpz/mod.lo mpz/mul.lo mpz/mul_2exp.lo mpz/mul_si.lo mpz/mul_ui.lo \
216   mpz/neg.lo mpz/nextprime.lo mpz/out_raw.lo mpz/out_str.lo mpz/perfpow.lo mpz/perfsqr.lo \
217   mpz/popcount.lo mpz/pow_ui.lo mpz/powm.lo mpz/powm_ui.lo mpz/pprime_p.lo \
218   mpz/random.lo mpz/random2.lo mpz/realloc.lo mpz/remove.lo mpz/root.lo \
219   mpz/rrandomb.lo \
220   mpz/scan0.lo mpz/scan1.lo mpz/set.lo mpz/set_d.lo mpz/set_f.lo mpz/set_q.lo \
221   mpz/set_si.lo mpz/set_str.lo mpz/set_ui.lo mpz/setbit.lo mpz/size.lo \
222   mpz/sizeinbase.lo mpz/sqrt.lo mpz/sqrtrem.lo mpz/sub.lo mpz/sub_ui.lo \
223   mpz/swap.lo mpz/tdiv_ui.lo mpz/tdiv_q.lo mpz/tdiv_q_2exp.lo mpz/tdiv_q_ui.lo \
224   mpz/tdiv_qr.lo mpz/tdiv_qr_ui.lo mpz/tdiv_r.lo mpz/tdiv_r_2exp.lo \
225   mpz/tdiv_r_ui.lo mpz/tstbit.lo mpz/ui_pow_ui.lo mpz/urandomb.lo \
226   mpz/urandomm.lo mpz/xor.lo
227
228 MPQ_OBJECTS = mpq/add.lo mpq/canonicalize.lo mpq/clear.lo mpq/cmp.lo \
229   mpq/cmp_ui.lo mpq/div.lo mpq/get_d.lo mpq/get_den.lo mpq/get_num.lo \
230   mpq/init.lo mpq/inv.lo mpq/mul.lo mpq/neg.lo mpq/out_str.lo \
231   mpq/set.lo mpq/set_den.lo \
232   mpq/set_num.lo mpq/set_si.lo mpq/set_ui.lo mpq/sub.lo mpq/equal.lo \
233   mpq/set_z.lo mpq/set_d.lo mpq/swap.lo
234
235 MPN_OBJECTS = @mpn_objs_in_libgmp@
236
237 MPBSD_OBJECTS = mpbsd/add.lo mpbsd/tdiv_qr.lo mpbsd/move.lo mpbsd/powm.lo \
238   mpbsd/sub.lo mpbsd/cmp.lo mpbsd/mfree.lo mpbsd/mtox.lo mpbsd/realloc.lo \
239   mpbsd/gcd.lo mpbsd/itom.lo mpbsd/min.lo mpbsd/mul.lo mpbsd/mout.lo      \
240   mpbsd/pow_ui.lo mpbsd/sdiv.lo mpbsd/sqrtrem.lo mpbsd/xtom.lo 
241
242
243 # FIXME: Add mpfr/rnd_mode.lo when it's clean.
244 MPFR_OBJECTS = mpfr/add.lo mpfr/div_2exp.lo mpfr/neg.lo mpfr/set_dfl_prec.lo \
245   mpfr/set_str_raw.lo mpfr/agm.lo mpfr/get_str.lo mpfr/print_raw.lo \
246   mpfr/set_dfl_rnd.lo mpfr/sqrt.lo mpfr/clear.lo mpfr/init.lo \
247   mpfr/set_f.lo mpfr/sub.lo mpfr/cmp.lo mpfr/mul.lo mpfr/round.lo \
248   mpfr/set_prec.lo mpfr/cmp_ui.lo mpfr/mul_2exp.lo mpfr/set.lo mpfr/set_si.lo \
249   mpfr/div.lo mpfr/mul_ui.lo mpfr/set_d.lo mpfr/pow.lo mpfr/out_str.lo \
250   mpfr/pi.lo mpfr/set_z.lo mpfr/add_ulp.lo mpfr/log2.lo mpfr/random.lo \
251   mpfr/log.lo mpfr/exp.lo mpfr/div_ui.lo mpfr/zeta.lo mpfr/karadiv.lo \
252   mpfr/karasqrt.lo mpfr/print_rnd_mode.lo
253
254
255 @WANT_MPFR_TRUE@MPFR_HEADERS_OPTION = @WANT_MPFR_TRUE@mpfr/mpfr.h
256 @WANT_MPFR_TRUE@MPFR_OBJECTS_OPTION = @WANT_MPFR_TRUE@$(MPFR_OBJECTS)
257 @WANT_MPFR_TRUE@MPFR_LIBADD_OPTION = @WANT_MPFR_TRUE@-lm
258 libgmp_la_SOURCES = assert.c compat.c errno.c memory.c mp_set_fns.c      \
259   mp_clz_tab.c mp_minv_tab.c                                             \
260   rand.c randclr.c randlc.c randlc2x.c randraw.c randsd.c                \
261   randsdui.c version.c stack-alloc.c mp_bpl.c extract-dbl.c insert-dbl.c
262
263 libgmp_la_DEPENDENCIES = \
264   $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \
265   $(MPFR_OBJECTS_OPTION)
266
267 libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) $(MPFR_LIBADD_OPTION)
268 libgmp_la_LDFLAGS = \
269   -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
270
271
272 @WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = @WANT_MPBSD_TRUE@mp.h
273 @WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = @WANT_MPBSD_TRUE@libmp.la
274 libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c      \
275   mp_minv_tab.c mp_set_fns.c stack-alloc.c
276
277 libmp_la_DEPENDENCIES = $(MPBSD_OBJECTS) $(MPN_OBJECTS)                 \
278   mpz/add.lo mpz/clear.lo mpz/cmp.lo mpz/init.lo mpz/mod.lo mpz/mul.lo  \
279   mpz/mul_2exp.lo mpz/realloc.lo mpz/set.lo mpz/set_ui.lo mpz/tdiv_r.lo \
280   mpz/sub.lo
281
282 libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
283 libmp_la_LDFLAGS = \
284   -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE)
285
286
287 info_TEXINFOS = gmp.texi
288 subdir = .
289 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
290 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
291 CONFIG_HEADER = config.h
292 CONFIG_CLEAN_FILES = 
293 LTLIBRARIES =  $(lib_LTLIBRARIES)
294
295
296 DEFS = @DEFS@ -I. -I$(srcdir) -I.
297 CPPFLAGS = @CPPFLAGS@
298 LDFLAGS = @LDFLAGS@
299 LIBS = @LIBS@
300 ANSI2KNR = @ANSI2KNR@
301 am_libgmp_la_OBJECTS =  assert$U.lo compat$U.lo errno$U.lo memory$U.lo \
302 mp_set_fns$U.lo mp_clz_tab$U.lo mp_minv_tab$U.lo rand$U.lo randclr$U.lo \
303 randlc$U.lo randlc2x$U.lo randraw$U.lo randsd$U.lo randsdui$U.lo \
304 version$U.lo stack-alloc$U.lo mp_bpl$U.lo extract-dbl$U.lo \
305 insert-dbl$U.lo
306 libgmp_la_OBJECTS =  $(am_libgmp_la_OBJECTS)
307 am_libmp_la_OBJECTS =  assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
308 mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo stack-alloc$U.lo
309 libmp_la_OBJECTS =  $(am_libmp_la_OBJECTS)
310 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
311 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
312 CFLAGS = @CFLAGS@
313 CCLD = $(CC)
314 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
315 DIST_SOURCES =  $(libgmp_la_SOURCES) $(libmp_la_SOURCES)
316 TEXI2DVI = texi2dvi
317 INFO_DEPS = gmp.info
318 DVIS = gmp.dvi
319 TEXINFOS = gmp.texi
320 HEADERS =  $(include_HEADERS)
321
322 DIST_COMMON =  README $(EXTRA_HEADERS) $(include_HEADERS) ./stamp-h.in \
323 AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am Makefile.in \
324 NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 ansi2knr.c \
325 config.guess config.in config.sub configure configure.in depcomp \
326 install-sh ltconfig ltmain.sh mdate-sh missing mkinstalldirs stamp-vti \
327 texinfo.tex version.texi
328
329
330 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
331
332 GZIP_ENV = --best
333 depcomp = 
334 SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES)
335 OBJECTS = $(am_libgmp_la_OBJECTS) $(am_libmp_la_OBJECTS)
336
337 all: all-redirect
338 .SUFFIXES:
339 .SUFFIXES: .c .dvi .info .lo .o .obj .ps .texi .texinfo .txi
340 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
341         cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
342
343 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
344         cd $(top_builddir) \
345           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
346
347 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
348         cd $(srcdir) && $(ACLOCAL)
349
350 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
351         $(SHELL) ./config.status --recheck
352 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
353         cd $(srcdir) && $(AUTOCONF)
354
355 config.h: stamp-h
356         @if test ! -f $@; then \
357                 rm -f stamp-h; \
358                 $(MAKE) stamp-h; \
359         else :; fi
360 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
361         @rm -f stamp-h stamp-hT
362         @echo timestamp > stamp-hT 2> /dev/null
363         cd $(top_builddir) \
364           && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
365              $(SHELL) ./config.status
366         @mv stamp-hT stamp-h
367 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in
368         @if test ! -f $@; then \
369                 rm -f $(srcdir)/./stamp-h.in; \
370                 $(MAKE) $(srcdir)/./stamp-h.in; \
371         else :; fi
372 $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
373         @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
374         @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
375         cd $(top_srcdir) && $(AUTOHEADER)
376         @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
377
378 mostlyclean-hdr:
379
380 clean-hdr:
381
382 distclean-hdr:
383         -rm -f config.h
384
385 maintainer-clean-hdr:
386
387 mostlyclean-libLTLIBRARIES:
388
389 clean-libLTLIBRARIES:
390         -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
391
392 distclean-libLTLIBRARIES:
393
394 maintainer-clean-libLTLIBRARIES:
395
396 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
397         @$(NORMAL_INSTALL)
398         $(mkinstalldirs) $(DESTDIR)$(libdir)
399         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
400           if test -f $$p; then \
401             echo " $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
402             $(LIBTOOL)  --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
403           else :; fi; \
404         done
405
406 uninstall-libLTLIBRARIES:
407         @$(NORMAL_UNINSTALL)
408         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
409           echo " $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
410           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
411         done
412
413 mostlyclean-compile:
414         -rm -f *.o core *.core
415         -rm -f *.$(OBJEXT)
416
417 clean-compile:
418
419 distclean-compile:
420         -rm -f *.tab.c
421
422 maintainer-clean-compile:
423
424 mostlyclean-libtool:
425         -rm -f *.lo
426
427 clean-libtool:
428         -rm -rf .libs _libs
429
430 distclean-libtool:
431
432 maintainer-clean-libtool:
433
434 mostlyclean-krextra:
435
436 clean-krextra:
437         -rm -f ansi2knr
438
439 distclean-krextra:
440
441 maintainer-clean-krextra:
442 ansi2knr: ansi2knr.$(OBJEXT)
443         $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
444 ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
445
446
447 mostlyclean-kr:
448         -rm -f *_.c
449
450 clean-kr:
451
452 distclean-kr:
453
454 maintainer-clean-kr:
455
456 libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
457         $(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
458
459 libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
460         $(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
461 .c.o:
462         $(COMPILE) -c $<
463 .c.obj:
464         $(COMPILE) -c `cygpath -w $<`
465 .c.lo:
466         $(LTCOMPILE) -c -o $@ $<
467 assert_.c: assert.c $(ANSI2KNR)
468         $(CPP) $(DEFS) $(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
469 compat_.c: compat.c $(ANSI2KNR)
470         $(CPP) $(DEFS) $(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
471 errno_.c: errno.c $(ANSI2KNR)
472         $(CPP) $(DEFS) $(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
473 extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
474         $(CPP) $(DEFS) $(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
475 insert-dbl_.c: insert-dbl.c $(ANSI2KNR)
476         $(CPP) $(DEFS) $(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
477 memory_.c: memory.c $(ANSI2KNR)
478         $(CPP) $(DEFS) $(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
479 mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
480         $(CPP) $(DEFS) $(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
481 mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
482         $(CPP) $(DEFS) $(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
483 mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
484         $(CPP) $(DEFS) $(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
485 mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
486         $(CPP) $(DEFS) $(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
487 rand_.c: rand.c $(ANSI2KNR)
488         $(CPP) $(DEFS) $(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
489 randclr_.c: randclr.c $(ANSI2KNR)
490         $(CPP) $(DEFS) $(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
491 randlc_.c: randlc.c $(ANSI2KNR)
492         $(CPP) $(DEFS) $(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
493 randlc2x_.c: randlc2x.c $(ANSI2KNR)
494         $(CPP) $(DEFS) $(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
495 randraw_.c: randraw.c $(ANSI2KNR)
496         $(CPP) $(DEFS) $(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
497 randsd_.c: randsd.c $(ANSI2KNR)
498         $(CPP) $(DEFS) $(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
499 randsdui_.c: randsdui.c $(ANSI2KNR)
500         $(CPP) $(DEFS) $(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
501 stack-alloc_.c: stack-alloc.c $(ANSI2KNR)
502         $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/stack-alloc.c; then echo $(srcdir)/stack-alloc.c; else echo stack-alloc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > stack-alloc_.c
503 version_.c: version.c $(ANSI2KNR)
504         $(CPP) $(DEFS) $(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
505 assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
506 errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
507 insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \
508 mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
509 mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \
510 mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \
511 randlc_.$(OBJEXT) randlc_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \
512 randraw_.$(OBJEXT) randraw_.lo randsd_.$(OBJEXT) randsd_.lo \
513 randsdui_.$(OBJEXT) randsdui_.lo stack-alloc_.$(OBJEXT) stack-alloc_.lo \
514 version_.$(OBJEXT) version_.lo : $(ANSI2KNR)
515
516 $(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@stamp-vti
517         @:
518
519 $(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in
520         @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`" > vti.tmp
521         @echo "@set EDITION $(VERSION)" >> vti.tmp
522         @echo "@set VERSION $(VERSION)" >> vti.tmp
523         @cmp -s vti.tmp $(srcdir)/version.texi \
524           || (echo "Updating $(srcdir)/version.texi"; \
525               cp vti.tmp $(srcdir)/version.texi)
526         -@rm -f vti.tmp
527         @cp $(srcdir)/version.texi $@
528
529 mostlyclean-vti:
530         -rm -f vti.tmp
531
532 clean-vti:
533
534 distclean-vti:
535
536 maintainer-clean-vti:
537         -@MAINTAINER_MODE_TRUE@rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
538
539 gmp.info: gmp.texi version.texi
540 gmp.dvi: gmp.texi version.texi
541
542
543 DVIPS = dvips
544
545 .texi.info:
546         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
547         cd $(srcdir) \
548           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
549
550 .texi.dvi:
551         TEXINPUTS=$(srcdir):$$TEXINPUTS \
552           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
553
554 .texi:
555         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
556         cd $(srcdir) \
557           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
558
559 .texinfo.info:
560         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
561         cd $(srcdir) \
562           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
563
564 .texinfo:
565         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
566         cd $(srcdir) \
567           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
568
569 .texinfo.dvi:
570         TEXINPUTS=$(srcdir):$$TEXINPUTS \
571           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
572
573 .txi.info:
574         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
575         cd $(srcdir) \
576           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
577
578 .txi.dvi:
579         TEXINPUTS=$(srcdir):$$TEXINPUTS \
580           MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
581
582 .txi:
583         @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
584         cd $(srcdir) \
585           && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
586 .dvi.ps:
587         $(DVIPS) $< -o $@
588
589 install-info-am: $(INFO_DEPS)
590         @$(NORMAL_INSTALL)
591         $(mkinstalldirs) $(DESTDIR)$(infodir)
592         @list='$(INFO_DEPS)'; \
593         for file in $$list; do \
594           d=$(srcdir); \
595           for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
596             if test -f $$d/$$ifile; then \
597               echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
598               $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
599             else : ; fi; \
600           done; \
601         done
602         @$(POST_INSTALL)
603         @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
604           list='$(INFO_DEPS)'; \
605           for file in $$list; do \
606             echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
607             install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
608           done; \
609         else : ; fi
610
611 uninstall-info:
612         $(PRE_UNINSTALL)
613         @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
614           list='$(INFO_DEPS)'; \
615           for file in $$list; do \
616             echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
617             install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
618           done; \
619         else :; fi
620         @$(NORMAL_UNINSTALL)
621         @list='$(INFO_DEPS)'; \
622         for file in $$list; do \
623           (if cd $(DESTDIR)$(infodir); then \
624              echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
625              rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
626            else :; fi); \
627         done
628
629 dist-info: $(INFO_DEPS)
630         list='$(INFO_DEPS)'; \
631         for base in $$list; do \
632           d=$(srcdir); \
633           for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
634             test -f $(distdir)/$$file \
635             || cp -p $$d/$$file $(distdir)/$$file; \
636           done; \
637         done
638
639 mostlyclean-aminfo:
640         -rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.pgs gmp.ky \
641           gmp.kys gmp.ps gmp.log gmp.pg gmp.toc gmp.tp gmp.tps gmp.vr \
642           gmp.vrs gmp.op gmp.tr gmp.cv gmp.cn gmp.cm gmp.ov
643
644 clean-aminfo:
645
646 distclean-aminfo:
647
648 maintainer-clean-aminfo:
649         cd $(srcdir) && for i in $(INFO_DEPS); do \
650           rm -f $$i; \
651           if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
652             rm -f $$i-[0-9]*; \
653           fi; \
654         done
655
656 install-includeHEADERS: $(include_HEADERS)
657         @$(NORMAL_INSTALL)
658         $(mkinstalldirs) $(DESTDIR)$(includedir)
659         @list='$(include_HEADERS)'; for p in $$list; do \
660           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
661           f="`echo $$p | sed -e 's|^.*/||'`"; \
662           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
663           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
664         done
665
666 uninstall-includeHEADERS:
667         @$(NORMAL_UNINSTALL)
668         @list='$(include_HEADERS)'; for p in $$list; do \
669           f="`echo $$p | sed -e 's|^.*/||'`"; \
670           echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
671           rm -f $(DESTDIR)$(includedir)/$$f; \
672         done
673
674 # This directory's subdirectories are mostly independent; you can cd
675 # into them and run `make' without going through this Makefile.
676 # To change the values of `make' variables: instead of editing Makefiles,
677 # (1) if the variable is set in `config.status', edit `config.status'
678 #     (which will cause the Makefiles to be regenerated when you run `make');
679 # (2) otherwise, pass the desired values on the `make' command line.
680
681 all-recursive install-data-recursive install-exec-recursive \
682 installdirs-recursive install-recursive uninstall-recursive  \
683 check-recursive installcheck-recursive info-recursive dvi-recursive:
684         @set fnord $(MAKEFLAGS); amf=$$2; \
685         dot_seen=no; \
686         target=`echo $@ | sed s/-recursive//`; \
687         list='$(SUBDIRS)'; for subdir in $$list; do \
688           echo "Making $$target in $$subdir"; \
689           if test "$$subdir" = "."; then \
690             dot_seen=yes; \
691             local_target="$$target-am"; \
692           else \
693             local_target="$$target"; \
694           fi; \
695           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
696            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
697         done; \
698         if test "$$dot_seen" = "no"; then \
699           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
700         fi; test -z "$$fail"
701
702 mostlyclean-recursive clean-recursive distclean-recursive \
703 maintainer-clean-recursive:
704         @set fnord $(MAKEFLAGS); amf=$$2; \
705         dot_seen=no; \
706         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
707           rev="$$subdir $$rev"; \
708           if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
709         done; \
710         test "$$dot_seen" = "no" && rev=". $$rev"; \
711         target=`echo $@ | sed s/-recursive//`; \
712         for subdir in $$rev; do \
713           echo "Making $$target in $$subdir"; \
714           if test "$$subdir" = "."; then \
715             local_target="$$target-am"; \
716           else \
717             local_target="$$target"; \
718           fi; \
719           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
720            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
721         done && test -z "$$fail"
722 tags-recursive:
723         list='$(SUBDIRS)'; for subdir in $$list; do \
724           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
725         done
726
727 tags: TAGS
728
729 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
730         list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
731         unique=`for i in $$list; do \
732             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
733           done | \
734           $(AWK) '    { files[$$0] = 1; } \
735                END { for (i in files) print i; }'`; \
736         mkid -f$$here/ID $$unique $(LISP)
737
738 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
739                 $(TAGS_FILES) $(LISP)
740         tags=; \
741         here=`pwd`; \
742         list='$(SUBDIRS)'; for subdir in $$list; do \
743    if test "$$subdir" = .; then :; else \
744             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
745    fi; \
746         done; \
747         list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
748         unique=`for i in $$list; do \
749             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
750           done | \
751           $(AWK) '    { files[$$0] = 1; } \
752                END { for (i in files) print i; }'`; \
753         test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
754           || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
755
756 mostlyclean-tags:
757
758 clean-tags:
759
760 distclean-tags:
761         -rm -f TAGS ID
762
763 maintainer-clean-tags:
764
765 distdir = $(PACKAGE)-$(VERSION)
766 top_distdir = $(distdir)
767
768
769 # This target untars the dist file and tries a VPATH configuration.  Then
770 # it guarantees that the distribution is self-contained by making another
771 # tarfile.
772 distcheck: dist
773         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
774         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
775         chmod -R a-w $(distdir); chmod a+w $(distdir)
776         mkdir $(distdir)/=build
777         mkdir $(distdir)/=inst
778         chmod a-w $(distdir)
779         dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
780           && cd $(distdir)/=build \
781           && ../configure --srcdir=.. --prefix=$$dc_install_base \
782           && $(MAKE) $(AM_MAKEFLAGS) \
783           && $(MAKE) $(AM_MAKEFLAGS) dvi \
784           && $(MAKE) $(AM_MAKEFLAGS) check \
785           && $(MAKE) $(AM_MAKEFLAGS) install \
786           && $(MAKE) $(AM_MAKEFLAGS) installcheck \
787           && $(MAKE) $(AM_MAKEFLAGS) uninstall \
788           && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
789           && $(MAKE) $(AM_MAKEFLAGS) dist \
790           && $(MAKE) $(AM_MAKEFLAGS) distclean \
791           && rm -f $(distdir).tar.gz \
792           && test `find . -type f -print | wc -l` -eq 0
793         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
794         @banner="$(distdir).tar.gz is ready for distribution"; \
795         dashes=`echo "$$banner" | sed s/./=/g`; \
796         echo "$$dashes"; \
797         echo "$$banner"; \
798         echo "$$dashes"
799 dist: distdir
800         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
801           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
802           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
803           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
804         || chmod -R a+r $(distdir)
805         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
806         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
807 dist-all: distdir
808         -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
809           ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
810           ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
811           ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
812         || chmod -R a+r $(distdir)
813         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
814         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
815 distdir: $(DISTFILES)
816         @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
817           echo "NEWS not updated; not releasing" 1>&2; \
818           exit 1; \
819         fi
820         -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
821         mkdir $(distdir)
822         $(mkinstalldirs) $(distdir)/mpfr
823         @for file in $(DISTFILES); do \
824           d=$(srcdir); \
825           if test -d $$d/$$file; then \
826             cp -pR $$d/$$file $(distdir); \
827           else \
828             test -f $(distdir)/$$file \
829             || cp -p $$d/$$file $(distdir)/$$file || :; \
830           fi; \
831         done
832         for subdir in $(SUBDIRS); do \
833           if test "$$subdir" = .; then :; else \
834             test -d $(distdir)/$$subdir \
835             || mkdir $(distdir)/$$subdir \
836             || exit 1; \
837             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
838               || exit 1; \
839           fi; \
840         done
841         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
842         $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
843 info-am: $(INFO_DEPS)
844 info: info-recursive
845 dvi-am: $(DVIS)
846 dvi: dvi-recursive
847 check-am: all-am
848 check: check-recursive
849 installcheck-am:
850 installcheck: installcheck-recursive
851 all-recursive-am: config.h
852         $(MAKE) $(AM_MAKEFLAGS) all-recursive
853
854 install-exec-am: install-libLTLIBRARIES
855 install-exec: install-exec-recursive
856
857 install-data-am: install-info-am install-includeHEADERS
858 install-data: install-data-recursive
859
860 install-am: all-am
861         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
862 install: install-recursive
863 uninstall-am: uninstall-libLTLIBRARIES uninstall-info \
864                 uninstall-includeHEADERS
865 uninstall: uninstall-recursive
866 all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \
867                 config.h
868 all-redirect: all-recursive-am
869 install-strip:
870         $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
871 installdirs: installdirs-recursive
872 installdirs-am:
873         $(mkinstalldirs)  $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) \
874                 $(DESTDIR)$(includedir)
875
876
877 mostlyclean-generic:
878
879 clean-generic:
880
881 distclean-generic:
882         -rm -f Makefile $(CONFIG_CLEAN_FILES)
883         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
884         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
885
886 maintainer-clean-generic:
887         -rm -f Makefile.in
888 mostlyclean-am:  mostlyclean-hdr mostlyclean-libLTLIBRARIES \
889                 mostlyclean-compile mostlyclean-libtool \
890                 mostlyclean-krextra mostlyclean-kr mostlyclean-vti \
891                 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
892
893 mostlyclean: mostlyclean-recursive
894
895 clean-am:  clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
896                 clean-krextra clean-kr clean-vti clean-aminfo \
897                 clean-tags clean-generic mostlyclean-am
898
899 clean: clean-recursive
900
901 distclean-am:  distclean-hdr distclean-libLTLIBRARIES distclean-compile \
902                 distclean-libtool distclean-krextra distclean-kr \
903                 distclean-vti distclean-aminfo distclean-tags \
904                 distclean-generic clean-am
905         -rm -f libtool
906
907 distclean: distclean-recursive
908         -rm -f config.status
909
910 maintainer-clean-am:  maintainer-clean-hdr \
911                 maintainer-clean-libLTLIBRARIES \
912                 maintainer-clean-compile maintainer-clean-libtool \
913                 maintainer-clean-krextra maintainer-clean-kr \
914                 maintainer-clean-vti maintainer-clean-aminfo \
915                 maintainer-clean-tags maintainer-clean-generic \
916                 distclean-am
917         @echo "This command is intended for maintainers to use;"
918         @echo "it deletes files that may require special tools to rebuild."
919
920 maintainer-clean: maintainer-clean-recursive
921         -rm -f config.status
922
923 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
924 mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
925 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
926 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
927 distclean-compile clean-compile maintainer-clean-compile \
928 mostlyclean-libtool distclean-libtool clean-libtool \
929 maintainer-clean-libtool mostlyclean-krextra distclean-krextra \
930 clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \
931 clean-kr maintainer-clean-kr mostlyclean-vti distclean-vti clean-vti \
932 maintainer-clean-vti install-info-am uninstall-info mostlyclean-aminfo \
933 distclean-aminfo clean-aminfo maintainer-clean-aminfo \
934 uninstall-includeHEADERS install-includeHEADERS install-recursive \
935 uninstall-recursive install-data-recursive uninstall-data-recursive \
936 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
937 uninstalldirs-recursive all-recursive check-recursive \
938 installcheck-recursive info-recursive dvi-recursive \
939 mostlyclean-recursive distclean-recursive clean-recursive \
940 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
941 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
942 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
943 install-exec-am install-exec install-data-am install-data install-am \
944 install uninstall-am uninstall all-redirect all-am all install-strip \
945 installdirs-am installdirs mostlyclean-generic distclean-generic \
946 clean-generic maintainer-clean-generic clean mostlyclean distclean \
947 maintainer-clean
948
949
950 # Don't ship CVS directories or emacs backups.
951 dist-hook:
952         -find $(distdir) \( -name CVS -type d \) -o -name "*.~*" \
953                 | xargs rm -rf
954
955 # Tell versions [3.59,3.63) of GNU make to not export all variables.
956 # Otherwise a system limit (for SysV at least) may be exceeded.
957 .NOEXPORT: