diff options
-rw-r--r-- | src/dbus/qt/Makefile.am | 5 | ||||
-rw-r--r-- | src/dbus/qt/configure-sub.in | 1 | ||||
-rw-r--r-- | src/dbus/qt/syncevolution-qt-dbus.pc.in | 11 |
3 files changed, 17 insertions, 0 deletions
diff --git a/src/dbus/qt/Makefile.am b/src/dbus/qt/Makefile.am index 9fbe0143..c14d76af 100644 --- a/src/dbus/qt/Makefile.am +++ b/src/dbus/qt/Makefile.am @@ -46,6 +46,11 @@ libsyncevolution_qt_dbus_la_CPPFLAGS = $(AM_CPPFLAGS) $(QT_CPPFLAGS) # unused parameters in some inline functions). libsyncevolution_qt_dbus_la_CXXFLAGS = $(SYNCEVOLUTION_CXXFLAGS) $(filter-out -O2 -g -W -Wall, $(QT_CXXFLAGS)) +DISTCLEANFILES = syncevolution-qt-dbus.pc +EXTRA_DIST = syncevolution-qt-dbus.pc.in +pkgconfig_DATA = syncevolution-qt-dbus.pc +pkgconfigdir = $(libdir)/pkgconfig + syncevo-server-full.cpp: ../dbus/interfaces/syncevo-server-full.xml if test -f $@; then touch $@; else qdbusxml2cpp -p $* -i dbustypes.h $< ; fi syncevo-session-full.cpp: ../dbus/interfaces/syncevo-session-full.xml diff --git a/src/dbus/qt/configure-sub.in b/src/dbus/qt/configure-sub.in index 88d27d11..707ed125 100644 --- a/src/dbus/qt/configure-sub.in +++ b/src/dbus/qt/configure-sub.in @@ -14,3 +14,4 @@ fi AM_CONDITIONAL([ENABLE_QT_DBUS], [test "$enable_qt_dbus" = "yes"]) AC_SUBST(QT_DBUS_LIBS) +AC_CONFIG_FILES(src/dbus/qt/syncevolution-qt-dbus.pc) diff --git a/src/dbus/qt/syncevolution-qt-dbus.pc.in b/src/dbus/qt/syncevolution-qt-dbus.pc.in new file mode 100644 index 00000000..c69843e4 --- /dev/null +++ b/src/dbus/qt/syncevolution-qt-dbus.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: syncevolution-qt-dbus +Description: SyncEvolution Qt D-Bus bindings +Version: @VERSION@ +Cflags: -I${includedir} +Requires: QtDBus +Libs: -L${libdir} -lsyncevolution-qt-dbus |