summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorAlvaro Soliverez <alvaro.soliverez@collabora.co.uk>2011-11-02 10:31:17 -0300
committerWill Thompson <will.thompson@collabora.co.uk>2011-11-21 14:49:57 +0000
commitf312040d789a823a66a3c044ceaf7da3064529fc (patch)
tree441c09bc9c189dd24201fdcbb9609188d5540815 /extensions
parentb7cfa229c65ecba4d4a5e9e0ea90331e9d5bb269 (diff)
downloadtelepathy-salut-f312040d789a823a66a3c044ceaf7da3064529fc.tar.gz
Support building for Android.
This adds an autogen.sh and configure flag, --disable-submodules, to disable fetching the Wocky submodule (the flag is plural for consistency with other components), adds some missing compiler and linker flags, and adds targets for Androgenizer. Modified from a patch contributed by Derek Foreman. https://bugs.freedesktop.org/show_bug.cgi?id=42515
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/Makefile.am b/extensions/Makefile.am
index de6c2566..8e2e7679 100644
--- a/extensions/Makefile.am
+++ b/extensions/Makefile.am
@@ -109,3 +109,15 @@ _gen/svc.c _gen/svc.h: _gen/all.xml $(tools_dir)/glib-ginterface-gen.py
--not-implemented-func='tp_dbus_g_method_return_not_implemented' \
--allow-unstable \
$< Salut_Svc_
+
+Android.mk: Makefile.am $(BUILT_SOURCES)
+ androgenizer -:PROJECT telepathy-salut -:SHARED salut-extensions \
+ -:TAGS eng debug \
+ -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
+ -:SOURCES $(nodist_libsalut_extensions_la_SOURCES) \
+ $(libsalut_extensions_la_SOURCES) \
+ -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CFLAGS) \
+ -:CPPFLAGS $(CPPFLAGS) $(AM_CPPFLAGS) \
+ -:LDFLAGS $(AM_LDFLAGS) \
+ > $@