[sdf] Fix GNU Make build.

* src/sdf/rules.mk (SDF_DRV_H): Manually add source files
  as there is a `ftbsdf.c' file without any `ftbsdf.h'.

* src/sdf/ftbsdf.c: Include `fttrigon.h' for `multi' builds.
This commit is contained in:
Anuj Verma 2020-07-26 16:21:57 +05:30 committed by anujverma
parent 470131db91
commit 6ccbf0ecf6
3 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2020-07-26 Anuj Verma <anujv@iitbhilai.ac.in>
[sdf] Fix GNU Make build.
* src/sdf/rules.mk (SDF_DRV_H): Manually add source files
as there is a `ftbsdf.c' file without any `ftbsdf.h'.
* src/sdf/ftbsdf.c: Include `fttrigon.h' for `multi' builds.
2020-07-26 Anuj Verma <anujv@iitbhilai.ac.in>
[sdf -> bsdf] Added first pass of the '8SED' algorithm.

View File

@ -2,6 +2,7 @@
#include <freetype/internal/ftobjs.h>
#include <freetype/internal/ftdebug.h>
#include <freetype/internal/ftmemory.h>
#include <freetype/fttrigon.h>
#include "ftsdf.h"
#include "ftsdferrs.h"

View File

@ -22,7 +22,8 @@ SDF_DRV_SRC := $(SDF_DIR)/ftsdfrend.c \
# sdf driver headers
#
SDF_DRV_H := $(SDF_DRV_SRC:%.c=%.h) \
SDF_DRV_H := $(SDF_DIR)/ftsdfrend.h \
$(SDF_DIR)/ftsdf.h \
$(SDF_DIR)/ftsdferrs.h