update for HEAD-2003050101
[reactos.git] / lib / freetype / src / pshinter / rules.mk
1 #
2 # FreeType 2 PSHinter driver configuration rules
3 #
4
5
6 # Copyright 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 # PSHINTER driver directory
17 #
18 PSHINTER_DIR  := $(SRC_)pshinter
19 PSHINTER_DIR_ := $(PSHINTER_DIR)$(SEP)
20
21
22 # compilation flags for the driver
23 #
24 PSHINTER_COMPILE := $(FT_COMPILE) $I$(PSHINTER_DIR)
25
26
27 # PSHINTER driver sources (i.e., C files)
28 #
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 \
34                     $(PSHINTER_DIR_)pshalgo3.c
35
36
37 # PSHINTER driver headers
38 #
39 PSHINTER_DRV_H := $(PSHINTER_DRV_SRC:%c=%h)
40
41
42 # PSHINTER driver object(s)
43 #
44 #   PSHINTER_DRV_OBJ_M is used during `multi' builds.
45 #   PSHINTER_DRV_OBJ_S is used during `single' builds.
46 #
47 PSHINTER_DRV_OBJ_M := $(PSHINTER_DRV_SRC:$(PSHINTER_DIR_)%.c=$(OBJ_)%.$O)
48 PSHINTER_DRV_OBJ_S := $(OBJ_)pshinter.$O
49
50 # PSHINTER driver source file for single build
51 #
52 PSHINTER_DRV_SRC_S := $(PSHINTER_DIR_)pshinter.c
53
54
55 # PSHINTER driver - single object
56 #
57 $(PSHINTER_DRV_OBJ_S): $(PSHINTER_DRV_SRC_S) $(PSHINTER_DRV_SRC) \
58                        $(FREETYPE_H) $(PSHINTER_DRV_H)
59         $(PSHINTER_COMPILE) $T$@ $(PSHINTER_DRV_SRC_S)
60
61
62 # PSHINTER driver - multiple objects
63 #
64 $(OBJ_)%.$O: $(PSHINTER_DIR_)%.c $(FREETYPE_H) $(PSHINTER_DRV_H)
65         $(PSHINTER_COMPILE) $T$@ $<
66
67
68 # update main driver object lists
69 #
70 DRV_OBJS_S += $(PSHINTER_DRV_OBJ_S)
71 DRV_OBJS_M += $(PSHINTER_DRV_OBJ_M)
72
73
74 # EOF