2 # FreeType 2 Type1z 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 # Type1z driver directory
18 T1Z_DIR := $(SRC_)type1z
19 T1Z_DIR_ := $(T1Z_DIR)$(SEP)
22 # compilation flags for the driver
24 T1Z_COMPILE := $(FT_COMPILE)
27 # Type1 driver sources (i.e., C files)
29 T1Z_DRV_SRC := $(T1Z_DIR_)z1parse.c \
31 $(T1Z_DIR_)z1driver.c \
33 $(T1Z_DIR_)z1gload.c \
36 # Type1 driver headers
38 T1Z_DRV_H := $(T1Z_DRV_SRC:%.c=%.h) \
42 # Type1z driver object(s)
44 # T1Z_DRV_OBJ_M is used during `multi' builds
45 # T1Z_DRV_OBJ_S is used during `single' builds
47 T1Z_DRV_OBJ_M := $(T1Z_DRV_SRC:$(T1Z_DIR_)%.c=$(OBJ_)%.$O)
48 T1Z_DRV_OBJ_S := $(OBJ_)type1z.$O
50 # Type1z driver source file for single build
52 T1Z_DRV_SRC_S := $(T1Z_DIR_)type1z.c
55 # Type1z driver - single object
57 $(T1Z_DRV_OBJ_S): $(T1Z_DRV_SRC_S) $(T1Z_DRV_SRC) $(FREETYPE_H) $(T1Z_DRV_H)
58 $(T1Z_COMPILE) $T$@ $(T1Z_DRV_SRC_S)
61 # Type1z driver - multiple objects
63 $(OBJ_)%.$O: $(T1Z_DIR_)%.c $(FREETYPE_H) $(T1Z_DRV_H)
64 $(T1Z_COMPILE) $T$@ $<
67 # update main driver object lists
69 DRV_OBJS_S += $(T1Z_DRV_OBJ_S)
70 DRV_OBJS_M += $(T1Z_DRV_OBJ_M)