This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / lib / freetype / src / pfr / rules.mk
1 #
2 # FreeType 2 PFR driver configuration rules
3 #
4
5
6 # Copyright 2002 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 # pfr driver directory
17 #
18 PFR_DIR  := $(SRC_)pfr
19 PFR_DIR_ := $(PFR_DIR)$(SEP)
20
21
22 # compilation flags for the driver
23 #
24 PFR_COMPILE := $(FT_COMPILE) $I$(PFR_DIR)
25
26
27 # pfr driver sources (i.e., C files)
28 #
29 PFR_DRV_SRC := $(PFR_DIR_)pfrload.c  \
30                $(PFR_DIR_)pfrgload.c \
31                $(PFR_DIR_)pfrcmap.c  \
32                $(PFR_DIR_)pfrdrivr.c \
33                $(PFR_DIR_)pfrobjs.c
34
35 # pfr driver headers
36 #
37 PFR_DRV_H := $(PFR_DRV_SRC:%.c=%.h) \
38              $(PFR_DIR_)pfrerror.h
39
40
41 # Pfr driver object(s)
42 #
43 #   PFR_DRV_OBJ_M is used during `multi' builds
44 #   PFR_DRV_OBJ_S is used during `single' builds
45 #
46 PFR_DRV_OBJ_M := $(PFR_DRV_SRC:$(PFR_DIR_)%.c=$(OBJ_)%.$O)
47 PFR_DRV_OBJ_S := $(OBJ_)pfr.$O
48
49 # pfr driver source file for single build
50 #
51 PFR_DRV_SRC_S := $(PFR_DIR_)pfr.c
52
53
54 # pfr driver - single object
55 #
56 $(PFR_DRV_OBJ_S): $(PFR_DRV_SRC_S) $(PFR_DRV_SRC) $(FREETYPE_H) $(PFR_DRV_H)
57         $(PFR_COMPILE) $T$@ $(PFR_DRV_SRC_S)
58
59
60 # pfr driver - multiple objects
61 #
62 $(OBJ_)%.$O: $(PFR_DIR_)%.c $(FREETYPE_H) $(PFR_DRV_H)
63         $(PFR_COMPILE) $T$@ $<
64
65
66 # update main driver object lists
67 #
68 DRV_OBJS_S += $(PFR_DRV_OBJ_S)
69 DRV_OBJS_M += $(PFR_DRV_OBJ_M)
70
71 # EOF