freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2-demos] sdf 401c374 8/9: Add `ftsdf` to the build system.


From: Werner LEMBERG
Subject: [freetype2-demos] sdf 401c374 8/9: Add `ftsdf` to the build system.
Date: Tue, 22 Dec 2020 12:07:37 -0500 (EST)

branch: sdf
commit 401c374fb9010be00357d85a0c1ef63ed71e2cc0
Author: Anuj Verma <anujv@iitbhilai.ac.in>
Commit: Werner Lemberg <wl@gnu.org>

    Add `ftsdf` to the build system.
    
    * Makefile (EXES): Add `ftsdf`.
    Add compile and link rules for `ftsdf`.
---
 ChangeLog |  7 +++++++
 Makefile  | 16 ++++++++++++++++
 2 files changed, 23 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 2ceef34..bf43c0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2020-08-22  Anuj Verma  <anujv@iitbhilai.ac.in>
 
+       Add `ftsdf` to the build system.
+
+       * Makefile (EXES): Add `ftsdf`.
+       Add compile and link rules for `ftsdf`.
+
+2020-08-22  Anuj Verma  <anujv@iitbhilai.ac.in>
+
        [graph] Add function to pass custom color for writing headers.
 
        * graph/grfont.h, graph/grfont.c (grGotobitmapColor): New function.
diff --git a/Makefile b/Makefile
index 7d79738..ee2091e 100644
--- a/Makefile
+++ b/Makefile
@@ -298,6 +298,7 @@ else
           ftgamma  \
           ftgrid   \
           ftmulti  \
+          ftsdf    \
           ftstring \
           ftview
 
@@ -442,6 +443,18 @@ else
 
   ####################################################################
   #
+  # Special rule to compile the `ftsdf' program as it includes
+  # internal header files.
+  #
+  $(OBJ_DIR_2)/ftsdf.$(SO): $(SRC_DIR)/ftsdf.c \
+                            $(SRC_DIR)/ftcommon.h \
+                            $(GRAPH_LIB)
+         $(COMPILE) $(GRAPH_INCLUDES:%=$I%) \
+                     $T$(subst /,$(COMPILER_SEP),$@ $<) $DFT2_BUILD_LIBRARY
+
+
+  ####################################################################
+  #
   # Special rule to compile the `ftdiff' program as it includes
   # internal header files.
   #
@@ -548,6 +561,9 @@ else
                            $(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ)
          $(LINK_NEW)
 
+  $(BIN_DIR_2)/ftsdf$E: $(OBJ_DIR_2)/ftsdf.$(SO) $(FTLIB) \
+                        $(GRAPH_LIB) $(COMMON_OBJ) $(FTCOMMON_OBJ)
+         $(LINK_NEW)
 
 endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]