Code

Added wrapper code.
[inkscape.git] / src / extension / dbus / wrapper / Makefile
diff --git a/src/extension/dbus/wrapper/Makefile b/src/extension/dbus/wrapper/Makefile
new file mode 100644 (file)
index 0000000..d13aedf
--- /dev/null
@@ -0,0 +1,3 @@
+wrapper: #inkscape-dbus-wrapper.c inkscape-dbus-wrapper.h
+       gcc -fPIC -c inkscape-dbus-wrapper.c $(shell pkg-config --cflags --libs glib-2.0 gobject-2.0 dbus-glib-1)
+       ld -shared -soname libinkdbus.so.1 -o libinkdbus.so.1.0 -lc inkscape-dbus-wrapper.o