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


  1. cflags{
  2. '-std=c99', '-Wall', '-Wpedantic',
  3. '-D FT2_BUILD_LIBRARY',
  4. '-D FT_CONFIG_OPTION_SYSTEM_ZLIB',
  5. '-D HAVE_FCNTL_H',
  6. '-D HAVE_UNISTD_H',
  7. '-I $srcdir/builds/unix',
  8. '-I $srcdir/include/freetype/config',
  9. '-I $srcdir/include',
  10. '-isystem $builddir/pkg/zlib/include',
  11. }
  12. pkg.hdrs = copy('$outdir/include', '$srcdir/include', paths[[
  13. ft2build.h
  14. freetype/(
  15. freetype.h
  16. ftadvanc.h
  17. ftbdf.h
  18. ftbitmap.h
  19. ftcache.h
  20. ftcolor.h
  21. fterrdef.h
  22. fterrors.h
  23. ftfntfmt.h
  24. ftglyph.h
  25. ftimage.h
  26. ftmm.h
  27. ftmodapi.h
  28. ftmoderr.h
  29. ftoutln.h
  30. ftparams.h
  31. ftsizes.h
  32. ftsnames.h
  33. ftstroke.h
  34. ftsynth.h
  35. ftsystem.h
  36. fttrigon.h
  37. fttypes.h
  38. t1tables.h
  39. ttnameid.h
  40. tttables.h
  41. tttags.h
  42. config/(
  43. ftconfig.h
  44. ftheader.h
  45. ftoption.h
  46. ftstdlib.h
  47. integer-types.h
  48. mac-support.h
  49. public-macros.h
  50. )
  51. )
  52. ]])
  53. cc('src/gzip/ftgzip.c', {'pkg/zlib/headers'})
  54. lib('libfreetype.a', [[
  55. builds/unix/ftsystem.c
  56. src/(
  57. base/(
  58. ftdebug.c ftinit.c ftbase.c
  59. ftbbox.c ftbdf.c ftbitmap.c ftcid.c ftfstype.c ftgasp.c
  60. ftglyph.c ftgxval.c ftmm.c ftotval.c ftpatent.c ftpfr.c
  61. ftstroke.c ftsynth.c fttype1.c ftwinfnt.c
  62. )
  63. truetype/truetype.c
  64. type1/type1.c
  65. cff/cff.c
  66. cid/type1cid.c
  67. pfr/pfr.c
  68. type42/type42.c
  69. winfonts/winfnt.c
  70. pcf/pcf.c
  71. bdf/bdf.c
  72. sfnt/sfnt.c
  73. autofit/autofit.c
  74. pshinter/pshinter.c
  75. smooth/smooth.c
  76. raster/raster.c
  77. sdf/sdf.c
  78. cache/ftcache.c
  79. gzip/ftgzip.c.o
  80. lzw/ftlzw.c
  81. bzip2/ftbzip2.c
  82. psaux/psaux.c
  83. psnames/psnames.c
  84. )
  85. $builddir/pkg/zlib/libz.a
  86. ]])
  87. fetch 'git'