[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] clean up Makefile for tests directory
From: |
William Hubbs |
Subject: |
[PATCH 8/8] clean up Makefile for tests directory |
Date: |
Sun, 19 Sep 2010 00:50:25 -0500 |
- remove definition and use of LOCALEDIR since this is not used anywhere
in the tests
- change AM_CFLAGS to AM_CPPFLAGS since these flags should really be
CPPFLAGS
- replace autoconf substitutions with make variables
---
src/tests/Makefile.am | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 134cd17..73cafab 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -1,26 +1,27 @@
+## Process this file with automake to produce Makefile.in
-localedir = $(datadir)/locale
+inc_c_api = -I$(top_srcdir)/src/api/c
inc_local = "-I$(top_srcdir)/include/"
c_api = $(top_builddir)/src/api/c
-AM_CFLAGS = -I$(top_srcdir)/src/api/c -DLOCALEDIR=\"$(localedir)\" $(inc_local)
+AM_CPPFLAGS = $(inc_c_api) $(inc_local)
bin_PROGRAMS = long_message clibrary clibrary2 run_test connection_recovery
long_message_SOURCES = long_message.c
-long_message_LDADD = $(c_api)/libspeechd.la -lpthread @EXTRA_SOCKET_LIBS@
+long_message_LDADD = $(c_api)/libspeechd.la -lpthread $(EXTRA_SOCKET_LIBS)
clibrary_SOURCES = clibrary.c
-clibrary_LDADD = $(c_api)/libspeechd.la -lpthread @EXTRA_SOCKET_LIBS@
+clibrary_LDADD = $(c_api)/libspeechd.la -lpthread $(EXTRA_SOCKET_LIBS)
clibrary2_SOURCES = clibrary2.c
-clibrary2_LDADD = $(c_api)/libspeechd.la -lpthread @EXTRA_SOCKET_LIBS@
+clibrary2_LDADD = $(c_api)/libspeechd.la -lpthread $(EXTRA_SOCKET_LIBS)
connection_recovery_SOURCES = connection-recovery.c
-connection_recovery_LDADD = $(c_api)/libspeechd.la -lpthread
@EXTRA_SOCKET_LIBS@
+connection_recovery_LDADD = $(c_api)/libspeechd.la -lpthread
$(EXTRA_SOCKET_LIBS)
run_test_SOURCES = run_test.c
-run_test_LDADD = $(c_api)/libspeechd.la -lpthread @EXTRA_SOCKET_LIBS@
+run_test_LDADD = $(c_api)/libspeechd.la -lpthread $(EXTRA_SOCKET_LIBS)
EXTRA_DIST= basic.test general.test keys.test priority_progress.test \
pronunciation.test punctuation.test sound_icons.test spelling.test
\
--
1.7.2.2
- [PATCH 1/8] clean up Makefile for c api, William Hubbs, 2010/09/19
- [PATCH 2/8] clean up Makefile for audio directory, William Hubbs, 2010/09/19
- [PATCH 3/8] clean up the Makefile for spd-say, William Hubbs, 2010/09/19
- [PATCH 4/8] clean up the Makefile for spdsend, William Hubbs, 2010/09/19
- [PATCH 5/8] clean up the Makefile for the common source directory, William Hubbs, 2010/09/19
- [PATCH 6/8] clean up the Makefile for the modules directory, William Hubbs, 2010/09/19
- [PATCH 7/8] clean up Makefile for server directory, William Hubbs, 2010/09/19
- [PATCH 8/8] clean up Makefile for tests directory,
William Hubbs <=
- [PATCH 1/8] clean up Makefile for c api, Andrei Kholodnyi, 2010/09/19