Makefile.inc: Separated the lib and lib/vtls source file variables
[platform/upstream/curl.git] / lib / Makefile.inc
index 115dd44..1d1abc8 100644 (file)
-# ./lib/Makefile.inc
-# Using the backslash as line continuation character might be problematic
-# with some make flavours, as Watcom's wmake showed us already. If we
-# ever want to change this in a portable manner then we should consider
-# this idea (posted to the libcurl list by Adam Kellas):
-# CSRC1 = file1.c file2.c file3.c
-# CSRC2 = file4.c file5.c file6.c
-# CSOURCES = $(CSRC1) $(CSRC2)
+#***************************************************************************
+#                                  _   _ ____  _
+#  Project                     ___| | | |  _ \| |
+#                             / __| | | | |_) | |
+#                            | (__| |_| |  _ <| |___
+#                             \___|\___/|_| \_\_____|
+#
+# Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
+#
+# This software is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at http://curl.haxx.se/docs/copyright.html.
+#
+# You may opt to use, copy, modify, merge, publish, distribute and/or sell
+# copies of the Software, and permit persons to whom the Software is
+# furnished to do so, under the terms of the COPYING file.
+#
+# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+# KIND, either express or implied.
+#
+###########################################################################
 
-CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c    \
+LIB_VTLS_CSOURCES = vtls/openssl.c vtls/gtls.c vtls/vtls.c vtls/nss.c  \
+  vtls/qssl.c vtls/polarssl.c vtls/polarssl_threadlock.c vtls/axtls.c  \
+  vtls/cyassl.c vtls/curl_schannel.c vtls/curl_darwinssl.c vtls/gskit.c
+
+LIB_VTLS_HHEADERS = vtls/qssl.h vtls/openssl.h vtls/vtls.h vtls/gtls.h \
+  vtls/nssg.h vtls/polarssl.h vtls/polarssl_threadlock.h vtls/axtls.h  \
+  vtls/cyassl.h vtls/curl_schannel.h vtls/curl_darwinssl.h vtls/gskit.h
+
+LIB_CSOURCES = file.c timeval.c base64.c hostip.c progress.c formdata.c        \
   cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c      \
-  ldap.c ssluse.c version.c getenv.c escape.c mprintf.c telnet.c       \
-  netrc.c getinfo.c transfer.c strequal.c easy.c security.c krb4.c     \
-  curl_fnmatch.c fileinfo.c ftplistparser.c wildcard.c krb5.c          \
-  memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c multi.c   \
-  content_encoding.c share.c http_digest.c md4.c md5.c curl_rand.c     \
-  http_negotiate.c inet_pton.c strtoofft.c strerror.c amigaos.c                \
-  hostasyn.c hostip4.c hostip6.c hostsyn.c inet_ntop.c parsedate.c     \
-  select.c gtls.c sslgen.c tftp.c splay.c strdup.c socks.c ssh.c nss.c \
-  qssl.c rawstr.c curl_addrinfo.c socks_gssapi.c socks_sspi.c          \
+  ldap.c version.c getenv.c escape.c mprintf.c telnet.c netrc.c                \
+  getinfo.c transfer.c strequal.c easy.c security.c curl_fnmatch.c     \
+  fileinfo.c ftplistparser.c wildcard.c krb5.c memdebug.c http_chunks.c        \
+  strtok.c connect.c llist.c hash.c multi.c content_encoding.c share.c \
+  http_digest.c md4.c md5.c http_negotiate.c inet_pton.c strtoofft.c   \
+  strerror.c amigaos.c hostasyn.c hostip4.c hostip6.c hostsyn.c                \
+  inet_ntop.c parsedate.c select.c tftp.c splay.c strdup.c socks.c     \
+  ssh.c rawstr.c curl_addrinfo.c socks_gssapi.c socks_sspi.c           \
   curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c pop3.c smtp.c   \
-  pingpong.c rtsp.c curl_threads.c warnless.c hmac.c polarssl.c                \
-  curl_rtmp.c openldap.c curl_gethostname.c gopher.c axtls.c           \
-  idn_win32.c http_negotiate_sspi.c cyassl.c http_proxy.c non-ascii.c  \
-  asyn-ares.c asyn-thread.c curl_gssapi.c curl_ntlm.c curl_ntlm_wb.c   \
-  curl_ntlm_core.c curl_ntlm_msgs.c curl_sasl.c curl_schannel.c                \
-  curl_multibyte.c curl_darwinssl.c hostcheck.c                         \
-  bundles.c conncache.c
+  pingpong.c rtsp.c curl_threads.c warnless.c hmac.c curl_rtmp.c       \
+  openldap.c curl_gethostname.c gopher.c idn_win32.c                   \
+  http_negotiate_sspi.c http_proxy.c non-ascii.c asyn-ares.c           \
+  asyn-thread.c curl_gssapi.c curl_ntlm.c curl_ntlm_wb.c               \
+  curl_ntlm_core.c curl_ntlm_msgs.c curl_sasl.c curl_multibyte.c       \
+  hostcheck.c bundles.c conncache.c pipeline.c dotdot.c x509asn1.c     \
+  http2.c curl_sasl_sspi.c
 
