summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel.holtmann@intel.com>2009-05-12 20:35:25 -0700
committerMarcel Holtmann <marcel.holtmann@intel.com>2009-05-12 20:35:25 -0700
commitc0cda597a37d199ab9d16eb2d55ea2e5048e1235 (patch)
tree56629db65e2541ba444d0e4439771b3f214192b4 /unit
parent1897eefb7c98ecd758592262c18741e1a3e16101 (diff)
downloadofono-c0cda597a37d199ab9d16eb2d55ea2e5048e1235.tar.bz2
Fix problem with unit tests and distcheck
Diffstat (limited to 'unit')
-rw-r--r--unit/Makefile.am26
1 files changed, 8 insertions, 18 deletions
diff --git a/unit/Makefile.am b/unit/Makefile.am
index cf64e1ef..06b15086 100644
--- a/unit/Makefile.am
+++ b/unit/Makefile.am
@@ -1,27 +1,17 @@
-noinst_PROGRAMS = test-util test-common test-sms
+noinst_PROGRAMS = test-common test-util test-sms
-test_util_SOURCES = test-util.c ../src/util.c
+test_common_SOURCES = test-common.c $(top_builddir)/src/common.c
-test_util_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ @GTHREAD_LIBS@ -ldl
+test_util_SOURCES = test-util.c $(top_builddir)/src/util.c
-test_util_LDFLAGS = -Wl,--export-dynamic
+test_sms_SOURCES = test-sms.c $(top_builddir)/src/util.c \
+ $(top_builddir)/src/smsutil.c
-test_common_SOURCES = test-common.c ../src/common.c
+LDADD = @GLIB_LIBS@ @GTHREAD_LIBS@
-test_common_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ @GTHREAD_LIBS@ -ldl
+AM_CFLAGS = @GTHREAD_CFLAGS@ @GLIB_CFLAGS@
-test_common_LDFLAGS = -Wl,--export-dynamic
-
-test_sms_SOURCES = test-sms.c ../src/util.c ../src/smsutil.c
-
-test_sms_LDADD = @GDBUS_LIBS@ @GLIB_LIBS@ @GTHREAD_LIBS@ -ldl
-
-test_sms_LDFLAGS = -Wl,--export-dynamic
-
-AM_CFLAGS = @GTHREAD_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ \
- -DOFONO_API_SUBJECT_TO_CHANGE
-
-INCLUDES = -I$(top_builddir)/include -I$(top_builddir) -I$(top_builddir)/src
+INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/src
MAINTAINERCLEANFILES = Makefile.in