summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/svg/rules.mk35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/svg/rules.mk b/src/svg/rules.mk
index 33703d594..3fa41606d 100644
--- a/src/svg/rules.mk
+++ b/src/svg/rules.mk
@@ -19,42 +19,41 @@ SVG_DIR := $(SRC_DIR)/svg
# compilation flags for the driver
#
-SVG_COMPILE := $(CC) $(ANSIFLAGS) \
- $I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
- $(INCLUDE_FLAGS) \
- $(FT_CFLAGS)
+SVG_COMPILE := $(CC) $(ANSIFLAGS) \
+ $I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
+ $(INCLUDE_FLAGS) \
+ $(FT_CFLAGS)
-SVG_PORT_COMPILE := $(CC) \
- $I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
- $(INCLUDE_FLAGS) \
- $(FT_CFLAGS)
+# seperate compilation command for default rendering port files
+SVG_PORT_COMPILE := $(CC) $I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
+ $(INCLUDE_FLAGS) \
+ $(FT_CFLAGS)
-# raster driver sources (i.e., C files)
+# svg renderer sources (i.e., C files)
#
SVG_DRV_SRC := $(SVG_DIR)/ftsvg.c \
- $(SVG_DIR)/svgtypes.c
+ $(SVG_DIR)/svgtypes.c
-# raster driver headers
+# svg renderer headers
#
SVG_DRV_H := $(SVG_DIR)/ftsvg.h
-# raster driver object(s)
+# svg renderer object(s)
#
-# RASTER_DRV_OBJ_M is used during `multi' builds.
-# RASTER_DRV_OBJ_S is used during `single' builds.
+# SVG_DRV_OBJ_M is used during `multi' builds.
+# SVG_DRV_OBJ_S is used during `single' builds.
#
-#RASTER_DRV_OBJ_M := $(RASTER_DRV_SRC:$(RASTER_DIR)/%.c=$(OBJ_DIR)/%.$O)
SVG_DRV_OBJ_M := $(SVG_DRV_SRC:$(SVG_DIR)/%.c=$(OBJ_DIR)/%.$O)
SVG_DRV_OBJ_S := $(OBJ_DIR)/svg.$O
-# raster driver source file for single build
+# svg renderer source file for single build
#
SVG_DRV_SRC_S := $(SVG_DIR)/svg.c
-# raster driver - single object
+# svg renderer - single object
#
SVG_PORT_SRC_S := $(SVG_DIR)/rsvg_port.c
@@ -70,7 +69,7 @@ $(SVG_DRV_OBJ_S): $(SVG_DRV_SRC_S) $(SVG_DRV_SRC) \
$(SVG_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(SVG_DRV_SRC_S))
-# raster driver - multiple objects
+# svg renderer - multiple objects
#
$(OBJ_DIR)/%.$O: $(SVG_DIR)/%.c $(FREETYPE_H) $(SVG_DRV_H)
$(SVG_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)