diff options
author | Marcel Holtmann <marcel.holtmann@intel.com> | 2009-05-12 20:35:25 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel.holtmann@intel.com> | 2009-05-12 20:35:25 -0700 |
commit | c0cda597a37d199ab9d16eb2d55ea2e5048e1235 (patch) | |
tree | 56629db65e2541ba444d0e4439771b3f214192b4 | |
parent | 1897eefb7c98ecd758592262c18741e1a3e16101 (diff) | |
download | ofono-c0cda597a37d199ab9d16eb2d55ea2e5048e1235.tar.bz2 |
Fix problem with unit tests and distcheck
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | unit/Makefile.am | 26 |
4 files changed, 15 insertions, 21 deletions
@@ -28,3 +28,7 @@ src/ofono.exp src/ofono.ver plugins/builtin.h drivers/builtin.h + +unit/test-common +unit/test-util +unit/test-sms diff --git a/Makefile.am b/Makefile.am index a6996a06..2bcf878d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = gdbus gatchat include plugins drivers src unit doc +SUBDIRS = gdbus gatchat include plugins drivers unit src doc DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles diff --git a/configure.ac b/configure.ac index 258eb5fc..36fec5f1 100644 --- a/configure.ac +++ b/configure.ac @@ -87,5 +87,5 @@ AM_CONDITIONAL(DATAFILES, test "${enable_datafiles}" != "no") AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile include/Makefile include/version.h src/Makefile - plugins/Makefile drivers/Makefile doc/Makefile - unit/Makefile) + plugins/Makefile drivers/Makefile unit/Makefile + doc/Makefile) 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 |