curl: Move sources back into upstream layout

Update our build files as needed to compensate.
This commit is contained in:
Brad King 2014-10-08 15:07:44 -04:00
parent 15c994ebdc
commit 9cf069f88b
131 changed files with 70 additions and 70 deletions

View File

@ -17,7 +17,7 @@
#ifdef CMAKE_USE_SYSTEM_CURL #ifdef CMAKE_USE_SYSTEM_CURL
# include <curl/curl.h> # include <curl/curl.h>
#else #else
# include <cmcurl/curl/curl.h> # include <cmcurl/include/curl/curl.h>
#endif #endif
#endif #endif

View File

@ -34,75 +34,75 @@ INCLUDE (CheckSymbolExists)
INCLUDE (CheckTypeSize) INCLUDE (CheckTypeSize)
SET(libCurl_SRCS SET(libCurl_SRCS
# amigaos.c - does not build on AmigaOS # lib/amigaos.c - does not build on AmigaOS
base64.c lib/base64.c
connect.c lib/connect.c
content_encoding.c lib/content_encoding.c
cookie.c lib/cookie.c
dict.c lib/dict.c
easy.c lib/easy.c
escape.c lib/escape.c
file.c lib/file.c
formdata.c lib/formdata.c
ftp.c lib/ftp.c
getenv.c lib/getenv.c
getinfo.c lib/getinfo.c
gtls.c lib/gtls.c
hash.c lib/hash.c
hostares.c lib/hostares.c
hostasyn.c lib/hostasyn.c
hostip4.c lib/hostip4.c
hostip6.c lib/hostip6.c
hostip.c lib/hostip.c
hostsyn.c lib/hostsyn.c
hostthre.c lib/hostthre.c
http.c lib/http.c
http_chunks.c lib/http_chunks.c
http_digest.c lib/http_digest.c
http_negotiate.c lib/http_negotiate.c
http_ntlm.c lib/http_ntlm.c
if2ip.c lib/if2ip.c
inet_ntop.c lib/inet_ntop.c
inet_pton.c lib/inet_pton.c
krb4.c lib/krb4.c
ldap.c lib/ldap.c
llist.c lib/llist.c
md5.c lib/md5.c
# memdebug.c -not used # lib/memdebug.c -not used
mprintf.c lib/mprintf.c
multi.c lib/multi.c
netrc.c lib/netrc.c
# nwlib.c - Not used # lib/nwlib.c - Not used
parsedate.c lib/parsedate.c
progress.c lib/progress.c
security.c lib/security.c
select.c lib/select.c
sendf.c lib/sendf.c
share.c lib/share.c
socks.c lib/socks.c
speedcheck.c lib/speedcheck.c
splay.c lib/splay.c
ssh.c lib/ssh.c
sslgen.c lib/sslgen.c
ssluse.c lib/ssluse.c
strdup.c lib/strdup.c
strequal.c lib/strequal.c
strerror.c lib/strerror.c
# strtok.c - specify later # lib/strtok.c - specify later
# strtoofft.c - specify later # lib/strtoofft.c - specify later
telnet.c lib/telnet.c
tftp.c lib/tftp.c
timeval.c lib/timeval.c
transfer.c lib/transfer.c
url.c lib/url.c
version.c lib/version.c
) )
SET(CURL_DISABLE_LDAP 1) SET(CURL_DISABLE_LDAP 1)
IF(NOT CURL_DISABLE_LDAP) IF(NOT CURL_DISABLE_LDAP)
SET(libCurl_SRCS SET(libCurl_SRCS
${libCurl_SRCS} ${libCurl_SRCS}
ldap.c lib/ldap.c
) )
ENDIF(NOT CURL_DISABLE_LDAP) ENDIF(NOT CURL_DISABLE_LDAP)
@ -110,8 +110,8 @@ ENDIF(NOT CURL_DISABLE_LDAP)
#OPTION(CURL_KRB4 "Use Kerberos 4" OFF) #OPTION(CURL_KRB4 "Use Kerberos 4" OFF)
IF(CURL_KRB4) IF(CURL_KRB4)
SET(libCurl_SRCS ${libCurl_SRCS} SET(libCurl_SRCS ${libCurl_SRCS}
krb4.c lib/krb4.c
security.c lib/security.c
) )
ENDIF(CURL_KRB4) ENDIF(CURL_KRB4)
@ -119,7 +119,7 @@ ENDIF(CURL_KRB4)
MARK_AS_ADVANCED(CURL_MALLOC_DEBUG) MARK_AS_ADVANCED(CURL_MALLOC_DEBUG)
IF(CURL_MALLOC_DEBUG) IF(CURL_MALLOC_DEBUG)
SET(libCurl_SRCS ${libCurl_SRCS} SET(libCurl_SRCS ${libCurl_SRCS}
memdebug.c lib/memdebug.c
) )
ENDIF(CURL_MALLOC_DEBUG) ENDIF(CURL_MALLOC_DEBUG)
@ -169,7 +169,7 @@ ENDIF(NOT CURL_SPECIAL_LIBZ)
# Include the local directories before any others so that we do not end up # Include the local directories before any others so that we do not end up
# including system curl's include directory first by mistake. # including system curl's include directory first by mistake.
INCLUDE_DIRECTORIES(${LIBCURL_SOURCE_DIR}) INCLUDE_DIRECTORIES(${LIBCURL_SOURCE_DIR}/include)
INCLUDE_DIRECTORIES(${LIBCURL_BINARY_DIR}) INCLUDE_DIRECTORIES(${LIBCURL_BINARY_DIR})
OPTION(CMAKE_USE_OPENSSL "Use OpenSSL code with curl." OFF) OPTION(CMAKE_USE_OPENSSL "Use OpenSSL code with curl." OFF)
@ -472,14 +472,14 @@ CHECK_SYMBOL_EXISTS(setrlimit "${CURL_INCLUDES}" HAVE_SETRLIMIT)
# only build compat strtok if we need to # only build compat strtok if we need to
IF (NOT HAVE_STRTOK_R) IF (NOT HAVE_STRTOK_R)
SET(libCurl_SRCS ${libCurl_SRCS} SET(libCurl_SRCS ${libCurl_SRCS}
strtok.c lib/strtok.c
) )
ENDIF (NOT HAVE_STRTOK_R) ENDIF (NOT HAVE_STRTOK_R)
# only build compat strtoofft if we need to # only build compat strtoofft if we need to
IF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64) IF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64)
SET(libCurl_SRCS ${libCurl_SRCS} SET(libCurl_SRCS ${libCurl_SRCS}
strtoofft.c lib/strtoofft.c
) )
ENDIF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64) ENDIF(NOT HAVE_STRTOLL AND NOT HAVE__STRTOI64)

Some files were not shown because too many files have changed in this diff Show More