]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/type1/rules.mk0
fixed memory allocation code of wxStreamBuffer to not realloc() new[]ed memory any...
[wxWidgets.git] / src / freetype / type1 / rules.mk0
CommitLineData
cabec872
RR
1#
2# FreeType 2 Type 1 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# Type1 driver directory
17#
18T1_DIR := $(SRC_)type1
19T1_DIR_ := $(T1_DIR)$(SEP)
20
21
22# compilation flags for the driver
23#
24T1_COMPILE := $(FT_COMPILE)
25
26
27# Type1 driver sources (i.e., C files)
28#
29T1_DRV_SRC := $(T1_DIR_)t1objs.c \
30 $(T1_DIR_)t1load.c \
31 $(T1_DIR_)t1parse.c \
32 $(T1_DIR_)t1tokens.c \
33 $(T1_DIR_)t1driver.c \
34 $(T1_DIR_)t1hinter.c \
35 $(T1_DIR_)t1afm.c \
36 $(T1_DIR_)t1gload.c
37
38# Type1 driver headers
39#
40T1_DRV_H := $(T1_DRV_SRC:%.c=%.h)
41
42
43# Type1 driver object(s)
44#
45# T1_DRV_OBJ_M is used during `multi' builds
46# T1_DRV_OBJ_S is used during `single' builds
47#
48T1_DRV_OBJ_M := $(T1_DRV_SRC:$(T1_DIR_)%.c=$(OBJ_)%.$O)
49T1_DRV_OBJ_S := $(OBJ_)type1.$O
50
51# Type1 driver source file for single build
52#
53T1_DRV_SRC_S := $(T1_DIR_)type1.c
54
55
56# Type1 driver - single object
57#
58$(T1_DRV_OBJ_S): $(T1_DRV_SRC_S) $(T1_DRV_SRC) $(FREETYPE_H) $(T1_DRV_H)
59 $(T1_COMPILE) $T$@ $(T1_DRV_SRC_S)
60
61
62# Type1 driver - multiple objects
63#
64$(OBJ_)%.$O: $(T1_DIR_)%.c $(FREETYPE_H) $(T1_DRV_H)
65 $(T1_COMPILE) $T$@ $<
66
67
68# update main driver object lists
69#
70DRV_OBJS_S += $(T1_DRV_OBJ_S)
71DRV_OBJS_M += $(T1_DRV_OBJ_M)
72
73
74# EOF