xref: /netbsd-src/external/lgpl3/gmp/dist/tests/devel/Makefile.am (revision e5d758f832e07a177fa24707c434b7ce26d0f762)
1## Process this file with automake to generate Makefile.in
2
3# Copyright 2000-2002, 2018 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
21AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests
22AM_LDFLAGS = -no-install
23LDADD = $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
24
25# add_n_sub_n add_n_sub_n_2 not yet built since mpn_add_n_sub_n doesn't yet exist
26#
27EXTRA_PROGRAMS = \
28  aors_n anymul_1 copy divmod_1 divrem shift logops_n sqrtrem_1_2 primes tst-addsub try addmul_N mul_N cnd_aors_n
29
30allprogs: $(EXTRA_PROGRAMS)
31
32CLEANFILES = $(EXTRA_PROGRAMS)
33
34$(top_builddir)/tests/libtests.la:
35	cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la
36