xref: /netbsd-src/external/lgpl3/gmp/dist/tests/Makefile.am (revision 72c7faa4dbb41dbb0238d6b4a109da0d4b236dd4)
1## Process this file with automake to generate Makefile.in
2
3# Copyright 2000-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 https://www.gnu.org/licenses/.
19
20
21SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx
22
23include ../mpn/Makeasm.am
24
25AM_CPPFLAGS = -I$(top_srcdir)
26AM_LDFLAGS = -no-install
27LDADD = libtests.la $(top_builddir)/libgmp.la
28
29check_LTLIBRARIES = libtests.la
30
31EXTRA_libtests_la_SOURCES = amd64call.asm amd64check.c x86call.asm x86check.c \
32    arm32call.asm arm32check.c
33libtests_la_SOURCES = tests.h \
34  memory.c misc.c refmpf.c refmpn.c refmpq.c refmpz.c spinner.c trace.c
35libtests_la_DEPENDENCIES = @CALLING_CONVENTIONS_OBJS@
36libtests_la_LIBADD = $(libtests_la_DEPENDENCIES) $(top_builddir)/libgmp.la
37
38check_PROGRAMS = t-bswap t-constants t-count_zeros t-hightomask \
39  t-modlinv t-popc t-parity t-sub
40TESTS = $(check_PROGRAMS)
41