]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/autohint/rules.mk
implemented wxGetSingleChoiceIndex version that takes wxArrayString
[wxWidgets.git] / src / freetype / autohint / rules.mk
1 #
2 # FreeType 2 auto-hinter module configuration rules
3 #
4
5
6 # Copyright 2000 Catharon Productions Inc.
7 # Author: David Turner
8 #
9 # This file is part of the Catharon Typography Project and shall only
10 # be used, modified, and distributed under the terms of the Catharon
11 # Open Source License that should come with this file under the name
12 # `CatharonLicense.txt'. By continuing to use, modify, or distribute
13 # this file you indicate that you have read the license and
14 # understand and accept it fully.
15 #
16 # Note that this license is compatible with the FreeType license.
17
18
19 # AUTO driver directory
20 #
21 AUTO_DIR := $(SRC_)autohint
22 AUTO_DIR_ := $(AUTO_DIR)$(SEP)
23
24
25 # compilation flags for the driver
26 #
27 AUTO_COMPILE := $(FT_COMPILE)
28
29
30 # AUTO driver sources (i.e., C files)
31 #
32 AUTO_DRV_SRC := $(AUTO_DIR_)ahangles.c \
33 $(AUTO_DIR_)ahglobal.c \
34 $(AUTO_DIR_)ahglyph.c \
35 $(AUTO_DIR_)ahhint.c \
36 $(AUTO_DIR_)ahmodule.c
37
38 # AUTO driver headers
39 #
40 AUTO_DRV_H := $(AUTO_DRV_SRC:%c=%h) \
41 $(AUTO_DIR_)ahloader.h \
42 $(AUTO_DIR_)ahtypes.h
43
44
45 # AUTO driver object(s)
46 #
47 # AUTO_DRV_OBJ_M is used during `multi' builds.
48 # AUTO_DRV_OBJ_S is used during `single' builds.
49 #
50 AUTO_DRV_OBJ_M := $(AUTO_DRV_SRC:$(AUTO_DIR_)%.c=$(OBJ_)%.$O)
51 AUTO_DRV_OBJ_S := $(OBJ_)autohint.$O
52
53 # AUTO driver source file for single build
54 #
55 AUTO_DRV_SRC_S := $(AUTO_DIR_)autohint.c
56
57
58 # AUTO driver - single object
59 #
60 $(AUTO_DRV_OBJ_S): $(AUTO_DRV_SRC_S) $(AUTO_DRV_SRC) \
61 $(FREETYPE_H) $(AUTO_DRV_H)
62 $(AUTO_COMPILE) $T$@ $(AUTO_DRV_SRC_S)
63
64
65 # AUTO driver - multiple objects
66 #
67 $(OBJ_)%.$O: $(AUTO_DIR_)%.c $(FREETYPE_H) $(AUTO_DRV_H)
68 $(AUTO_COMPILE) $T$@ $<
69
70
71 # update main driver object lists
72 #
73 DRV_OBJS_S += $(AUTO_DRV_OBJ_S)
74 DRV_OBJS_M += $(AUTO_DRV_OBJ_M)
75
76
77 # EOF