]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/cff/rules.mk
Applied patch sent to me for xpmdecod.cpp/VC++ compilation, and changed
[wxWidgets.git] / src / freetype / cff / rules.mk
CommitLineData
cabec872
RR
1#
2# FreeType 2 OpenType/CFF 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# OpenType driver directory
17#
18T2_DIR := $(SRC_)cff
19T2_DIR_ := $(T2_DIR)$(SEP)
20
21
22T2_COMPILE := $(FT_COMPILE)
23
24
25# T2 driver sources (i.e., C files)
26#
27T2_DRV_SRC := $(T2_DIR_)t2objs.c \
28 $(T2_DIR_)t2load.c \
29 $(T2_DIR_)t2gload.c \
30 $(T2_DIR_)t2parse.c \
31 $(T2_DIR_)t2driver.c
32
33# T2 driver headers
34#
35T2_DRV_H := $(T2_DRV_SRC:%.c=%.h) \
36 $(T2_DIR_)t2tokens.h
37
38
39# T2 driver object(s)
40#
41# T2_DRV_OBJ_M is used during `multi' builds
42# T2_DRV_OBJ_S is used during `single' builds
43#
44T2_DRV_OBJ_M := $(T2_DRV_SRC:$(T2_DIR_)%.c=$(OBJ_)%.$O)
45T2_DRV_OBJ_S := $(OBJ_)cff.$O
46
47# T2 driver source file for single build
48#
49T2_DRV_SRC_S := $(T2_DIR_)cff.c
50
51
52# T2 driver - single object
53#
54$(T2_DRV_OBJ_S): $(T2_DRV_SRC_S) $(T2_DRV_SRC) $(FREETYPE_H) $(T2_DRV_H)
55 $(T2_COMPILE) $T$@ $(T2_DRV_SRC_S)
56
57
58# T2 driver - multiple objects
59#
60$(OBJ_)%.$O: $(T2_DIR_)%.c $(FREETYPE_H) $(T2_DRV_H)
61 $(T2_COMPILE) $T$@ $<
62
63
64# update main driver object lists
65#
66DRV_OBJS_S += $(T2_DRV_OBJ_S)
67DRV_OBJS_M += $(T2_DRV_OBJ_M)
68
69# EOF