]> granicus.if.org Git - curl/commitdiff
Copy the libcurl header files into the right location for Android.
authorDan Fandrich <dan@coneharvesters.com>
Fri, 31 Jul 2009 00:10:38 +0000 (00:10 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 31 Jul 2009 00:10:38 +0000 (00:10 +0000)
Android.mk

index 11b26398b3572e14bc15e51f06c4242094de301f..c5bc6fc9bb495e8c6add0f6b91326a802aad7426 100644 (file)
@@ -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)