2 # FreeType 2 Type 1 driver configuration rules
6 # Copyright 1996-2000 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 # Type1 driver directory
18 T1_DIR := $(SRC_)type1
19 T1_DIR_ := $(T1_DIR)$(SEP)
22 # compilation flags for the driver
24 T1_COMPILE := $(FT_COMPILE)
27 # Type1 driver sources (i.e., C files)
29 T1_DRV_SRC := $(T1_DIR_)t1objs.c \
32 $(T1_DIR_)t1tokens.c \
33 $(T1_DIR_)t1driver.c \
34 $(T1_DIR_)t1hinter.c \
38 # Type1 driver headers
40 T1_DRV_H := $(T1_DRV_SRC:%.c=%.h)
43 # Type1 driver object(s)
45 # T1_DRV_OBJ_M is used during `multi' builds
46 # T1_DRV_OBJ_S is used during `single' builds
48 T1_DRV_OBJ_M := $(T1_DRV_SRC:$(T1_DIR_)%.c=$(OBJ_)%.$O)
49 T1_DRV_OBJ_S := $(OBJ_)type1.$O
51 # Type1 driver source file for single build
53 T1_DRV_SRC_S := $(T1_DIR_)type1.c
56 # Type1 driver - single object
58 $(T1_DRV_OBJ_S): $(T1_DRV_SRC_S) $(T1_DRV_SRC) $(FREETYPE_H) $(T1_DRV_H)
59 $(T1_COMPILE) $T$@ $(T1_DRV_SRC_S)
62 # Type1 driver - multiple objects
64 $(OBJ_)%.$O: $(T1_DIR_)%.c $(FREETYPE_H) $(T1_DRV_H)
68 # update main driver object lists
70 DRV_OBJS_S += $(T1_DRV_OBJ_S)
71 DRV_OBJS_M += $(T1_DRV_OBJ_M)