dc85df36ca69305e0bc6592acf11194dbb2e7ece
[platform/upstream/gmp.git] / tests / Makefile.am
1 ## Process this file with automake to generate Makefile.in
2
3 # Copyright 2000, 2001, 2002, 2003, 2004, 2013 Free Software Foundation, Inc.
4 #
5 # This file is part of the GNU MP Library test suite.
6 #
7 # The GNU MP Library test suite is free software; you can redistribute it
8 # and/or modify it under the terms of the GNU General Public License as
9 # published by the Free Software Foundation; either version 3 of the License,
10 # or (at your option) any later version.
11 #
12 # The GNU MP Library test suite is distributed in the hope that it will be
13 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
15 # Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License along with
18 # the GNU MP Library test suite.  If not, see http://www.gnu.org/licenses/.
19
20
21 SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx
22
23 include ../mpn/Makeasm.am
24
25 INCLUDES = -I$(top_srcdir)
26 LDADD = libtests.la $(top_builddir)/libgmp.la
27
28 check_LTLIBRARIES = libtests.la
29
30 EXTRA_libtests_la_SOURCES = amd64call.asm amd64check.c x86call.asm x86check.c \
31     arm32call.asm arm32check.c
32 libtests_la_SOURCES = tests.h \
33   memory.c misc.c refmpf.c refmpn.c refmpq.c refmpz.c spinner.c trace.c
34 libtests_la_DEPENDENCIES = @CALLING_CONVENTIONS_OBJS@
35 libtests_la_LIBADD = $(libtests_la_DEPENDENCIES) $(top_builddir)/libgmp.la
36
37 check_PROGRAMS = t-bswap t-constants t-count_zeros t-gmpmax t-hightomask \
38   t-modlinv t-popc t-parity t-sub
39 TESTS = $(check_PROGRAMS)