aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..ae23d3c
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,16 @@
+LOCAL_PATH := $(call my-dir)
+ifeq ($(HOST_OS), linux)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := libxmlrpc++
+
+LOCAL_CPPFLAGS := -Wall -fexceptions
+LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/src
+
+xmlrpc_src_files := \
+ $(wildcard $(LOCAL_PATH)/src/*.cpp)
+LOCAL_SRC_FILES := \
+ $(xmlrpc_src_files:$(LOCAL_PATH)/%=%)
+include $(BUILD_SHARED_LIBRARY)
+
+endif # HOST_OS == linux