1 ACLOCAL_AMFLAGS = -I m4
4 # Library interface (not package version!)
6 LIBCOMMONAPI_REVISION=1
10 -DCOMMONAPI_INTERNAL_COMPILATION
12 # ------------------------------------------------------------------------------
14 include $(top_srcdir)/aminclude.am
15 EXTRA_DIST += doxygen.cfg
16 MOSTLYCLEANFILES += ${DX_CLEANFILES}
18 # ------------------------------------------------------------------------------
19 MAINTAINERCLEANFILES = \
27 maintainer-clean-local:
34 lib_LTLIBRARIES = libCommonAPI.la
36 libCommonAPI_la_SOURCES = \
37 src/CommonAPI/Runtime.cpp \
38 src/CommonAPI/Configuration.cpp \
39 src/CommonAPI/ServicePublisher.cpp \
40 src/CommonAPI/ContainerUtils.cpp \
41 src/CommonAPI/MainLoopContext.cpp \
42 src/CommonAPI/InputStream.cpp \
43 src/CommonAPI/Factory.cpp \
44 src/CommonAPI/utils.cpp
46 CommonAPI_includedir=$(includedir)/CommonAPI-${COMMONAPI_API_HEADER_VERSION}/CommonAPI
47 CommonAPI_include_HEADERS = \
48 src/CommonAPI/Attribute.h \
49 src/CommonAPI/AttributeExtension.h \
50 src/CommonAPI/ByteBuffer.h \
51 src/CommonAPI/CommonAPI.h \
52 src/CommonAPI/Configuration.h \
53 src/CommonAPI/ContainerUtils.h \
54 src/CommonAPI/Event.h \
55 src/CommonAPI/Factory.h \
56 src/CommonAPI/Factory.hpp \
57 src/CommonAPI/InputStream.h \
58 src/CommonAPI/MainLoopContext.h \
59 src/CommonAPI/MiddlewareInfo.h \
60 src/CommonAPI/OutputStream.h \
61 src/CommonAPI/Proxy.h \
62 src/CommonAPI/ProxyManager.h \
63 src/CommonAPI/Runtime.h \
64 src/CommonAPI/SelectiveEvent.h \
65 src/CommonAPI/SerializableStruct.h \
66 src/CommonAPI/SerializableVariant.h \
67 src/CommonAPI/SerializableVariant.hpp \
68 src/CommonAPI/ServicePublisher.h \
69 src/CommonAPI/ServicePublisher.hpp \
70 src/CommonAPI/Stub.h \
71 src/CommonAPI/types.h \
74 libCommonAPI_la_LIBADD = -ldl
75 libCommonAPI_la_LDFLAGS = \
77 -version-info ${LIBCOMMONAPI_CURRENT}:${LIBCOMMONAPI_REVISION}:${LIBCOMMONAPI_AGE}
79 pkgconfigdir = ${libdir}/pkgconfig
80 pkgconfig_DATA = CommonAPI.pc
82 # ------------------------------------------------------------------------------
89 TESTS = ${check_PROGRAMS}
90 VariantTest_includedir=$(includedir)/CommonAPI-${COMMONAPI_API_HEADER_VERSION}/CommonAPI
91 VariantTest_SOURCES = src/test/VariantTest.cpp
92 VariantTest_CPPFLAGS = ${AM_CPPFLAGS} ${GTEST_CPPFLAGS}
93 VariantTest_CXXFLAGS = ${GTEST_CXXFLAGS} -Isrc
94 VariantTest_LDADD = ${LDADD} ${GTEST_LIBS} libCommonAPI.la
99 asciidoc -a version=@PACKAGE_VERSION@ -b html -o doc/html/README.html README