forked from minhngoc25a/freetype2
Formatting improvement.
This commit is contained in:
parent
cff4467f25
commit
2727bba550
|
@ -19,42 +19,41 @@ SVG_DIR := $(SRC_DIR)/svg
|
||||||
|
|
||||||
# compilation flags for the driver
|
# compilation flags for the driver
|
||||||
#
|
#
|
||||||
SVG_COMPILE := $(CC) $(ANSIFLAGS) \
|
SVG_COMPILE := $(CC) $(ANSIFLAGS) \
|
||||||
$I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
|
$I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
|
||||||
$(INCLUDE_FLAGS) \
|
$(INCLUDE_FLAGS) \
|
||||||
$(FT_CFLAGS)
|
$(FT_CFLAGS)
|
||||||
|
|
||||||
SVG_PORT_COMPILE := $(CC) \
|
# seperate compilation command for default rendering port files
|
||||||
$I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
|
SVG_PORT_COMPILE := $(CC) $I$(subst /,$(COMPILER_SEP),$(SVG_DIR)) \
|
||||||
$(INCLUDE_FLAGS) \
|
$(INCLUDE_FLAGS) \
|
||||||
$(FT_CFLAGS)
|
$(FT_CFLAGS)
|
||||||
|
|
||||||
# raster driver sources (i.e., C files)
|
# svg renderer sources (i.e., C files)
|
||||||
#
|
#
|
||||||
SVG_DRV_SRC := $(SVG_DIR)/ftsvg.c \
|
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
|
SVG_DRV_H := $(SVG_DIR)/ftsvg.h
|
||||||
|
|
||||||
|
|
||||||
# raster driver object(s)
|
# svg renderer object(s)
|
||||||
#
|
#
|
||||||
# RASTER_DRV_OBJ_M is used during `multi' builds.
|
# SVG_DRV_OBJ_M is used during `multi' builds.
|
||||||
# RASTER_DRV_OBJ_S is used during `single' 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_M := $(SVG_DRV_SRC:$(SVG_DIR)/%.c=$(OBJ_DIR)/%.$O)
|
||||||
SVG_DRV_OBJ_S := $(OBJ_DIR)/svg.$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
|
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
|
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))
|
$(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)
|
$(OBJ_DIR)/%.$O: $(SVG_DIR)/%.c $(FREETYPE_H) $(SVG_DRV_H)
|
||||||
$(SVG_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
$(SVG_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
||||||
|
|
Loading…
Reference in New Issue