update for HEAD-2003050101
[reactos.git] / lib / freetype / src / type1 / rules.mk
1 #
2 # FreeType 2 Type1 driver configuration rules
3 #
4
5
6 # Copyright 1996-2000, 2001 by
7 # David Turner, Robert Wilhelm, and Werner Lemberg.
8 #
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
13 # fully.
14
15
16 # Type1 driver directory
17 #
18 T1_DIR  := $(SRC_)type1
19 T1_DIR_ := $(T1_DIR)$(SEP)
20
21
22 # compilation flags for the driver
23 #
24 T1_COMPILE := $(FT_COMPILE) $I$(T1_DIR)
25
26
27 # Type1 driver sources (i.e., C files)
28 #
29 T1_DRV_SRC := $(T1_DIR_)t1parse.c  \
30               $(T1_DIR_)t1load.c   \
31               $(T1_DIR_)t1driver.c \
32               $(T1_DIR_)t1afm.c    \
33               $(T1_DIR_)t1gload.c  \
34               $(T1_DIR_)t1objs.c
35
36 # Type1 driver headers
37 #
38 T1_DRV_H := $(T1_DRV_SRC:%.c=%.h) \
39             $(T1_DIR_)t1tokens.h  \
40             $(T1_DIR_)t1errors.h
41
42
43 # Type1 driver object(s)
44 #
45 #   T1_DRV_OBJ_M is used during `multi' builds
46 #   T1_DRV_OBJ_S is used during `single' builds
47 #
48 T1_DRV_OBJ_M := $(T1_DRV_SRC:$(T1_DIR_)%.c=$(OBJ_)%.$O)
49 T1_DRV_OBJ_S := $(OBJ_)type1.$O
50
51 # Type1 driver source file for single build
52 #
53 T1_DRV_SRC_S := $(T1_DIR_)type1.c
54
55
56 # Type1 driver - single object
57 #
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)
60
61
62 # Type1 driver - multiple objects
63 #
64 $(OBJ_)%.$O: $(T1_DIR_)%.c $(FREETYPE_H) $(T1_DRV_H)
65         $(T1_COMPILE) $T$@ $<
66
67
68 # update main driver object lists
69 #
70 DRV_OBJS_S += $(T1_DRV_OBJ_S)
71 DRV_OBJS_M += $(T1_DRV_OBJ_M)
72
73 # EOF