]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/truetype/rules.mk
added conversion routines to CIconHandle
[wxWidgets.git] / src / freetype / truetype / rules.mk
CommitLineData
cabec872
RR
1#
2# FreeType 2 TrueType driver configuration rules
3#
4
5
6# Copyright 1996-2000 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# TrueType driver directory
17#
18TT_DIR := $(SRC_)truetype
19TT_DIR_ := $(TT_DIR)$(SEP)
20
21
22# compilation flags for the driver
23#
24TT_COMPILE := $(FT_COMPILE)
25
26
27# TrueType driver sources (i.e., C files)
28#
29TT_DRV_SRC := $(TT_DIR_)ttobjs.c \
30 $(TT_DIR_)ttpload.c \
31 $(TT_DIR_)ttgload.c \
32 $(TT_DIR_)ttinterp.c \
33 $(TT_DIR_)ttdriver.c
34
35# TrueType driver headers
36#
37TT_DRV_H := $(TT_DRV_SRC:%.c=%.h)
38
39
40# TrueType driver object(s)
41#
42# TT_DRV_OBJ_M is used during `multi' builds
43# TT_DRV_OBJ_S is used during `single' builds
44#
45TT_DRV_OBJ_M := $(TT_DRV_SRC:$(TT_DIR_)%.c=$(OBJ_)%.$O)
46TT_DRV_OBJ_S := $(OBJ_)truetype.$O
47
48# TrueType driver source file for single build
49#
50TT_DRV_SRC_S := $(TT_DIR_)truetype.c
51
52
53# TrueType driver - single object
54#
55$(TT_DRV_OBJ_S): $(TT_DRV_SRC_S) $(TT_DRV_SRC) $(FREETYPE_H) $(TT_DRV_H)
56 $(TT_COMPILE) $T$@ $(TT_DRV_SRC_S)
57
58
59# driver - multiple objects
60#
61$(OBJ_)%.$O: $(TT_DIR_)%.c $(FREETYPE_H) $(TT_DRV_H)
62 $(TT_COMPILE) $T$@ $<
63
64
65# update main driver object lists
66#
67DRV_OBJS_S += $(TT_DRV_OBJ_S)
68DRV_OBJS_M += $(TT_DRV_OBJ_M)
69
70# EOF