update for HEAD-2003050101
[reactos.git] / lib / freetype / src / winfonts / rules.mk
1 #
2 # FreeType 2 Windows FNT/FON 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 # Windows driver directory
17 #
18 FNT_DIR  := $(SRC_)winfonts
19 FNT_DIR_ := $(FNT_DIR)$(SEP)
20
21
22 FNT_COMPILE := $(FT_COMPILE) $I$(FNT_DIR)
23
24
25 # Windows driver sources (i.e., C files)
26 #
27 FNT_DRV_SRC := $(FNT_DIR_)winfnt.c
28
29 # Windows driver headers
30 #
31 FNT_DRV_H := $(FNT_DRV_SRC:%.c=%.h) \
32              $(FNT_DIR_)fnterrs.h
33
34
35 # Windows driver object(s)
36 #
37 #   FNT_DRV_OBJ_M is used during `multi' builds
38 #   FNT_DRV_OBJ_S is used during `single' builds
39 #
40 FNT_DRV_OBJ_M := $(FNT_DRV_SRC:$(FNT_DIR_)%.c=$(OBJ_)%.$O)
41 FNT_DRV_OBJ_S := $(OBJ_)winfnt.$O
42
43 # Windows driver source file for single build
44 #
45 FNT_DRV_SRC_S := $(FNT_DIR_)winfnt.c
46
47
48 # Windows driver - single object
49 #
50 $(FNT_DRV_OBJ_S): $(FNT_DRV_SRC_S) $(FNT_DRV_SRC) $(FREETYPE_H) $(FNT_DRV_H)
51         $(FNT_COMPILE) $T$@ $(FNT_DRV_SRC_S)
52
53
54 # Windows driver - multiple objects
55 #
56 $(OBJ_)%.$O: $(FNT_DIR_)%.c $(FREETYPE_H) $(FNT_DRV_H)
57         $(FNT_COMPILE) $T$@ $<
58
59
60 # update main driver object lists
61 #
62 DRV_OBJS_S += $(FNT_DRV_OBJ_S)
63 DRV_OBJS_M += $(FNT_DRV_OBJ_M)
64
65 # EOF