Skip to content

Commit b2366e1

Browse files
Oleksandr Motsakmohamed-barakat
authored andcommitted
FIX: libpolys/coeffs/test was not compiled on FreeBSD (renamed into tt-r, and tt-g resp.)
1 parent 9eb0f96 commit b2366e1

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

libpolys/coeffs/Makefile.am

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,27 @@ endif
4646
## for testing...
4747
AM_LDFLAGS = -L${top_builddir}/coeffs -L${top_builddir}/reporter -L${top_builddir}/resources -L${top_builddir}/misc ${USE_FACTORY} -L${top_builddir}/../omalloc
4848

49-
50-
TESTS = test test-g
49+
TESTS = tt-g tt-r
5150
check_PROGRAMS = $(TESTS)
5251

53-
test_SOURCES = test.cc
54-
test_g_SOURCES = test.cc
52+
tt_r_SOURCES = test.cc
53+
tt_g_SOURCES = test.cc
5554

56-
test_LDADD = -lcoeffs ${GMP_LIBS} -lresources -lreporter -lmisc ${FACTORY_LIBS} ${NTL_LIBS} -lomalloc
57-
test_g_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} ${NTL_LIBS} -lomalloc_g
55+
tt_r_LDADD = -lcoeffs ${GMP_LIBS} -lresources -lreporter -lmisc ${FACTORY_LIBS} ${NTL_LIBS} -lomalloc
56+
tt_g_LDADD = -lcoeffs_g ${GMP_LIBS} -lresources_g -lreporter_g -lmisc_g ${FACTORY_LIBS} ${NTL_LIBS} -lomalloc_g
5857

59-
test: gftables
60-
test_g: gftables
58+
tt_r: gftables
59+
tt_g: gftables
6160

62-
test_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
63-
test_g_CFLAGS = ${PIPE}
61+
tt_r_CFLAGS = -O3 -fomit-frame-pointer ${PIPE}
62+
tt_g_CFLAGS = ${PIPE}
6463

65-
test_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS} -fimplicit-templates
66-
test_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} -fimplicit-templates
64+
tt_r_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${PIPE} ${CXXTEMPLFLAGS} -fimplicit-templates
65+
tt_g_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE} ${CXXTEMPLFLAGS} -fimplicit-templates
6766
# -fdiagnostics-show-option
6867

69-
test_CPPFLAGS = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
70-
test_g_CPPFLAGS = -DHAVE_CONFIG_H
68+
tt_r_CPPFLAGS = -DNDEBUG -DOM_NDEBUG -DHAVE_CONFIG_H
69+
tt_g_CPPFLAGS = -DHAVE_CONFIG_H
7170

7271
gftables: ${top_srcdir}/../factory/gftables
7372
ln -snf ${top_srcdir}/../factory/gftables ${builddir}

0 commit comments

Comments
 (0)