diff --git a/src/base/rules.mk b/src/base/rules.mk index 7ea7488ef..dd0f1a6d9 100644 --- a/src/base/rules.mk +++ b/src/base/rules.mk @@ -25,7 +25,7 @@ # in `freetype/lib/base' which are not compiled within the # base layer proper. -INCLUDES += $(SRC_)base +BASE_COMPILE := $(FT_COMPILE) $I$(SRC_)base # Base layer sources # @@ -89,12 +89,12 @@ BASE_SRC_S := $(BASE_)ftbase.c # Multiple objects build + extensions # $(OBJ_)ft%.$O: $(BASE_)ft%.c $(PUBLIC_H) $(BASE_H) - $(FT_COMPILE) $T$@ $< + $(BASE_COMPILE) $T$@ $< # Base layer - single object build # $(BASE_OBJ_S): $(PUBLIC_H) $(BASE_H) $(BASE_SRC_S) $(BASE_SRC) - $(FT_COMPILE) $T$@ $(BASE_SRC_S) + $(BASE_COMPILE) $T$@ $(BASE_SRC_S) # EOF diff --git a/src/psnames/rules.mk b/src/psnames/rules.mk index 25a1f1909..a97797b3a 100644 --- a/src/psnames/rules.mk +++ b/src/psnames/rules.mk @@ -16,8 +16,6 @@ ifndef PSNAMES_INCLUDE PSNAMES_INCLUDED := 1 - include $(SRC_)shared/rules.mk - # PSNAMES driver directory # PSNAMES_DIR := $(SRC_)psnames @@ -41,7 +39,7 @@ ifndef PSNAMES_INCLUDE # driver headers # - PSNAMES_DRV_H := $(SHARED_H) \ + PSNAMES_DRV_H := $(BASE_H) \ $(PSNAMES_DIR_)psdriver.h \ $(PSNAMES_DIR_)pstables.h diff --git a/src/sfnt/rules.mk b/src/sfnt/rules.mk index e67e4ff3f..31f7a8dc0 100644 --- a/src/sfnt/rules.mk +++ b/src/sfnt/rules.mk @@ -16,8 +16,6 @@ ifndef SFNT_INCLUDE SFNT_INCLUDED := 1 - include $(SRC_)shared/rules.mk - # SFNT driver directory # SFNT_DIR := $(SRC_)sfnt @@ -45,7 +43,7 @@ ifndef SFNT_INCLUDE # driver headers # - SFNT_DRV_H := $(SHARED_H) \ + SFNT_DRV_H := $(BASE_H) \ $(SFNT_DIR_)ttload.h \ $(SFNT_DIR_)ttsbit.h \ $(SFNT_DIR_)ttcmap.h \