-HHEADERS = \
-  curl_addrinfo.h \
-  curl_amigaos.h \
-  curl_arpa_telnet.h \
-  curl_asyn.h \
-  curl_axtls.h \
-  curl_base64.h \
-  curl_bundles.h \
-  curl_conncache.h \
-  curl_connect.h \
-  curl_content_encoding.h \
-  curl_cookie.h \
-  curl_cyassl.h \
-  curl_darwinssl.h \
-  curl_dict.h \
-  curl_easyif.h \
-  curl_escape.h \
-  curl_file.h \
-  curl_fileinfo.h \
-  curl_fnmatch.h \
-  curl_formdata.h \
-  curl_ftp.h \
-  curl_ftplistparser.h \
-  curl_gethostname.h \
-  curl_getinfo.h \
-  curl_gopher.h \
-  curl_gssapi.h \
-  curl_gtls.h \
-  curl_hash.h \
-  curl_hmac.h \
-  curl_hostcheck.h \
-  curl_hostip.h \
-  curl_http.h \
-  curl_http_chunks.h \
-  curl_http_digest.h \
-  curl_http_negotiate.h \
-  curl_http_proxy.h \
-  curl_if2ip.h \
-  curl_imap.h \
-  curl_inet_ntop.h \
-  curl_inet_pton.h \
-  curl_krb4.h \
-  curl_ldap.h \
-  curl_llist.h \
-  curl_md4.h \
-  curl_md5.h \
-  curl_memdebug.h \
-  curl_memory.h \
-  curl_memrchr.h \
-  curl_multibyte.h \
-  curl_multiif.h \
-  curl_netrc.h \
-  curl_non-ascii.h \
-  curl_nonblock.h \
-  curl_nssg.h \
-  curl_ntlm.h \
-  curl_ntlm_core.h \
-  curl_ntlm_msgs.h \
-  curl_ntlm_wb.h \
-  curl_parsedate.h \
-  curl_pingpong.h \
-  curl_polarssl.h \
-  curl_pop3.h \
-  curl_progress.h \
-  curl_qssl.h \
-  curl_rand.h \
-  curl_rawstr.h \
-  curl_rtmp.h \
-  curl_rtsp.h \
-  curl_sasl.h \
-  curl_schannel.h \
-  curl_select.h \
-  curl_sendf.h \
-  curl_setup.h \
-  curl_setup_once.h \
-  curl_share.h \
-  curl_slist.h \
-  curl_smtp.h \
-  curl_sockaddr.h \
-  curl_socks.h \
-  curl_speedcheck.h \
-  curl_splay.h \
-  curl_ssh.h \
-  curl_sslgen.h \
-  curl_ssluse.h \
-  curl_sspi.h \
-  curl_strdup.h \
-  curl_strequal.h \
-  curl_strerror.h \
-  curl_strtok.h \
-  curl_strtoofft.h \
-  curl_telnet.h \
-  curl_tftp.h \
-  curl_threads.h \
-  curl_timeval.h \
-  curl_transfer.h \
-  curl_url.h \
-  curl_urldata.h \
-  curl_wildcard.h \
-  curlx.h
+LIB_HHEADERS = arpa_telnet.h netrc.h file.h timeval.h hostip.h progress.h      \
+  formdata.h cookie.h http.h sendf.h ftp.h url.h dict.h if2ip.h                \
+  speedcheck.h urldata.h curl_ldap.h escape.h telnet.h getinfo.h       \
+  strequal.h curl_sec.h memdebug.h http_chunks.h curl_fnmatch.h                \
+  wildcard.h fileinfo.h ftplistparser.h strtok.h connect.h llist.h     \
+  hash.h content_encoding.h share.h curl_md4.h curl_md5.h http_digest.h        \
+  http_negotiate.h inet_pton.h amigaos.h strtoofft.h strerror.h                \
+  inet_ntop.h curlx.h curl_memory.h curl_setup.h transfer.h select.h   \
+  easyif.h multiif.h parsedate.h tftp.h sockaddr.h splay.h strdup.h    \
+  socks.h ssh.h curl_base64.h rawstr.h curl_addrinfo.h curl_sspi.h     \
+  slist.h nonblock.h curl_memrchr.h imap.h pop3.h smtp.h pingpong.h    \
+  rtsp.h curl_threads.h warnless.h curl_hmac.h curl_rtmp.h             \
+  curl_gethostname.h gopher.h http_proxy.h non-ascii.h asyn.h          \
+  curl_ntlm.h curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h            \
+  curl_ntlm_msgs.h curl_sasl.h curl_multibyte.h hostcheck.h bundles.h  \
+  conncache.h curl_setup_once.h multihandle.h setup-vms.h pipeline.h   \
+  dotdot.h x509asn1.h http2.h sigpipe.h
 
+CSOURCES = $(LIB_CSOURCES) $(LIB_VTLS_CSOURCES)
+HHEADERS = $(LIB_HHEADERS) $(LIB_VTLS_HHEADERS)