1 ACLOCAL_AMFLAGS = -I m4
3 EXTRA_DIST = LICENSE LICENSE_dbus_patch LICENSE_MurmurHash
10 -I$(top_srcdir)/src/test
19 # ------------------------------------------------------------------------------
20 lib_LTLIBRARIES += libmurmurhash-internal.la
22 libmurmurhash_internal_la_SOURCES = \
23 src/murmurhash/MurmurHash3.h \
24 src/murmurhash/MurmurHash3.cpp
26 # ------------------------------------------------------------------------------
27 lib_LTLIBRARIES += libCommonAPI-DBus.la
29 libCommonAPI_DBus_la_SOURCES = \
30 src/CommonAPI/DBus/DBusAddressTranslator.cpp \
31 src/CommonAPI/DBus/DBusConnection.cpp \
32 src/CommonAPI/DBus/DBusDaemonProxy.cpp \
33 src/CommonAPI/DBus/DBusError.cpp \
34 src/CommonAPI/DBus/DBusFunctionalHash.cpp \
35 src/CommonAPI/DBus/DBusInputStream.cpp \
36 src/CommonAPI/DBus/DBusMessage.cpp \
37 src/CommonAPI/DBus/DBusObjectManager.cpp \
38 src/CommonAPI/DBus/DBusOutputStream.cpp \
39 src/CommonAPI/DBus/DBusProxy.cpp \
40 src/CommonAPI/DBus/DBusFactory.cpp \
41 src/CommonAPI/DBus/DBusRuntime.cpp \
42 src/CommonAPI/DBus/DBusServiceRegistry.cpp \
43 src/CommonAPI/DBus/DBusServiceStatusEvent.cpp \
44 src/CommonAPI/DBus/DBusStubAdapter.cpp
46 libCommonAPI_DBus_la_LIBADD = \
47 libmurmurhash-internal.la \
50 CommonAPI_DBus_includedir=$(includedir)/CommonAPI-${VERSION}/CommonAPI/DBus
51 CommonAPI_DBus_include_HEADERS = \
52 src/CommonAPI/DBus/DBusAddressTranslator.h \
53 src/CommonAPI/DBus/DBusAttribute.h \
54 src/CommonAPI/DBus/DBusConnection.h \
55 src/CommonAPI/DBus/DBusDaemonProxy.h \
56 src/CommonAPI/DBus/DBusError.h \
57 src/CommonAPI/DBus/DBusEvent.h \
58 src/CommonAPI/DBus/DBusFunctionalHash.h \
59 src/CommonAPI/DBus/DBusHelper.h \
60 src/CommonAPI/DBus/DBusInputStream.h \
61 src/CommonAPI/DBus/DBusMessage.h \
62 src/CommonAPI/DBus/DBusMultiEvent.h \
63 src/CommonAPI/DBus/DBusObjectManager.h \
64 src/CommonAPI/DBus/DBusOutputStream.h \
65 src/CommonAPI/DBus/DBusProxy.h \
66 src/CommonAPI/DBus/DBusProxyAsyncCallbackHandler.h \
67 src/CommonAPI/DBus/DBusProxyConnection.h \
68 src/CommonAPI/DBus/DBusFactory.h \
69 src/CommonAPI/DBus/DBusProxyHelper.h \
70 src/CommonAPI/DBus/DBusRuntime.h \
71 src/CommonAPI/DBus/DBusSerializableArguments.h \
72 src/CommonAPI/DBus/DBusServiceRegistry.h \
73 src/CommonAPI/DBus/DBusServiceStatusEvent.h \
74 src/CommonAPI/DBus/DBusStubAdapter.h \
75 src/CommonAPI/DBus/DBusStubAdapterHelper.h \
76 src/CommonAPI/DBus/DBusUtils.h
78 pkgconfigdir = ${libdir}/pkgconfig
79 pkgconfig_DATA = CommonAPI-DBus.pc
81 # ------------------------------------------------------------------------------
84 TestInterfaceSources = \
85 src/test/commonapi/tests/DerivedTypeCollection.cpp \
86 src/test/commonapi/tests/TestInterfaceDBusProxy.cpp \
87 src/test/commonapi/tests/TestInterfaceDBusStubAdapter.cpp \
88 src/test/commonapi/tests/TestInterfaceStubDefault.cpp \
89 src/test/fakeLegacyService/fake/legacy/service/LegacyInterfaceDBusProxy.cpp
92 DBusAddressTranslatorTest \
94 DBusOutputStreamTest \
100 DBusVariantOutputStreamTest \
101 DBusDaemonProxyTest \
102 DBusCommunicationTest \
103 DBusMultipleConnectionTest \
107 TESTS = ${check_PROGRAMS}
108 LDADD_FOR_GTEST = libCommonAPI-DBus.la ${GTEST_LIBS} ${LDADD}
110 DBusAddressTranslatorTest_SOURCES = \
111 src/test/DBusAddressTranslatorTest.cpp \
112 ${TestInterfaceSources}
113 DBusAddressTranslatorTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
114 DBusAddressTranslatorTest_CXXFLAGS = ${GTEST_CXXFLAGS}
115 DBusAddressTranslatorTest_LDADD = ${LDADD_FOR_GTEST}
117 DBusTypeStreamTest_SOURCES = src/test/DBusTypeStreamTest.cpp
118 DBusTypeStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
119 DBusTypeStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
120 DBusTypeStreamTest_LDADD = ${LDADD_FOR_GTEST}
122 DBusVariantOutputStreamTest_SOURCES = src/test/DBusVariantOutputStreamTest.cpp
123 DBusVariantOutputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
124 DBusVariantOutputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
125 DBusVariantOutputStreamTest_LDADD = ${LDADD_FOR_GTEST}
127 DBusBenchmarkingTest_SOURCES = src/test/DBusBenchmarkingTest.cpp
128 DBusBenchmarkingTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
129 DBusBenchmarkingTest_CXXFLAGS = ${GTEST_CXXFLAGS}
130 DBusBenchmarkingTest_LDADD = ${LDADD_FOR_GTEST}
132 DBusCommunicationTest_SOURCES = \
133 src/test/DBusCommunicationTest.cpp \
134 ${TestInterfaceSources}
135 DBusCommunicationTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
136 DBusCommunicationTest_CXXFLAGS = ${GTEST_CXXFLAGS}
137 DBusCommunicationTest_LDADD = ${LDADD_FOR_GTEST}
139 DBusDaemonProxyTest_SOURCES = src/test/DBusDaemonProxyTest.cpp
140 DBusDaemonProxyTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
141 DBusDaemonProxyTest_CXXFLAGS = ${GTEST_CXXFLAGS}
142 DBusDaemonProxyTest_LDADD = ${LDADD_FOR_GTEST}
144 DBusInputStreamTest_SOURCES = \
145 src/test/DBusInputStreamTest.cpp \
146 ${TestInterfaceSources}
147 DBusInputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
148 DBusInputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
149 DBusInputStreamTest_LDADD = ${LDADD_FOR_GTEST}
151 DBusOutputStreamTest_SOURCES = \
152 src/test/DBusOutputStreamTest.cpp \
153 ${TestInterfaceSources}
154 DBusOutputStreamTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
155 DBusOutputStreamTest_CXXFLAGS = ${GTEST_CXXFLAGS}
156 DBusOutputStreamTest_LDADD = ${LDADD_FOR_GTEST}
158 DBusFactoryTest_SOURCES = \
159 src/test/DBusFactoryTest.cpp \
160 ${TestInterfaceSources}
161 DBusFactoryTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
162 DBusFactoryTest_CXXFLAGS = ${GTEST_CXXFLAGS}
163 DBusFactoryTest_LDADD = ${LDADD_FOR_GTEST}
165 DBusRuntimeTest_SOURCES = src/test/DBusRuntimeTest.cpp
166 DBusRuntimeTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
167 DBusRuntimeTest_CXXFLAGS = ${GTEST_CXXFLAGS}
168 DBusRuntimeTest_LDADD = ${LDADD_FOR_GTEST}
170 #DBusStubAdapterTest_SOURCES = src/test/DBusStubAdapterTest.cpp
171 #DBusStubAdapterTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
172 #DBusStubAdapterTest_CXXFLAGS = ${GTEST_CXXFLAGS}
173 #DBusStubAdapterTest_LDADD = ${LDADD} ${GTEST_LIBS} libCommonAPI-DBus.la
175 DBusMultipleConnectionTest_SOURCES = src/test/DBusMultipleConnectionTest.cpp \
176 ${TestInterfaceSources}
177 DBusMultipleConnectionTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
178 DBusMultipleConnectionTest_CXXFLAGS = ${GTEST_CXXFLAGS}
179 DBusMultipleConnectionTest_LDADD = ${LDADD_FOR_GTEST}
181 DBusProxyTest_SOURCES = src/test/DBusProxyTest.cpp
182 DBusProxyTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
183 DBusProxyTest_CXXFLAGS = ${GTEST_CXXFLAGS}
184 DBusProxyTest_LDADD = ${LDADD_FOR_GTEST}
186 DBusVariantTest_SOURCES = src/test/DBusVariantTest.cpp
187 DBusVariantTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
188 DBusVariantTest_CXXFLAGS = ${GTEST_CXXFLAGS}
189 DBusVariantTest_LDADD = ${LDADD_FOR_GTEST}
194 # ------------------------------------------------------------------------------
196 include $(top_srcdir)/aminclude.am
197 EXTRA_DIST += doxygen.cfg
198 MOSTLYCLEANFILES += ${DX_CLEANFILES}
200 # ------------------------------------------------------------------------------
201 MAINTAINERCLEANFILES = \
209 maintainer-clean-local:
212 -rm -f m4/libtool*.m4