You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

207 lines
8.6 KiB

#*********************************************************************************************************
#
# 中国软件开源组织
#
# 嵌入式实时操作系统
#
# SylixOS(TM) LW : long wing
#
# Copyright All Rights Reserved
#
#--------------文件信息--------------------------------------------------------------------------------
#
# 文 件 名: libcurl.mk
#
# 创 建 人: RealEvo-IDE
#
# 文件创建日期: 2016 年 12 月 09 日
#
# 描 述: 本文件由 RealEvo-IDE 生成,用于配置 Makefile 功能,请勿手动修改
#*********************************************************************************************************
#*********************************************************************************************************
# Clear setting
#*********************************************************************************************************
include $(CLEAR_VARS_MK)
#*********************************************************************************************************
# Target
#*********************************************************************************************************
LOCAL_TARGET_NAME := libcurl.so
#*********************************************************************************************************
# Source list
#*********************************************************************************************************
CURL_VERSION = 7.40.0
LOCAL_SRCS := \
curl-$(CURL_VERSION)/lib/select.c \
curl-$(CURL_VERSION)/lib/curl_memrchr.c \
curl-$(CURL_VERSION)/lib/parsedate.c \
curl-$(CURL_VERSION)/lib/rawstr.c \
curl-$(CURL_VERSION)/lib/escape.c \
curl-$(CURL_VERSION)/lib/curl_sasl.c \
curl-$(CURL_VERSION)/lib/base64.c \
curl-$(CURL_VERSION)/lib/ftp.c \
curl-$(CURL_VERSION)/lib/timeval.c \
curl-$(CURL_VERSION)/lib/http.c \
curl-$(CURL_VERSION)/lib/hostip4.c \
curl-$(CURL_VERSION)/lib/strdup.c \
curl-$(CURL_VERSION)/lib/conncache.c \
curl-$(CURL_VERSION)/lib/http2.c \
curl-$(CURL_VERSION)/lib/dotdot.c \
curl-$(CURL_VERSION)/lib/easy.c \
curl-$(CURL_VERSION)/lib/inet_ntop.c \
curl-$(CURL_VERSION)/lib/curl_sspi.c \
curl-$(CURL_VERSION)/lib/vtls/gtls.c \
curl-$(CURL_VERSION)/lib/vtls/openssl.c \
curl-$(CURL_VERSION)/lib/vtls/polarssl.c \
curl-$(CURL_VERSION)/lib/vtls/vtls.c \
curl-$(CURL_VERSION)/lib/vtls/polarssl_threadlock.c \
curl-$(CURL_VERSION)/lib/vtls/curl_schannel.c \
curl-$(CURL_VERSION)/lib/vtls/cyassl.c \
curl-$(CURL_VERSION)/lib/vtls/nss.c \
curl-$(CURL_VERSION)/lib/vtls/axtls.c \
curl-$(CURL_VERSION)/lib/vtls/gskit.c \
curl-$(CURL_VERSION)/lib/vtls/curl_darwinssl.c \
curl-$(CURL_VERSION)/lib/http_proxy.c \
curl-$(CURL_VERSION)/lib/progress.c \
curl-$(CURL_VERSION)/lib/hostcheck.c \
curl-$(CURL_VERSION)/lib/gopher.c \
curl-$(CURL_VERSION)/lib/mprintf.c \
curl-$(CURL_VERSION)/lib/http_negotiate.c \
curl-$(CURL_VERSION)/lib/x509asn1.c \
curl-$(CURL_VERSION)/lib/telnet.c \
curl-$(CURL_VERSION)/lib/curl_ntlm.c \
curl-$(CURL_VERSION)/lib/ssh.c \
curl-$(CURL_VERSION)/lib/multi.c \
curl-$(CURL_VERSION)/lib/getinfo.c \
curl-$(CURL_VERSION)/lib/hostasyn.c \
curl-$(CURL_VERSION)/lib/if2ip.c \
curl-$(CURL_VERSION)/lib/rtsp.c \
curl-$(CURL_VERSION)/lib/openldap.c \
curl-$(CURL_VERSION)/lib/hostsyn.c \
curl-$(CURL_VERSION)/lib/idn_win32.c \
curl-$(CURL_VERSION)/lib/strtoofft.c \
curl-$(CURL_VERSION)/lib/strtok.c \
curl-$(CURL_VERSION)/lib/version.c \
curl-$(CURL_VERSION)/lib/curl_sasl_sspi.c \
curl-$(CURL_VERSION)/lib/curl_sasl_gssapi.c \
curl-$(CURL_VERSION)/lib/dict.c \
curl-$(CURL_VERSION)/lib/imap.c \
curl-$(CURL_VERSION)/lib/curl_threads.c \
curl-$(CURL_VERSION)/lib/url.c \
curl-$(CURL_VERSION)/lib/bundles.c \
curl-$(CURL_VERSION)/lib/hostip6.c \
curl-$(CURL_VERSION)/lib/memdebug.c \
curl-$(CURL_VERSION)/lib/pipeline.c \
curl-$(CURL_VERSION)/lib/md5.c \
curl-$(CURL_VERSION)/lib/sendf.c \
curl-$(CURL_VERSION)/lib/getenv.c \
curl-$(CURL_VERSION)/lib/pop3.c \
curl-$(CURL_VERSION)/lib/curl_ntlm_wb.c \
curl-$(CURL_VERSION)/lib/connect.c \
curl-$(CURL_VERSION)/lib/hash.c \
curl-$(CURL_VERSION)/lib/nwlib.c \
curl-$(CURL_VERSION)/lib/krb5.c \
curl-$(CURL_VERSION)/lib/splay.c \
curl-$(CURL_VERSION)/lib/smb.c \
curl-$(CURL_VERSION)/lib/curl_ntlm_msgs.c \
curl-$(CURL_VERSION)/lib/socks_gssapi.c \
curl-$(CURL_VERSION)/lib/socks.c \
curl-$(CURL_VERSION)/lib/share.c \
curl-$(CURL_VERSION)/lib/curl_endian.c \
curl-$(CURL_VERSION)/lib/netrc.c \
curl-$(CURL_VERSION)/lib/smtp.c \
curl-$(CURL_VERSION)/lib/curl_fnmatch.c \
curl-$(CURL_VERSION)/lib/curl_gssapi.c \
curl-$(CURL_VERSION)/lib/slist.c \
curl-$(CURL_VERSION)/lib/nonblock.c \
curl-$(CURL_VERSION)/lib/md4.c \
curl-$(CURL_VERSION)/lib/hmac.c \
curl-$(CURL_VERSION)/lib/asyn-ares.c \
curl-$(CURL_VERSION)/lib/amigaos.c \
curl-$(CURL_VERSION)/lib/curl_addrinfo.c \
curl-$(CURL_VERSION)/lib/warnless.c \
curl-$(CURL_VERSION)/lib/wildcard.c \
curl-$(CURL_VERSION)/lib/asyn-thread.c \
curl-$(CURL_VERSION)/lib/curl_gethostname.c \
curl-$(CURL_VERSION)/lib/tftp.c \
curl-$(CURL_VERSION)/lib/strerror.c \
curl-$(CURL_VERSION)/lib/ldap.c \
curl-$(CURL_VERSION)/lib/security.c \
curl-$(CURL_VERSION)/lib/transfer.c \
curl-$(CURL_VERSION)/lib/curl_ntlm_core.c \
curl-$(CURL_VERSION)/lib/pingpong.c \
curl-$(CURL_VERSION)/lib/socks_sspi.c \
curl-$(CURL_VERSION)/lib/fileinfo.c \
curl-$(CURL_VERSION)/lib/curl_rtmp.c \
curl-$(CURL_VERSION)/lib/curl_multibyte.c \
curl-$(CURL_VERSION)/lib/strequal.c \
curl-$(CURL_VERSION)/lib/llist.c \
curl-$(CURL_VERSION)/lib/inet_pton.c \
curl-$(CURL_VERSION)/lib/cookie.c \
curl-$(CURL_VERSION)/lib/http_negotiate_sspi.c \
curl-$(CURL_VERSION)/lib/content_encoding.c \
curl-$(CURL_VERSION)/lib/ftplistparser.c \
curl-$(CURL_VERSION)/lib/file.c \
curl-$(CURL_VERSION)/lib/hostip.c \
curl-$(CURL_VERSION)/lib/speedcheck.c \
curl-$(CURL_VERSION)/lib/formdata.c \
curl-$(CURL_VERSION)/lib/non-ascii.c \
curl-$(CURL_VERSION)/lib/http_digest.c \
curl-$(CURL_VERSION)/lib/http_chunks.c \
curl-$(CURL_VERSION)/lib/nwos.c
#*********************************************************************************************************
# Header file search path (eg. LOCAL_INC_PATH := -I"Your hearder files search path")
#*********************************************************************************************************
LOCAL_INC_PATH := -I"curl-$(CURL_VERSION)/include/"
LOCAL_INC_PATH += -I"curl-$(CURL_VERSION)/lib/vtls"
LOCAL_INC_PATH += -I"curl-$(CURL_VERSION)/lib"
LOCAL_INC_PATH += -I"../openssl/include"
#*********************************************************************************************************
# Pre-defined macro (eg. -DYOUR_MARCO=1)
#*********************************************************************************************************
LOCAL_DSYMBOL := -DHAVE_CONFIG_H
LOCAL_DSYMBOL += -DBUILDING_LIBCURL
LOCAL_DSYMBOL += -DCURL_HIDDEN_SYMBOLS
#*********************************************************************************************************
# Compiler flags
#*********************************************************************************************************
LOCAL_CFLAGS :=
LOCAL_CXXFLAGS :=
#*********************************************************************************************************
# Depend library (eg. LOCAL_DEPEND_LIB := -la LOCAL_DEPEND_LIB_PATH := -L"Your library search path")
#*********************************************************************************************************
LOCAL_DEPEND_LIB := -lcrypto -lssl -lcextern
LOCAL_DEPEND_LIB_PATH := -L"$(SYLIXOS_BASE_PATH)/libcextern/$(OUTDIR)"
LOCAL_DEPEND_LIB_PATH += -L"../openssl/lib"
#*********************************************************************************************************
# C++ config
#*********************************************************************************************************
LOCAL_USE_CXX := no
LOCAL_USE_CXX_EXCEPT := no
#*********************************************************************************************************
# Code coverage config
#*********************************************************************************************************
LOCAL_USE_GCOV := no
#*********************************************************************************************************
# User link command
#*********************************************************************************************************
LOCAL_PRE_LINK_CMD :=
LOCAL_POST_LINK_CMD :=
LOCAL_PRE_STRIP_CMD :=
LOCAL_POST_STRIP_CMD :=
include $(LIBRARY_MK)
#*********************************************************************************************************
# End
#*********************************************************************************************************