This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* curl/: Added curl 7.20.0 from source tag curl_7_20_0
* autogen.sh: add curl build step * m4/various.m4: move curl checks to curl.m4 * m4/curl.m4: add support for --with-curl=no|embedded|system options * m4/ax_file_escapes.m4, m4/ax_print_to_file.m4: helper files for CUSTOM_SUBDIR_OPTION svn path=/trunk/moon/; revision=154471
- Loading branch information
Showing
1,394 changed files
with
256,582 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Makefile | ||
Makefile.in | ||
aclocal.m4 | ||
aclocal.m4.bak | ||
autom4te.cache | ||
compile | ||
config.guess | ||
curl_config.h | ||
config.log | ||
config.lt | ||
config.status | ||
config.sub | ||
configure | ||
curl-config | ||
depcomp | ||
libcurl.pc | ||
libtool | ||
ltmain.sh | ||
vc6curl.ncb | ||
vc6curl.opt | ||
vc6curl.sln | ||
vc6curl.suo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Google Android makefile for curl and libcurl | ||
# | ||
# Place the curl source (including this makefile) into external/curl/ in the | ||
# Android source tree. Then build them with 'make curl' or just 'make libcurl' | ||
# from the Android root. Tested with Android 1.5 | ||
# | ||
# Note: you must first create a curl_config.h file by running configure in the | ||
# Android environment. The only way I've found to do this is tricky. Perform a | ||
# normal Android build with libcurl in the source tree, providing the target | ||
# "showcommands" to make. The build will eventually fail (because curl_config.h | ||
# doesn't exist yet), but the compiler commands used to build curl will be | ||
# shown. Now, from the external/curl/ directory, run curl's normal configure | ||
# command with flags that match what Android itself uses. This will mean | ||
# putting the compiler directory into the PATH, putting the -I, -isystem and | ||
# -D options into CPPFLAGS, putting the -m, -f, -O and -nostdlib options into | ||
# CFLAGS, and putting the -Wl, -L and -l options into LIBS, along with the path | ||
# to the files libgcc.a, crtbegin_dynamic.o, and ccrtend_android.o. Remember | ||
# that the paths must be absolute since you will not be running configure from | ||
# the same directory as the Android make. The normal cross-compiler options | ||
# must also be set. | ||
# | ||
# The end result will be a configure command that looks something like this | ||
# (the environment variable A is set to the Android root path): | ||
# | ||
# A=`realpath ../..` && \ | ||
# PATH="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/bin:$PATH" \ | ||
# ./configure --host=arm-linux CC=arm-eabi-gcc \ | ||
# CPPFLAGS="-I $A/system/core/include ..." \ | ||
# CFLAGS="-fno-exceptions -Wno-multichar ..." \ | ||
# LIB="$A/prebuilt/linux-x86/toolchain/arm-eabi-X/lib/gcc/arm-eabi/X\ | ||
# /interwork/libgcc.a ..." \ | ||
# | ||
# Dan Fandrich | ||
# September 2009 | ||
|
||
LOCAL_PATH:= $(call my-dir) | ||
|
||
common_CFLAGS := -Wpointer-arith -Wwrite-strings -Wunused -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -DHAVE_CONFIG_H | ||
|
||
######################### | ||
# Build the libcurl library | ||
|
||
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) | ||
|
||
|
||
######################### | ||
# Build the curl binary | ||
|
||
include $(CLEAR_VARS) | ||
include $(LOCAL_PATH)/src/Makefile.inc | ||
LOCAL_SRC_FILES := $(addprefix src/,$(CURL_SOURCES)) | ||
|
||
LOCAL_MODULE := curl | ||
LOCAL_STATIC_LIBRARIES := libcurl | ||
LOCAL_SYSTEM_SHARED_LIBRARIES := libc | ||
|
||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include $(LOCAL_PATH)/lib | ||
|
||
# This will also need to include $(CURLX_ONES) in order to correctly build | ||
# a dynamic library | ||
LOCAL_CFLAGS += $(common_CFLAGS) | ||
|
||
include $(BUILD_EXECUTABLE) | ||
|
Oops, something went wrong.