aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-07-31 00:10:38 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-07-31 00:10:38 +0000
commite8e84cf1da4100191d6c0e5e0ce94f4adaa84551 (patch)
treecd285980c78d131c7b732b5c9deb80edb7714802
parent0179dbe1c25f588e9e5c3a772ec9e7d8af71f32d (diff)
Copy the libcurl header files into the right location for Android.
-rw-r--r--Android.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 11b26398b..c5bc6fc9b 100644
--- a/Android.mk
+++ b/Android.mk
@@ -9,7 +9,7 @@
# to the libcurl source tree.
#
# Dan Fandrich
-# June 2009
+# July 2009
LOCAL_PATH:= $(call my-dir)
@@ -20,10 +20,25 @@ common_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline -Wnested-exte
include $(CLEAR_VARS)
include $(LOCAL_PATH)/lib/Makefile.inc
+CURL_HEADERS := \
+ curlbuild.h \
+ curl.h \
+ curlrules.h \
+ curlver.h \
+ easy.h \
+ mprintf.h \
+ multi.h \
+ stdcheaders.h \
+ typecheck-gcc.h \
+ types.h
+
LOCAL_SRC_FILES := $(addprefix lib/,$(CSOURCES))
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include/
LOCAL_CFLAGS += $(common_CFLAGS)
+LOCAL_COPY_HEADERS_TO := libcurl/curl
+LOCAL_COPY_HEADERS := $(addprefix include/curl/,$(CURL_HEADERS))
+
LOCAL_MODULE:= libcurl
include $(BUILD_STATIC_LIBRARY)