xref: /netbsd-src/external/lgpl3/mpfr/dist/tools/bench/Makefile.am (revision 4ac76180e904e771b9d522c7e57296d371f06499)
1# Copyright 2000-2023 Free Software Foundation, Inc.
2# Contributed by the AriC and Caramba projects, INRIA.
3
4# This file is part of the GNU MPFR Library.
5
6# This Makefile.am is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15
16# The ".POSIX" line is needed in particular for GNU "make", so that
17# recipes are invoked as if the shell had been passed the -e flag.
18# But note that since GNU Automake adds non-comment lines before it
19# in its generated Makefile, this does not ensure POSIX behavior with
20# other "make" implementations.
21.POSIX:
22
23AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src
24AM_DEFAULT_SOURCE_EXT = .c
25
26LDADD = $(top_builddir)/src/libmpfr.la
27
28EXTRA_PROGRAMS = mpfrbench
29
30EXTRA_DIST = README
31
32noinst_HEADERS = benchtime.h
33
34bench : mpfrbench
35	./mpfrbench
36