diff options
author | Linus Nordberg <linus@nordberg.se> | 2000-03-15 12:31:46 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2000-03-15 12:31:46 +0100 |
commit | 0a3c73f4806d9ed896dc1bbfb1bbeb76eef0d280 (patch) | |
tree | 8ff038f82024ef2fae4e346d6e9e4e817c27d260 /tests | |
parent | a260afc71bb86ec164005f74baca93b67bece1c6 (diff) | |
download | gmp-0a3c73f4806d9ed896dc1bbfb1bbeb76eef0d280.tar.gz |
Initial revision.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 3 | ||||
-rw-r--r-- | tests/Makefile.in | 201 | ||||
-rw-r--r-- | tests/rand/Makefile.am | 37 | ||||
-rw-r--r-- | tests/rand/Makefile.in | 427 |
4 files changed, 668 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 000000000..c4c3ab9a1 --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1,3 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = gnu diff --git a/tests/Makefile.in b/tests/Makefile.in new file mode 100644 index 000000000..917e2ce40 --- /dev/null +++ b/tests/Makefile.in @@ -0,0 +1,201 @@ +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_FLAG = +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : + +@SET_MAKE@ +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +AMDEP = @AMDEP@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AWK = @AWK@ +CC = @CC@ +CCAS = @CCAS@ +CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +EXEEXT = @EXEEXT@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +M4 = @M4@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +NM = @NM@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ +gmp_srclinks = @gmp_srclinks@ +install_sh = @install_sh@ +mpn_objects = @mpn_objects@ +mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ + + +AUTOMAKE_OPTIONS = gnu +subdir = tests +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +DIST_SOURCES = +DIST_COMMON = Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +GZIP_ENV = --best +all: all-redirect +.SUFFIXES: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +tags: TAGS +TAGS: + + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir); \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: + -rm -f Makefile.in +mostlyclean-am: mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-generic clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: tags distdir info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all install-strip installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/tests/rand/Makefile.am b/tests/rand/Makefile.am new file mode 100644 index 000000000..2a61f26ce --- /dev/null +++ b/tests/rand/Makefile.am @@ -0,0 +1,37 @@ +## Process this file with automake to generate Makefile.in + +AUTOMAKE_OPTIONS = gnu + +INCLUDES = -I$(top_srcdir) -I.. +LDADD = libstat.la ../../libgmp.la -lm + +noinst_PROGRAMS = findcl gen spect stat + +noinst_LTLIBRARIES = libstat.la +libstat_la_SOURCES = statlib.c zdiv_round.c + +test: gen stat + @(echo -n '16i: '; ./gen -f mpz_urandomb -z 16 1000 | ./stat -i 0xffff | grep ^[0-9]) + @(echo -n '32i: '; ./gen -f mpz_urandomb -z 32 1000 | ./stat -i 0xffffffff | grep ^[0-9]) + @(echo -n '33i: '; ./gen -f mpz_urandomb -z 33 1000 | ./stat -i 0x1ffffffff | grep ^[0-9]) + @(echo -n '64i: '; ./gen -f mpz_urandomb -z 64 1000 | ./stat -i 0xffffffffffffffff | grep ^[0-9]) + @(echo -n '128i: '; ./gen -f mpz_urandomb -z 128 1000 | ./stat -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep ^[0-9]) + + @(echo -n '16f: '; ./gen -f mpf_urandomb -z 16 1000 | ./stat | grep ^[0-9]) + @(echo -n '32f: '; ./gen -f mpf_urandomb -z 32 1000 | ./stat | grep ^[0-9]) + @(echo -n '33f: '; ./gen -f mpf_urandomb -z 33 1000 | ./stat | grep ^[0-9]) + @(echo -n '64f: '; ./gen -f mpf_urandomb -z 64 1000 | ./stat | grep ^[0-9]) + @(echo -n '128f: '; ./gen -f mpf_urandomb -z 128 1000 | ./stat | grep ^[0-9]) + +bigtest: gen stat + @(echo '16i: '; ./gen -f mpz_urandomb -z 16 50000 | ./stat -2 1000 -i 0xffff | grep ^K[mp]) + @(echo '32i: '; ./gen -f mpz_urandomb -z 32 50000 | ./stat -2 1000 -i 0xffffffff | grep ^K[mp]) + @(echo '33i: '; ./gen -f mpz_urandomb -z 33 50000 | ./stat -2 1000 -i 0x1ffffffff | grep ^K[mp]) + @(echo '64i: '; ./gen -f mpz_urandomb -z 64 50000 | ./stat -2 1000 -i 0xffffffffffffffff | grep ^K[mp]) + @(echo '128i: '; ./gen -f mpz_urandomb -z 128 50000 | ./stat -2 1000 -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep ^K[mp]) + + @(echo '16f: '; ./gen -f mpf_urandomb -z 16 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '32f: '; ./gen -f mpf_urandomb -z 32 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '33f: '; ./gen -f mpf_urandomb -z 33 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '64f: '; ./gen -f mpf_urandomb -z 64 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '128f: '; ./gen -f mpf_urandomb -z 128 50000 | ./stat -2 1000 | grep ^K[mp]) diff --git a/tests/rand/Makefile.in b/tests/rand/Makefile.in new file mode 100644 index 000000000..c538d5d84 --- /dev/null +++ b/tests/rand/Makefile.in @@ -0,0 +1,427 @@ +# Makefile.in generated automatically by automake 1.4a from Makefile.am + +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +SHELL = @SHELL@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = ../.. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_FLAG = +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : + +@SET_MAKE@ +build_alias = @build_alias@ +build_triplet = @build@ +host_alias = @host_alias@ +host_triplet = @host@ +target_alias = @target_alias@ +target_triplet = @target@ +AMDEP = @AMDEP@ +AMTAR = @AMTAR@ +AR = @AR@ +AS = @AS@ +AWK = @AWK@ +CC = @CC@ +CCAS = @CCAS@ +CPP = @CPP@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +EXEEXT = @EXEEXT@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +M4 = @M4@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +NM = @NM@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +RANLIB = @RANLIB@ +STRIP = @STRIP@ +VERSION = @VERSION@ +gmp_srclinks = @gmp_srclinks@ +install_sh = @install_sh@ +mpn_objects = @mpn_objects@ +mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ + + +AUTOMAKE_OPTIONS = gnu + +INCLUDES = -I$(top_srcdir) -I.. +LDADD = libstat.la ../../libgmp.la -lm + +noinst_PROGRAMS = findcl gen spect stat + +noinst_LTLIBRARIES = libstat.la +libstat_la_SOURCES = statlib.c zdiv_round.c +subdir = tests/rand +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +LTLIBRARIES = $(noinst_LTLIBRARIES) + + +DEFS = @DEFS@ -I. -I$(srcdir) +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +libstat_la_LDFLAGS = +libstat_la_LIBADD = +am_libstat_la_OBJECTS = statlib.lo zdiv_round.lo +libstat_la_OBJECTS = $(am_libstat_la_OBJECTS) +noinst_PROGRAMS = findcl$(EXEEXT) gen$(EXEEXT) spect$(EXEEXT) \ +stat$(EXEEXT) +PROGRAMS = $(noinst_PROGRAMS) + +findcl_SOURCES = findcl.c +findcl_OBJECTS = findcl.$(OBJEXT) +findcl_LDADD = $(LDADD) +findcl_DEPENDENCIES = libstat.la ../../libgmp.la +findcl_LDFLAGS = +gen_SOURCES = gen.c +gen_OBJECTS = gen.$(OBJEXT) +gen_LDADD = $(LDADD) +gen_DEPENDENCIES = libstat.la ../../libgmp.la +gen_LDFLAGS = +spect_SOURCES = spect.c +spect_OBJECTS = spect.$(OBJEXT) +spect_LDADD = $(LDADD) +spect_DEPENDENCIES = libstat.la ../../libgmp.la +spect_LDFLAGS = +stat_SOURCES = stat.c +stat_OBJECTS = stat.$(OBJEXT) +stat_LDADD = $(LDADD) +stat_DEPENDENCIES = libstat.la ../../libgmp.la +stat_LDFLAGS = +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CFLAGS = @CFLAGS@ +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DIST_SOURCES = $(libstat_la_SOURCES) findcl.c gen.c spect.c stat.c +DIST_COMMON = ChangeLog Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + +GZIP_ENV = --best +depcomp = $(SHELL) $(top_srcdir)/depcomp +DEP_FILES = @AMDEP@ $(DEPDIR)/findcl.Po $(DEPDIR)/gen.Po \ +$(DEPDIR)/spect.Po $(DEPDIR)/stat.Po $(DEPDIR)/statlib.Plo \ +$(DEPDIR)/zdiv_round.Plo +SOURCES = $(libstat_la_SOURCES) findcl.c gen.c spect.c stat.c +OBJECTS = $(am_libstat_la_OBJECTS) findcl.$(OBJEXT) gen.$(OBJEXT) spect.$(OBJEXT) stat.$(OBJEXT) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/rand/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +mostlyclean-noinstLTLIBRARIES: + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + +distclean-noinstLTLIBRARIES: + +maintainer-clean-noinstLTLIBRARIES: + +mostlyclean-compile: + -rm -f *.o core *.core + -rm -f *.$(OBJEXT) + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + +maintainer-clean-libtool: + +libstat.la: $(libstat_la_OBJECTS) $(libstat_la_DEPENDENCIES) + $(LINK) $(libstat_la_LDFLAGS) $(libstat_la_OBJECTS) $(libstat_la_LIBADD) $(LIBS) + +mostlyclean-noinstPROGRAMS: + +clean-noinstPROGRAMS: + -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS) + +distclean-noinstPROGRAMS: + +maintainer-clean-noinstPROGRAMS: + +findcl$(EXEEXT): $(findcl_OBJECTS) $(findcl_DEPENDENCIES) + @rm -f findcl$(EXEEXT) + $(LINK) $(findcl_LDFLAGS) $(findcl_OBJECTS) $(findcl_LDADD) $(LIBS) + +gen$(EXEEXT): $(gen_OBJECTS) $(gen_DEPENDENCIES) + @rm -f gen$(EXEEXT) + $(LINK) $(gen_LDFLAGS) $(gen_OBJECTS) $(gen_LDADD) $(LIBS) + +spect$(EXEEXT): $(spect_OBJECTS) $(spect_DEPENDENCIES) + @rm -f spect$(EXEEXT) + $(LINK) $(spect_LDFLAGS) $(spect_OBJECTS) $(spect_LDADD) $(LIBS) + +stat$(EXEEXT): $(stat_OBJECTS) $(stat_DEPENDENCIES) + @rm -f stat$(EXEEXT) + $(LINK) $(stat_LDFLAGS) $(stat_OBJECTS) $(stat_LDADD) $(LIBS) + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +distdir: $(DISTFILES) + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pR $$d/$$file $(distdir); \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +@AMDEP@include $(DEPDIR)/findcl.Po +@AMDEP@include $(DEPDIR)/gen.Po +@AMDEP@include $(DEPDIR)/spect.Po +@AMDEP@include $(DEPDIR)/stat.Po +@AMDEP@include $(DEPDIR)/statlib.Plo +@AMDEP@include $(DEPDIR)/zdiv_round.Plo + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf $(DEPDIR) + +maintainer-clean-depend: + +@AMDEP@CCDEPMODE = @CCDEPMODE@ + +.c.o: +@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + $(COMPILE) -c -o $@ $< + +.c.lo: +@AMDEP@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ +@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + $(LTCOMPILE) -c -o $@ $< + +.c.obj: +@AMDEP@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + $(COMPILE) -c -o $@ `cygpath -w $<` + +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: +install-exec: install-exec-am + +install-data-am: +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: +uninstall: uninstall-am +all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: + -rm -f Makefile.in +mostlyclean-am: mostlyclean-noinstLTLIBRARIES mostlyclean-compile \ + mostlyclean-libtool mostlyclean-noinstPROGRAMS \ + mostlyclean-tags mostlyclean-depend mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-noinstLTLIBRARIES clean-compile clean-libtool \ + clean-noinstPROGRAMS clean-tags clean-depend \ + clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-noinstLTLIBRARIES distclean-compile \ + distclean-libtool distclean-noinstPROGRAMS \ + distclean-tags distclean-depend distclean-generic \ + clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-noinstLTLIBRARIES \ + maintainer-clean-compile maintainer-clean-libtool \ + maintainer-clean-noinstPROGRAMS maintainer-clean-tags \ + maintainer-clean-depend maintainer-clean-generic \ + distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: mostlyclean-noinstLTLIBRARIES distclean-noinstLTLIBRARIES \ +clean-noinstLTLIBRARIES maintainer-clean-noinstLTLIBRARIES \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile mostlyclean-libtool distclean-libtool \ +clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \ +distclean-noinstPROGRAMS clean-noinstPROGRAMS \ +maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \ +clean-tags maintainer-clean-tags distdir mostlyclean-depend \ +distclean-depend clean-depend maintainer-clean-depend info-am info \ +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ +install-exec install-data-am install-data install-am install \ +uninstall-am uninstall all-redirect all-am all install-strip \ +installdirs mostlyclean-generic distclean-generic clean-generic \ +maintainer-clean-generic clean mostlyclean distclean maintainer-clean + + +test: gen stat + @(echo -n '16i: '; ./gen -f mpz_urandomb -z 16 1000 | ./stat -i 0xffff | grep ^[0-9]) + @(echo -n '32i: '; ./gen -f mpz_urandomb -z 32 1000 | ./stat -i 0xffffffff | grep ^[0-9]) + @(echo -n '33i: '; ./gen -f mpz_urandomb -z 33 1000 | ./stat -i 0x1ffffffff | grep ^[0-9]) + @(echo -n '64i: '; ./gen -f mpz_urandomb -z 64 1000 | ./stat -i 0xffffffffffffffff | grep ^[0-9]) + @(echo -n '128i: '; ./gen -f mpz_urandomb -z 128 1000 | ./stat -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep ^[0-9]) + + @(echo -n '16f: '; ./gen -f mpf_urandomb -z 16 1000 | ./stat | grep ^[0-9]) + @(echo -n '32f: '; ./gen -f mpf_urandomb -z 32 1000 | ./stat | grep ^[0-9]) + @(echo -n '33f: '; ./gen -f mpf_urandomb -z 33 1000 | ./stat | grep ^[0-9]) + @(echo -n '64f: '; ./gen -f mpf_urandomb -z 64 1000 | ./stat | grep ^[0-9]) + @(echo -n '128f: '; ./gen -f mpf_urandomb -z 128 1000 | ./stat | grep ^[0-9]) + +bigtest: gen stat + @(echo '16i: '; ./gen -f mpz_urandomb -z 16 50000 | ./stat -2 1000 -i 0xffff | grep ^K[mp]) + @(echo '32i: '; ./gen -f mpz_urandomb -z 32 50000 | ./stat -2 1000 -i 0xffffffff | grep ^K[mp]) + @(echo '33i: '; ./gen -f mpz_urandomb -z 33 50000 | ./stat -2 1000 -i 0x1ffffffff | grep ^K[mp]) + @(echo '64i: '; ./gen -f mpz_urandomb -z 64 50000 | ./stat -2 1000 -i 0xffffffffffffffff | grep ^K[mp]) + @(echo '128i: '; ./gen -f mpz_urandomb -z 128 50000 | ./stat -2 1000 -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep ^K[mp]) + + @(echo '16f: '; ./gen -f mpf_urandomb -z 16 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '32f: '; ./gen -f mpf_urandomb -z 32 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '33f: '; ./gen -f mpf_urandomb -z 33 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '64f: '; ./gen -f mpf_urandomb -z 64 50000 | ./stat -2 1000 | grep ^K[mp]) + @(echo '128f: '; ./gen -f mpf_urandomb -z 128 50000 | ./stat -2 1000 | grep ^K[mp]) + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: |