Code

Adding all of the library stuff in. Including libtool in configure and libtoolize...
authorTed Gould <ted@gould.cx>
Fri, 1 Jan 2010 04:30:23 +0000 (22:30 -0600)
committerTed Gould <ted@gould.cx>
Fri, 1 Jan 2010 04:30:23 +0000 (22:30 -0600)
autogen.sh
configure.ac
src/extension/dbus/Makefile_insert

index 6a7c6317b2b2e0d373fafe9ba4466f51c4efec7f..eedf7f23caf71f23ff3cb2deff84863a8b0e051c 100755 (executable)
@@ -152,7 +152,7 @@ test $TEST_TYPE $FILE || {
 if test -z "$ACLOCAL_FLAGS"; then
 
     acdir=`$ACLOCAL --print-ac-dir`
-    m4list="glib-2.0.m4 glib-gettext.m4 gtk-2.0.m4 intltool.m4 pkg.m4"
+    m4list="glib-2.0.m4 glib-gettext.m4 gtk-2.0.m4 intltool.m4 pkg.m4 libtool.m4"
 
     for file in $m4list
     do
@@ -179,6 +179,7 @@ attempt_command 'underquoted definition of|[\)\#]Extending' \
        attempt_command '' autoheader
 }
 
+attempt_command '' libtoolize
 attempt_command '' $AUTOMAKE --copy --force --add-missing
 attempt_command '' autoconf
 attempt_command '^(Please add the files|  codeset|  progtest|from the|or directly|You will also|ftp://ftp.gnu.org|$)' \
index 6d673ca0d5c85cc26b75cb23f6630375dfa4e002..5ef78b227db5d37197297a5febf69ba7516c758b 100644 (file)
@@ -30,6 +30,7 @@ AM_PROG_CC_STDC
 AM_PROG_AS
 AC_PROG_RANLIB
 AC_PROG_INTLTOOL(0.22)
+AC_PROG_LIBTOOL
 AC_HEADER_STDC
 INK_SVN_SNAPSHOT_BUILD
 
index 65ead8c9389e0a99388eae9a0439e6e3290dd281..aa4d17f22e7924b92bf89d210f38b6543e1f2bad 100644 (file)
@@ -51,3 +51,31 @@ service_DATA = $(service_in_files:.service.in=.service)
 $(service_DATA): $(service_in_files) Makefile
        @sed -e "s|bindir|$(prefix)|" $<> $@
 
+############################
+# DBus Interface Helper Lib
+############################
+
+lib_LTLIBRARIES = \
+       libinkdbus.la
+
+libinkdbusincludedir = $(includedir)/libinkdbus-0.48/libinkdbus
+libinkdbusinclude_HEADERS = \
+       extension/dbus/wrapper/inkscape-dbus-wrapper.h
+
+libinkdbus_la_SOURCES = \
+       extension/dbus/wrapper/inkscape-dbus-wrapper.h \
+       extension/dbus/wrapper/inkscape-dbus-wrapper.c
+
+libinkdbus_la_LDFLAGS = \
+       -version-info 0:0:0 \
+       -no-undefined \
+       -export-symbols-regex "^[^_d].*"
+
+libinkdbus_la_CFLAGS = \
+       $(DBUS_CFLAGS) \
+       $(INKSCAPE_CFLAGS) \
+       -Wall -Werror
+
+libinkdbus_la_LIBADD = \
+       $(DBUS_LIBS) \
+       $(INKSCAPE_LIBS)