]> git.saurik.com Git - wxWidgets.git/blame - src/freetype/type1z/rules.mk
switched to new XPM code in wxMSW
[wxWidgets.git] / src / freetype / type1z / rules.mk
CommitLineData
cabec872
RR
1#
2# FreeType 2 Type1z 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# Type1z driver directory
17#
18T1Z_DIR := $(SRC_)type1z
19T1Z_DIR_ := $(T1Z_DIR)$(SEP)
20
21
22# compilation flags for the driver
23#
24T1Z_COMPILE := $(FT_COMPILE)
25
26
27# Type1 driver sources (i.e., C files)
28#
29T1Z_DRV_SRC := $(T1Z_DIR_)z1parse.c \
30 $(T1Z_DIR_)z1load.c \
31 $(T1Z_DIR_)z1driver.c \
32 $(T1Z_DIR_)z1afm.c \
33 $(T1Z_DIR_)z1gload.c \
34 $(T1Z_DIR_)z1objs.c
35
36# Type1 driver headers
37#
38T1Z_DRV_H := $(T1Z_DRV_SRC:%.c=%.h) \
39 $(T1Z_DIR_)z1tokens.h
40
41
42# Type1z driver object(s)
43#
44# T1Z_DRV_OBJ_M is used during `multi' builds
45# T1Z_DRV_OBJ_S is used during `single' builds
46#
47T1Z_DRV_OBJ_M := $(T1Z_DRV_SRC:$(T1Z_DIR_)%.c=$(OBJ_)%.$O)
48T1Z_DRV_OBJ_S := $(OBJ_)type1z.$O
49
50# Type1z driver source file for single build
51#
52T1Z_DRV_SRC_S := $(T1Z_DIR_)type1z.c
53
54
55# Type1z driver - single object
56#
57$(T1Z_DRV_OBJ_S): $(T1Z_DRV_SRC_S) $(T1Z_DRV_SRC) $(FREETYPE_H) $(T1Z_DRV_H)
58 $(T1Z_COMPILE) $T$@ $(T1Z_DRV_SRC_S)
59
60
61# Type1z driver - multiple objects
62#
63$(OBJ_)%.$O: $(T1Z_DIR_)%.c $(FREETYPE_H) $(T1Z_DRV_H)
64 $(T1Z_COMPILE) $T$@ $<
65
66
67# update main driver object lists
68#
69DRV_OBJS_S += $(T1Z_DRV_OBJ_S)
70DRV_OBJS_M += $(T1Z_DRV_OBJ_M)
71
72# EOF