libbase_la_LIBADD=$(LIBLTDL)
-AM_CFLAGS=$(LTDLINCL)
-AM_CXXFLAGS=$(LTDLINCL)
+libbase_la_CFLAGS=$(LTDLINCL) -DI2_BASE_BUILD
+libbase_la_CXXFLAGS=$(LTDLINCL) -DI2_BASE_BUILD
#ifndef _WIN32
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
- sa.sa_handler = sigint_handler;
+ sa.sa_handler = application_sigint_handler;
sigaction(SIGINT, &sa, NULL);
#endif /* _WIN32 */
configfilecomponent.h \
i2-configfilecomponent.h
-libconfigfilecomponent_la_CXXFLAGS = -I${top_srcdir}/base -I${top_srcdir}/jsonrpc
+libconfigfilecomponent_la_CXXFLAGS = -I${top_srcdir}/base \
+ -I${top_srcdir}/jsonrpc \
+ -I${top_srcdir}/cJSON
libconfigfilecomponent_la_LDFLAGS = -module -version-info 0:0:0 -no-undefined
-libconfigfilecomponent_la_LIBADD = ${top_builddir}/base/libbase.la ${top_builddir}/cJSON/libcJSON.la
\ No newline at end of file
+libconfigfilecomponent_la_LIBADD = ${top_builddir}/base/libbase.la \
+ ${top_builddir}/cJSON/libcJSON.la
\ No newline at end of file
configrpccomponent.h \
i2-configrpccomponent.h
-libconfigrpccomponent_la_CXXFLAGS = -I${top_srcdir}/base -I${top_srcdir}/jsonrpc -I${top_srcdir}/icinga
+libconfigrpccomponent_la_CXXFLAGS = -I${top_srcdir}/base \
+ -I${top_srcdir}/jsonrpc \
+ -I${top_srcdir}/cJSON \
+ -I${top_srcdir}/icinga
libconfigrpccomponent_la_LDFLAGS = -module -version-info 0:0:0 -no-undefined -pthread
libconfigrpccomponent_la_LIBADD = ${top_builddir}/base/libbase.la \
virtualendpoint.h
icinga_CXXFLAGS = -I${top_srcdir}/base \
- -I${top_srcdir}/jsonrpc -I${top_srcdir}
+ -I${top_srcdir}/jsonrpc \
+ -I${top_srcdir}/cJSON \
+ -I${top_srcdir}
icinga_LDFLAGS = $(top_builddir)/jsonrpc/libjsonrpc.la \
$(top_builddir)/base/libbase.la \
void EndpointManager::SendMessage(Endpoint::Ptr source, Endpoint::Ptr destination, JsonRpcMessage::Ptr message)
{
if (destination) {
- destination->SendMessageA(source, message);
+ destination->SendMessage(source, message);
} else {
for (list<Endpoint::Ptr>::iterator i = m_Endpoints.begin(); i != m_Endpoints.end(); i++)
{
netstring.cpp \
netstring.h
-libjsonrpc_la_CXXFLAGS = -I${top_srcdir}/base
+libjsonrpc_la_CFLAGS = -DI2_JSONRPC_BUILD
+libjsonrpc_la_CXXFLAGS = -DI2_JSONRPC_BUILD -I${top_srcdir}/base \
+ -I${top_srcdir}/cJSON