[BACK]Return to Makefile.am CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp / tests / rand

Annotation of OpenXM_contrib/gmp/tests/rand/Makefile.am, Revision 1.1.1.2

1.1       maekawa     1: ## Process this file with automake to generate Makefile.in
                      2:
1.1.1.2 ! ohara       3: # Copyright 2000, 2001 Free Software Foundation, Inc.
1.1       maekawa     4: #
                      5: # This file is part of the GNU MP Library.
                      6: #
                      7: # The GNU MP Library is free software; you can redistribute it and/or modify
                      8: # it under the terms of the GNU Lesser General Public License as published by
                      9: # the Free Software Foundation; either version 2.1 of the License, or (at your
                     10: # option) any later version.
                     11: #
                     12: # The GNU MP Library is distributed in the hope that it will be useful, but
                     13: # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
                     14: # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
                     15: # License for more details.
                     16: #
                     17: # You should have received a copy of the GNU Lesser General Public License
                     18: # along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
                     19: # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
                     20: # MA 02111-1307, USA.
                     21:
                     22:
                     23: AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
                     24:
                     25: INCLUDES = -I$(top_srcdir)
                     26: LDADD = $(top_builddir)/libgmp.la
                     27:
                     28: check_PROGRAMS = t-rand
                     29: TESTS = $(check_PROGRAMS)
                     30:
                     31: EXTRA_PROGRAMS = findlc gen gen.static spect stat
                     32: gen_static_SOURCES = gen.c
                     33: gen_static_LDFLAGS = -static
                     34: findlc_LDADD = libstat.la
                     35: spect_LDADD = libstat.la
                     36: stat_LDADD = libstat.la
                     37:
                     38: EXTRA_LTLIBRARIES = libstat.la
1.1.1.2 ! ohara      39: libstat_la_SOURCES = gmpstat.h statlib.c zdiv_round.c
        !            40: libstat_la_LIBADD = $(top_builddir)/libgmp.la $(LIBM)
1.1       maekawa    41:
                     42: CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES)
                     43:
                     44: allprogs: $(EXTRA_PROGRAMS)
                     45:
                     46: manual-test: gen$(EXEEXT) stat$(EXEEXT)
                     47:        @(echo -n '16i: '; ./gen -f mpz_urandomb -z 16 1000 \
                     48:                | ./stat -i 0xffff | grep '^[0-9]')
                     49:        @(echo -n '32i: '; ./gen -f mpz_urandomb -z 32 1000 \
                     50:                | ./stat -i 0xffffffff  | grep '^[0-9]')
                     51:        @(echo -n '33i: '; ./gen -f mpz_urandomb -z 33 1000 \
                     52:                | ./stat -i 0x1ffffffff  | grep '^[0-9]')
                     53:        @(echo -n '64i: '; ./gen -f mpz_urandomb -z 64 1000 \
                     54:                | ./stat -i 0xffffffffffffffff  | grep '^[0-9]')
                     55:        @(echo -n '128i: '; ./gen -f mpz_urandomb -z 128 1000 \
                     56:                | ./stat -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep '^[0-9]')
                     57:
                     58:        @(echo -n '16f: '; ./gen -f mpf_urandomb -z 16 1000 \
                     59:                | ./stat | grep '^[0-9]')
                     60:        @(echo -n '32f: '; ./gen -f mpf_urandomb -z 32 1000 \
                     61:                | ./stat | grep '^[0-9]')
                     62:        @(echo -n '33f: '; ./gen -f mpf_urandomb -z 33 1000 \
                     63:                | ./stat | grep '^[0-9]')
                     64:        @(echo -n '64f: '; ./gen -f mpf_urandomb -z 64 1000 \
                     65:                | ./stat | grep '^[0-9]')
                     66:        @(echo -n '128f: '; ./gen -f mpf_urandomb -z 128 1000 \
                     67:                | ./stat | grep '^[0-9]')
                     68:
                     69: manual-bigtest: gen$(EXEEXT) stat$(EXEEXT)
                     70:        @(echo '16i: '; ./gen -f mpz_urandomb -z 16 50000 \
                     71:                | ./stat -2 1000 -i 0xffff | grep '^K[mp]')
                     72:        @(echo '32i: '; ./gen -f mpz_urandomb -z 32 50000 \
                     73:                | ./stat -2 1000 -i 0xffffffff | grep '^K[mp]')
                     74:        @(echo '33i: '; ./gen -f mpz_urandomb -z 33 50000 \
                     75:                | ./stat -2 1000 -i 0x1ffffffff | grep '^K[mp]')
                     76:        @(echo '64i: '; ./gen -f mpz_urandomb -z 64 50000 \
                     77:                | ./stat -2 1000 -i 0xffffffffffffffff  | grep '^K[mp]')
                     78:        @(echo '128i: '; ./gen -f mpz_urandomb -z 128 50000 \
                     79:                | ./stat -2 1000 -i 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF | grep '^K[mp]')
                     80:
                     81:        @(echo '16f: '; ./gen -f mpf_urandomb -z 16 50000 \
                     82:                | ./stat -2 1000 | grep '^K[mp]')
                     83:        @(echo '32f: '; ./gen -f mpf_urandomb -z 32 50000 \
                     84:                | ./stat -2 1000 | grep '^K[mp]')
                     85:        @(echo '33f: '; ./gen -f mpf_urandomb -z 33 50000 \
                     86:                | ./stat -2 1000 | grep '^K[mp]')
                     87:        @(echo '64f: '; ./gen -f mpf_urandomb -z 64 50000 \
                     88:                | ./stat -2 1000 | grep '^K[mp]')
                     89:        @(echo '128f: '; ./gen -f mpf_urandomb -z 128 50000 \
                     90:                | ./stat -2 1000 | grep '^K[mp]')

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>