many changes
This commit is contained in:
parent
af6e9da658
commit
7841877d64
49 changed files with 208 additions and 221 deletions
4
README
4
README
|
@ -0,0 +1,4 @@
|
|||
Debugging
|
||||
---------
|
||||
To compile debugging code configure the project with the --enable-debug option. Then at runtime you may set the environment variable DBUSXX_VERBOSE to '1' to activate debugging and to '0' to deactivate debugging.
|
||||
|
19
autogen.sh
19
autogen.sh
|
@ -1,18 +1,3 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
function autocmd()
|
||||
{
|
||||
echo "Running ${1}..."
|
||||
$* || {
|
||||
echo "Error running ${1}"
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
autocmd libtoolize --force --copy
|
||||
autocmd aclocal
|
||||
autocmd autoheader
|
||||
autocmd automake --add-missing --force-missing --copy -Wall
|
||||
autocmd autoconf
|
||||
|
||||
echo "Autogen done, now you can ./configure"
|
||||
./bootstrap && ./configure $@
|
||||
|
|
|
@ -1,63 +0,0 @@
|
|||
dnl AX_CONFIG_PRIVATE_HEADER
|
||||
dnl
|
||||
dnl Parameter 1: Output file for private config header (Default: config-private.h)
|
||||
dnl Parameter 2: Library name
|
||||
dnl Parameter 3: define for header include (Default: HAVE_capitalize(Library name)_CONFIG_H
|
||||
dnl needs to be redefined if library name containes a char that isn't allowed in #define
|
||||
dnl
|
||||
AC_DEFUN([AX_CONFIG_PRIVATE_HEADER],
|
||||
[
|
||||
|
||||
if test x$# = x0; then
|
||||
dnl define a fallback output if nothing given
|
||||
CONFIG_HEADER="config-private.h"
|
||||
else
|
||||
CONFIG_HEADER=$1
|
||||
fi
|
||||
|
||||
CF_NAME=`basename $1`
|
||||
DATE=`date`
|
||||
|
||||
dnl Create new file or empty it
|
||||
echo "/* File: $CF_NAME generated on $DATE */" > $CONFIG_HEADER
|
||||
|
||||
if test x$# = x2; then
|
||||
echo "" >> $CONFIG_HEADER
|
||||
echo "/* Build configuration for $2 */" >> $CONFIG_HEADER
|
||||
fi
|
||||
|
||||
echo "" >> $CONFIG_HEADER
|
||||
|
||||
if test x$# = x3; then
|
||||
PRIVATE_CFLAGS="-D$3"
|
||||
else
|
||||
PRIVATE_CFLAGS="-DHAVE_$2_CONFIG_H"
|
||||
fi
|
||||
|
||||
AC_SUBST(PRIVATE_CFLAGS)
|
||||
|
||||
])dnl
|
||||
|
||||
dnl AX_DEFINE_PRIVATE
|
||||
dnl
|
||||
dnl
|
||||
dnl
|
||||
dnl
|
||||
dnl
|
||||
AC_DEFUN([AX_DEFINE_PRIVATE],
|
||||
[
|
||||
|
||||
if test x$# = x1; then
|
||||
echo "#define $1" >> $CONFIG_HEADER
|
||||
echo "" >> $CONFIG_HEADER
|
||||
elif test x$# = x2; then
|
||||
echo "#define $1 $2" >> $CONFIG_HEADER
|
||||
echo "" >> $CONFIG_HEADER
|
||||
elif test x$# = x3; then
|
||||
echo "/* $3 */" >> $CONFIG_HEADER
|
||||
echo "#define $1 $2" >> $CONFIG_HEADER
|
||||
echo "" >> $CONFIG_HEADER
|
||||
fi
|
||||
|
||||
])dnl
|
||||
|
40
configure.ac
40
configure.ac
|
@ -4,7 +4,8 @@ AC_PREREQ(2.59)
|
|||
AC_INIT([libdbus-c++], 0.5.0, [shackan@gmail.com])
|
||||
|
||||
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
|
||||
AM_CONFIG_HEADER([include/dbus-c++/config.h])
|
||||
AM_CONFIG_HEADER([config.h])
|
||||
AX_CONFIG_PRIVATE_HEADER(include/dbus-c++/dbus-c++-config.h, dbus-c++,HAVE_DBUSPP_CONFIG_H)
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
|
@ -20,6 +21,13 @@ AC_ARG_ENABLE(debug,
|
|||
[enable_debug=no]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(ecore,
|
||||
AS_HELP_STRING([--enable-ecore],
|
||||
[enable ecore integration]),
|
||||
[enable_ecore=$enableval],
|
||||
[enable_ecore=no]
|
||||
)
|
||||
|
||||
AC_ARG_ENABLE(glib,
|
||||
AS_HELP_STRING([--enable-glib],
|
||||
[enable glib integration]),
|
||||
|
@ -75,17 +83,17 @@ AC_SUBST(dbus_LIBS)
|
|||
|
||||
DBUS_API_STABLE_VERSION=1.0.0
|
||||
PKG_CHECK_EXISTS([dbus-1 < $DBUS_API_STABLE_VERSION],
|
||||
[AC_DEFINE(DBUS_API_SUBJECT_TO_CHANGE, , [unstable DBus])]
|
||||
[AX_DEFINE_PRIVATE(DBUS_API_SUBJECT_TO_CHANGE, , [unstable DBus])]
|
||||
)
|
||||
|
||||
DBUS_THREADS_INIT_DEFAULT_VERSION=0.93
|
||||
PKG_CHECK_EXISTS([dbus-1 >= $DBUS_THREADS_INIT_DEFAULT_VERSION],
|
||||
[AC_DEFINE(DBUS_HAS_THREADS_INIT_DEFAULT, , [dbus_threads_init_default (needs DBus >= 0.93)])]
|
||||
[AX_DEFINE_PRIVATE(DBUS_HAS_THREADS_INIT_DEFAULT, , [dbus_threads_init_default (needs DBus >= 0.93)])]
|
||||
)
|
||||
|
||||
DBUS_RECURSIVE_MUTEX_VERSION=0.95
|
||||
PKG_CHECK_EXISTS([dbus-1 >= $DBUS_RECURSIVE_MUTEX_VERSION],
|
||||
[AC_DEFINE(DBUS_HAS_RECURSIVE_MUTEX, , [DBus supports recursive mutexes (needs DBus >= 0.95)])]
|
||||
[AX_DEFINE_PRIVATE(DBUS_HAS_RECURSIVE_MUTEX, , [DBus supports recursive mutexes (needs DBus >= 0.95)])]
|
||||
)
|
||||
|
||||
|
||||
|
@ -105,6 +113,15 @@ AM_CONDITIONAL(ENABLE_GLIB, test 0 = 1)
|
|||
AM_CONDITIONAL(HAVE_GTKMM, test 0 = 1)
|
||||
fi
|
||||
|
||||
if test "$enable_ecore" = "yes" ; then
|
||||
PKG_CHECK_MODULES([ecore], ecore)
|
||||
AC_SUBST(ecore_CFLAGS)
|
||||
AC_SUBST(ecore_LIBS)
|
||||
AM_CONDITIONAL(ENABLE_ECORE, test 1 = 1)
|
||||
else
|
||||
AM_CONDITIONAL(ENABLE_ECORE, test 0 = 1)
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB([expat], XML_ParserCreate_MM,
|
||||
[AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false)],
|
||||
have_expat=false)
|
||||
|
@ -120,14 +137,15 @@ xml_LIBS=-lexpat
|
|||
AC_SUBST(xml_CFLAGS)
|
||||
AC_SUBST(xml_LIBS)
|
||||
|
||||
AC_CHECK_LIB([pthread], pthread_create,
|
||||
[AC_CHECK_HEADERS(pthread.h, have_pthread=true, have_pthread=false)],
|
||||
have_pthread=false)
|
||||
|
||||
AM_CONDITIONAL(HAVE_PTHREAD, test "$have_pthread" = "true")
|
||||
ACX_PTHREAD
|
||||
if test x"$acx_pthread_ok" = xyes; then
|
||||
AC_DEFINE(HAVE_PTHREAD_H, 1, [Define to enable pthread support])
|
||||
AM_CONDITIONAL(HAVE_PTHREAD, test x"$acx_pthread_ok" = xyes)
|
||||
fi
|
||||
|
||||
if test "$enable_debug" = "yes" ; then
|
||||
CXXFLAGS="$CXXFLAGS -Wall -ggdb -O0 -DDEBUG"
|
||||
CXXFLAGS="$CXXFLAGS -Wall -ggdb -O0"
|
||||
AC_DEFINE(DEBUG, 1, [Define to enable debug build])
|
||||
else
|
||||
CXXFLAGS="$CXXFLAGS -Wall -O3"
|
||||
fi
|
||||
|
@ -173,7 +191,6 @@ AC_ARG_WITH(build-libdbus-cxx,
|
|||
)
|
||||
AC_SUBST(BUILD_LIBDBUS_CXX_DIR)
|
||||
|
||||
|
||||
# Save processed files
|
||||
|
||||
AC_OUTPUT(
|
||||
|
@ -189,5 +206,6 @@ AC_OUTPUT(
|
|||
examples/hal/Makefile
|
||||
examples/glib/Makefile
|
||||
dbus-c++-1.pc
|
||||
dbus-c++-1-uninstalled.pc
|
||||
libdbus-c++.spec
|
||||
)
|
||||
|
|
|
@ -15,7 +15,8 @@ noinst_PROGRAMS += echo-client-mt
|
|||
endif
|
||||
|
||||
echo_client_mt_SOURCES = echo-client-glue.h echo-client.h echo-client.cpp
|
||||
echo_client_mt_LDADD = $(top_builddir)/src/libdbus-c++-1.la -lpthread
|
||||
echo_client_mt_LDADD = $(top_builddir)/src/libdbus-c++-1.la @PTHREAD_LIBS@
|
||||
echo_client_mt_CXXFLAGS = @PTHREAD_CFLAGS@
|
||||
|
||||
echo-client-glue.h: echo-introspect.xml
|
||||
$(top_builddir)/tools/dbusxx-xml2cpp $^ --proxy=$@
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "echo-client.h"
|
||||
#include <iostream>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
static const char* ECHO_SERVER_NAME = "org.freedesktop.DBus.Examples.Echo";
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "echo-server.h"
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -25,10 +25,6 @@
|
|||
#ifndef __DBUSXX_API_H
|
||||
#define __DBUSXX_API_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#endif
|
||||
|
||||
#ifdef GCC_HASCLASSVISIBILITY
|
||||
# define DXXAPILOCAL __attribute__ ((visibility("hidden")))
|
||||
# define DXXAPIPUBLIC __attribute__ ((visibility("default")))
|
||||
|
|
|
@ -1,73 +0,0 @@
|
|||
/* include/dbus-c++/config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* unstable DBus */
|
||||
#undef DBUS_API_SUBJECT_TO_CHANGE
|
||||
|
||||
/* DBus supports recursive mutexes (needs DBus >= 0.95) */
|
||||
#undef DBUS_HAS_RECURSIVE_MUTEX
|
||||
|
||||
/* dbus_threads_init_default (needs DBus >= 0.93) */
|
||||
#undef DBUS_HAS_THREADS_INIT_DEFAULT
|
||||
|
||||
/* to enable hidden symbols */
|
||||
#undef GCC_HASCLASSVISIBILITY
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <expat.h> header file. */
|
||||
#undef HAVE_EXPAT_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define to 1 if you have the <pthread.h> header file. */
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_CONNECTION_H
|
||||
#define __DBUSXX_CONNECTION_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
|
|
@ -25,10 +25,6 @@
|
|||
#ifndef __DBUSXX_DBUS_H
|
||||
#define __DBUSXX_DBUS_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#endif
|
||||
|
||||
#include "types.h"
|
||||
#include "interface.h"
|
||||
#include "object.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_DEBUG_H
|
||||
#define __DBUSXX_DEBUG_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_DISPATCHER_H
|
||||
#define __DBUSXX_DISPATCHER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
@ -45,6 +45,9 @@ public:
|
|||
|
||||
virtual ~Timeout(){}
|
||||
|
||||
/*!
|
||||
* return The dbus timeout interval in miliseconds.
|
||||
*/
|
||||
int interval() const;
|
||||
|
||||
bool enabled() const;
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_ERROR_H
|
||||
#define __DBUSXX_ERROR_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_EVENTLOOP_INTEGRATION_H
|
||||
#define __DBUSXX_EVENTLOOP_INTEGRATION_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_EVENTLOOP_H
|
||||
#define __DBUSXX_EVENTLOOP_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_GLIB_INTEGRATION_H
|
||||
#define __DBUSXX_GLIB_INTEGRATION_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_INTERFACE_H
|
||||
#define __DBUSXX_INTERFACE_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_INTROSPECTION_H
|
||||
#define __DBUSXX_INTROSPECTION_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_MESSAGE_H
|
||||
#define __DBUSXX_MESSAGE_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_OBJECT_H
|
||||
#define __DBUSXX_OBJECT_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_PENDING_CALL_H
|
||||
#define __DBUSXX_PENDING_CALL_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_PROPERTY_H
|
||||
#define __DBUSXX_PROPERTY_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_REFPTR_IMPL_H
|
||||
#define __DBUSXX_REFPTR_IMPL_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_SERVER_H
|
||||
#define __DBUSXX_SERVER_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <list>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_TYPES_H
|
||||
#define __DBUSXX_TYPES_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
#ifndef __DBUSXX_UTIL_H
|
||||
#define __DBUSXX_UTIL_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <dbus-c++/config.h>
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include "api.h"
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
AM_CPPFLAGS = \
|
||||
$(dbus_CFLAGS) \
|
||||
$(glib_CFLAGS) \
|
||||
$(ecore_CFLAGS) \
|
||||
$(PRIVATE_CFLAGS) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_builddir)/include
|
||||
|
||||
|
@ -9,7 +11,12 @@ GLIB_H = $(HEADER_DIR)/glib-integration.h
|
|||
GLIB_CPP = glib-integration.cpp
|
||||
endif
|
||||
|
||||
CONFIG_H = $(top_builddir)/include/dbus-c++/config.h
|
||||
if ENABLE_ECORE
|
||||
ECORE_H = $(HEADER_DIR)/ecore-integration.h $(HEADER_DIR)/Ecore_Dispatcher.h
|
||||
ECORE_CPP = ecore-integration.cpp Ecore_Dispatcher.cpp
|
||||
endif
|
||||
|
||||
CONFIG_H = $(top_builddir)/include/dbus-c++/dbus-c++-config.h
|
||||
|
||||
HEADER_DIR = $(top_srcdir)/include/dbus-c++
|
||||
HEADER_FILES = \
|
||||
|
@ -33,14 +40,14 @@ HEADER_FILES = \
|
|||
$(HEADER_DIR)/api.h \
|
||||
$(HEADER_DIR)/eventloop.h \
|
||||
$(HEADER_DIR)/eventloop-integration.h \
|
||||
$(GLIB_H)
|
||||
$(GLIB_H) $(ECORE_H)
|
||||
|
||||
lib_includedir=$(includedir)/dbus-c++-1/dbus-c++/
|
||||
lib_include_HEADERS = $(HEADER_FILES)
|
||||
|
||||
lib_LTLIBRARIES = libdbus-c++-1.la
|
||||
libdbus_c___1_la_SOURCES = $(HEADER_FILES) interface.cpp object.cpp introspection.cpp debug.cpp types.cpp connection.cpp connection_p.h property.cpp dispatcher.cpp dispatcher_p.h pendingcall.cpp pendingcall_p.h error.cpp internalerror.h message.cpp message_p.h server.cpp server_p.h eventloop.cpp eventloop-integration.cpp $(GLIB_CPP)
|
||||
libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS)
|
||||
libdbus_c___1_la_SOURCES = $(HEADER_FILES) interface.cpp object.cpp introspection.cpp debug.cpp types.cpp connection.cpp connection_p.h property.cpp dispatcher.cpp dispatcher_p.h pendingcall.cpp pendingcall_p.h error.cpp internalerror.h message.cpp message_p.h server.cpp server_p.h eventloop.cpp eventloop-integration.cpp $(GLIB_CPP) $(ECORE_CPP)
|
||||
libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS) $(ecore_LIBS)
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/debug.h>
|
||||
#include <dbus-c++/connection.h>
|
||||
|
|
|
@ -26,7 +26,10 @@
|
|||
#define __DBUSXX_CONNECTION_P_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/connection.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/debug.h>
|
||||
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/dispatcher.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,10 @@
|
|||
#define __DBUSXX_DISPATCHER_P_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/dispatcher.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/message.h>
|
||||
#include <dbus-c++/error.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/eventloop-integration.h>
|
||||
#include <dbus-c++/debug.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/eventloop.h>
|
||||
#include <dbus-c++/debug.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/glib-integration.h>
|
||||
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/debug.h>
|
||||
#include <dbus-c++/interface.h>
|
||||
|
|
|
@ -26,7 +26,10 @@
|
|||
#define __DBUSXX_INTERNALERROR_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/error.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/introspection.h>
|
||||
#include <dbus-c++/object.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/message.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,10 @@
|
|||
#define __DBUSXX_MESSAGE_P_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/message.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/debug.h>
|
||||
#include <dbus-c++/object.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/pendingcall.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,10 @@
|
|||
#define __DBUSXX_PENDING_CALL_P_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/pendingcall.h>
|
||||
|
|
|
@ -21,6 +21,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/debug.h>
|
||||
#include <dbus-c++/property.h>
|
||||
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/debug.h>
|
||||
#include <dbus-c++/server.h>
|
||||
|
|
|
@ -26,7 +26,10 @@
|
|||
#define __DBUSXX_SERVER_P_H
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/server.h>
|
||||
|
|
|
@ -21,6 +21,12 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
#ifdef HAVE_DBUSPP_CONFIG_H
|
||||
#include <dbus-c++/dbus-c++-config.h>
|
||||
#endif
|
||||
|
||||
#include <dbus-c++/types.h>
|
||||
#include <dbus-c++/object.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue