changed build architecture to build seperate libs for main/ecore/glib integration
dbus C has the same feature this enables distribution package creators easier to provide all mainloop integrations without getting to much deps for dbus-c++
This commit is contained in:
parent
1c8e43e6d6
commit
04379cfb7d
16 changed files with 213 additions and 57 deletions
106
src/Makefile.am
106
src/Makefile.am
|
@ -1,56 +1,70 @@
|
|||
lib_LTLIBRARIES = \
|
||||
libdbus-c++-1.la
|
||||
|
||||
libdbus_c___1_la_SOURCES = \
|
||||
connection.cpp \
|
||||
connection_p.h \
|
||||
debug.cpp \
|
||||
dispatcher.cpp \
|
||||
dispatcher_p.h \
|
||||
error.cpp \
|
||||
eventloop.cpp \
|
||||
eventloop-integration.cpp \
|
||||
interface.cpp \
|
||||
internalerror.h \
|
||||
introspection.cpp \
|
||||
message.cpp \
|
||||
message_p.h \
|
||||
object.cpp \
|
||||
pendingcall.cpp \
|
||||
pendingcall_p.h \
|
||||
pipe.cpp \
|
||||
property.cpp \
|
||||
server.cpp \
|
||||
server_p.h \
|
||||
types.cpp
|
||||
|
||||
libdbus_c___1_la_CXXFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-Wno-unused-parameter
|
||||
|
||||
libdbus_c___1_la_LIBADD = \
|
||||
$(dbus_LIBS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(dbus_CFLAGS) \
|
||||
$(glib_CFLAGS) \
|
||||
$(ecore_CFLAGS) \
|
||||
$(PRIVATE_CFLAGS) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_builddir)/include
|
||||
$(ecore_CFLAGS)
|
||||
|
||||
if ENABLE_GLIB
|
||||
GLIB_H = $(HEADER_DIR)/glib-integration.h
|
||||
GLIB_CPP = glib-integration.cpp
|
||||
endif
|
||||
|
||||
if ENABLE_ECORE
|
||||
ECORE_H = $(HEADER_DIR)/ecore-integration.h
|
||||
ECORE_CPP = ecore-integration.cpp
|
||||
endif
|
||||
SUBDIRS = \
|
||||
integration
|
||||
|
||||
HEADER_DIR = $(top_srcdir)/include/dbus-c++
|
||||
HEADER_FILES = \
|
||||
$(HEADER_DIR)/dbus.h \
|
||||
$(HEADER_DIR)/types.h \
|
||||
$(HEADER_DIR)/connection.h \
|
||||
$(HEADER_DIR)/property.h \
|
||||
$(HEADER_DIR)/debug.h \
|
||||
$(HEADER_DIR)/error.h \
|
||||
$(HEADER_DIR)/interface.h \
|
||||
$(HEADER_DIR)/message.h \
|
||||
$(HEADER_DIR)/dispatcher.h \
|
||||
$(HEADER_DIR)/object.h \
|
||||
$(HEADER_DIR)/pendingcall.h \
|
||||
$(HEADER_DIR)/server.h \
|
||||
$(HEADER_DIR)/util.h \
|
||||
$(HEADER_DIR)/refptr_impl.h \
|
||||
$(HEADER_DIR)/introspection.h \
|
||||
$(HEADER_DIR)/api.h \
|
||||
$(HEADER_DIR)/eventloop.h \
|
||||
$(HEADER_DIR)/eventloop-integration.h \
|
||||
$(HEADER_DIR)/pipe.h \
|
||||
$(GLIB_H) $(ECORE_H)
|
||||
libdbus_c___1_HEADERS = \
|
||||
$(HEADER_DIR)/api.h \
|
||||
$(HEADER_DIR)/connection.h \
|
||||
$(HEADER_DIR)/dbus.h \
|
||||
$(HEADER_DIR)/debug.h \
|
||||
$(HEADER_DIR)/dispatcher.h \
|
||||
$(HEADER_DIR)/error.h \
|
||||
$(HEADER_DIR)/eventloop.h \
|
||||
$(HEADER_DIR)/eventloop-integration.h \
|
||||
$(HEADER_DIR)/interface.h \
|
||||
$(HEADER_DIR)/introspection.h \
|
||||
$(HEADER_DIR)/message.h \
|
||||
$(HEADER_DIR)/object.h \
|
||||
$(HEADER_DIR)/pendingcall.h \
|
||||
$(HEADER_DIR)/pipe.h \
|
||||
$(HEADER_DIR)/property.h \
|
||||
$(HEADER_DIR)/refptr_impl.h \
|
||||
$(HEADER_DIR)/server.h \
|
||||
$(HEADER_DIR)/types.h \
|
||||
$(HEADER_DIR)/util.h
|
||||
|
||||
lib_includedir=$(includedir)/dbus-c++-1/dbus-c++/
|
||||
lib_include_HEADERS = $(HEADER_FILES)
|
||||
libdbus_c___1dir=$(includedir)/dbus-c++-1/dbus-c++/
|
||||
|
||||
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 pipe.cpp $(GLIB_CPP) $(ECORE_CPP)
|
||||
EXTRA_DIST = \
|
||||
$(libdbus_c___1_HEADERS)
|
||||
|
||||
libdbus_c___1_la_CXXFLAGS = \
|
||||
-Wno-unused-parameter
|
||||
## File created by the gnome-build tools
|
||||
|
||||
libdbus_c___1_la_LIBADD = $(dbus_LIBS) $(glib_LIBS) $(pthread_LIBS) $(ecore_LIBS)
|
||||
|
||||
libdbus_c___1_la_LDFLAGS = -no-undefined
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in
|
||||
|
|
7
src/integration/Makefile.am
Normal file
7
src/integration/Makefile.am
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
SUBDIRS = \
|
||||
ecore\
|
||||
glib
|
||||
|
||||
## File created by the gnome-build tools
|
||||
|
34
src/integration/ecore/Makefile.am
Normal file
34
src/integration/ecore/Makefile.am
Normal file
|
@ -0,0 +1,34 @@
|
|||
if ENABLE_ECORE
|
||||
|
||||
lib_LTLIBRARIES = \
|
||||
libdbus-c++-ecore-1.la
|
||||
|
||||
libdbus_c___ecore_1_la_SOURCES = \
|
||||
ecore-integration.cpp
|
||||
|
||||
libdbus_c___ecore_1_la_CXXFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-Wno-unused-parameter
|
||||
|
||||
libdbus_c___ecore_1_la_LIBADD = \
|
||||
$(dbus_LIBS) \
|
||||
$(ecore_LIBS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(dbus_CFLAGS) \
|
||||
$(ecore_CFLAGS)
|
||||
|
||||
HEADER_DIR = $(top_srcdir)/include/dbus-c++
|
||||
libdbus_c___ecore_1_HEADERS = \
|
||||
$(HEADER_DIR)/ecore-integration.h
|
||||
|
||||
libdbus_c___ecore_1dir = \
|
||||
$(includedir)/dbus-c++-1/dbus-c++/
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(libdbus_c___ecore_1_HEADERS)
|
||||
|
||||
endif
|
||||
|
||||
## File created by the gnome-build tools
|
||||
|
34
src/integration/glib/Makefile.am
Normal file
34
src/integration/glib/Makefile.am
Normal file
|
@ -0,0 +1,34 @@
|
|||
if ENABLE_GLIB
|
||||
|
||||
lib_LTLIBRARIES = \
|
||||
libdbus-c++-glib-1.la
|
||||
|
||||
libdbus_c___glib_1_la_SOURCES = \
|
||||
glib-integration.cpp
|
||||
|
||||
libdbus_c___glib_1_la_CXXFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-Wno-unused-parameter
|
||||
|
||||
libdbus_c___glib_1_la_LIBADD = \
|
||||
$(dbus_LIBS) \
|
||||
$(glib_LIBS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(dbus_CFLAGS) \
|
||||
$(glib_CFLAGS)
|
||||
|
||||
HEADER_DIR = $(top_srcdir)/include/dbus-c++
|
||||
libdbus_c___glib_1_HEADERS = \
|
||||
$(HEADER_DIR)/glib-integration.h
|
||||
|
||||
libdbus_c___glib_1dir = \
|
||||
$(includedir)/dbus-c++-1/dbus-c++/
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(libdbus_c___glib_1_HEADERS)
|
||||
|
||||
endif
|
||||
|
||||
## File created by the gnome-build tools
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue