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 (3796B)


  1. cflags{
  2. '-std=c99', '-Wall', '-Wpedantic', '-Wno-maybe-uninitialized',
  3. '-D _DEFAULT_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/src',
  12. '-isystem $builddir/pkg/bearssl/include',
  13. '-isystem $builddir/pkg/linux-headers/include',
  14. '-isystem $builddir/pkg/zlib/include',
  15. }
  16. build('cat', '$outdir/curl_config.h', {
  17. '$dir/curl_config.h',
  18. '$builddir/probe/SIZEOF_LONG',
  19. '$builddir/probe/SIZEOF_SIZE_T',
  20. '$builddir/probe/SIZEOF_TIME_T',
  21. })
  22. -- src/include/curl/Makefile.am:/^pkginclude_HEADERS
  23. pkg.hdrs = copy('$outdir/include/curl', '$srcdir/include/curl', {
  24. 'curl.h', 'curlver.h', 'easy.h', 'mprintf.h', 'stdcheaders.h', 'multi.h',
  25. 'typecheck-gcc.h', 'system.h', 'urlapi.h', 'options.h', 'header.h', 'websockets.h',
  26. })
  27. pkg.deps = {
  28. '$outdir/curl_config.h',
  29. '$gendir/headers',
  30. 'pkg/bearssl/headers',
  31. 'pkg/linux-headers/headers',
  32. 'pkg/zlib/headers',
  33. }
  34. -- src/lib/Makefile.inc:/^CSOURCES
  35. lib('libcurl.a', [[
  36. lib/(
  37. altsvc.c amigaos.c asyn-ares.c asyn-thread.c base64.c bufq.c
  38. bufref.c c-hyper.c cf-h1-proxy.c cf-h2-proxy.c cf-haproxy.c
  39. cf-https-connect.c cf-socket.c cfilters.c conncache.c connect.c
  40. content_encoding.c cookie.c curl_addrinfo.c curl_des.c
  41. curl_endian.c curl_fnmatch.c curl_get_line.c curl_gethostname.c
  42. curl_gssapi.c curl_memrchr.c curl_multibyte.c curl_ntlm_core.c
  43. curl_ntlm_wb.c curl_path.c curl_range.c curl_rtmp.c curl_sasl.c
  44. curl_sspi.c curl_threads.c curl_trc.c dict.c doh.c dynbuf.c
  45. dynhds.c easy.c easygetopt.c easyoptions.c escape.c file.c
  46. fileinfo.c fopen.c formdata.c ftp.c ftplistparser.c getenv.c
  47. getinfo.c gopher.c hash.c headers.c hmac.c hostasyn.c hostip.c
  48. hostip4.c hostip6.c hostsyn.c hsts.c http.c http1.c http2.c
  49. http_aws_sigv4.c http_chunks.c http_digest.c http_negotiate.c
  50. http_ntlm.c http_proxy.c idn.c if2ip.c imap.c inet_ntop.c
  51. inet_pton.c krb5.c ldap.c llist.c macos.c md4.c md5.c memdebug.c
  52. mime.c mprintf.c mqtt.c multi.c netrc.c nonblock.c noproxy.c
  53. openldap.c parsedate.c pingpong.c pop3.c progress.c psl.c rand.c
  54. rename.c rtsp.c select.c sendf.c setopt.c sha256.c share.c
  55. slist.c smb.c smtp.c socketpair.c socks.c socks_gssapi.c
  56. socks_sspi.c speedcheck.c splay.c strcase.c strdup.c strerror.c
  57. strtok.c strtoofft.c system_win32.c telnet.c tftp.c timediff.c
  58. timeval.c transfer.c url.c urlapi.c version.c version_win32.c
  59. warnless.c ws.c
  60. vauth/(
  61. cleartext.c cram.c digest.c digest_sspi.c
  62. gsasl.c krb5_gssapi.c krb5_sspi.c ntlm.c
  63. ntlm_sspi.c oauth2.c spnego_gssapi.c
  64. spnego_sspi.c vauth.c
  65. )
  66. vtls/(
  67. bearssl.c gtls.c hostcheck.c keylog.c mbedtls.c
  68. mbedtls_threadlock.c openssl.c rustls.c schannel.c
  69. schannel_verify.c sectransp.c vtls.c wolfssl.c
  70. x509asn1.c
  71. )
  72. vquic/(curl_msh3.c curl_ngtcp2.c curl_quiche.c vquic.c)
  73. vssh/(libssh.c libssh2.c wolfssh.c)
  74. )
  75. $builddir/pkg/bearssl/libbearssl.a
  76. $builddir/pkg/zlib/libz.a
  77. ]])
  78. -- src/src/Makefile.inc:/^CURL_CFILES
  79. exe('curl', [[
  80. src/(
  81. slist_wc.c
  82. tool_binmode.c
  83. tool_bname.c
  84. tool_cb_dbg.c
  85. tool_cb_hdr.c
  86. tool_cb_prg.c
  87. tool_cb_rea.c
  88. tool_cb_see.c
  89. tool_cb_wrt.c
  90. tool_cfgable.c
  91. tool_dirhie.c
  92. tool_doswin.c
  93. tool_easysrc.c
  94. tool_filetime.c
  95. tool_findfile.c
  96. tool_formparse.c
  97. tool_getparam.c
  98. tool_getpass.c
  99. tool_help.c
  100. tool_helpers.c
  101. tool_ipfs.c
  102. tool_libinfo.c
  103. tool_listhelp.c
  104. tool_main.c
  105. tool_msgs.c
  106. tool_operate.c
  107. tool_operhlp.c
  108. tool_paramhlp.c
  109. tool_parsecfg.c
  110. tool_progress.c
  111. tool_setopt.c
  112. tool_sleep.c
  113. tool_stderr.c
  114. tool_strdup.c
  115. tool_urlglob.c
  116. tool_util.c
  117. tool_vms.c
  118. tool_writeout.c
  119. tool_writeout_json.c
  120. tool_xattr.c
  121. var.c
  122. )
  123. libcurl.a.d
  124. ]])
  125. file('bin/curl', '755', '$outdir/curl')
  126. man{'docs/curl.1'}
  127. fetch 'curl'