Makefile.inc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #***************************************************************************
  2. # _ _ ____ _
  3. # Project ___| | | | _ \| |
  4. # / __| | | | |_) | |
  5. # | (__| |_| | _ <| |___
  6. # \___|\___/|_| \_\_____|
  7. #
  8. # Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
  9. #
  10. # This software is licensed as described in the file COPYING, which
  11. # you should have received as part of this distribution. The terms
  12. # are also available at https://curl.haxx.se/docs/copyright.html.
  13. #
  14. # You may opt to use, copy, modify, merge, publish, distribute and/or sell
  15. # copies of the Software, and permit persons to whom the Software is
  16. # furnished to do so, under the terms of the COPYING file.
  17. #
  18. # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
  19. # KIND, either express or implied.
  20. #
  21. ###########################################################################
  22. # ./src/Makefile.inc
  23. # Using the backslash as line continuation character might be problematic
  24. # with some make flavours, as Watcom's wmake showed us already. If we
  25. # ever want to change this in a portable manner then we should consider
  26. # this idea (posted to the libcurl list by Adam Kellas):
  27. # CSRC1 = file1.c file2.c file3.c
  28. # CSRC2 = file4.c file5.c file6.c
  29. # CSOURCES = $(CSRC1) $(CSRC2)
  30. # libcurl has sources that provide functions named curlx_* that aren't part of
  31. # the official API, but we re-use the code here to avoid duplication.
  32. CURLX_CFILES = \
  33. ../lib/strtoofft.c \
  34. ../lib/nonblock.c \
  35. ../lib/warnless.c \
  36. ../lib/curl_ctype.c \
  37. ../lib/curl_multibyte.c \
  38. ../lib/version_win32.c
  39. CURLX_HFILES = \
  40. ../lib/curl_setup.h \
  41. ../lib/strtoofft.h \
  42. ../lib/nonblock.h \
  43. ../lib/warnless.h \
  44. ../lib/curl_ctype.h \
  45. ../lib/curl_multibyte.h \
  46. ../lib/version_win32.h
  47. CURL_CFILES = \
  48. slist_wc.c \
  49. tool_binmode.c \
  50. tool_bname.c \
  51. tool_cb_dbg.c \
  52. tool_cb_hdr.c \
  53. tool_cb_prg.c \
  54. tool_cb_rea.c \
  55. tool_cb_see.c \
  56. tool_cb_wrt.c \
  57. tool_cfgable.c \
  58. tool_convert.c \
  59. tool_dirhie.c \
  60. tool_doswin.c \
  61. tool_easysrc.c \
  62. tool_filetime.c \
  63. tool_formparse.c \
  64. tool_getparam.c \
  65. tool_getpass.c \
  66. tool_help.c \
  67. tool_helpers.c \
  68. tool_homedir.c \
  69. tool_hugehelp.c \
  70. tool_libinfo.c \
  71. tool_main.c \
  72. tool_metalink.c \
  73. tool_msgs.c \
  74. tool_operate.c \
  75. tool_operhlp.c \
  76. tool_panykey.c \
  77. tool_paramhlp.c \
  78. tool_parsecfg.c \
  79. tool_progress.c \
  80. tool_strdup.c \
  81. tool_setopt.c \
  82. tool_sleep.c \
  83. tool_urlglob.c \
  84. tool_util.c \
  85. tool_vms.c \
  86. tool_writeout.c \
  87. tool_writeout_json.c \
  88. tool_xattr.c
  89. CURL_HFILES = \
  90. slist_wc.h \
  91. tool_binmode.h \
  92. tool_bname.h \
  93. tool_cb_dbg.h \
  94. tool_cb_hdr.h \
  95. tool_cb_prg.h \
  96. tool_cb_rea.h \
  97. tool_cb_see.h \
  98. tool_cb_wrt.h \
  99. tool_cfgable.h \
  100. tool_convert.h \
  101. tool_dirhie.h \
  102. tool_doswin.h \
  103. tool_easysrc.h \
  104. tool_filetime.h \
  105. tool_formparse.h \
  106. tool_getparam.h \
  107. tool_getpass.h \
  108. tool_help.h \
  109. tool_helpers.h \
  110. tool_homedir.h \
  111. tool_hugehelp.h \
  112. tool_libinfo.h \
  113. tool_main.h \
  114. tool_metalink.h \
  115. tool_msgs.h \
  116. tool_operate.h \
  117. tool_operhlp.h \
  118. tool_panykey.h \
  119. tool_paramhlp.h \
  120. tool_parsecfg.h \
  121. tool_progress.h \
  122. tool_sdecls.h \
  123. tool_setopt.h \
  124. tool_setup.h \
  125. tool_sleep.h \
  126. tool_strdup.h \
  127. tool_urlglob.h \
  128. tool_util.h \
  129. tool_version.h \
  130. tool_vms.h \
  131. tool_writeout.h \
  132. tool_writeout_json.h \
  133. tool_xattr.h
  134. CURL_RCFILES = curl.rc
  135. # curl_SOURCES is special and gets assigned in src/Makefile.am
  136. CURL_FILES = $(CURL_CFILES) $(CURLX_CFILES) $(CURL_HFILES)