forked from malb/dgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
40 lines (29 loc) · 910 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS=${DEBUG_CFLAGS}
lib_LTLIBRARIES = libdgs.la
libdgs_la_SOURCES = dgs/dgs_bern.c \
dgs/dgs_gauss_dp.c \
dgs/dgs_gauss_mp.c \
dgs/dgs_rround_dp.c \
dgs/dgs_rround_mp.c
pkgincludesubdir = $(includedir)/dgs
pkgincludesub_HEADERS = dgs/dgs_bern.h \
dgs/dgs_gauss.h \
dgs/dgs.h \
dgs/dgs_misc.h \
dgs/dgs_rround.h
libdgs_la_LDFLAGS = -release 0.0.$(RELEASE) -no-undefined
libdgs_la_LIBADD = -lmpfr -lgmp -lm
check_PROGRAMS=test_gauss_z test_rround_z
test_gauss_z_SOURCES=tests/test_gauss_z.c
test_gauss_z_LDFLAGS=-ldgs -lgmp -lmpfr -lm -no-install
test_gauss_z_CFLAGS=$(AM_CFLAGS)
test_rround_z_SOURCES=tests/test_rround_z.c
test_rround_z_LDFLAGS=-ldgs -lgmp -lmpfr -lm -no-install
test_rround_z_CFLAGS=$(AM_CFLAGS)
TESTS = test_gauss_z test_rround_z
# benchmarketing
SUBDIRS = . benchmarks
clean-local:
(cd tests; make clean; cd ..)