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
161 # Starting at 3:0:0 is a slight abuse of the versioning system, but it
162 # ensures we're past soname libgmp.so.2, which is what has been used on
163 # Debian GNU/Linux packages of gmp 2. Pretend gmp 2 was 2:0:0, so the
164 # interface changes for gmp 3 mean 3:0:0 is right.
167 LIBGMP_LT_CURRENT = 4
168 LIBGMP_LT_REVISION = 1
172 LIBMP_LT_REVISION = 1
175 AUTOMAKE_OPTIONS = gnu check-news no-dependencies ansi2knr
179 include_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) $(MPFR_HEADERS_OPTION)
182 lib_LTLIBRARIES = libgmp.la $(MPBSD_LTLIBRARIES_OPTION)
184 EXTRA_DIST = .gdbinit gmp-impl.h longlong.h stack-alloc.h urandom.h doc macos
186 DISTCLEANFILES = asm-syntax.h config.m4 @gmp_srclinks@
188 MPZ_OBJECTS = mpz/abs.lo mpz/add.lo mpz/add_ui.lo mpz/addmul_ui.lo mpz/and.lo \
189 mpz/array_init.lo mpz/bin_ui.lo mpz/bin_uiui.lo mpz/cdiv_q.lo \
190 mpz/cdiv_q_ui.lo mpz/cdiv_qr.lo mpz/cdiv_qr_ui.lo mpz/cdiv_r.lo \
191 mpz/cdiv_r_ui.lo mpz/cdiv_ui.lo mpz/clear.lo mpz/clrbit.lo mpz/cmp.lo \
192 mpz/cmp_si.lo mpz/cmp_ui.lo mpz/cmpabs.lo mpz/cmpabs_ui.lo mpz/com.lo \
193 mpz/divexact.lo mpz/dump.lo mpz/fac_ui.lo mpz/fdiv_q.lo mpz/fdiv_q_2exp.lo \
194 mpz/fdiv_q_ui.lo mpz/fdiv_qr.lo mpz/fdiv_qr_ui.lo mpz/fdiv_r.lo \
195 mpz/fdiv_r_2exp.lo mpz/fdiv_r_ui.lo mpz/fdiv_ui.lo mpz/fib_ui.lo \
196 mpz/fits_sint_p.lo mpz/fits_slong_p.lo mpz/fits_sshort_p.lo \
197 mpz/fits_uint_p.lo mpz/fits_ulong_p.lo mpz/fits_ushort_p.lo mpz/gcd.lo \
198 mpz/gcd_ui.lo mpz/gcdext.lo mpz/get_d.lo mpz/get_si.lo mpz/get_str.lo \
199 mpz/get_ui.lo mpz/getlimbn.lo mpz/hamdist.lo mpz/init.lo mpz/inp_raw.lo \
200 mpz/inp_str.lo mpz/invert.lo mpz/ior.lo mpz/iset.lo mpz/iset_d.lo \
201 mpz/iset_si.lo mpz/iset_str.lo mpz/iset_ui.lo mpz/jacobi.lo \
202 mpz/kronsz.lo mpz/kronuz.lo mpz/kronzs.lo mpz/kronzu.lo \
203 mpz/lcm.lo mpz/legendre.lo \
204 mpz/mod.lo mpz/mul.lo mpz/mul_2exp.lo mpz/mul_si.lo mpz/mul_ui.lo \
205 mpz/neg.lo mpz/nextprime.lo mpz/out_raw.lo mpz/out_str.lo mpz/perfpow.lo mpz/perfsqr.lo \
206 mpz/popcount.lo mpz/pow_ui.lo mpz/powm.lo mpz/powm_ui.lo mpz/pprime_p.lo \
207 mpz/random.lo mpz/random2.lo mpz/realloc.lo mpz/remove.lo mpz/root.lo \
209 mpz/scan0.lo mpz/scan1.lo mpz/set.lo mpz/set_d.lo mpz/set_f.lo mpz/set_q.lo \
210 mpz/set_si.lo mpz/set_str.lo mpz/set_ui.lo mpz/setbit.lo mpz/size.lo \
211 mpz/sizeinbase.lo mpz/sqrt.lo mpz/sqrtrem.lo mpz/sub.lo mpz/sub_ui.lo \
212 mpz/swap.lo mpz/tdiv_ui.lo mpz/tdiv_q.lo mpz/tdiv_q_2exp.lo mpz/tdiv_q_ui.lo \
213 mpz/tdiv_qr.lo mpz/tdiv_qr_ui.lo mpz/tdiv_r.lo mpz/tdiv_r_2exp.lo \
214 mpz/tdiv_r_ui.lo mpz/tstbit.lo mpz/ui_pow_ui.lo mpz/urandomb.lo \
215 mpz/urandomm.lo mpz/xor.lo
217 MPN_OBJECTS = @mpn_objs_in_libgmp@
219 MPBSD_OBJECTS = mpbsd/add.lo mpbsd/tdiv_qr.lo mpbsd/move.lo mpbsd/powm.lo \
220 mpbsd/sub.lo mpbsd/cmp.lo mpbsd/mfree.lo mpbsd/mtox.lo mpbsd/realloc.lo \
221 mpbsd/gcd.lo mpbsd/itom.lo mpbsd/min.lo mpbsd/mul.lo mpbsd/mout.lo \
222 mpbsd/pow_ui.lo mpbsd/sdiv.lo mpbsd/sqrtrem.lo mpbsd/xtom.lo
226 @WANT_MPFR_TRUE@MPFR_HEADERS_OPTION = @WANT_MPFR_TRUE@mpfr/mpfr.h
227 @WANT_MPFR_TRUE@MPFR_OBJECTS_OPTION = @WANT_MPFR_TRUE@$(MPFR_OBJECTS)
228 @WANT_MPFR_TRUE@MPFR_LIBADD_OPTION = @WANT_MPFR_TRUE@-lm
229 libgmp_la_SOURCES = assert.c compat.c errno.c memory.c mp_set_fns.c \
230 mp_clz_tab.c mp_minv_tab.c \
231 version.c stack-alloc.c mp_bpl.c extract-dbl.c insert-dbl.c
233 libgmp_la_DEPENDENCIES = \
234 $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \
235 $(MPFR_OBJECTS_OPTION)
237 libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES) $(MPFR_LIBADD_OPTION)
238 libgmp_la_LDFLAGS = \
239 -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
242 @WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = @WANT_MPBSD_TRUE@mp.h
243 @WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = @WANT_MPBSD_TRUE@libmp.la
244 libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \
245 mp_minv_tab.c mp_set_fns.c stack-alloc.c
247 libmp_la_DEPENDENCIES = $(MPBSD_OBJECTS) $(MPN_OBJECTS) \
248 mpz/add.lo mpz/clear.lo mpz/cmp.lo mpz/init.lo mpz/mod.lo mpz/mul.lo \
249 mpz/mul_2exp.lo mpz/realloc.lo mpz/set.lo mpz/set_ui.lo mpz/tdiv_r.lo \
252 libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
254 -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE)
257 info_TEXINFOS = gmp.texi
259 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
260 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
261 CONFIG_HEADER = config.h
263 LTLIBRARIES = $(lib_LTLIBRARIES)
266 DEFS = @DEFS@ -I. -I$(srcdir) -I.
267 CPPFLAGS = @CPPFLAGS@
270 ANSI2KNR = @ANSI2KNR@
271 am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo memory$U.lo \
272 mp_set_fns$U.lo mp_clz_tab$U.lo mp_minv_tab$U.lo rand$U.lo randclr$U.lo \
273 randlc$U.lo randlc2x$U.lo randraw$U.lo randsd$U.lo randsdui$U.lo \
274 version$U.lo stack-alloc$U.lo mp_bpl$U.lo extract-dbl$U.lo \
276 libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
277 am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
278 mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo stack-alloc$U.lo
279 libmp_la_OBJECTS = $(am_libmp_la_OBJECTS)
280 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
281 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
284 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
285 DIST_SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES)
287 # INFO_DEPS = gmp.info
290 HEADERS = $(include_HEADERS)
292 DIST_COMMON = README $(EXTRA_HEADERS) $(include_HEADERS) ./stamp-h.in \
293 AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am Makefile.in \
294 NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 ansi2knr.c \
295 config.guess config.in config.sub configure configure.in depcomp \
296 install-sh ltconfig ltmain.sh mdate-sh missing mkinstalldirs stamp-vti \
297 texinfo.tex version.texi
300 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
304 SOURCES = $(libgmp_la_SOURCES) $(libmp_la_SOURCES)
305 OBJECTS = $(am_libgmp_la_OBJECTS) $(am_libmp_la_OBJECTS)
309 .SUFFIXES: .c .dvi .info .lo .o .obj .ps .texi .texinfo .txi
310 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
311 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
313 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
315 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
317 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
318 cd $(srcdir) && $(ACLOCAL)
320 config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
321 $(SHELL) ./config.status --recheck
322 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
323 cd $(srcdir) && $(AUTOCONF)
326 @if test ! -f $@; then \
330 stamp-h: $(srcdir)/config.in $(top_builddir)/config.status
331 @rm -f stamp-h stamp-hT
332 @echo timestamp > stamp-hT 2> /dev/null
334 && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
335 $(SHELL) ./config.status
337 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@$(srcdir)/./stamp-h.in
338 @if test ! -f $@; then \
339 rm -f $(srcdir)/./stamp-h.in; \
340 $(MAKE) $(srcdir)/./stamp-h.in; \
342 $(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
343 @rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
344 @echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
345 cd $(top_srcdir) && $(AUTOHEADER)
346 @mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
355 maintainer-clean-hdr:
357 mostlyclean-libLTLIBRARIES:
359 clean-libLTLIBRARIES:
360 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
362 distclean-libLTLIBRARIES:
364 maintainer-clean-libLTLIBRARIES:
366 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
368 $(mkinstalldirs) $(DESTDIR)$(libdir)
369 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
370 if test -f $$p; then \
371 echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
372 $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
376 uninstall-libLTLIBRARIES:
378 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
379 echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
380 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
384 -rm -f *.o core *.core
392 maintainer-clean-compile:
402 maintainer-clean-libtool:
411 maintainer-clean-krextra:
412 ansi2knr: ansi2knr.$(OBJEXT)
413 $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
414 ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
427 dllwrap -mno-cygwin --target=i386-unknown-mingw32 \
428 --export-all --dllname gmp.dll --output-lib=libgmp_imp.a \
431 libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
432 $(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
434 libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
435 $(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
439 $(COMPILE) -c `cygpath -w $<`
441 $(LTCOMPILE) -c -o $@ $<
442 assert_.c: assert.c $(ANSI2KNR)
443 $(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
444 compat_.c: compat.c $(ANSI2KNR)
445 $(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
446 errno_.c: errno.c $(ANSI2KNR)
447 $(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
448 extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
449 $(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
450 insert-dbl_.c: insert-dbl.c $(ANSI2KNR)
451 $(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
452 memory_.c: memory.c $(ANSI2KNR)
453 $(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
454 mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
455 $(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
456 mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
457 $(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
458 mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
459 $(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
460 mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
461 $(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
462 rand_.c: rand.c $(ANSI2KNR)
463 $(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
464 randclr_.c: randclr.c $(ANSI2KNR)
465 $(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
466 randlc_.c: randlc.c $(ANSI2KNR)
467 $(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
468 randlc2x_.c: randlc2x.c $(ANSI2KNR)
469 $(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
470 randraw_.c: randraw.c $(ANSI2KNR)
471 $(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
472 randsd_.c: randsd.c $(ANSI2KNR)
473 $(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
474 randsdui_.c: randsdui.c $(ANSI2KNR)
475 $(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
476 stack-alloc_.c: stack-alloc.c $(ANSI2KNR)
477 $(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
478 version_.c: version.c $(ANSI2KNR)
479 $(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
480 assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
481 errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
482 insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \
483 mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
484 mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \
485 mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \
486 randlc_.$(OBJEXT) randlc_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \
487 randraw_.$(OBJEXT) randraw_.lo randsd_.$(OBJEXT) randsd_.lo \
488 randsdui_.$(OBJEXT) randsdui_.lo stack-alloc_.$(OBJEXT) stack-alloc_.lo \
489 version_.$(OBJEXT) version_.lo : $(ANSI2KNR)
491 $(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@stamp-vti
494 $(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in
495 @echo "@set UPDATED `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`" > vti.tmp
496 @echo "@set EDITION $(VERSION)" >> vti.tmp
497 @echo "@set VERSION $(VERSION)" >> vti.tmp
498 @cmp -s vti.tmp $(srcdir)/version.texi \
499 || (echo "Updating $(srcdir)/version.texi"; \
500 cp vti.tmp $(srcdir)/version.texi)
502 @cp $(srcdir)/version.texi $@
511 maintainer-clean-vti:
512 -@MAINTAINER_MODE_TRUE@rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
514 # gmp.info: gmp.texi version.texi
515 # gmp.dvi: gmp.texi version.texi
521 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
523 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
526 TEXINPUTS=$(srcdir):$$TEXINPUTS \
527 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
530 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
532 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
535 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
537 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
540 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
542 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
545 TEXINPUTS=$(srcdir):$$TEXINPUTS \
546 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
549 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
551 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
554 TEXINPUTS=$(srcdir):$$TEXINPUTS \
555 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
558 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
560 && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
564 install-info-am: $(INFO_DEPS)
566 $(mkinstalldirs) $(DESTDIR)$(infodir)
567 @list='$(INFO_DEPS)'; \
568 for file in $$list; do \
570 for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
571 if test -f $$d/$$ifile; then \
572 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
573 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
578 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
579 list='$(INFO_DEPS)'; \
580 for file in $$list; do \
581 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
582 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
588 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
589 list='$(INFO_DEPS)'; \
590 for file in $$list; do \
591 echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
592 install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
596 @list='$(INFO_DEPS)'; \
597 for file in $$list; do \
598 (if cd $(DESTDIR)$(infodir); then \
599 echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
600 rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
604 dist-info: $(INFO_DEPS)
605 list='$(INFO_DEPS)'; \
606 for base in $$list; do \
608 for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
609 test -f $(distdir)/$$file \
610 || cp -p $$d/$$file $(distdir)/$$file; \
615 -rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.pgs gmp.ky \
616 gmp.kys gmp.ps gmp.log gmp.pg gmp.toc gmp.tp gmp.tps gmp.vr \
617 gmp.vrs gmp.op gmp.tr gmp.cv gmp.cn gmp.cm gmp.ov
623 maintainer-clean-aminfo:
624 cd $(srcdir) && for i in $(INFO_DEPS); do \
626 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
631 install-includeHEADERS: $(include_HEADERS)
633 $(mkinstalldirs) $(DESTDIR)$(includedir)
634 @list='$(include_HEADERS)'; for p in $$list; do \
635 if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
636 f="`echo $$p | sed -e 's|^.*/||'`"; \
637 echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
638 $(INSTALL_DATA) $$d$$p $(DESTDIR)$(includedir)/$$f; \
641 uninstall-includeHEADERS:
643 @list='$(include_HEADERS)'; for p in $$list; do \
644 f="`echo $$p | sed -e 's|^.*/||'`"; \
645 echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
646 rm -f $(DESTDIR)$(includedir)/$$f; \
649 # This directory's subdirectories are mostly independent; you can cd
650 # into them and run `make' without going through this Makefile.
651 # To change the values of `make' variables: instead of editing Makefiles,
652 # (1) if the variable is set in `config.status', edit `config.status'
653 # (which will cause the Makefiles to be regenerated when you run `make');
654 # (2) otherwise, pass the desired values on the `make' command line.
656 all-recursive install-data-recursive install-exec-recursive \
657 installdirs-recursive install-recursive uninstall-recursive \
658 check-recursive installcheck-recursive info-recursive dvi-recursive:
659 @set fnord $(MAKEFLAGS); amf=$$2; \
661 target=`echo $@ | sed s/-recursive//`; \
662 list='$(SUBDIRS)'; for subdir in $$list; do \
663 echo "Making $$target in $$subdir"; \
664 if test "$$subdir" = "."; then \
666 local_target="$$target-am"; \
668 local_target="$$target"; \
670 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
671 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
673 if test "$$dot_seen" = "no"; then \
674 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
677 mostlyclean-recursive clean-recursive distclean-recursive \
678 maintainer-clean-recursive:
679 @set fnord $(MAKEFLAGS); amf=$$2; \
681 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
682 rev="$$subdir $$rev"; \
683 if test "$$subdir" = "."; then dot_seen=yes; else :; fi; \
685 test "$$dot_seen" = "no" && rev=". $$rev"; \
686 target=`echo $@ | sed s/-recursive//`; \
687 for subdir in $$rev; do \
688 echo "Making $$target in $$subdir"; \
689 if test "$$subdir" = "."; then \
690 local_target="$$target-am"; \
692 local_target="$$target"; \
694 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
695 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
696 done && test -z "$$fail"
698 list='$(SUBDIRS)'; for subdir in $$list; do \
699 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
704 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
705 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
706 unique=`for i in $$list; do \
707 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
709 $(AWK) ' { files[$$0] = 1; } \
710 END { for (i in files) print i; }'`; \
711 mkid -f$$here/ID $$unique $(LISP)
713 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
714 $(TAGS_FILES) $(LISP)
717 list='$(SUBDIRS)'; for subdir in $$list; do \
718 if test "$$subdir" = .; then :; else \
719 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
722 list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
723 unique=`for i in $$list; do \
724 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
726 $(AWK) ' { files[$$0] = 1; } \
727 END { for (i in files) print i; }'`; \
728 test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
729 || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
738 maintainer-clean-tags:
740 distdir = $(PACKAGE)-$(VERSION)
741 top_distdir = $(distdir)
744 # This target untars the dist file and tries a VPATH configuration. Then
745 # it guarantees that the distribution is self-contained by making another
748 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
749 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
750 chmod -R a-w $(distdir); chmod a+w $(distdir)
751 mkdir $(distdir)/=build
752 mkdir $(distdir)/=inst
754 dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
755 && cd $(distdir)/=build \
756 && ../configure --srcdir=.. --prefix=$$dc_install_base \
757 && $(MAKE) $(AM_MAKEFLAGS) \
758 && $(MAKE) $(AM_MAKEFLAGS) dvi \
759 && $(MAKE) $(AM_MAKEFLAGS) check \
760 && $(MAKE) $(AM_MAKEFLAGS) install \
761 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
762 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
763 && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
764 && $(MAKE) $(AM_MAKEFLAGS) dist \
765 && $(MAKE) $(AM_MAKEFLAGS) distclean \
766 && rm -f $(distdir).tar.gz \
767 && test `find . -type f -print | wc -l` -eq 0
768 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
769 @banner="$(distdir).tar.gz is ready for distribution"; \
770 dashes=`echo "$$banner" | sed s/./=/g`; \
775 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
776 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
777 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
778 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
779 || chmod -R a+r $(distdir)
780 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
781 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
783 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
784 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
785 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
786 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
787 || chmod -R a+r $(distdir)
788 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).tar.gz
789 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
790 distdir: $(DISTFILES)
791 @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
792 echo "NEWS not updated; not releasing" 1>&2; \
795 -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
797 $(mkinstalldirs) $(distdir)/mpfr
798 @for file in $(DISTFILES); do \
800 if test -d $$d/$$file; then \
801 cp -pR $$d/$$file $(distdir); \
803 test -f $(distdir)/$$file \
804 || cp -p $$d/$$file $(distdir)/$$file || :; \
807 for subdir in $(SUBDIRS); do \
808 if test "$$subdir" = .; then :; else \
809 test -d $(distdir)/$$subdir \
810 || mkdir $(distdir)/$$subdir \
812 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
816 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
817 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
818 info-am: $(INFO_DEPS)
823 check: check-recursive
825 installcheck: installcheck-recursive
826 all-recursive-am: config.h
827 $(MAKE) $(AM_MAKEFLAGS) all-recursive
829 install-exec-am: install-libLTLIBRARIES
830 install-exec: install-exec-recursive
832 install-data-am: install-info-am install-includeHEADERS
833 install-data: install-data-recursive
836 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
837 install: install-recursive
838 uninstall-am: uninstall-libLTLIBRARIES uninstall-info \
839 uninstall-includeHEADERS
840 uninstall: uninstall-recursive
841 all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \
843 all-redirect: all-recursive-am
845 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
846 installdirs: installdirs-recursive
848 $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) \
849 $(DESTDIR)$(includedir)
857 -rm -f Makefile $(CONFIG_CLEAN_FILES)
858 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
859 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
861 maintainer-clean-generic:
863 mostlyclean-am: mostlyclean-hdr mostlyclean-libLTLIBRARIES \
864 mostlyclean-compile mostlyclean-libtool \
865 mostlyclean-krextra mostlyclean-kr mostlyclean-vti \
866 mostlyclean-aminfo mostlyclean-tags mostlyclean-generic
868 mostlyclean: mostlyclean-recursive
870 clean-am: clean-hdr clean-libLTLIBRARIES clean-compile clean-libtool \
871 clean-krextra clean-kr clean-vti clean-aminfo \
872 clean-tags clean-generic mostlyclean-am
874 clean: clean-recursive
876 distclean-am: distclean-hdr distclean-libLTLIBRARIES distclean-compile \
877 distclean-libtool distclean-krextra distclean-kr \
878 distclean-vti distclean-aminfo distclean-tags \
879 distclean-generic clean-am
882 distclean: distclean-recursive
885 maintainer-clean-am: maintainer-clean-hdr \
886 maintainer-clean-libLTLIBRARIES \
887 maintainer-clean-compile maintainer-clean-libtool \
888 maintainer-clean-krextra maintainer-clean-kr \
889 maintainer-clean-vti maintainer-clean-aminfo \
890 maintainer-clean-tags maintainer-clean-generic \
892 @echo "This command is intended for maintainers to use;"
893 @echo "it deletes files that may require special tools to rebuild."
895 maintainer-clean: maintainer-clean-recursive
898 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
899 mostlyclean-libLTLIBRARIES distclean-libLTLIBRARIES \
900 clean-libLTLIBRARIES maintainer-clean-libLTLIBRARIES \
901 uninstall-libLTLIBRARIES install-libLTLIBRARIES mostlyclean-compile \
902 distclean-compile clean-compile maintainer-clean-compile \
903 mostlyclean-libtool distclean-libtool clean-libtool \
904 maintainer-clean-libtool mostlyclean-krextra distclean-krextra \
905 clean-krextra maintainer-clean-krextra mostlyclean-kr distclean-kr \
906 clean-kr maintainer-clean-kr mostlyclean-vti distclean-vti clean-vti \
907 maintainer-clean-vti install-info-am uninstall-info mostlyclean-aminfo \
908 distclean-aminfo clean-aminfo maintainer-clean-aminfo \
909 uninstall-includeHEADERS install-includeHEADERS install-recursive \
910 uninstall-recursive install-data-recursive uninstall-data-recursive \
911 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
912 uninstalldirs-recursive all-recursive check-recursive \
913 installcheck-recursive info-recursive dvi-recursive \
914 mostlyclean-recursive distclean-recursive clean-recursive \
915 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
916 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
917 dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
918 install-exec-am install-exec install-data-am install-data install-am \
919 install uninstall-am uninstall all-redirect all-am all install-strip \
920 installdirs-am installdirs mostlyclean-generic distclean-generic \
921 clean-generic maintainer-clean-generic clean mostlyclean distclean \
925 # Don't ship CVS directories or emacs backups.
927 -find $(distdir) \( -name CVS -type d \) -o -name "*.~*" \
930 # Tell versions [3.59,3.63) of GNU make to not export all variables.
931 # Otherwise a system limit (for SysV at least) may be exceeded.