xref: /netbsd-src/external/lgpl3/gmp/dist/tests/Makefile.am (revision 9573673d78c64ea1eac42d7f2e9521be89932ae5)
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
21SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx
22
23include ../mpn/Makeasm.am
24
25INCLUDES = -I$(top_srcdir)
26LDADD = libtests.la $(top_builddir)/libgmp.la
27
28check_LTLIBRARIES = libtests.la
29
30EXTRA_libtests_la_SOURCES = amd64call.asm amd64check.c x86call.asm x86check.c \
31    arm32call.asm arm32check.c
32libtests_la_SOURCES = tests.h \
33  memory.c misc.c refmpf.c refmpn.c refmpq.c refmpz.c spinner.c trace.c
34libtests_la_DEPENDENCIES = @CALLING_CONVENTIONS_OBJS@
35libtests_la_LIBADD = $(libtests_la_DEPENDENCIES) $(top_builddir)/libgmp.la
36
37check_PROGRAMS = t-bswap t-constants t-count_zeros t-gmpmax t-hightomask \
38  t-modlinv t-popc t-parity t-sub
39TESTS = $(check_PROGRAMS)
40