shithub: freetype+ttf2subf

Download patch

ref: 3ba47068a60bc501d0eb7fe4383a30fc34c349de
parent: 3b925ef74408cc2cf954c89fc40e2c2fceeb25f2
author: David Turner <[email protected]>
date: Mon Jan 17 06:25:57 EST 2000

some updates to the "rules.mk" files. Basically, we now
use "$(FT_COMPILE)" instead of "$(FT_CC)" in order to
compile the library.

$(FT_COMPILE) uses the $(ANSI_FLAGS) variable used to
define ANSI-compliance flags for the current compiler. It is used
to compile the library exclusively (some demo programs will _not_
compile properly with these flags set).

git/fs: mount .git/fs: mount/attach disallowed
--- a/src/base/rules.mk
+++ b/src/base/rules.mk
@@ -124,13 +124,13 @@
 # Multiple objects build + extensions
 #
 $(OBJ_)ft%.$O: $(BASE_)ft%.c $(PUBLIC_H) $(BASE_H)
-	$(FT_CC) $T$@ $<
+	$(FT_COMPILE) $T$@ $<
 
 
 # Base layer - single object build
 #
 $(BASE_OBJ_S): $(PUBLIC_H) $(BASE_H) $(BASE_SRC_S) $(BASE_SRC)
-	$(FT_CC) $T$@ $(BASE_SRC_S)
+	$(FT_COMPILE) $T$@ $(BASE_SRC_S)
 
 
 # END
--- a/src/sfnt/rules.mk
+++ b/src/sfnt/rules.mk
@@ -99,7 +99,7 @@
 # compilation flags for the driver
 #
 SFNT_CFLAGS  := $(SFNT_INCLUDE:%=$I%)
-SFNT_COMPILE := $(FT_CC) $(SFNT_CFLAGS) 
+SFNT_COMPILE := $(FT_COMPILE) $(SFNT_CFLAGS) 
 
 
 # TrueType driver sources (i.e., C files)
--- a/src/truetype/rules.mk
+++ b/src/truetype/rules.mk
@@ -106,7 +106,7 @@
 # compilation flags for the driver
 #
 TT_CFLAGS  := $(TT_INCLUDE:%=$I%)
-TT_COMPILE := $(FT_CC) $(TT_CFLAGS) 
+TT_COMPILE := $(FT_COMPILE) $(TT_CFLAGS) 
 
 
 # TrueType driver sources (i.e., C files)
--- a/src/type1/rules.mk
+++ b/src/type1/rules.mk
@@ -91,7 +91,7 @@
 # additional include flags used when compiling the driver
 #
 T1_INCLUDE := $(SHARED) $(T1_DIR)
-T1_COMPILE := $(FT_CC) $(T1_INCLUDE:%=$I%)
+T1_COMPILE := $(FT_COMPILE) $(T1_INCLUDE:%=$I%)
 
 
 # Type1 driver sources (i.e., C files)
@@ -101,7 +101,7 @@
               $(T1_DIR_)t1parse.c   \
               $(T1_DIR_)t1tokens.c  \
               $(T1_DIR_)t1driver.c  \
-	      $(T1_DIR_)t1encode.c  \
+	          $(T1_DIR_)t1encode.c  \
               $(T1_DIR_)t1hinter.c  \
               $(T1_DIR_)t1gload.c