logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (4450B)


  1. cflags{
  2. '-std=c99', '-Wall', '-Wpedantic', '-Wno-maybe-uninitialized',
  3. '-D _GNU_SOURCE',
  4. '-D HAVE_CONFIG_H',
  5. '-D BUILDING_LIBCURL',
  6. '-D CURL_STATICLIB',
  7. '-I $outdir',
  8. '-I $outdir/include/curl',
  9. '-I $outdir/include',
  10. '-I $srcdir/lib',
  11. '-I $srcdir/lib/curlx',
  12. '-I $srcdir/src',
  13. '-isystem $builddir/pkg/bearssl/include',
  14. '-isystem $builddir/pkg/linux-headers/include',
  15. '-isystem $builddir/pkg/zlib/include',
  16. }
  17. build('cat', '$outdir/curl_config.h', {
  18. '$dir/curl_config.h',
  19. '$builddir/probe/SIZEOF_LONG',
  20. '$builddir/probe/SIZEOF_SIZE_T',
  21. '$builddir/probe/SIZEOF_TIME_T',
  22. })
  23. -- src/include/curl/Makefile.am:/^pkginclude_HEADERS
  24. pkg.hdrs = copy('$outdir/include/curl', '$srcdir/include/curl', {
  25. 'curl.h', 'curlver.h', 'easy.h', 'mprintf.h', 'stdcheaders.h', 'multi.h',
  26. 'typecheck-gcc.h', 'system.h', 'urlapi.h', 'options.h', 'header.h', 'websockets.h',
  27. })
  28. pkg.deps = {
  29. '$outdir/curl_config.h',
  30. '$gendir/headers',
  31. 'pkg/bearssl/headers',
  32. 'pkg/linux-headers/headers',
  33. 'pkg/zlib/headers',
  34. }
  35. -- src/lib/Makefile.inc:/^CSOURCES
  36. lib('libcurl.a', [[
  37. lib/(
  38. altsvc.c
  39. amigaos.c
  40. asyn-ares.c
  41. asyn-base.c
  42. asyn-thrdd.c
  43. bufq.c
  44. bufref.c
  45. cf-dns.c
  46. cf-h1-proxy.c
  47. cf-h2-proxy.c
  48. cf-haproxy.c
  49. cf-https-connect.c
  50. cf-ip-happy.c
  51. cf-socket.c
  52. cfilters.c
  53. conncache.c
  54. connect.c
  55. content_encoding.c
  56. cookie.c
  57. cshutdn.c
  58. curl_addrinfo.c
  59. curl_endian.c
  60. curl_fnmatch.c
  61. curl_fopen.c
  62. curl_get_line.c
  63. curl_gethostname.c
  64. curl_gssapi.c
  65. curl_memrchr.c
  66. curl_ntlm_core.c
  67. curl_range.c
  68. curl_sasl.c
  69. curl_sha512_256.c
  70. curl_share.c
  71. curl_sspi.c
  72. curl_threads.c
  73. curl_trc.c
  74. cw-out.c
  75. cw-pause.c
  76. dict.c
  77. dnscache.c
  78. doh.c
  79. dynhds.c
  80. easy.c
  81. easygetopt.c
  82. easyoptions.c
  83. escape.c
  84. fake_addrinfo.c
  85. file.c
  86. fileinfo.c
  87. formdata.c
  88. ftp.c
  89. ftplistparser.c
  90. getenv.c
  91. getinfo.c
  92. gopher.c
  93. hash.c
  94. headers.c
  95. hmac.c
  96. hostip.c
  97. hostip4.c
  98. hostip6.c
  99. hsts.c
  100. http.c
  101. http1.c
  102. http2.c
  103. http_aws_sigv4.c
  104. http_chunks.c
  105. http_digest.c
  106. http_negotiate.c
  107. http_ntlm.c
  108. http_proxy.c
  109. httpsrr.c
  110. idn.c
  111. if2ip.c
  112. imap.c
  113. ldap.c
  114. llist.c
  115. macos.c
  116. md4.c
  117. md5.c
  118. memdebug.c
  119. mime.c
  120. mprintf.c
  121. mqtt.c
  122. multi.c
  123. multi_ev.c
  124. multi_ntfy.c
  125. netrc.c
  126. noproxy.c
  127. openldap.c
  128. parsedate.c
  129. pingpong.c
  130. pop3.c
  131. progress.c
  132. protocol.c
  133. psl.c
  134. rand.c
  135. ratelimit.c
  136. request.c
  137. rtsp.c
  138. select.c
  139. sendf.c
  140. setopt.c
  141. sha256.c
  142. slist.c
  143. smb.c
  144. smtp.c
  145. socketpair.c
  146. socks.c
  147. socks_gssapi.c
  148. socks_sspi.c
  149. splay.c
  150. strcase.c
  151. strequal.c
  152. strerror.c
  153. system_win32.c
  154. telnet.c
  155. tftp.c
  156. thrdpool.c
  157. thrdqueue.c
  158. transfer.c
  159. uint-bset.c
  160. uint-hash.c
  161. uint-spbset.c
  162. uint-table.c
  163. url.c
  164. urlapi.c
  165. version.c
  166. ws.c
  167. curlx/(
  168. base64.c
  169. basename.c
  170. dynbuf.c
  171. fopen.c
  172. inet_ntop.c
  173. inet_pton.c
  174. multibyte.c
  175. nonblock.c
  176. snprintf.c
  177. strcopy.c
  178. strdup.c
  179. strerr.c
  180. strparse.c
  181. timediff.c
  182. timeval.c
  183. version_win32.c
  184. wait.c
  185. warnless.c
  186. winapi.c
  187. )
  188. vauth/(
  189. cleartext.c
  190. cram.c
  191. digest.c
  192. digest_sspi.c
  193. gsasl.c
  194. krb5_gssapi.c
  195. krb5_sspi.c
  196. ntlm.c
  197. ntlm_sspi.c
  198. oauth2.c
  199. spnego_gssapi.c
  200. spnego_sspi.c
  201. vauth.c
  202. )
  203. vtls/(
  204. apple.c
  205. bearssl.c
  206. cipher_suite.c
  207. gtls.c
  208. hostcheck.c
  209. keylog.c
  210. mbedtls.c
  211. openssl.c
  212. rustls.c
  213. schannel.c
  214. schannel_verify.c
  215. vtls.c
  216. vtls_scache.c
  217. vtls_spack.c
  218. wolfssl.c
  219. x509asn1.c
  220. )
  221. vquic/(
  222. curl_ngtcp2.c
  223. curl_quiche.c
  224. vquic.c
  225. vquic-tls.c
  226. )
  227. vssh/(
  228. libssh.c
  229. libssh2.c
  230. vssh.c
  231. )
  232. )
  233. $builddir/pkg/bearssl/libbearssl.a
  234. $builddir/pkg/zlib/libz.a
  235. ]])
  236. -- src/src/Makefile.inc:/^CURL_CFILES
  237. exe('curl', [[
  238. src/(
  239. config2setopts.c
  240. slist_wc.c
  241. terminal.c
  242. tool_cb_dbg.c
  243. tool_cb_hdr.c
  244. tool_cb_prg.c
  245. tool_cb_rea.c
  246. tool_cb_see.c
  247. tool_cb_soc.c
  248. tool_cb_wrt.c
  249. tool_cfgable.c
  250. tool_dirhie.c
  251. tool_doswin.c
  252. tool_easysrc.c
  253. tool_filetime.c
  254. tool_findfile.c
  255. tool_formparse.c
  256. tool_getparam.c
  257. tool_getpass.c
  258. tool_help.c
  259. tool_helpers.c
  260. tool_ipfs.c
  261. tool_libinfo.c
  262. tool_listhelp.c
  263. tool_main.c
  264. tool_msgs.c
  265. tool_operate.c
  266. tool_operhlp.c
  267. tool_paramhlp.c
  268. tool_parsecfg.c
  269. tool_progress.c
  270. tool_setopt.c
  271. tool_ssls.c
  272. tool_stderr.c
  273. tool_urlglob.c
  274. tool_util.c
  275. tool_vms.c
  276. tool_writeout.c
  277. tool_writeout_json.c
  278. tool_xattr.c
  279. var.c
  280. toolx/(tool_time.c)
  281. )
  282. libcurl.a.d
  283. ]])
  284. file('bin/curl', '755', '$outdir/curl')
  285. man{'docs/cmdline-opts/curl.1'}
  286. fetch 'git'