mirror of git://git.sysmocom.de/ofono
Fix problem with unit tests and distcheck
This commit is contained in:
parent
1897eefb7c
commit
c0cda597a3
|
@ -28,3 +28,7 @@ src/ofono.exp
|
||||||
src/ofono.ver
|
src/ofono.ver
|
||||||
plugins/builtin.h
|
plugins/builtin.h
|
||||||
drivers/builtin.h
|
drivers/builtin.h
|
||||||
|
|
||||||
|
unit/test-common
|
||||||
|
unit/test-util
|
||||||
|
unit/test-sms
|
||||||
|
|
|
@ -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
|
DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles
|
||||||
|
|
||||||
|
|
|
@ -87,5 +87,5 @@ AM_CONDITIONAL(DATAFILES, test "${enable_datafiles}" != "no")
|
||||||
|
|
||||||
AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile
|
AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile
|
||||||
include/Makefile include/version.h src/Makefile
|
include/Makefile include/version.h src/Makefile
|
||||||
plugins/Makefile drivers/Makefile doc/Makefile
|
plugins/Makefile drivers/Makefile unit/Makefile
|
||||||
unit/Makefile)
|
doc/Makefile)
|
||||||
|
|
|
@ -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
|
INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/src
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
Loading…
Reference in New Issue