1
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
3
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4
# Free Software Foundation, Inc.
5
# This Makefile.in is free software; the Free Software Foundation
6
# gives unlimited permission to copy and/or distribute it,
7
# with or without modifications, as long as this notice is preserved.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
16
# Copyright 2001 Free Software Foundation, Inc.
18
# This file is part of the GNU MP Library.
20
# The GNU MP Library is free software; you can redistribute it and/or modify
21
# it under the terms of the GNU Lesser General Public License as published by
22
# the Free Software Foundation; either version 2.1 of the License, or (at your
23
# option) any later version.
25
# The GNU MP Library is distributed in the hope that it will be useful, but
26
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
27
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
28
# License for more details.
30
# You should have received a copy of the GNU Lesser General Public License
31
# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
32
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
38
top_srcdir = @top_srcdir@
41
exec_prefix = @exec_prefix@
45
libexecdir = @libexecdir@
47
sysconfdir = @sysconfdir@
48
sharedstatedir = @sharedstatedir@
49
localstatedir = @localstatedir@
53
includedir = @includedir@
54
oldincludedir = /usr/include
55
pkgdatadir = $(datadir)/@PACKAGE@
56
pkglibdir = $(libdir)/@PACKAGE@
57
pkgincludedir = $(includedir)/@PACKAGE@
63
AUTOHEADER = @AUTOHEADER@
66
INSTALL_PROGRAM = @INSTALL_PROGRAM@
67
INSTALL_DATA = @INSTALL_DATA@
68
INSTALL_SCRIPT = @INSTALL_SCRIPT@
69
INSTALL_HEADER = $(INSTALL_DATA)
70
transform = @program_transform_name@
77
host_alias = @host_alias@
83
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
89
DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
96
GMP_LDFLAGS = @GMP_LDFLAGS@
97
HAVE_MPFR = @HAVE_MPFR@
98
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109
REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@
110
REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@
111
SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
113
TAL_OBJECT = @TAL_OBJECT@
114
TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
117
__GMP_BITS_PER_MP_LIMB = @__GMP_BITS_PER_MP_LIMB@
118
__GMP_HAVE_HOST_CPU_FAMILY_power = @__GMP_HAVE_HOST_CPU_FAMILY_power@
119
__GMP_HAVE_HOST_CPU_FAMILY_powerpc = @__GMP_HAVE_HOST_CPU_FAMILY_powerpc@
120
__GMP_LIBGMP_SHARED = @__GMP_LIBGMP_SHARED@
121
__GMP_LIBGMP_STATIC = @__GMP_LIBGMP_STATIC@
122
am__include = @am__include@
123
am__quote = @am__quote@
124
gmp_srclinks = @gmp_srclinks@
125
install_sh = @install_sh@
126
mpn_objects = @mpn_objects@
127
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
128
mpn_objs_in_libmp = @mpn_objs_in_libmp@
130
AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
132
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests
133
LDADD = $(top_builddir)/tests/libtests.la \
134
$(top_builddir)/libgmpxx.la $(top_builddir)/libgmp.la
137
@WANT_CXX_TRUE@check_PROGRAMS = t-headers t-ostream t-locale t-constr t-expr
138
@WANT_CXX_TRUE@TESTS = $(check_PROGRAMS)
140
t_headers_SOURCES = t-headers.cc
141
t_constr_SOURCES = t-constr.cc
142
t_expr_SOURCES = t-expr.cc
143
t_locale_SOURCES = t-locale.cc
144
t_ostream_SOURCES = t-ostream.cc
146
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
147
CONFIG_HEADER = $(top_builddir)/config.h
149
@WANT_CXX_TRUE@check_PROGRAMS = t-headers$(EXEEXT) t-ostream$(EXEEXT) \
150
@WANT_CXX_TRUE@ t-locale$(EXEEXT) t-constr$(EXEEXT) \
151
@WANT_CXX_TRUE@ t-expr$(EXEEXT)
152
@WANT_CXX_FALSE@check_PROGRAMS =
153
am_t_constr_OBJECTS = t-constr.$(OBJEXT)
154
t_constr_OBJECTS = $(am_t_constr_OBJECTS)
155
t_constr_LDADD = $(LDADD)
156
t_constr_DEPENDENCIES = $(top_builddir)/tests/libtests.la \
157
$(top_builddir)/libgmpxx.la $(top_builddir)/libgmp.la
159
am_t_expr_OBJECTS = t-expr.$(OBJEXT)
160
t_expr_OBJECTS = $(am_t_expr_OBJECTS)
161
t_expr_LDADD = $(LDADD)
162
t_expr_DEPENDENCIES = $(top_builddir)/tests/libtests.la \
163
$(top_builddir)/libgmpxx.la $(top_builddir)/libgmp.la
165
am_t_headers_OBJECTS = t-headers.$(OBJEXT)
166
t_headers_OBJECTS = $(am_t_headers_OBJECTS)
167
t_headers_LDADD = $(LDADD)
168
t_headers_DEPENDENCIES = $(top_builddir)/tests/libtests.la \
169
$(top_builddir)/libgmpxx.la $(top_builddir)/libgmp.la
171
am_t_locale_OBJECTS = t-locale.$(OBJEXT)
172
t_locale_OBJECTS = $(am_t_locale_OBJECTS)
173
t_locale_LDADD = $(LDADD)
174
t_locale_DEPENDENCIES = $(top_builddir)/tests/libtests.la \
175
$(top_builddir)/libgmpxx.la $(top_builddir)/libgmp.la
177
am_t_ostream_OBJECTS = t-ostream.$(OBJEXT)
178
t_ostream_OBJECTS = $(am_t_ostream_OBJECTS)
179
t_ostream_LDADD = $(LDADD)
180
t_ostream_DEPENDENCIES = $(top_builddir)/tests/libtests.la \
181
$(top_builddir)/libgmpxx.la $(top_builddir)/libgmp.la
185
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
186
CPPFLAGS = @CPPFLAGS@
190
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
191
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
192
LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
193
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
194
$(AM_CXXFLAGS) $(CXXFLAGS)
196
CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
197
$(AM_LDFLAGS) $(LDFLAGS) -o $@
198
CXXFLAGS = @CXXFLAGS@
199
DIST_SOURCES = $(t_constr_SOURCES) $(t_expr_SOURCES) \
200
$(t_headers_SOURCES) $(t_locale_SOURCES) $(t_ostream_SOURCES)
201
DIST_COMMON = Makefile.am Makefile.in
202
SOURCES = $(t_constr_SOURCES) $(t_expr_SOURCES) $(t_headers_SOURCES) $(t_locale_SOURCES) $(t_ostream_SOURCES)
207
.SUFFIXES: .cc .lo .o .obj
217
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
218
cd $(top_srcdir) && \
219
$(AUTOMAKE) --gnu tests/cxx/Makefile
220
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
221
cd $(top_builddir) && \
222
CONFIG_HEADERS= CONFIG_LINKS= \
223
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
226
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
227
t-constr$(EXEEXT): $(t_constr_OBJECTS) $(t_constr_DEPENDENCIES)
228
@rm -f t-constr$(EXEEXT)
229
$(CXXLINK) $(t_constr_LDFLAGS) $(t_constr_OBJECTS) $(t_constr_LDADD) $(LIBS)
230
t-expr$(EXEEXT): $(t_expr_OBJECTS) $(t_expr_DEPENDENCIES)
231
@rm -f t-expr$(EXEEXT)
232
$(CXXLINK) $(t_expr_LDFLAGS) $(t_expr_OBJECTS) $(t_expr_LDADD) $(LIBS)
233
t-headers$(EXEEXT): $(t_headers_OBJECTS) $(t_headers_DEPENDENCIES)
234
@rm -f t-headers$(EXEEXT)
235
$(CXXLINK) $(t_headers_LDFLAGS) $(t_headers_OBJECTS) $(t_headers_LDADD) $(LIBS)
236
t-locale$(EXEEXT): $(t_locale_OBJECTS) $(t_locale_DEPENDENCIES)
237
@rm -f t-locale$(EXEEXT)
238
$(CXXLINK) $(t_locale_LDFLAGS) $(t_locale_OBJECTS) $(t_locale_LDADD) $(LIBS)
239
t-ostream$(EXEEXT): $(t_ostream_OBJECTS) $(t_ostream_DEPENDENCIES)
240
@rm -f t-ostream$(EXEEXT)
241
$(CXXLINK) $(t_ostream_LDFLAGS) $(t_ostream_OBJECTS) $(t_ostream_LDADD) $(LIBS)
244
-rm -f *.$(OBJEXT) core *.core
249
ANSI2KNR = $(top_builddir)/ansi2knr
250
$(top_builddir)/ansi2knr:
251
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
254
-test "$U" = "" || rm -f *_.c
257
$(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
260
$(CXXCOMPILE) -c -o $@ `cygpath -w $<`
263
$(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
268
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
269
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
270
unique=`for i in $$list; do \
271
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
273
$(AWK) ' { files[$$0] = 1; } \
274
END { for (i in files) print i; }'`; \
275
mkid -fID $$unique $(LISP)
277
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
278
$(TAGS_FILES) $(LISP)
281
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
282
unique=`for i in $$list; do \
283
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
285
$(AWK) ' { files[$$0] = 1; } \
286
END { for (i in files) print i; }'`; \
287
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
288
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
291
here=`CDPATH=: && cd $(top_builddir) && pwd` \
292
&& cd $(top_srcdir) \
293
&& gtags -i $(GTAGS_ARGS) $$here
296
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
298
check-TESTS: $(TESTS)
299
@failed=0; all=0; xfail=0; xpass=0; \
300
srcdir=$(srcdir); export srcdir; \
302
if test -n "$$list"; then \
303
for tst in $$list; do \
304
if test -f ./$$tst; then dir=./; \
305
elif test -f $$tst; then dir=; \
306
else dir="$(srcdir)/"; fi; \
307
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
308
all=`expr $$all + 1`; \
309
case " $(XFAIL_TESTS) " in \
311
xpass=`expr $$xpass + 1`; \
312
failed=`expr $$failed + 1`; \
313
echo "XPASS: $$tst"; \
316
echo "PASS: $$tst"; \
319
elif test $$? -ne 77; then \
320
all=`expr $$all + 1`; \
321
case " $(XFAIL_TESTS) " in \
323
xfail=`expr $$xfail + 1`; \
324
echo "XFAIL: $$tst"; \
327
failed=`expr $$failed + 1`; \
328
echo "FAIL: $$tst"; \
333
if test "$$failed" -eq 0; then \
334
if test "$$xfail" -eq 0; then \
335
banner="All $$all tests passed"; \
337
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
340
if test "$$xpass" -eq 0; then \
341
banner="$$failed of $$all tests failed"; \
343
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
346
dashes=`echo "$$banner" | sed s/./=/g`; \
350
test "$$failed" -eq 0; \
355
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
358
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
360
distdir: $(DISTFILES)
361
@for file in $(DISTFILES); do \
362
if test -f $$file; then d=.; else d=$(srcdir); fi; \
363
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
364
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
365
$(mkinstalldirs) "$(distdir)/$$dir"; \
367
if test -d $$d/$$file; then \
368
cp -pR $$d/$$file $(distdir) \
371
test -f $(distdir)/$$file \
372
|| cp -p $$d/$$file $(distdir)/$$file \
377
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
378
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
385
install-exec: install-exec-am
386
install-data: install-data-am
387
uninstall: uninstall-am
390
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
392
installcheck: installcheck-am
394
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
395
`test -z '$(STRIP)' || \
396
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
402
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
404
maintainer-clean-generic:
405
@echo "This command is intended for maintainers to use"
406
@echo "it deletes files that may require special tools to rebuild."
409
clean-am: clean-checkPROGRAMS clean-generic clean-libtool mostlyclean-am
411
distclean: distclean-am
413
distclean-am: clean-am distclean-compile distclean-generic \
414
distclean-libtool distclean-tags
428
install-info: install-info-am
434
maintainer-clean: maintainer-clean-am
436
maintainer-clean-am: distclean-am maintainer-clean-generic
438
mostlyclean: mostlyclean-am
440
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
443
uninstall-am: uninstall-info-am
445
.PHONY: GTAGS all all-am check check-TESTS check-am clean \
446
clean-checkPROGRAMS clean-generic clean-libtool distclean \
447
distclean-compile distclean-generic distclean-libtool \
448
distclean-tags distdir dvi dvi-am info info-am install \
449
install-am install-data install-data-am install-exec \
450
install-exec-am install-info install-info-am install-man \
451
install-strip installcheck installcheck-am installdirs \
452
maintainer-clean maintainer-clean-generic mostlyclean \
453
mostlyclean-compile mostlyclean-generic mostlyclean-kr \
454
mostlyclean-libtool tags uninstall uninstall-am \
458
$(top_builddir)/tests/libtests.la:
459
cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la
460
# Tell versions [3.59,3.63) of GNU make to not export all variables.
461
# Otherwise a system limit (for SysV at least) may be exceeded.