xref: /netbsd-src/external/lgpl3/gmp/dist/Makefile.in (revision 8450a7c42673d65e3b1f6560d3b6ecd317a6cbe8)
1# Makefile.in generated by automake 1.11.6 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6# Foundation, Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18# Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
19# 2006, 2007, 2008, 2009, 2011, 2012, 2013 Free Software Foundation, Inc.
20#
21# This file is part of the GNU MP Library.
22#
23# The GNU MP Library is free software; you can redistribute it and/or modify
24# it under the terms of the GNU Lesser General Public License as published by
25# the Free Software Foundation; either version 3 of the License, or (at your
26# option) any later version.
27#
28# The GNU MP Library is distributed in the hope that it will be useful, but
29# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
31# License for more details.
32#
33# You should have received a copy of the GNU Lesser General Public License
34# along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
35
36# The following options are the same as AM_INIT_AUTOMAKE in configure.in,
37# except no $(top_builddir) on ansi2knr.  That directory is wanted for the
38# Makefiles in subdirectories, but here we must omit it so automake gives
39# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
40#
41# AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
42
43# Libtool -version-info for libgmp.la and libmp.la.  See "Versioning" in the
44# libtool manual.
45#
46#	CURRENT:REVISION:AGE
47#
48# 1. No interfaces changed, only implementations (good): Increment REVISION.
49#
50# 2. Interfaces added, none removed (good): Increment CURRENT, increment
51#    AGE, set REVISION to 0.
52#
53# 3. Interfaces removed (BAD, breaks upward compatibility): Increment
54#    CURRENT, set AGE and REVISION to 0.
55#
56# Do this separately for libgmp, libgmpxx and libmp, and only for releases.
57#
58#	  GMP	   -version-info
59#       release   libgmp  libgmpxx libmp
60#        2.0.x      -        -       -
61#        3.0      3:0:0      -     3:0:0
62#        3.0.1    3:1:0      -     3:0:0
63#        3.1      4:0:1      -     4:0:1
64#        3.1.1    4:1:1      -     4:1:1
65#        4.0      5:0:2    3:0:0   4:2:1
66#        4.0.1    5:1:2    3:1:0   4:3:1
67#        4.1      6:0:3    3:2:0   4:4:1
68#        4.1.1    6:1:3    3:3:0   4:5:1
69#        4.1.2    6:2:3    3:4:0   4:6:1
70#        4.1.3    6:3:3    3:5:0   4:7:1
71#        4.1.4    6:3:3    3:5:0   4:7:1	WRONG, same as 4.1.3!
72#        4.2      6:0:3    3:2:0   4:4:1	REALLY WRONG, same as 4.1!
73#        4.2.1    7:1:4    4:1:1   4:10:1	WRONG for libgmpxx
74#        4.2.2    7:2:4    4:2:0   4:11:1
75#        4.2.3    7:3:4    4:3:0   4:12:1
76#        4.2.4    7:4:4    4:4:0   4:13:1
77#        4.3.0    8:0:5    5:0:1   4:14:1
78#        4.3.1    8:1:5    5:1:1   4:15:1	WRONG Really used same as 4.3.0
79#        4.3.2    8:2:5    5:2:1   4:16:1
80#        5.0.0    9:0:6    6:0:2   4:20:1	Should have been 10:0:0
81#        5.0.1   10:1:0    6:1:2   4:21:1
82#        5.0.2   10:2:0    6:2:2   4:22:1
83#        5.0.3   10:3:0    6:3:2   4:23:1
84#        5.0.4   10:4:0    6:4:2   4:24:1
85#        5.0.5   10:5:0    6:5:2   4:25:1
86#        5.1.0   11:0:1    7:0:3     -
87#        5.1.1   11:1:1    7:1:3     -
88#        5.1.2   11:2:1    7:2:3     -
89#        5.1.3   11:3:1    7:3:3     -
90#
91# Starting at 3:0:0 is a slight abuse of the versioning system, but it
92# ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
93# packages of gmp 2.  Pretend gmp 2 was 2:0:0, so the interface changes for
94# gmp 3 mean 3:0:0 is right.
95#
96# We interpret "implementation changed" in item "1." above as meaning any
97# release, ie. the REVISION is incremented every time (if nothing else).
98# Even if we thought the code generated will be identical on all systems,
99# it's still good to get the shared library filename (like
100# libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from.
101
102
103VPATH = @srcdir@
104am__make_dryrun = \
105  { \
106    am__dry=no; \
107    case $$MAKEFLAGS in \
108      *\\[\ \	]*) \
109        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
110          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
111      *) \
112        for am__flg in $$MAKEFLAGS; do \
113          case $$am__flg in \
114            *=*|--*) ;; \
115            *n*) am__dry=yes; break;; \
116          esac; \
117        done;; \
118    esac; \
119    test $$am__dry = yes; \
120  }
121pkgdatadir = $(datadir)/@PACKAGE@
122pkgincludedir = $(includedir)/@PACKAGE@
123pkglibdir = $(libdir)/@PACKAGE@
124pkglibexecdir = $(libexecdir)/@PACKAGE@
125am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
126install_sh_DATA = $(install_sh) -c -m 644
127install_sh_PROGRAM = $(install_sh) -c
128install_sh_SCRIPT = $(install_sh) -c
129INSTALL_HEADER = $(INSTALL_DATA)
130transform = $(program_transform_name)
131NORMAL_INSTALL = :
132PRE_INSTALL = :
133POST_INSTALL = :
134NORMAL_UNINSTALL = :
135PRE_UNINSTALL = :
136POST_UNINSTALL = :
137build_triplet = @build@
138host_triplet = @host@
139subdir = .
140DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \
141	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
142	$(srcdir)/config.in $(srcdir)/gmp-h.in $(top_srcdir)/configure \
143	AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \
144	config.guess config.sub install-sh ltmain.sh missing ylwrap
145ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
146am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
147	$(top_srcdir)/configure.ac
148am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
149	$(ACLOCAL_M4)
150am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
151 configure.lineno config.status.lineno
152mkinstalldirs = $(install_sh) -d
153CONFIG_HEADER = config.h
154CONFIG_CLEAN_FILES = gmp.h gmp-mparam.h
155CONFIG_CLEAN_VPATH_FILES =
156am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
157am__vpath_adj = case $$p in \
158    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
159    *) f=$$p;; \
160  esac;
161am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
162am__install_max = 40
163am__nobase_strip_setup = \
164  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
165am__nobase_strip = \
166  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
167am__nobase_list = $(am__nobase_strip_setup); \
168  for p in $$list; do echo "$$p $$p"; done | \
169  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
170  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
171    if (++n[$$2] == $(am__install_max)) \
172      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
173    END { for (dir in files) print dir, files[dir] }'
174am__base_list = \
175  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
176  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
177am__uninstall_files_from_dir = { \
178  test -z "$$files" \
179    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
180    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
181         $(am__cd) "$$dir" && rm -f $$files; }; \
182  }
183am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
184	"$(DESTDIR)$(includeexecdir)"
185LTLIBRARIES = $(lib_LTLIBRARIES)
186am__DEPENDENCIES_1 = $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
187	$(MPN_OBJECTS) $(PRINTF_OBJECTS) $(SCANF_OBJECTS) \
188	$(RANDOM_OBJECTS)
189am_libgmp_la_OBJECTS = assert.lo compat.lo errno.lo extract-dbl.lo \
190	invalid.lo memory.lo mp_bpl.lo mp_clz_tab.lo mp_dv_tab.lo \
191	mp_minv_tab.lo mp_get_fns.lo mp_set_fns.lo version.lo \
192	nextprime.lo primesieve.lo
193libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
194libgmp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
195	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
196	$(libgmp_la_LDFLAGS) $(LDFLAGS) -o $@
197am_libgmpxx_la_OBJECTS = dummy.lo
198libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
199libgmpxx_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
200	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
201	$(CXXFLAGS) $(libgmpxx_la_LDFLAGS) $(LDFLAGS) -o $@
202@WANT_CXX_TRUE@am_libgmpxx_la_rpath = -rpath $(libdir)
203DEFAULT_INCLUDES = -I.@am__isrc@
204depcomp =
205am__depfiles_maybe =
206COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
207	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
208LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
209	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
210	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
211CCLD = $(CC)
212LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
213	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
214	$(LDFLAGS) -o $@
215CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
216	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
217LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
218	--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
219	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
220CXXLD = $(CXX)
221CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
222	--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
223	$(LDFLAGS) -o $@
224SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
225	$(libgmpxx_la_SOURCES)
226DIST_SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
227	$(libgmpxx_la_SOURCES)
228RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
229	html-recursive info-recursive install-data-recursive \
230	install-dvi-recursive install-exec-recursive \
231	install-html-recursive install-info-recursive \
232	install-pdf-recursive install-ps-recursive install-recursive \
233	installcheck-recursive installdirs-recursive pdf-recursive \
234	ps-recursive uninstall-recursive
235am__can_run_installinfo = \
236  case $$AM_UPDATE_INFO_DIR in \
237    n|no|NO) false;; \
238    *) (install-info --version) >/dev/null 2>&1;; \
239  esac
240am__include_HEADERS_DIST = gmpxx.h
241HEADERS = $(include_HEADERS) $(nodist_includeexec_HEADERS)
242RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
243  distclean-recursive maintainer-clean-recursive
244AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
245	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
246	distdir dist dist-all distcheck
247ETAGS = etags
248CTAGS = ctags
249DIST_SUBDIRS = $(SUBDIRS)
250DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
251distdir = $(PACKAGE)-$(VERSION)
252top_distdir = $(distdir)
253am__remove_distdir = \
254  if test -d "$(distdir)"; then \
255    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
256      && rm -rf "$(distdir)" \
257      || { sleep 5 && rm -rf "$(distdir)"; }; \
258  else :; fi
259am__relativize = \
260  dir0=`pwd`; \
261  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
262  sed_rest='s,^[^/]*/*,,'; \
263  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
264  sed_butlast='s,/*[^/]*$$,,'; \
265  while test -n "$$dir1"; do \
266    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
267    if test "$$first" != "."; then \
268      if test "$$first" = ".."; then \
269        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
270        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
271      else \
272        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
273        if test "$$first2" = "$$first"; then \
274          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
275        else \
276          dir2="../$$dir2"; \
277        fi; \
278        dir0="$$dir0"/"$$first"; \
279      fi; \
280    fi; \
281    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
282  done; \
283  reldir="$$dir2"
284DIST_ARCHIVES = $(distdir).tar.gz
285GZIP_ENV = --best
286distuninstallcheck_listfiles = find . -type f -print
287am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
288  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
289distcleancheck_listfiles = find . -type f -print
290ABI = @ABI@
291ACLOCAL = @ACLOCAL@
292AMTAR = @AMTAR@
293AR = @AR@
294AS = @AS@
295ASMFLAGS = @ASMFLAGS@
296AUTOCONF = @AUTOCONF@
297AUTOHEADER = @AUTOHEADER@
298AUTOMAKE = @AUTOMAKE@
299AWK = @AWK@
300CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
301CC = @CC@
302CCAS = @CCAS@
303CC_FOR_BUILD = @CC_FOR_BUILD@
304CFLAGS = @CFLAGS@
305CPP = @CPP@
306CPPFLAGS = @CPPFLAGS@
307CPP_FOR_BUILD = @CPP_FOR_BUILD@
308CXX = @CXX@
309CXXCPP = @CXXCPP@
310CXXFLAGS = @CXXFLAGS@
311CYGPATH_W = @CYGPATH_W@
312DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
313DEFS = @DEFS@
314DLLTOOL = @DLLTOOL@
315DSYMUTIL = @DSYMUTIL@
316DUMPBIN = @DUMPBIN@
317ECHO_C = @ECHO_C@
318ECHO_N = @ECHO_N@
319ECHO_T = @ECHO_T@
320EGREP = @EGREP@
321EXEEXT = @EXEEXT@
322EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
323FGREP = @FGREP@
324GMP_LDFLAGS = @GMP_LDFLAGS@
325GMP_LIMB_BITS = @GMP_LIMB_BITS@
326GMP_NAIL_BITS = @GMP_NAIL_BITS@
327GREP = @GREP@
328HAVE_CLOCK_01 = @HAVE_CLOCK_01@
329HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
330HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
331HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
332HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
333HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
334HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
335HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
336HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
337HAVE_STACK_T_01 = @HAVE_STACK_T_01@
338HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
339INSTALL = @INSTALL@
340INSTALL_DATA = @INSTALL_DATA@
341INSTALL_PROGRAM = @INSTALL_PROGRAM@
342INSTALL_SCRIPT = @INSTALL_SCRIPT@
343INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
344LD = @LD@
345LDFLAGS = @LDFLAGS@
346LEX = @LEX@
347LEXLIB = @LEXLIB@
348LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
349LIBCURSES = @LIBCURSES@
350LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
351LIBGMP_DLL = @LIBGMP_DLL@
352LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
353LIBM = @LIBM@
354LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
355LIBOBJS = @LIBOBJS@
356LIBREADLINE = @LIBREADLINE@
357LIBS = @LIBS@
358LIBTOOL = @LIBTOOL@
359LIPO = @LIPO@
360LN_S = @LN_S@
361LTLIBOBJS = @LTLIBOBJS@
362M4 = @M4@
363MAINT = @MAINT@
364MAKEINFO = @MAKEINFO@
365MANIFEST_TOOL = @MANIFEST_TOOL@
366MKDIR_P = @MKDIR_P@
367NM = @NM@
368NMEDIT = @NMEDIT@
369OBJDUMP = @OBJDUMP@
370OBJEXT = @OBJEXT@
371OTOOL = @OTOOL@
372OTOOL64 = @OTOOL64@
373PACKAGE = @PACKAGE@
374PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
375PACKAGE_NAME = @PACKAGE_NAME@
376PACKAGE_STRING = @PACKAGE_STRING@
377PACKAGE_TARNAME = @PACKAGE_TARNAME@
378PACKAGE_URL = @PACKAGE_URL@
379PACKAGE_VERSION = @PACKAGE_VERSION@
380PATH_SEPARATOR = @PATH_SEPARATOR@
381RANLIB = @RANLIB@
382SED = @SED@
383SET_MAKE = @SET_MAKE@
384SHELL = @SHELL@
385SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
386STRIP = @STRIP@
387TAL_OBJECT = @TAL_OBJECT@
388TUNE_LIBS = @TUNE_LIBS@
389TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
390U_FOR_BUILD = @U_FOR_BUILD@
391VERSION = @VERSION@
392WITH_READLINE_01 = @WITH_READLINE_01@
393YACC = @YACC@
394YFLAGS = @YFLAGS@
395abs_builddir = @abs_builddir@
396abs_srcdir = @abs_srcdir@
397abs_top_builddir = @abs_top_builddir@
398abs_top_srcdir = @abs_top_srcdir@
399ac_ct_AR = @ac_ct_AR@
400ac_ct_CC = @ac_ct_CC@
401ac_ct_CXX = @ac_ct_CXX@
402ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
403am__leading_dot = @am__leading_dot@
404am__tar = @am__tar@
405am__untar = @am__untar@
406bindir = @bindir@
407build = @build@
408build_alias = @build_alias@
409build_cpu = @build_cpu@
410build_os = @build_os@
411build_vendor = @build_vendor@
412builddir = @builddir@
413datadir = @datadir@
414datarootdir = @datarootdir@
415docdir = @docdir@
416dvidir = @dvidir@
417exec_prefix = @exec_prefix@
418gmp_srclinks = @gmp_srclinks@
419host = @host@
420host_alias = @host_alias@
421host_cpu = @host_cpu@
422host_os = @host_os@
423host_vendor = @host_vendor@
424htmldir = @htmldir@
425includedir = @includedir@
426infodir = @infodir@
427install_sh = @install_sh@
428libdir = @libdir@
429libexecdir = @libexecdir@
430localedir = @localedir@
431localstatedir = @localstatedir@
432mandir = @mandir@
433mkdir_p = @mkdir_p@
434mpn_objects = @mpn_objects@
435mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
436oldincludedir = @oldincludedir@
437pdfdir = @pdfdir@
438prefix = @prefix@
439program_transform_name = @program_transform_name@
440psdir = @psdir@
441sbindir = @sbindir@
442sharedstatedir = @sharedstatedir@
443srcdir = @srcdir@
444sysconfdir = @sysconfdir@
445target_alias = @target_alias@
446top_build_prefix = @top_build_prefix@
447top_builddir = @top_builddir@
448top_srcdir = @top_srcdir@
449LIBGMP_LT_CURRENT = 11
450LIBGMP_LT_REVISION = 3
451LIBGMP_LT_AGE = 1
452LIBGMPXX_LT_CURRENT = 7
453LIBGMPXX_LT_REVISION = 3
454LIBGMPXX_LT_AGE = 3
455SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc
456
457# The "test -f" support for srcdir!=builddir is similar to the automake .c.o
458# etc rules, but with each foo.c explicitly, since $< is not portable
459# outside an inference rule.
460#
461# A quoted 'foo.c' is used with the "test -f"'s to avoid Sun make rewriting
462# it as part of its VPATH support.  See the autoconf manual "Limitations of
463# Make".
464#
465# Generated .h files which are used by gmp-impl.h are BUILT_SOURCES since
466# they must exist before anything can be compiled.
467#
468# Other generated .h files are also BUILT_SOURCES so as to get all the
469# build-system stuff over and done with at the start.  Also, dependencies on
470# the .h files are not properly expressed for the various objects that use
471# them.
472
473# Distribute mini-gmp. Test sources copied by dist-hook.
474EXTRA_DIST = configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf \
475	gmpxx.h bootstrap.c gen-fac.c gen-fib.c gen-bases.c \
476	gen-trialdivtab.c gen-jacobitab.c gen-psqr.c mini-gmp/README \
477	mini-gmp/mini-gmp.c mini-gmp/mini-gmp.h \
478	mini-gmp/tests/Makefile mini-gmp/tests/run-tests
479@WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
480
481# gmp.h and mp.h are architecture dependent, mainly since they encode the
482# limb size used in libgmp.  For that reason they belong under $exec_prefix
483# not $prefix, strictly speaking.
484#
485# $exec_prefix/include is not in the default include path for gcc built to
486# the same $prefix and $exec_prefix, which might mean gmp.h is not found,
487# but anyone knowledgeable enough to be playing with exec_prefix will be able
488# to address that.
489#
490includeexecdir = $(exec_prefix)/include
491include_HEADERS = $(GMPXX_HEADERS_OPTION)
492nodist_includeexec_HEADERS = gmp.h
493lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION)
494BUILT_SOURCES = gmp.h fac_table.h fib_table.h mpn/fib_table.c \
495	mp_bases.h mpn/mp_bases.c trialdivtab.h mpn/jacobitab.h \
496	mpn/perfsqr.h
497DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@ \
498	gen-fac$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
499	gen-bases$(EXEEXT_FOR_BUILD) \
500	gen-trialdivtab$(EXEEXT_FOR_BUILD) \
501	gen-jacobitab$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
502
503# Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
504INCLUDES = -D__GMP_WITHIN_GMP
505MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/inits$U.lo mpf/set$U.lo	    \
506  mpf/set_ui$U.lo mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo	    \
507  mpf/set_z$U.lo mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo	    \
508  mpf/iset_str$U.lo mpf/iset_d$U.lo mpf/clear$U.lo mpf/clears$U.lo	    \
509  mpf/get_str$U.lo mpf/dump$U.lo mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo \
510  mpf/sqrt$U.lo mpf/random2$U.lo mpf/inp_str$U.lo mpf/out_str$U.lo	    \
511  mpf/add$U.lo mpf/add_ui$U.lo mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo \
512  mpf/mul$U.lo mpf/mul_ui$U.lo mpf/div$U.lo mpf/div_ui$U.lo		    \
513  mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo		    \
514  mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo		    \
515  mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo   \
516  mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo               \
517  mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo                         \
518  mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo			    \
519  mpf/urandomb$U.lo mpf/swap$U.lo					    \
520  mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo		    \
521  mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo		    \
522  mpf/get_si$U.lo mpf/get_ui$U.lo					    \
523  mpf/int_p$U.lo
524
525MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo			\
526  mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo	\
527  mpz/bin_ui$U.lo mpz/bin_uiui$U.lo					\
528  mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo					\
529  mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo					\
530  mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo			\
531  mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo				\
532  mpz/clear$U.lo mpz/clears$U.lo mpz/clrbit$U.lo			\
533  mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo		\
534  mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo			\
535  mpz/com$U.lo mpz/combit$U.lo						\
536  mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo			\
537  mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo			\
538  mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo	\
539  mpz/export$U.lo mpz/mfac_uiui$U.lo					\
540  mpz/2fac_ui$U.lo mpz/fac_ui$U.lo mpz/oddfac_1$U.lo mpz/prodlimbs$U.lo	\
541  mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo		\
542  mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo mpz/fdiv_q$U.lo			\
543  mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo	\
544  mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo		\
545  mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo			\
546  mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo	\
547  mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo	\
548  mpz/hamdist$U.lo							\
549  mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inits$U.lo		\
550  mpz/inp_raw$U.lo mpz/inp_str$U.lo mpz/invert$U.lo			\
551  mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo		\
552  mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo	\
553  mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo			\
554  mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo	\
555  mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo	\
556  mpz/mul_si$U.lo mpz/mul_ui$U.lo					\
557  mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo			\
558  mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo	\
559  mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_sec$U.lo	\
560  mpz/powm_ui$U.lo mpz/primorial_ui$U.lo				\
561  mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo			\
562  mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo			\
563  mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo	\
564  mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo		\
565  mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo	\
566  mpz/setbit$U.lo							\
567  mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo			\
568  mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo		\
569  mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo			\
570  mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo		\
571  mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo		\
572  mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo	\
573  mpz/urandomm$U.lo mpz/xor$U.lo
574
575MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo				\
576  mpq/canonicalize$U.lo mpq/clear$U.lo mpq/clears$U.lo			\
577  mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo		\
578  mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo	\
579  mpq/init$U.lo mpq/inits$U.lo mpq/inp_str$U.lo mpq/inv$U.lo		\
580  mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo		\
581  mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo			\
582  mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo			\
583  mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo				\
584  mpq/set_f$U.lo mpq/swap$U.lo
585
586MPN_OBJECTS = mpn/fib_table$U.lo mpn/mp_bases$U.lo
587PRINTF_OBJECTS = \
588  printf/asprintf$U.lo printf/asprntffuns$U.lo				\
589  printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo		\
590  printf/fprintf$U.lo							\
591  printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo	\
592  printf/printf$U.lo printf/printffuns$U.lo				\
593  printf/snprintf$U.lo printf/snprntffuns$U.lo				\
594  printf/sprintf$U.lo printf/sprintffuns$U.lo				\
595  printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo	\
596  printf/vsnprintf$U.lo printf/vsprintf$U.lo				\
597  printf/repl-vsnprintf$U.lo
598
599SCANF_OBJECTS = \
600  scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo	\
601  scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo	\
602  scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
603
604RANDOM_OBJECTS = \
605  rand/rand$U.lo rand/randclr$U.lo rand/randdef$U.lo rand/randiset$U.lo	\
606  rand/randlc2s$U.lo rand/randlc2x$U.lo rand/randmt$U.lo		\
607  rand/randmts$U.lo rand/rands$U.lo rand/randsd$U.lo rand/randsdui$U.lo	\
608  rand/randbui$U.lo rand/randmui$U.lo
609
610
611# no $U for C++ files
612CXX_OBJECTS = \
613  cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo	\
614  cxx/limits.lo cxx/osdoprnti.lo cxx/osfuns.lo				\
615  cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo
616
617
618# In libtool 1.5 it doesn't work to build libgmp.la from the convenience
619# libraries like mpz/libmpz.la.  Or rather it works, but it ends up putting
620# PIC objects into libgmp.a if shared and static are both built.  (The PIC
621# objects go into mpz/.libs/libmpz.a, and thence into .libs/libgmp.a.)
622#
623# For now the big lists of objects above are used.  Something like mpz/*.lo
624# would probably work, but might risk missing something out or getting
625# something extra.  The source files for each .lo are listed in the
626# Makefile.am's in the subdirectories.
627#
628# Currently, for libgmp, unlike libmp below, we're not using
629# -export-symbols, since the tune and speed programs, and perhaps some of
630# the test programs, want to access undocumented symbols.
631libgmp_la_SOURCES = gmp-impl.h longlong.h				\
632  assert.c compat.c errno.c extract-dbl.c invalid.c memory.c		\
633  mp_bpl.c mp_clz_tab.c mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c \
634  version.c nextprime.c primesieve.c
635
636EXTRA_libgmp_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
637libgmp_la_DEPENDENCIES = @TAL_OBJECT@		\
638  $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS)	\
639  $(MPN_OBJECTS) @mpn_objs_in_libgmp@		\
640  $(PRINTF_OBJECTS)  $(SCANF_OBJECTS) $(RANDOM_OBJECTS)
641
642libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
643libgmp_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMP_LDFLAGS) \
644  -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
645
646
647# We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
648# use $(CXXLINK) rather than the plain C $(LINK).  cxx/dummy.cc is that
649# file.
650@WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
651libgmpxx_la_SOURCES = cxx/dummy.cc
652libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
653libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
654libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMPXX_LDFLAGS) \
655  -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
656
657all: $(BUILT_SOURCES) config.h
658	$(MAKE) $(AM_MAKEFLAGS) all-recursive
659
660.SUFFIXES:
661.SUFFIXES: .c .cc .lo .o .obj
662am--refresh: Makefile
663	@:
664$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
665	@for dep in $?; do \
666	  case '$(am__configure_deps)' in \
667	    *$$dep*) \
668	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps'; \
669	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps \
670		&& exit 0; \
671	      exit 1;; \
672	  esac; \
673	done; \
674	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Makefile'; \
675	$(am__cd) $(top_srcdir) && \
676	  $(AUTOMAKE) --gnu --ignore-deps Makefile
677.PRECIOUS: Makefile
678Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
679	@case '$?' in \
680	  *config.status*) \
681	    echo ' $(SHELL) ./config.status'; \
682	    $(SHELL) ./config.status;; \
683	  *) \
684	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
685	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
686	esac;
687
688$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
689	$(SHELL) ./config.status --recheck
690
691$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
692	$(am__cd) $(srcdir) && $(AUTOCONF)
693$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
694	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
695$(am__aclocal_m4_deps):
696
697config.h: stamp-h1
698	@if test ! -f $@; then rm -f stamp-h1; else :; fi
699	@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
700
701stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
702	@rm -f stamp-h1
703	cd $(top_builddir) && $(SHELL) ./config.status config.h
704$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
705	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
706	rm -f stamp-h1
707	touch $@
708
709distclean-hdr:
710	-rm -f config.h stamp-h1
711gmp.h: $(top_builddir)/config.status $(srcdir)/gmp-h.in
712	cd $(top_builddir) && $(SHELL) ./config.status $@
713install-libLTLIBRARIES: $(lib_LTLIBRARIES)
714	@$(NORMAL_INSTALL)
715	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
716	list2=; for p in $$list; do \
717	  if test -f $$p; then \
718	    list2="$$list2 $$p"; \
719	  else :; fi; \
720	done; \
721	test -z "$$list2" || { \
722	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
723	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
724	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
725	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
726	}
727
728uninstall-libLTLIBRARIES:
729	@$(NORMAL_UNINSTALL)
730	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
731	for p in $$list; do \
732	  $(am__strip_dir) \
733	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
734	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
735	done
736
737clean-libLTLIBRARIES:
738	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
739	@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
740	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
741	  test "$$dir" != "$$p" || dir=.; \
742	  echo "rm -f \"$${dir}/so_locations\""; \
743	  rm -f "$${dir}/so_locations"; \
744	done
745libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES) $(EXTRA_libgmp_la_DEPENDENCIES)
746	$(libgmp_la_LINK) -rpath $(libdir) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
747libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES) $(EXTRA_libgmpxx_la_DEPENDENCIES)
748	$(libgmpxx_la_LINK) $(am_libgmpxx_la_rpath) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
749
750mostlyclean-compile:
751	-rm -f *.$(OBJEXT)
752
753distclean-compile:
754	-rm -f *.tab.c
755
756.c.o:
757	$(COMPILE) -c $<
758
759.c.obj:
760	$(COMPILE) -c `$(CYGPATH_W) '$<'`
761
762.c.lo:
763	$(LTCOMPILE) -c -o $@ $<
764
765.cc.o:
766	$(CXXCOMPILE) -c -o $@ $<
767
768.cc.obj:
769	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
770
771.cc.lo:
772	$(LTCXXCOMPILE) -c -o $@ $<
773
774dummy.lo: cxx/dummy.cc
775	$(LIBTOOL)  --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o dummy.lo `test -f 'cxx/dummy.cc' || echo '$(srcdir)/'`cxx/dummy.cc
776
777mostlyclean-libtool:
778	-rm -f *.lo
779
780clean-libtool:
781	-rm -rf .libs _libs
782
783distclean-libtool:
784	-rm -f libtool config.lt
785install-includeHEADERS: $(include_HEADERS)
786	@$(NORMAL_INSTALL)
787	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
788	if test -n "$$list"; then \
789	  echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
790	  $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
791	fi; \
792	for p in $$list; do \
793	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
794	  echo "$$d$$p"; \
795	done | $(am__base_list) | \
796	while read files; do \
797	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
798	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
799	done
800
801uninstall-includeHEADERS:
802	@$(NORMAL_UNINSTALL)
803	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
804	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
805	dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
806install-nodist_includeexecHEADERS: $(nodist_includeexec_HEADERS)
807	@$(NORMAL_INSTALL)
808	@list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
809	if test -n "$$list"; then \
810	  echo " $(MKDIR_P) '$(DESTDIR)$(includeexecdir)'"; \
811	  $(MKDIR_P) "$(DESTDIR)$(includeexecdir)" || exit 1; \
812	fi; \
813	for p in $$list; do \
814	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
815	  echo "$$d$$p"; \
816	done | $(am__base_list) | \
817	while read files; do \
818	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includeexecdir)'"; \
819	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includeexecdir)" || exit $$?; \
820	done
821
822uninstall-nodist_includeexecHEADERS:
823	@$(NORMAL_UNINSTALL)
824	@list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
825	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
826	dir='$(DESTDIR)$(includeexecdir)'; $(am__uninstall_files_from_dir)
827
828# This directory's subdirectories are mostly independent; you can cd
829# into them and run `make' without going through this Makefile.
830# To change the values of `make' variables: instead of editing Makefiles,
831# (1) if the variable is set in `config.status', edit `config.status'
832#     (which will cause the Makefiles to be regenerated when you run `make');
833# (2) otherwise, pass the desired values on the `make' command line.
834$(RECURSIVE_TARGETS):
835	@fail= failcom='exit 1'; \
836	for f in x $$MAKEFLAGS; do \
837	  case $$f in \
838	    *=* | --[!k]*);; \
839	    *k*) failcom='fail=yes';; \
840	  esac; \
841	done; \
842	dot_seen=no; \
843	target=`echo $@ | sed s/-recursive//`; \
844	list='$(SUBDIRS)'; for subdir in $$list; do \
845	  echo "Making $$target in $$subdir"; \
846	  if test "$$subdir" = "."; then \
847	    dot_seen=yes; \
848	    local_target="$$target-am"; \
849	  else \
850	    local_target="$$target"; \
851	  fi; \
852	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
853	  || eval $$failcom; \
854	done; \
855	if test "$$dot_seen" = "no"; then \
856	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
857	fi; test -z "$$fail"
858
859$(RECURSIVE_CLEAN_TARGETS):
860	@fail= failcom='exit 1'; \
861	for f in x $$MAKEFLAGS; do \
862	  case $$f in \
863	    *=* | --[!k]*);; \
864	    *k*) failcom='fail=yes';; \
865	  esac; \
866	done; \
867	dot_seen=no; \
868	case "$@" in \
869	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
870	  *) list='$(SUBDIRS)' ;; \
871	esac; \
872	rev=''; for subdir in $$list; do \
873	  if test "$$subdir" = "."; then :; else \
874	    rev="$$subdir $$rev"; \
875	  fi; \
876	done; \
877	rev="$$rev ."; \
878	target=`echo $@ | sed s/-recursive//`; \
879	for subdir in $$rev; do \
880	  echo "Making $$target in $$subdir"; \
881	  if test "$$subdir" = "."; then \
882	    local_target="$$target-am"; \
883	  else \
884	    local_target="$$target"; \
885	  fi; \
886	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
887	  || eval $$failcom; \
888	done && test -z "$$fail"
889tags-recursive:
890	list='$(SUBDIRS)'; for subdir in $$list; do \
891	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
892	done
893ctags-recursive:
894	list='$(SUBDIRS)'; for subdir in $$list; do \
895	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
896	done
897
898ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
899	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
900	unique=`for i in $$list; do \
901	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
902	  done | \
903	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
904	      END { if (nonempty) { for (i in files) print i; }; }'`; \
905	mkid -fID $$unique
906tags: TAGS
907
908TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
909		$(TAGS_FILES) $(LISP)
910	set x; \
911	here=`pwd`; \
912	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
913	  include_option=--etags-include; \
914	  empty_fix=.; \
915	else \
916	  include_option=--include; \
917	  empty_fix=; \
918	fi; \
919	list='$(SUBDIRS)'; for subdir in $$list; do \
920	  if test "$$subdir" = .; then :; else \
921	    test ! -f $$subdir/TAGS || \
922	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
923	  fi; \
924	done; \
925	list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
926	unique=`for i in $$list; do \
927	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
928	  done | \
929	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
930	      END { if (nonempty) { for (i in files) print i; }; }'`; \
931	shift; \
932	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
933	  test -n "$$unique" || unique=$$empty_fix; \
934	  if test $$# -gt 0; then \
935	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
936	      "$$@" $$unique; \
937	  else \
938	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
939	      $$unique; \
940	  fi; \
941	fi
942ctags: CTAGS
943CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
944		$(TAGS_FILES) $(LISP)
945	list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
946	unique=`for i in $$list; do \
947	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
948	  done | \
949	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
950	      END { if (nonempty) { for (i in files) print i; }; }'`; \
951	test -z "$(CTAGS_ARGS)$$unique" \
952	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
953	     $$unique
954
955GTAGS:
956	here=`$(am__cd) $(top_builddir) && pwd` \
957	  && $(am__cd) $(top_srcdir) \
958	  && gtags -i $(GTAGS_ARGS) "$$here"
959
960distclean-tags:
961	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
962
963distdir: $(DISTFILES)
964	$(am__remove_distdir)
965	test -d "$(distdir)" || mkdir "$(distdir)"
966	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
967	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
968	list='$(DISTFILES)'; \
969	  dist_files=`for file in $$list; do echo $$file; done | \
970	  sed -e "s|^$$srcdirstrip/||;t" \
971	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
972	case $$dist_files in \
973	  */*) $(MKDIR_P) `echo "$$dist_files" | \
974			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
975			   sort -u` ;; \
976	esac; \
977	for file in $$dist_files; do \
978	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
979	  if test -d $$d/$$file; then \
980	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
981	    if test -d "$(distdir)/$$file"; then \
982	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
983	    fi; \
984	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
985	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
986	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
987	    fi; \
988	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
989	  else \
990	    test -f "$(distdir)/$$file" \
991	    || cp -p $$d/$$file "$(distdir)/$$file" \
992	    || exit 1; \
993	  fi; \
994	done
995	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
996	  if test "$$subdir" = .; then :; else \
997	    $(am__make_dryrun) \
998	      || test -d "$(distdir)/$$subdir" \
999	      || $(MKDIR_P) "$(distdir)/$$subdir" \
1000	      || exit 1; \
1001	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1002	    $(am__relativize); \
1003	    new_distdir=$$reldir; \
1004	    dir1=$$subdir; dir2="$(top_distdir)"; \
1005	    $(am__relativize); \
1006	    new_top_distdir=$$reldir; \
1007	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1008	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1009	    ($(am__cd) $$subdir && \
1010	      $(MAKE) $(AM_MAKEFLAGS) \
1011	        top_distdir="$$new_top_distdir" \
1012	        distdir="$$new_distdir" \
1013		am__remove_distdir=: \
1014		am__skip_length_check=: \
1015		am__skip_mode_fix=: \
1016	        distdir) \
1017	      || exit 1; \
1018	  fi; \
1019	done
1020	$(MAKE) $(AM_MAKEFLAGS) \
1021	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
1022	  dist-hook
1023	-test -n "$(am__skip_mode_fix)" \
1024	|| find "$(distdir)" -type d ! -perm -755 \
1025		-exec chmod u+rwx,go+rx {} \; -o \
1026	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1027	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1028	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1029	|| chmod -R a+r "$(distdir)"
1030dist-gzip: distdir
1031	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1032	$(am__remove_distdir)
1033
1034dist-bzip2: distdir
1035	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1036	$(am__remove_distdir)
1037
1038dist-lzip: distdir
1039	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1040	$(am__remove_distdir)
1041
1042dist-lzma: distdir
1043	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1044	$(am__remove_distdir)
1045
1046dist-xz: distdir
1047	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1048	$(am__remove_distdir)
1049
1050dist-tarZ: distdir
1051	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1052	$(am__remove_distdir)
1053
1054dist-shar: distdir
1055	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1056	$(am__remove_distdir)
1057
1058dist-zip: distdir
1059	-rm -f $(distdir).zip
1060	zip -rq $(distdir).zip $(distdir)
1061	$(am__remove_distdir)
1062
1063dist dist-all: distdir
1064	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1065	$(am__remove_distdir)
1066
1067# This target untars the dist file and tries a VPATH configuration.  Then
1068# it guarantees that the distribution is self-contained by making another
1069# tarfile.
1070distcheck: dist
1071	case '$(DIST_ARCHIVES)' in \
1072	*.tar.gz*) \
1073	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1074	*.tar.bz2*) \
1075	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1076	*.tar.lzma*) \
1077	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1078	*.tar.lz*) \
1079	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1080	*.tar.xz*) \
1081	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1082	*.tar.Z*) \
1083	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1084	*.shar.gz*) \
1085	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1086	*.zip*) \
1087	  unzip $(distdir).zip ;;\
1088	esac
1089	chmod -R a-w $(distdir); chmod u+w $(distdir)
1090	mkdir $(distdir)/_build
1091	mkdir $(distdir)/_inst
1092	chmod a-w $(distdir)
1093	test -d $(distdir)/_build || exit 0; \
1094	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1095	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1096	  && am__cwd=`pwd` \
1097	  && $(am__cd) $(distdir)/_build \
1098	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1099	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1100	    $(DISTCHECK_CONFIGURE_FLAGS) \
1101	  && $(MAKE) $(AM_MAKEFLAGS) \
1102	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
1103	  && $(MAKE) $(AM_MAKEFLAGS) check \
1104	  && $(MAKE) $(AM_MAKEFLAGS) install \
1105	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1106	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1107	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1108	        distuninstallcheck \
1109	  && chmod -R a-w "$$dc_install_base" \
1110	  && ({ \
1111	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1112	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1113	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1114	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1115	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1116	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
1117	  && rm -rf "$$dc_destdir" \
1118	  && $(MAKE) $(AM_MAKEFLAGS) dist \
1119	  && rm -rf $(DIST_ARCHIVES) \
1120	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1121	  && cd "$$am__cwd" \
1122	  || exit 1
1123	$(am__remove_distdir)
1124	@(echo "$(distdir) archives ready for distribution: "; \
1125	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1126	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1127distuninstallcheck:
1128	@test -n '$(distuninstallcheck_dir)' || { \
1129	  echo 'ERROR: trying to run $@ with an empty' \
1130	       '$$(distuninstallcheck_dir)' >&2; \
1131	  exit 1; \
1132	}; \
1133	$(am__cd) '$(distuninstallcheck_dir)' || { \
1134	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1135	  exit 1; \
1136	}; \
1137	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1138	   || { echo "ERROR: files left after uninstall:" ; \
1139	        if test -n "$(DESTDIR)"; then \
1140	          echo "  (check DESTDIR support)"; \
1141	        fi ; \
1142	        $(distuninstallcheck_listfiles) ; \
1143	        exit 1; } >&2
1144distcleancheck: distclean
1145	@if test '$(srcdir)' = . ; then \
1146	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1147	  exit 1 ; \
1148	fi
1149	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1150	  || { echo "ERROR: files left in build directory after distclean:" ; \
1151	       $(distcleancheck_listfiles) ; \
1152	       exit 1; } >&2
1153check-am: all-am
1154check: $(BUILT_SOURCES)
1155	$(MAKE) $(AM_MAKEFLAGS) check-recursive
1156all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h
1157installdirs: installdirs-recursive
1158installdirs-am:
1159	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"; do \
1160	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1161	done
1162install: $(BUILT_SOURCES)
1163	$(MAKE) $(AM_MAKEFLAGS) install-recursive
1164install-exec: install-exec-recursive
1165install-data: install-data-recursive
1166uninstall: uninstall-recursive
1167
1168install-am: all-am
1169	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am
1170	@$(MAKE) $(AM_MAKEFLAGS) install-data-am
1171
1172installcheck: installcheck-recursive
1173install-strip:
1174	if test -z '$(STRIP)'; then \
1175	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1176	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1177	      install; \
1178	else \
1179	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1180	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1181	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1182	fi
1183mostlyclean-generic:
1184
1185clean-generic:
1186
1187distclean-generic:
1188	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1189	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1190	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1191
1192maintainer-clean-generic:
1193	@echo "This command is intended for maintainers to use"
1194	@echo "it deletes files that may require special tools to rebuild."
1195	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1196clean: clean-recursive
1197
1198clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
1199	mostlyclean-am
1200
1201distclean: distclean-recursive
1202	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1203	-rm -f Makefile
1204distclean-am: clean-am distclean-compile distclean-generic \
1205	distclean-hdr distclean-libtool distclean-local distclean-tags
1206
1207dvi: dvi-recursive
1208
1209dvi-am:
1210
1211html: html-recursive
1212
1213html-am:
1214
1215info: info-recursive
1216
1217info-am:
1218
1219install-data-am: install-includeHEADERS
1220	@$(NORMAL_INSTALL)
1221	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
1222install-dvi: install-dvi-recursive
1223
1224install-dvi-am:
1225
1226install-exec-am: install-libLTLIBRARIES \
1227	install-nodist_includeexecHEADERS
1228
1229install-html: install-html-recursive
1230
1231install-html-am:
1232
1233install-info: install-info-recursive
1234
1235install-info-am:
1236
1237install-man:
1238
1239install-pdf: install-pdf-recursive
1240
1241install-pdf-am:
1242
1243install-ps: install-ps-recursive
1244
1245install-ps-am:
1246
1247installcheck-am:
1248
1249maintainer-clean: maintainer-clean-recursive
1250	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1251	-rm -rf $(top_srcdir)/autom4te.cache
1252	-rm -f Makefile
1253maintainer-clean-am: distclean-am maintainer-clean-generic
1254
1255mostlyclean: mostlyclean-recursive
1256
1257mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1258	mostlyclean-libtool
1259
1260pdf: pdf-recursive
1261
1262pdf-am:
1263
1264ps: ps-recursive
1265
1266ps-am:
1267
1268uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1269	uninstall-nodist_includeexecHEADERS
1270
1271.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1272	ctags-recursive install install-am install-data-am \
1273	install-strip tags-recursive
1274
1275.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1276	all all-am am--refresh check check-am clean clean-generic \
1277	clean-libLTLIBRARIES clean-libtool clean-local ctags \
1278	ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
1279	dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
1280	distcheck distclean distclean-compile distclean-generic \
1281	distclean-hdr distclean-libtool distclean-local distclean-tags \
1282	distcleancheck distdir distuninstallcheck dvi dvi-am html \
1283	html-am info info-am install install-am install-data \
1284	install-data-am install-data-hook install-dvi install-dvi-am \
1285	install-exec install-exec-am install-html install-html-am \
1286	install-includeHEADERS install-info install-info-am \
1287	install-libLTLIBRARIES install-man \
1288	install-nodist_includeexecHEADERS install-pdf install-pdf-am \
1289	install-ps install-ps-am install-strip installcheck \
1290	installcheck-am installdirs installdirs-am maintainer-clean \
1291	maintainer-clean-generic mostlyclean mostlyclean-compile \
1292	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1293	tags tags-recursive uninstall uninstall-am \
1294	uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1295	uninstall-nodist_includeexecHEADERS
1296
1297
1298install-data-hook:
1299	@echo ''
1300	@echo '+-------------------------------------------------------------+'
1301	@echo '| CAUTION:                                                    |'
1302	@echo '|                                                             |'
1303	@echo '| If you have not already run "make check", then we strongly  |'
1304	@echo '| recommend you do so.                                        |'
1305	@echo '|                                                             |'
1306	@echo '| GMP has been carefully tested by its authors, but compilers |'
1307	@echo '| are all too often released with serious bugs.  GMP tends to |'
1308	@echo '| explore interesting corners in compilers and has hit bugs   |'
1309	@echo '| on quite a few occasions.                                   |'
1310	@echo '|                                                             |'
1311	@echo '+-------------------------------------------------------------+'
1312	@echo ''
1313
1314fac_table.h: gen-fac$(EXEEXT_FOR_BUILD)
1315	./gen-fac $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fac_table.h || (rm -f fac_table.h; exit 1)
1316
1317gen-fac$(EXEEXT_FOR_BUILD): gen-fac$(U_FOR_BUILD).c bootstrap.c
1318	$(CC_FOR_BUILD) `test -f 'gen-fac$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fac$(U_FOR_BUILD).c -o gen-fac$(EXEEXT_FOR_BUILD)
1319
1320fib_table.h: gen-fib$(EXEEXT_FOR_BUILD)
1321	./gen-fib header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fib_table.h || (rm -f fib_table.h; exit 1)
1322
1323mpn/fib_table.c: gen-fib$(EXEEXT_FOR_BUILD)
1324	./gen-fib table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
1325
1326gen-fib$(EXEEXT_FOR_BUILD): gen-fib$(U_FOR_BUILD).c bootstrap.c
1327	$(CC_FOR_BUILD) `test -f 'gen-fib$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fib$(U_FOR_BUILD).c -o gen-fib$(EXEEXT_FOR_BUILD)
1328
1329mp_bases.h: gen-bases$(EXEEXT_FOR_BUILD)
1330	./gen-bases header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mp_bases.h || (rm -f mp_bases.h; exit 1)
1331
1332mpn/mp_bases.c: gen-bases$(EXEEXT_FOR_BUILD)
1333	./gen-bases table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
1334
1335gen-bases$(EXEEXT_FOR_BUILD): gen-bases$(U_FOR_BUILD).c bootstrap.c
1336	$(CC_FOR_BUILD) `test -f 'gen-bases$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-bases$(U_FOR_BUILD).c -o gen-bases$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
1337
1338trialdivtab.h: gen-trialdivtab$(EXEEXT_FOR_BUILD)
1339	./gen-trialdivtab $(GMP_LIMB_BITS) 8000 >trialdivtab.h || (rm -f trialdivtab.h; exit 1)
1340
1341gen-trialdivtab$(EXEEXT_FOR_BUILD): gen-trialdivtab$(U_FOR_BUILD).c bootstrap.c
1342	$(CC_FOR_BUILD) `test -f 'gen-trialdivtab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-trialdivtab$(U_FOR_BUILD).c -o gen-trialdivtab$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
1343
1344mpn/jacobitab.h: gen-jacobitab$(EXEEXT_FOR_BUILD)
1345	./gen-jacobitab >mpn/jacobitab.h || (rm -f mpn/jacobitab.h; exit 1)
1346
1347gen-jacobitab$(EXEEXT_FOR_BUILD): gen-jacobitab$(U_FOR_BUILD).c
1348	$(CC_FOR_BUILD) `test -f 'gen-jacobitab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-jacobitab$(U_FOR_BUILD).c -o gen-jacobitab$(EXEEXT_FOR_BUILD)
1349
1350mpn/perfsqr.h: gen-psqr$(EXEEXT_FOR_BUILD)
1351	./gen-psqr $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
1352
1353gen-psqr$(EXEEXT_FOR_BUILD): gen-psqr$(U_FOR_BUILD).c bootstrap.c
1354	$(CC_FOR_BUILD) `test -f 'gen-psqr$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-psqr$(U_FOR_BUILD).c -o gen-psqr$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
1355
1356# Avoid: CVS - cvs directories
1357#        *~  - emacs backups
1358#        .#* - cvs merge originals
1359#
1360# *~ and .#* only occur when a whole directory without it's own Makefile.am
1361# is distributed, like "doc" or the mpn cpu subdirectories.
1362#
1363dist-hook:
1364	-find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
1365		| xargs rm -rf
1366	cp "$(srcdir)"/mini-gmp/tests/*.[ch] "$(distdir)/mini-gmp/tests"
1367#	grep -F $(VERSION) $(srcdir)/Makefile.am \
1368#		| grep -q "^# *$(VERSION) *$(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) *$(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)"
1369#	test -z "`sed -n 's/^# *[0-9]*\.[0-9]*\.[0-9]* *\([0-9]*:[0-9]*:[0-9]*\) *\([0-9]*:[0-9]*:[0-9]*\) *\([0-9]*:[0-9]*:[0-9]*\).*/A\1\nB\2\nC\3/p' $(srcdir)/Makefile.am | grep -v 'A6:3:3\|B3:5:0\|C4:7:1' | sort | uniq -d`"
1370
1371.PHONY: check-mini-gmp clean-mini-gmp
1372
1373check-mini-gmp:
1374	abs_srcdir="`cd $(srcdir) && pwd`" ; \
1375	$(MKDIR_P) mini-gmp/tests \
1376	&& cd mini-gmp/tests \
1377	&& LD_LIBRARY_PATH="../../.libs:$$LD_LIBRARY_PATH" \
1378	   DYLD_LIBRARY_PATH="../../.libs:$$DYLD_LIBRARY_PATH" \
1379	   $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" \
1380		VPATH="$$abs_srcdir/mini-gmp/tests" \
1381		srcdir="$$abs_srcdir/mini-gmp/tests" \
1382		MINI_GMP_DIR="$$abs_srcdir/mini-gmp" \
1383		LDFLAGS="-L../../.libs" \
1384		LIBS="-lgmp -lm" \
1385		CC="$(CC_FOR_BUILD)" EXTRA_CFLAGS="-g -I../.." check
1386
1387clean-mini-gmp:
1388	if [ -d mini-gmp/tests ] ; then \
1389	  abs_srcdir="`cd $(srcdir) && pwd`" ; \
1390	  cd mini-gmp/tests \
1391	  && $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" clean ; \
1392	fi
1393
1394clean-local: clean-mini-gmp
1395distclean-local: clean-mini-gmp
1396
1397# Tell versions [3.59,3.63) of GNU make to not export all variables.
1398# Otherwise a system limit (for SysV at least) may be exceeded.
1399.NOEXPORT:
1400