2
# FreeType 2 PSHinter driver configuration rules
7
# David Turner, Robert Wilhelm, and Werner Lemberg.
9
# This file is part of the FreeType project, and may only be used, modified,
10
# and distributed under the terms of the FreeType project license,
11
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
12
# indicate that you have read the license and understand and accept it
16
# PSHINTER driver directory
18
PSHINTER_DIR := $(SRC_)pshinter
19
PSHINTER_DIR_ := $(PSHINTER_DIR)$(SEP)
22
# compilation flags for the driver
24
PSHINTER_COMPILE := $(FT_COMPILE) $I$(PSHINTER_DIR)
27
# PSHINTER driver sources (i.e., C files)
29
PSHINTER_DRV_SRC := $(PSHINTER_DIR_)pshrec.c \
30
$(PSHINTER_DIR_)pshglob.c \
31
$(PSHINTER_DIR_)pshmod.c \
32
$(PSHINTER_DIR_)pshalgo1.c \
33
$(PSHINTER_DIR_)pshalgo2.c
36
# PSHINTER driver headers
38
PSHINTER_DRV_H := $(PSHINTER_DRV_SRC:%c=%h)
41
# PSHINTER driver object(s)
43
# PSHINTER_DRV_OBJ_M is used during `multi' builds.
44
# PSHINTER_DRV_OBJ_S is used during `single' builds.
46
PSHINTER_DRV_OBJ_M := $(PSHINTER_DRV_SRC:$(PSHINTER_DIR_)%.c=$(OBJ_)%.$O)
47
PSHINTER_DRV_OBJ_S := $(OBJ_)pshinter.$O
49
# PSHINTER driver source file for single build
51
PSHINTER_DRV_SRC_S := $(PSHINTER_DIR_)pshinter.c
54
# PSHINTER driver - single object
56
$(PSHINTER_DRV_OBJ_S): $(PSHINTER_DRV_SRC_S) $(PSHINTER_DRV_SRC) \
57
$(FREETYPE_H) $(PSHINTER_DRV_H)
58
$(PSHINTER_COMPILE) $T$@ $(PSHINTER_DRV_SRC_S)
61
# PSHINTER driver - multiple objects
63
$(OBJ_)%.$O: $(PSHINTER_DIR_)%.c $(FREETYPE_H) $(PSHINTER_DRV_H)
64
$(PSHINTER_COMPILE) $T$@ $<
67
# update main driver object lists
69
DRV_OBJS_S += $(PSHINTER_DRV_OBJ_S)
70
DRV_OBJS_M += $(PSHINTER_DRV_OBJ_M)