2 # FreeType 2 CID driver configuration rules
6 # Copyright 1996-2000, 2001 by
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 # CID driver directory
19 CID_DIR_ := $(CID_DIR)$(SEP)
22 CID_COMPILE := $(FT_COMPILE) $I$(CID_DIR)
25 # CID driver sources (i.e., C files)
27 CID_DRV_SRC := $(CID_DIR_)cidparse.c \
28 $(CID_DIR_)cidload.c \
29 $(CID_DIR_)cidriver.c \
30 $(CID_DIR_)cidgload.c \
35 CID_DRV_H := $(CID_DRV_SRC:%.c=%.h) \
36 $(CID_DIR_)cidtoken.h \
40 # CID driver object(s)
42 # CID_DRV_OBJ_M is used during `multi' builds
43 # CID_DRV_OBJ_S is used during `single' builds
45 CID_DRV_OBJ_M := $(CID_DRV_SRC:$(CID_DIR_)%.c=$(OBJ_)%.$O)
46 CID_DRV_OBJ_S := $(OBJ_)type1cid.$O
48 # CID driver source file for single build
50 CID_DRV_SRC_S := $(CID_DIR_)type1cid.c
53 # CID driver - single object
55 $(CID_DRV_OBJ_S): $(CID_DRV_SRC_S) $(CID_DRV_SRC) $(FREETYPE_H) $(CID_DRV_H)
56 $(CID_COMPILE) $T$@ $(CID_DRV_SRC_S)
59 # CID driver - multiple objects
61 $(OBJ_)%.$O: $(CID_DIR_)%.c $(FREETYPE_H) $(CID_DRV_H)
62 $(CID_COMPILE) $T$@ $<
65 # update main driver object lists
67 DRV_OBJS_S += $(CID_DRV_OBJ_S)
68 DRV_OBJS_M += $(CID_DRV_OBJ_M)