From 49ec5eeb226ff77bb3e7f971727c349638922ae8 Mon Sep 17 00:00:00 2001 From: Sandrine Avakian Date: Mon, 16 Nov 2015 11:23:09 +0100 Subject: [PATCH] Added test-ecc as a binary program installed in tools makefile. --- tools/Makefile.am | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 71a222e8b..8a2c21436 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -19,7 +19,7 @@ EXTRA_DIST=xml2lpc_jni.cc lpc2xml_jni.cc if BUILD_TOOLS -bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers lp-autoanswer +bin_PROGRAMS=xml2lpc_test lpc2xml_test lp-gen-wrappers lp-autoanswer lp-test-ecc xml2lpc_test_SOURCES=\ xml2lpc_test.c @@ -48,19 +48,23 @@ lp_autoanswer_LDADD=\ $(top_builddir)/coreapi/liblinphone.la \ $(MEDIASTREAMER_LIBS) +lp_test_ecc_SOURCES=test_ecc.c +lp_test_ecc_CFLAGS=$(COMMON_CFLAGS) +lp_test_ecc_LDADD=$(top_builddir)/coreapi/liblinphone.la + endif + + if ENABLE_TESTS -noinst_PROGRAMS=test_lsd test_ecc test_numbers +noinst_PROGRAMS=test_lsd test_numbers test_lsd_SOURCES=test_lsd.c test_lsd_CFLAGS=$(COMMON_CFLAGS) test_lsd_LDADD=$(top_builddir)/coreapi/liblinphone.la -test_ecc_SOURCES=test_ecc.c -test_ecc_CFLAGS=$(COMMON_CFLAGS) -test_ecc_LDADD=$(top_builddir)/coreapi/liblinphone.la + test_numbers_SOURCES=test_numbers.c test_numbers_CFLAGS=$(COMMON_CFLAGS)