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/DBusAddressTranslator.cpp \
30 src/CommonAPI/DBus/DBusConnection.cpp \
31 src/CommonAPI/DBus/DBusDaemonProxy.cpp \
32 src/CommonAPI/DBus/DBusError.cpp \
33 src/CommonAPI/DBus/DBusFunctionalHash.cpp \
34 src/CommonAPI/DBus/DBusInputStream.cpp \
35 src/CommonAPI/DBus/DBusMessage.cpp \
36 src/CommonAPI/DBus/DBusObjectManager.cpp \
37 src/CommonAPI/DBus/DBusOutputStream.cpp \
38 src/CommonAPI/DBus/DBusProxy.cpp \
39 src/CommonAPI/DBus/DBusFactory.cpp \
40 src/CommonAPI/DBus/DBusRuntime.cpp \
41 src/CommonAPI/DBus/DBusServiceRegistry.cpp \
42 src/CommonAPI/DBus/DBusServiceStatusEvent.cpp \
43 src/CommonAPI/DBus/DBusStubAdapter.cpp
45 libCommonAPI_DBus_la_LIBADD = \
46 libmurmurhash-internal.la \
49 CommonAPI_DBus_includedir=$(includedir)/CommonAPI-${VERSION}/CommonAPI/DBus
50 CommonAPI_DBus_include_HEADERS = \
51 src/CommonAPI/DBus/DBusAddressTranslator.h \
52 src/CommonAPI/DBus/DBusAttribute.h \
53 src/CommonAPI/DBus/DBusConnection.h \
54 src/CommonAPI/DBus/DBusDaemonProxy.h \
55 src/CommonAPI/DBus/DBusError.h \
56 src/CommonAPI/DBus/DBusEvent.h \
57 src/CommonAPI/DBus/DBusFunctionalHash.h \
58 src/CommonAPI/DBus/DBusHelper.h \
59 src/CommonAPI/DBus/DBusInputStream.h \
60 src/CommonAPI/DBus/DBusMessage.h \
61 src/CommonAPI/DBus/DBusMultiEvent.h \
62 src/CommonAPI/DBus/DBusObjectManager.h \
63 src/CommonAPI/DBus/DBusOutputStream.h \
64 src/CommonAPI/DBus/DBusProxy.h \
65 src/CommonAPI/DBus/DBusProxyAsyncCallbackHandler.h \
66 src/CommonAPI/DBus/DBusProxyConnection.h \
67 src/CommonAPI/DBus/DBusFactory.h \
68 src/CommonAPI/DBus/DBusProxyHelper.h \
69 src/CommonAPI/DBus/DBusRuntime.h \
70 src/CommonAPI/DBus/DBusSerializableArguments.h \
71 src/CommonAPI/DBus/DBusServiceRegistry.h \
72 src/CommonAPI/DBus/DBusServiceStatusEvent.h \
73 src/CommonAPI/DBus/DBusStubAdapter.h \
74 src/CommonAPI/DBus/DBusStubAdapterHelper.h \
75 src/CommonAPI/DBus/DBusUtils.h
77 pkgconfigdir = ${libdir}/pkgconfig
78 pkgconfig_DATA = CommonAPI-DBus.pc
80 # ------------------------------------------------------------------------------
83 TestInterfaceSources = \
84 src/test/commonapi/tests/DerivedTypeCollection.cpp \
85 src/test/commonapi/tests/TestInterfaceDBusProxy.cpp \
86 src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp \
87 src/test/commonapi/tests/TestInterfaceStubDefault.cpp \
88 src/test/fakeLegacyService/fake/legacy/service/LegacyInterfaceDBusProxy.cpp
91 DBusAddressTranslatorTest \
93 DBusOutputStreamTest \
99 DBusVariantOutputStreamTest \
100 DBusDaemonProxyTest \
101 DBusCommunicationTest \
102 DBusMultipleConnectionTest \
106 TESTS = ${check_PROGRAMS}
107 LDADD_FOR_GTEST = libCommonAPI-DBus.la ${GTEST_LIBS} ${LDADD}
109 DBusAddressTranslatorTest_SOURCES = \
110 src/test/DBusAddressTranslatorTest.cpp \
111 ${TestInterfaceSources}
112 DBusAddressTranslatorTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
113 DBusAddressTranslatorTest_CXXFLAGS = ${GTEST_CXXFLAGS}
114 DBusAddressTranslatorTest_LDADD = ${LDADD_FOR_GTEST}
116 DBusTypeStreamTest_SOURCES = src/test/DBusTypeStreamTest.cpp
117 DBusTypeStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
118 DBusTypeStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
119 DBusTypeStreamTest_LDADD = ${LDADD_FOR_GTEST}
121 DBusVariantOutputStreamTest_SOURCES = src/test/DBusVariantOutputStreamTest.cpp
122 DBusVariantOutputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
123 DBusVariantOutputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
124 DBusVariantOutputStreamTest_LDADD = ${LDADD_FOR_GTEST}
126 DBusBenchmarkingTest_SOURCES = src/test/DBusBenchmarkingTest.cpp
127 DBusBenchmarkingTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
128 DBusBenchmarkingTest_CXXFLAGS = ${GTEST_CXXFLAGS}
129 DBusBenchmarkingTest_LDADD = ${LDADD_FOR_GTEST}
131 DBusCommunicationTest_SOURCES = \
132 src/test/DBusCommunicationTest.cpp \
133 ${TestInterfaceSources}
134 DBusCommunicationTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
135 DBusCommunicationTest_CXXFLAGS = ${GTEST_CXXFLAGS}
136 DBusCommunicationTest_LDADD = ${LDADD_FOR_GTEST}
138 DBusDaemonProxyTest_SOURCES = src/test/DBusDaemonProxyTest.cpp
139 DBusDaemonProxyTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
140 DBusDaemonProxyTest_CXXFLAGS = ${GTEST_CXXFLAGS}
141 DBusDaemonProxyTest_LDADD = ${LDADD_FOR_GTEST}
143 DBusInputStreamTest_SOURCES = \
144 src/test/DBusInputStreamTest.cpp \
145 ${TestInterfaceSources}
146 DBusInputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
147 DBusInputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
148 DBusInputStreamTest_LDADD = ${LDADD_FOR_GTEST}
150 DBusOutputStreamTest_SOURCES = \
151 src/test/DBusOutputStreamTest.cpp \
152 ${TestInterfaceSources}
153 DBusOutputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
154 DBusOutputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
155 DBusOutputStreamTest_LDADD = ${LDADD_FOR_GTEST}
157 DBusFactoryTest_SOURCES = \
158 src/test/DBusFactoryTest.cpp \
159 ${TestInterfaceSources}
160 DBusFactoryTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
161 DBusFactoryTest_CXXFLAGS = ${GTEST_CXXFLAGS}
162 DBusFactoryTest_LDADD = ${LDADD_FOR_GTEST}
164 DBusRuntimeTest_SOURCES = src/test/DBusRuntimeTest.cpp
165 DBusRuntimeTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
166 DBusRuntimeTest_CXXFLAGS = ${GTEST_CXXFLAGS}
167 DBusRuntimeTest_LDADD = ${LDADD_FOR_GTEST}
169 #DBusStubAdapterTest_SOURCES = src/test/DBusStubAdapterTest.cpp
170 #DBusStubAdapterTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
171 #DBusStubAdapterTest_CXXFLAGS = ${GTEST_CXXFLAGS}
172 #DBusStubAdapterTest_LDADD = ${LDADD} ${GTEST_LIBS} libCommonAPI-DBus.la
174 DBusMultipleConnectionTest_SOURCES = src/test/DBusMultipleConnectionTest.cpp \
175 ${TestInterfaceSources}
176 DBusMultipleConnectionTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
177 DBusMultipleConnectionTest_CXXFLAGS = ${GTEST_CXXFLAGS}
178 DBusMultipleConnectionTest_LDADD = ${LDADD_FOR_GTEST}
180 DBusProxyTest_SOURCES = src/test/DBusProxyTest.cpp
181 DBusProxyTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
182 DBusProxyTest_CXXFLAGS = ${GTEST_CXXFLAGS}
183 DBusProxyTest_LDADD = ${LDADD_FOR_GTEST}
185 DBusVariantTest_SOURCES = src/test/DBusVariantTest.cpp
186 DBusVariantTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
187 DBusVariantTest_CXXFLAGS = ${GTEST_CXXFLAGS}
188 DBusVariantTest_LDADD = ${LDADD_FOR_GTEST}
193 # ------------------------------------------------------------------------------
195 include $(top_srcdir)/aminclude.am
196 EXTRA_DIST += doxygen.cfg
197 MOSTLYCLEANFILES += ${DX_CLEANFILES}
199 # ------------------------------------------------------------------------------
200 MAINTAINERCLEANFILES = \
208 maintainer-clean-local:
211 -rm -f m4/libtool*.m4