1 # Makefile.in generated automatically by automake 1.4a from Makefile.am
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.
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
16 top_srcdir = @top_srcdir@
19 exec_prefix = @exec_prefix@
23 libexecdir = @libexecdir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
45 AUTOHEADER = @AUTOHEADER@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
62 build_alias = @build_alias@
63 build_triplet = @build@
64 host_alias = @host_alias@
66 target_alias = @target_alias@
67 target_triplet = @target@
73 CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
91 SPEED_CYCLECOUNTER_OBJS = @SPEED_CYCLECOUNTER_OBJS@
95 gmp_srclinks = @gmp_srclinks@
96 install_sh = @install_sh@
97 mpn_objects = @mpn_objects@
98 mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
100 # Copyright (C) 1991, 1993, 1994, 1996, 1997, 1999, 2000 Free Software
103 # This file is part of the GNU MP Library.
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.
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.
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.
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".
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.
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.
140 # Libtool -version-info for libgmp.la and libmp.la. See (libtool)Versioning
142 # 1. No interfaces changed, only implementations (good): Increment REVISION.
144 # 2. Interfaces added, none removed (good): Increment CURRENT, increment
145 # AGE, set REVISION to 0.
147 # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
148 # CURRENT, set AGE and REVISION to 0.
150 # Do this separately for libgmp and libmp, only do it just before a release.
153 # release libgmp libmp
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.
166 LIBGMP_LT_CURRENT = 4
167 LIBGMP_LT_REVISION = 0
171 LIBMP_LT_REVISION = 0
174 AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr
178 include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) $(MPFR_HEADERS_OPTION)
181 lib_LTLIBRARIES = libgmp.la $(MPBSD_LTLIBRARIES_OPTION)
183 EXTRA_DIST = .gdbinit gmp-impl.h longlong.h stack-alloc.h urandom.h doc macos
185 DISTCLEANFILES = asm-syntax.h config.m4 @gmp_srclinks@
187 MPZ_OBJECTS = mpz/abs.lo mpz/add.lo mpz/add_ui.lo mpz/addmul_ui.lo mpz/and.lo \
188 mpz/array_init.lo mpz/bin_ui.lo mpz/bin_uiui.lo mpz/cdiv_q.lo \
189 mpz/cdiv_q_ui.lo mpz/cdiv_qr.lo mpz/cdiv_qr_ui.lo mpz/cdiv_r.lo \
190 mpz/cdiv_r_ui.lo mpz/cdiv_ui.lo mpz/clear.lo mpz/clrbit.lo mpz/cmp.lo \
191 mpz/cmp_si.lo mpz/cmp_ui.lo mpz/cmpabs.lo mpz/cmpabs_ui.lo mpz/com.lo \
192 mpz/divexact.lo mpz/dump.lo mpz/fac_ui.lo mpz/fdiv_q.lo mpz/fdiv_q_2exp.lo \
193 mpz/fdiv_q_ui.lo mpz/fdiv_qr.lo mpz/fdiv_qr_ui.lo mpz/fdiv_r.lo \
194 mpz/fdiv_r_2exp.lo mpz/fdiv_r_ui.lo mpz/fdiv_ui.lo mpz/fib_ui.lo \
195 mpz/fits_sint_p.lo mpz/fits_slong_p.lo mpz/fits_sshort_p.lo \
196 mpz/fits_uint_p.lo mpz/fits_ulong_p.lo mpz/fits_ushort_p.lo mpz/gcd.lo \
197 mpz/gcd_ui.lo mpz/gcdext.lo mpz/get_d.lo mpz/get_si.lo mpz/get_str.lo \
198 mpz/get_ui.lo mpz/getlimbn.lo mpz/hamdist.lo mpz/init.lo mpz/inp_raw.lo \
199 mpz/inp_str.lo mpz/invert.lo mpz/ior.lo mpz/iset.lo mpz/iset_d.lo \
200 mpz/iset_si.lo mpz/iset_str.lo mpz/iset_ui.lo mpz/jacobi.lo \
201 mpz/kronsz.lo mpz/kronuz.lo mpz/kronzs.lo mpz/kronzu.lo \
202 mpz/lcm.lo mpz/legendre.lo \
203 mpz/mod.lo mpz/mul.lo mpz/mul_2exp.lo mpz/mul_si.lo mpz/mul_ui.lo \
204 mpz/neg.lo mpz/nextprime.lo mpz/out_raw.lo mpz/out_str.lo mpz/perfpow.lo mpz/perfsqr.lo \
205 mpz/popcount.lo mpz/pow_ui.lo mpz/powm.lo mpz/powm_ui.lo mpz/pprime_p.lo \
206 mpz/random.lo mpz/random2.lo mpz/realloc.lo mpz/remove.lo mpz/root.lo \
208 mpz/scan0.lo mpz/scan1.lo mpz/set.lo mpz/set_d.lo mpz/set_f.lo mpz/set_q.lo \
209 mpz/set_si.lo mpz/set_str.lo mpz/set_ui.lo mpz/setbit.lo mpz/size.lo \
210 mpz/sizeinbase.lo mpz/sqrt.lo mpz/sqrtrem.lo mpz/sub.lo mpz/sub_ui.lo \
211 mpz/swap.lo mpz/tdiv_ui.lo mpz/tdiv_q.lo mpz/tdiv_q_2exp.lo mpz/tdiv_q_ui.lo \
212 mpz/tdiv_qr.lo mpz/tdiv_qr_ui.lo mpz/tdiv_r.lo mpz/tdiv_r_2exp.lo \
213 mpz/tdiv_r_ui.lo mpz/tstbit.lo mpz/ui_pow_ui.lo mpz/urandomb.lo \
214 mpz/urandomm.lo mpz/xor.lo
216 MPN_OBJECTS = @mpn_objs_in_libgmp@
218 MPBSD_OBJECTS = mpbsd/add.lo mpbsd/tdiv_qr.lo mpbsd/move.lo mpbsd/powm.lo \
219 mpbsd/sub.lo mpbsd/cmp.lo mpbsd/mfree.lo mpbsd/mtox.lo mpbsd/realloc.lo \
220 mpbsd/gcd.lo mpbsd/itom.lo mpbsd/min.lo mpbsd/mul.lo mpbsd/mout.lo \
221 mpbsd/pow_ui.lo mpbsd/sdiv.lo mpbsd/sqrtrem.lo mpbsd/xtom.lo
225 @WANT_MPFR_TRUE@MPFR_HEADERS_OPTION = @WANT_MPFR_TRUE@mpfr/mpfr.h
226 @WANT_MPFR_TRUE@MPFR_OBJECTS_OPTION = @WANT_MPFR_TRUE@$(MPFR_OBJECTS)
227 @WANT_MPFR_TRUE@MPFR_LIBADD_OPTION = @WANT_MPFR_TRUE@-lm
228 libgmp_la_SOURCES = assert.c compat.c errno.c memory.c mp_set_fns.c \
229 mp_clz_tab.c mp_minv_tab.c \
230 version.c stack-alloc.c mp_bpl.c extract-dbl.c insert-dbl.c
232 libgmp_la_DEPENDENCIES = \
233 $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \
234 $(MPFR_OBJECTS_OPTION)
236 libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) $(MPFR_LIBADD_OPTION)
237 libgmp_la_LDFLAGS = \
238 -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
241 @WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = @WANT_MPBSD_TRUE@mp.h
242 @WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = @WANT_MPBSD_TRUE@libmp.la
243 libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \
244 mp_minv_tab.c mp_set_fns.c stack-alloc.c
246 libmp_la_DEPENDENCIES = $(MPBSD_OBJECTS) $(MPN_OBJECTS) \
247 mpz/add.lo mpz/clear.lo mpz/cmp.lo mpz/init.lo mpz/mod.lo mpz/mul.lo \
248 mpz/mul_2exp.lo mpz/realloc.lo mpz/set.lo mpz/set_ui.lo mpz/tdiv_r.lo \
251 libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
253 -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE)
256 info_TEXINFOS = gmp.texi
258 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
259 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
260 CONFIG_HEADER = config.h
262 LTLIBRARIES = $(lib_LTLIBRARIES)
265 DEFS = @DEFS@ -I. -I$(srcdir) -I.
266 CPPFLAGS = @CPPFLAGS@
269 ANSI2KNR = @ANSI2KNR@
270 am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo memory$U.lo \
271 mp_set_fns$U.lo mp_clz_tab$U.lo mp_minv_tab$U.lo rand$U.lo randclr$U.lo \
272 randlc$U.lo randlc2x$U.lo randraw$U.lo randsd$U.lo randsdui$U.lo \
273 version$U.lo stack-alloc$U.lo mp_bpl$U.lo extract-dbl$U.lo \
275 libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
276 am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
277 mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo stack-alloc$U.lo
278 libmp_la_OBJECTS = $(am_libmp_la_OBJECTS)
279 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
280 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
283 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
284 DIST_SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES)
286 # INFO_DEPS = gmp.info
289 HEADERS = $(include_HEADERS)
291 DIST_COMMON = README $(EXTRA_HEADERS) $(include_HEADERS) ./stamp-h.in \
292 AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am Makefile.in \
293 NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 ansi2knr.c \
294 config.guess config.in config.sub configure configure.in depcomp \
295 install-sh ltconfig ltmain.sh mdate-sh missing mkinstalldirs stamp-vti \
296 texinfo.tex version.texi
299 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
303 SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES)
304 OBJECTS = $(am_libgmp_la_OBJECTS) $(am_libmp_la_OBJECTS)
308 .SUFFIXES: .c .dvi .info .lo .o .obj .ps .texi .texinfo .txi
309 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
310 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
312 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
314 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
316 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
317 cd $(srcdir) && $(ACLOCAL)
319 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
320 $(SHELL) ./config.status --recheck
321 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
322 cd $(srcdir) && $(AUTOCONF)
325 @if test ! -f $@; then \
329 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
330 @rm -f stamp-h stamp-hT
331 @echo timestamp > stamp-hT 2> /dev/null
333 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
334 $(SHELL) ./config.status
336 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in
337 @if test ! -f $@; then \
338 rm -f $(srcdir)/./stamp-h.in; \
339 $(MAKE) $(srcdir)/./stamp-h.in; \
341 $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
342 @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
343 @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
344 cd $(top_srcdir) && $(AUTOHEADER)
345 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
354 maintainer-clean-hdr:
356 mostlyclean-libLTLIBRARIES:
358 clean-libLTLIBRARIES:
359 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
361 distclean-libLTLIBRARIES:
363 maintainer-clean-libLTLIBRARIES:
365 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
367 $(mkinstalldirs) $(DESTDIR)$(libdir)
368 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
369 if test -f $$p; then \
370 echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
371 $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
375 uninstall-libLTLIBRARIES:
377 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
378 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
379 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
383 -rm -f *.o core *.core
391 maintainer-clean-compile:
401 maintainer-clean-libtool:
410 maintainer-clean-krextra:
411 ansi2knr: ansi2knr.$(OBJEXT)
412 $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
413 ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
426 dllwrap -mno-cygwin --target=i386-unknown-mingw32 \
427 --export-all --dllname gmp.dll --output-lib=libgmp_imp.a \
430 libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
431 $(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
433 libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
434 $(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
438 $(COMPILE) -c `cygpath -w $<`
440 $(LTCOMPILE) -c -o $@ $<
441 assert_.c: assert.c $(ANSI2KNR)
442 $(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
443 compat_.c: compat.c $(ANSI2KNR)
444 $(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
445 errno_.c: errno.c $(ANSI2KNR)
446 $(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
447 extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
448 $(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
449 insert-dbl_.c: insert-dbl.c $(ANSI2KNR)
450 $(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
451 memory_.c: memory.c $(ANSI2KNR)
452 $(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
453 mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
454 $(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
455 mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
456 $(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
457 mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
458 $(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
459 mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
460 $(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
461 rand_.c: rand.c $(ANSI2KNR)
462 $(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
463 randclr_.c: randclr.c $(ANSI2KNR)
464 $(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
465 randlc_.c: randlc.c $(ANSI2KNR)
466 $(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
467 randlc2x_.c: randlc2x.c $(ANSI2KNR)
468 $(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
469 randraw_.c: randraw.c $(ANSI2KNR)
470 $(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
471 randsd_.c: randsd.c $(ANSI2KNR)
472 $(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
473 randsdui_.c: randsdui.c $(ANSI2KNR)
474 $(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
475 stack-alloc_.c: stack-alloc.c $(ANSI2KNR)
476 $(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
477 version_.c: version.c $(ANSI2KNR)
478 $(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
479 assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
480 errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
481 insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \
482 mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
483 mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \
484 mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \
485 randlc_.$(OBJEXT) randlc_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \
486 randraw_.$(OBJEXT) randraw_.lo randsd_.$(OBJEXT) randsd_.lo \
487 randsdui_.$(OBJEXT) randsdui_.lo stack-alloc_.$(OBJEXT) stack-alloc_.lo \
488 version_.$(OBJEXT) version_.lo : $(ANSI2KNR)
490 $(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@stamp-vti
493 $(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in
494 @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`" > vti.tmp
495 @echo "@set EDITION $(VERSION)" >> vti.tmp
496 @echo "@set VERSION $(VERSION)" >> vti.tmp
497 @cmp -s vti.tmp $(srcdir)/version.texi \
498 || (echo "Updating $(srcdir)/version.texi"; \
499 cp vti.tmp $(srcdir)/version.texi)
501 @cp $(srcdir)/version.texi $@
510 maintainer-clean-vti:
511 -@MAINTAINER_MODE_TRUE@rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
513 # gmp.info: gmp.texi version.texi
514 # gmp.dvi: gmp.texi version.texi
520 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
522 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
525 TEXINPUTS=$(srcdir):$$TEXINPUTS \
526 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
529 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
531 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
534 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
536 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
539 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
541 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
544 TEXINPUTS=$(srcdir):$$TEXINPUTS \
545 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
548 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
550 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
553 TEXINPUTS=$(srcdir):$$TEXINPUTS \
554 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
557 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
559 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
563 install-info-am: $(INFO_DEPS)
565 $(mkinstalldirs) $(DESTDIR)$(infodir)
566 @list='$(INFO_DEPS)'; \
567 for file in $$list; do \
569 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
570 if test -f $$d/$$ifile; then \
571 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
572 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
577 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
578 list='$(INFO_DEPS)'; \
579 for file in $$list; do \
580 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
581 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
587 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
588 list='$(INFO_DEPS)'; \
589 for file in $$list; do \
590 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
591 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
595 @list='$(INFO_DEPS)'; \
596 for file in $$list; do \
597 (if cd $(DESTDIR)$(infodir); then \
598 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
599 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
603 dist-info: $(INFO_DEPS)
604 list='$(INFO_DEPS)'; \
605 for base in $$list; do \
607 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
608 test -f $(distdir)/$$file \
609 || cp -p $$d/$$file $(distdir)/$$file; \
614 -rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.pgs gmp.ky \
615 gmp.kys gmp.ps gmp.log gmp.pg gmp.toc gmp.tp gmp.tps gmp.vr \
616 gmp.vrs gmp.op gmp.tr gmp.cv gmp.cn gmp.cm gmp.ov
622 maintainer-clean-aminfo:
623 cd $(srcdir) && for i in $(INFO_DEPS); do \
625 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
630 install-includeHEADERS: $(include_HEADERS)
632 $(mkinstalldirs) $(DESTDIR)$(includedir)
633 @list='$(include_HEADERS)'; for p in $$list; do \
634 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
635 f="`echo $$p | sed -e 's|^.*/||'`"; \
636 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
637 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
640 uninstall-includeHEADERS:
642 @list='$(include_HEADERS)'; for p in $$list; do \
643 f="`echo $$p | sed -e 's|^.*/||'`"; \
644 echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
645 rm -f $(DESTDIR)$(includedir)/$$f; \
648 # This directory's subdirectories are mostly independent; you can cd
649 # into them and run `make' without going through this Makefile.
650 # To change the values of `make' variables: instead of editing Makefiles,
651 # (1) if the variable is set in `config.status', edit `config.status'
652 # (which will cause the Makefiles to be regenerated when you run `make');
653 # (2) otherwise, pass the desired values on the `make' command line.
655 all-recursive install-data-recursive install-exec-recursive \
656 installdirs-recursive install-recursive uninstall-recursive \
657 check-recursive installcheck-recursive info-recursive dvi-recursive:
658 @set fnord $(MAKEFLAGS); amf=$$2; \
660 target=`echo $@ | sed s/-recursive//`; \
661 list='$(SUBDIRS)'; for subdir in $$list; do \
662 echo "Making $$target in $$subdir"; \
663 if test "$$subdir" = "."; then \
665 local_target="$$target-am"; \
667 local_target="$$target"; \
669 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
670 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
672 if test "$$dot_seen" = "no"; then \
673 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
676 mostlyclean-recursive clean-recursive distclean-recursive \
677 maintainer-clean-recursive:
678 @set fnord $(MAKEFLAGS); amf=$$2; \
680 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
681 rev="$$subdir $$rev"; \
682 if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
684 test "$$dot_seen" = "no" && rev=". $$rev"; \
685 target=`echo $@ | sed s/-recursive//`; \
686 for subdir in $$rev; do \
687 echo "Making $$target in $$subdir"; \
688 if test "$$subdir" = "."; then \
689 local_target="$$target-am"; \
691 local_target="$$target"; \
693 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
694 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
695 done && test -z "$$fail"
697 list='$(SUBDIRS)'; for subdir in $$list; do \
698 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
703 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
704 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
705 unique=`for i in $$list; do \
706 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
708 $(AWK) ' { files[$$0] = 1; } \
709 END { for (i in files) print i; }'`; \
710 mkid -f$$here/ID $$unique $(LISP)
712 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
713 $(TAGS_FILES) $(LISP)
716 list='$(SUBDIRS)'; for subdir in $$list; do \
717 if test "$$subdir" = .; then :; else \
718 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
721 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
722 unique=`for i in $$list; do \
723 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
725 $(AWK) ' { files[$$0] = 1; } \
726 END { for (i in files) print i; }'`; \
727 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
728 || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
737 maintainer-clean-tags:
739 distdir = $(PACKAGE)-$(VERSION)
740 top_distdir = $(distdir)
743 # This target untars the dist file and tries a VPATH configuration. Then
744 # it guarantees that the distribution is self-contained by making another
747 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
748 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
749 chmod -R a-w $(distdir); chmod a+w $(distdir)
750 mkdir $(distdir)/=build
751 mkdir $(distdir)/=inst
753 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
754 && cd $(distdir)/=build \
755 && ../configure --srcdir=.. --prefix=$$dc_install_base \
756 && $(MAKE) $(AM_MAKEFLAGS) \
757 && $(MAKE) $(AM_MAKEFLAGS) dvi \
758 && $(MAKE) $(AM_MAKEFLAGS) check \
759 && $(MAKE) $(AM_MAKEFLAGS) install \
760 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
761 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
762 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
763 && $(MAKE) $(AM_MAKEFLAGS) dist \
764 && $(MAKE) $(AM_MAKEFLAGS) distclean \
765 && rm -f $(distdir).tar.gz \
766 && test `find . -type f -print | wc -l` -eq 0
767 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
768 @banner="$(distdir).tar.gz is ready for distribution"; \
769 dashes=`echo "$$banner" | sed s/./=/g`; \
774 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
775 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
776 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
777 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
778 || chmod -R a+r $(distdir)
779 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
780 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
782 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
783 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
784 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
785 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
786 || chmod -R a+r $(distdir)
787 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
788 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
789 distdir: $(DISTFILES)
790 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
791 echo "NEWS not updated; not releasing" 1>&2; \
794 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
796 $(mkinstalldirs) $(distdir)/mpfr
797 @for file in $(DISTFILES); do \
799 if test -d $$d/$$file; then \
800 cp -pR $$d/$$file $(distdir); \
802 test -f $(distdir)/$$file \
803 || cp -p $$d/$$file $(distdir)/$$file || :; \
806 for subdir in $(SUBDIRS); do \
807 if test "$$subdir" = .; then :; else \
808 test -d $(distdir)/$$subdir \
809 || mkdir $(distdir)/$$subdir \
811 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
815 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
816 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
817 info-am: $(INFO_DEPS)
822 check: check-recursive
824 installcheck: installcheck-recursive
825 all-recursive-am: config.h
826 $(MAKE) $(AM_MAKEFLAGS) all-recursive
828 install-exec-am: install-libLTLIBRARIES
829 install-exec: install-exec-recursive
831 install-data-am: install-info-am install-includeHEADERS
832 install-data: install-data-recursive
835 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
836 install: install-recursive
837 uninstall-am: uninstall-libLTLIBRARIES uninstall-info \
838 uninstall-includeHEADERS
839 uninstall: uninstall-recursive
840 all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \
842 all-redirect: all-recursive-am
844 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
845 installdirs: installdirs-recursive
847 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) \
848 $(DESTDIR)$(includedir)
856 -rm -f Makefile $(CONFIG_CLEAN_FILES)
857 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
858 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
860 maintainer-clean-generic:
862 mostlyclean-am: mostlyclean-hdr mostlyclean-libLTLIBRARIES \
863 mostlyclean-compile mostlyclean-libtool \
864 mostlyclean-krextra mostlyclean-kr mostlyclean-vti \
865 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
867 mostlyclean: mostlyclean-recursive
869 clean-am: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
870 clean-krextra clean-kr clean-vti clean-aminfo \
871 clean-tags clean-generic mostlyclean-am
873 clean: clean-recursive
875 distclean-am: distclean-hdr distclean-libLTLIBRARIES distclean-compile \
876 distclean-libtool distclean-krextra distclean-kr \
877 distclean-vti distclean-aminfo distclean-tags \
878 distclean-generic clean-am
881 distclean: distclean-recursive
884 maintainer-clean-am: maintainer-clean-hdr \
885 maintainer-clean-libLTLIBRARIES \
886 maintainer-clean-compile maintainer-clean-libtool \
887 maintainer-clean-krextra maintainer-clean-kr \
888 maintainer-clean-vti maintainer-clean-aminfo \
889 maintainer-clean-tags maintainer-clean-generic \
891 @echo "This command is intended for maintainers to use;"
892 @echo "it deletes files that may require special tools to rebuild."
894 maintainer-clean: maintainer-clean-recursive
897 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
898 mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
899 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
900 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
901 distclean-compile clean-compile maintainer-clean-compile \
902 mostlyclean-libtool distclean-libtool clean-libtool \
903 maintainer-clean-libtool mostlyclean-krextra distclean-krextra \
904 clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \
905 clean-kr maintainer-clean-kr mostlyclean-vti distclean-vti clean-vti \
906 maintainer-clean-vti install-info-am uninstall-info mostlyclean-aminfo \
907 distclean-aminfo clean-aminfo maintainer-clean-aminfo \
908 uninstall-includeHEADERS install-includeHEADERS install-recursive \
909 uninstall-recursive install-data-recursive uninstall-data-recursive \
910 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
911 uninstalldirs-recursive all-recursive check-recursive \
912 installcheck-recursive info-recursive dvi-recursive \
913 mostlyclean-recursive distclean-recursive clean-recursive \
914 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
915 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
916 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
917 install-exec-am install-exec install-data-am install-data install-am \
918 install uninstall-am uninstall all-redirect all-am all install-strip \
919 installdirs-am installdirs mostlyclean-generic distclean-generic \
920 clean-generic maintainer-clean-generic clean mostlyclean distclean \
924 # Don't ship CVS directories or emacs backups.
926 -find $(distdir) \( -name CVS -type d \) -o -name "*.~*" \
929 # Tell versions [3.59,3.63) of GNU make to not export all variables.
930 # Otherwise a system limit (for SysV at least) may be exceeded.