1 ACLOCAL_AMFLAGS = -I m4
3 EXTRA_DIST = LICENSE LICENSE_dbus_patch LICENSE_MurmurHash
18 # ------------------------------------------------------------------------------
19 lib_LTLIBRARIES += libmurmurhash-internal.la
21 libmurmurhash_internal_la_SOURCES = \
22 src/murmurhash/MurmurHash3.h \
23 src/murmurhash/MurmurHash3.cpp
25 # ------------------------------------------------------------------------------
26 lib_LTLIBRARIES += libCommonAPI-DBus.la
28 libCommonAPI_DBus_la_SOURCES = \
29 src/CommonAPI/DBus/DBusConnection.cpp \
30 src/CommonAPI/DBus/DBusDaemonProxy.cpp \
31 src/CommonAPI/DBus/DBusError.cpp \
32 src/CommonAPI/DBus/DBusFunctionalHash.cpp \
33 src/CommonAPI/DBus/DBusInputStream.cpp \
34 src/CommonAPI/DBus/DBusMessage.cpp \
35 src/CommonAPI/DBus/DBusObjectManager.cpp \
36 src/CommonAPI/DBus/DBusOutputStream.cpp \
37 src/CommonAPI/DBus/DBusProxy.cpp \
38 src/CommonAPI/DBus/DBusFactory.cpp \
39 src/CommonAPI/DBus/DBusRuntime.cpp \
40 src/CommonAPI/DBus/DBusServiceRegistry.cpp \
41 src/CommonAPI/DBus/DBusServiceStatusEvent.cpp \
42 src/CommonAPI/DBus/DBusStubAdapter.cpp
44 libCommonAPI_DBus_la_LIBADD = \
45 libmurmurhash-internal.la \
48 CommonAPI_DBus_includedir=$(includedir)/CommonAPI-${VERSION}/CommonAPI/DBus
49 CommonAPI_DBus_include_HEADERS = \
50 src/CommonAPI/DBus/DBusAttribute.h \
51 src/CommonAPI/DBus/DBusConnection.h \
52 src/CommonAPI/DBus/DBusDaemonProxy.h \
53 src/CommonAPI/DBus/DBusError.h \
54 src/CommonAPI/DBus/DBusEvent.h \
55 src/CommonAPI/DBus/DBusFunctionalHash.h \
56 src/CommonAPI/DBus/DBusHelper.h \
57 src/CommonAPI/DBus/DBusInputStream.h \
58 src/CommonAPI/DBus/DBusMessage.h \
59 src/CommonAPI/DBus/DBusMultiEvent.h \
60 src/CommonAPI/DBus/DBusObjectManager.h \
61 src/CommonAPI/DBus/DBusOutputStream.h \
62 src/CommonAPI/DBus/DBusProxy.h \
63 src/CommonAPI/DBus/DBusProxyAsyncCallbackHandler.h \
64 src/CommonAPI/DBus/DBusProxyConnection.h \
65 src/CommonAPI/DBus/DBusFactory.h \
66 src/CommonAPI/DBus/DBusProxyHelper.h \
67 src/CommonAPI/DBus/DBusRuntime.h \
68 src/CommonAPI/DBus/DBusSerializableArguments.h \
69 src/CommonAPI/DBus/DBusServiceRegistry.h \
70 src/CommonAPI/DBus/DBusServiceStatusEvent.h \
71 src/CommonAPI/DBus/DBusStubAdapter.h \
72 src/CommonAPI/DBus/DBusStubAdapterHelper.h \
73 src/CommonAPI/DBus/DBusUtils.h
75 pkgconfigdir = ${libdir}/pkgconfig
76 pkgconfig_DATA = CommonAPI-DBus.pc
78 # ------------------------------------------------------------------------------
81 TestInterfaceSources = \
82 src/test/commonapi/tests/DerivedTypeCollection.cpp \
83 src/test/commonapi/tests/TestInterfaceDBusProxy.cpp \
84 src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp \
85 src/test/commonapi/tests/TestInterfaceStubDefault.cpp
89 DBusOutputStreamTest \
95 DBusVariantOutputStreamTest \
97 DBusCommunicationTest \
98 DBusMultipleConnectionTest \
102 TESTS = ${check_PROGRAMS}
103 LDADD_FOR_GTEST = libCommonAPI-DBus.la ${GTEST_LIBS} -lpthread ${LDADD} -lpthread
105 DBusTypeStreamTest_SOURCES = src/test/DBusTypeStreamTest.cpp
106 DBusTypeStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
107 DBusTypeStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
108 DBusTypeStreamTest_LDADD = ${LDADD_FOR_GTEST}
110 DBusVariantOutputStreamTest_SOURCES = src/test/DBusVariantOutputStreamTest.cpp
111 DBusVariantOutputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
112 DBusVariantOutputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
113 DBusVariantOutputStreamTest_LDADD = ${LDADD_FOR_GTEST}
115 DBusBenchmarkingTest_SOURCES = src/test/DBusBenchmarkingTest.cpp
116 DBusBenchmarkingTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
117 DBusBenchmarkingTest_CXXFLAGS = ${GTEST_CXXFLAGS}
118 DBusBenchmarkingTest_LDADD = ${LDADD_FOR_GTEST}
120 DBusCommunicationTest_SOURCES = \
121 src/test/DBusCommunicationTest.cpp \
122 ${TestInterfaceSources}
123 DBusCommunicationTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
124 DBusCommunicationTest_CXXFLAGS = ${GTEST_CXXFLAGS}
125 DBusCommunicationTest_LDADD = ${LDADD_FOR_GTEST}
127 DBusDaemonProxyTest_SOURCES = src/test/DBusDaemonProxyTest.cpp
128 DBusDaemonProxyTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
129 DBusDaemonProxyTest_CXXFLAGS = ${GTEST_CXXFLAGS}
130 DBusDaemonProxyTest_LDADD = ${LDADD_FOR_GTEST}
132 DBusInputStreamTest_SOURCES = src/test/DBusInputStreamTest.cpp
133 DBusInputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
134 DBusInputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
135 DBusInputStreamTest_LDADD = ${LDADD_FOR_GTEST}
137 DBusOutputStreamTest_SOURCES = src/test/DBusOutputStreamTest.cpp
138 DBusOutputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
139 DBusOutputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
140 DBusOutputStreamTest_LDADD = ${LDADD_FOR_GTEST}
142 DBusFactoryTest_SOURCES = \
143 src/test/DBusFactoryTest.cpp \
144 ${TestInterfaceSources}
145 DBusFactoryTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
146 DBusFactoryTest_CXXFLAGS = ${GTEST_CXXFLAGS}
147 DBusFactoryTest_LDADD = ${LDADD_FOR_GTEST}
149 DBusRuntimeTest_SOURCES = src/test/DBusRuntimeTest.cpp
150 DBusRuntimeTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
151 DBusRuntimeTest_CXXFLAGS = ${GTEST_CXXFLAGS}
152 DBusRuntimeTest_LDADD = ${LDADD_FOR_GTEST}
154 #DBusStubAdapterTest_SOURCES = src/test/DBusStubAdapterTest.cpp
155 #DBusStubAdapterTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
156 #DBusStubAdapterTest_CXXFLAGS = ${GTEST_CXXFLAGS}
157 #DBusStubAdapterTest_LDADD = ${LDADD} ${GTEST_LIBS} libCommonAPI-DBus.la
159 DBusMultipleConnectionTest_SOURCES = src/test/DBusMultipleConnectionTest.cpp \
160 ${TestInterfaceSources}
161 DBusMultipleConnectionTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
162 DBusMultipleConnectionTest_CXXFLAGS = ${GTEST_CXXFLAGS}
163 DBusMultipleConnectionTest_LDADD = ${LDADD_FOR_GTEST}
165 DBusProxyTest_SOURCES = src/test/DBusProxyTest.cpp
166 DBusProxyTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
167 DBusProxyTest_CXXFLAGS = ${GTEST_CXXFLAGS}
168 DBusProxyTest_LDADD = ${LDADD_FOR_GTEST}
170 DBusVariantTest_SOURCES = src/test/DBusVariantTest.cpp
171 DBusVariantTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
172 DBusVariantTest_CXXFLAGS = ${GTEST_CXXFLAGS}
173 DBusVariantTest_LDADD = ${LDADD_FOR_GTEST}
178 # ------------------------------------------------------------------------------
180 include $(top_srcdir)/aminclude.am
181 EXTRA_DIST += doxygen.cfg
182 MOSTLYCLEANFILES += ${DX_CLEANFILES}
184 # ------------------------------------------------------------------------------
185 MAINTAINERCLEANFILES = \
193 maintainer-clean-local:
196 -rm -f m4/libtool*.m4