From 5a669b5610b3d1ef53719efbeb53c167cb114fe1 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 23 Sep 2011 09:08:08 +0100 Subject: [PATCH 3/5] gabble: build on Android too Signed-off-by: Jonny Lamb --- Android.mk | 4 +++- gabble/Makefile.am | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/Android.mk b/Android.mk index e45694d..c1ac105 100644 --- a/Android.mk +++ b/Android.mk @@ -4,7 +4,8 @@ include $(CLEAR_VARS) YTSTENUT_PLUGINS_BUILT_SOURCES := \ mission-control/Android.mk \ - salut/Android.mk + salut/Android.mk \ + gabble/Android.mk ytstenut-plugins-configure-real: cd $(YTSTENUT_PLUGINS_TOP) ; \ @@ -34,3 +35,4 @@ CONFIGURE_TARGETS += ytstenut-plugins-configure #include all the subdirs... -include $(YTSTENUT_PLUGINS_TOP)/mission-control/Android.mk -include $(YTSTENUT_PLUGINS_TOP)/salut/Android.mk +-include $(YTSTENUT_PLUGINS_TOP)/gabble/Android.mk diff --git a/gabble/Makefile.am b/gabble/Makefile.am index e0ad1bf..8c24668 100644 --- a/gabble/Makefile.am +++ b/gabble/Makefile.am @@ -29,3 +29,14 @@ ytstenut_gabble_la_SOURCES = \ $(top_srcdir)/plugin-base/utils.c \ $(top_srcdir)/plugin-base/utils.h +Android.mk: Makefile.am + androgenizer -:PROJECT ytstenut-plugins \ + -:SHARED ytstenut-gabble -:TAGS eng debug \ + -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ + -:SOURCES $(ytstenut_gabble_la_SOURCES) \ + -:CFLAGS $(DEFS) $(CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CFLAGS) -I../../wocky \ + -:CPPFLAGS $(CPPFLAGS) $(AM_CPPFLAGS) \ + -:LDFLAGS $(AM_LDFLAGS) $(ytstenut_gabble_la_LIBADD) -lwocky \ + -ltelepathy-gabble -lxml2 \ + > $@ -- 1.7.7