diff options
author | Alvaro Soliverez <alvaro.soliverez@collabora.co.uk> | 2011-11-02 10:31:17 -0300 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2011-11-21 14:49:57 +0000 |
commit | f312040d789a823a66a3c044ceaf7da3064529fc (patch) | |
tree | 441c09bc9c189dd24201fdcbb9609188d5540815 /lib | |
parent | b7cfa229c65ecba4d4a5e9e0ea90331e9d5bb269 (diff) | |
download | telepathy-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 'lib')
-rw-r--r-- | lib/gibber/Makefile.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/gibber/Makefile.am b/lib/gibber/Makefile.am index 5a048ea8..d036c72d 100644 --- a/lib/gibber/Makefile.am +++ b/lib/gibber/Makefile.am @@ -110,3 +110,14 @@ AM_LDFLAGS = $(GCOV_LIBS) @GLIB_LIBS@ @LIBXML2_LIBS@ @WOCKY_LIBS@ @LIBSOUP_LIBS@ --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \ --vtail " { 0, NULL, NULL }\n };\n etype = g_@type@_register_static (\"@EnumName@\", values);\n }\n return etype;\n}\n" \ $< > $@ + +Android.mk: Makefile.am $(BUILT_SOURCES) + androgenizer -:PROJECT telepathy-salut -:STATIC gibber-salut \ + -:TAGS eng debug \ + -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ + -:SOURCES $(libgibber_la_SOURCES) \ + -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CFLAGS) \ + -:CPPFLAGS $(CPPFLAGS) $(AM_CPPFLAGS) \ + -:LDFLAGS $(AM_LDFLAGS) \ + > $@ |