diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-02 02:06:55 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-02 04:20:10 -0700 |
| commit | 3286b467f78046d955adcdeae91a196fa30d69c3 (patch) | |
| tree | 0130b80f062a836bff7d65c46b0b9bf5adce83ca /pkg/freetype/gen.lua | |
| parent | 76d148af6253d52ff64fa5a3cb725611bf32198f (diff) | |
freetype: Add header target
Diffstat (limited to 'pkg/freetype/gen.lua')
| -rw-r--r-- | pkg/freetype/gen.lua | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkg/freetype/gen.lua b/pkg/freetype/gen.lua index 456b46dd..c326eca0 100644 --- a/pkg/freetype/gen.lua +++ b/pkg/freetype/gen.lua @@ -11,6 +11,45 @@ cflags{ '-I $builddir/pkg/zlib/include', } +pkg.hdrs = copy('$outdir/include', '$srcdir/include', paths[[ + ft2build.h + freetype/( + freetype.h + ftadvanc.h + ftbdf.h + ftbitmap.h + ftcache.h + ftcolor.h + fterrdef.h + fterrors.h + ftfntfmt.h + ftglyph.h + ftimage.h + ftmm.h + ftmodapi.h + ftmoderr.h + ftoutln.h + ftparams.h + ftsizes.h + ftsnames.h + ftstroke.h + ftsynth.h + ftsystem.h + fttrigon.h + fttypes.h + t1tables.h + ttnameid.h + tttables.h + tttags.h + config/( + ftconfig.h + ftheader.h + ftoption.h + ftstdlib.h + ) + ) +]]) + cc('src/gzip/ftgzip.c', {'pkg/zlib/headers'}) lib('libfreetype.a', [[ builds/unix/ftsystem.c |
