]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/sfnt/rules.mk
OS/2 updates for statusbar processing
[wxWidgets.git] / src / freetype / sfnt / rules.mk
1 #
2 # FreeType 2 SFNT 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 # SFNT driver directory
17 #
18 SFNT_DIR := $(SRC_)sfnt
19 SFNT_DIR_ := $(SFNT_DIR)$(SEP)
20
21
22 # compilation flags for the driver
23 #
24 SFNT_COMPILE := $(FT_COMPILE)
25
26
27 # SFNT driver sources (i.e., C files)
28 #
29 SFNT_DRV_SRC := $(SFNT_DIR_)ttload.c \
30 $(SFNT_DIR_)ttcmap.c \
31 $(SFNT_DIR_)ttsbit.c \
32 $(SFNT_DIR_)ttpost.c \
33 $(SFNT_DIR_)sfobjs.c \
34 $(SFNT_DIR_)sfdriver.c
35
36 # SFNT driver headers
37 #
38 SFNT_DRV_H := $(SFNT_DRV_SRC:%c=%h)
39
40
41 # SFNT driver object(s)
42 #
43 # SFNT_DRV_OBJ_M is used during `multi' builds.
44 # SFNT_DRV_OBJ_S is used during `single' builds.
45 #
46 SFNT_DRV_OBJ_M := $(SFNT_DRV_SRC:$(SFNT_DIR_)%.c=$(OBJ_)%.$O)
47 SFNT_DRV_OBJ_S := $(OBJ_)sfnt.$O
48
49 # SFNT driver source file for single build
50 #
51 SFNT_DRV_SRC_S := $(SFNT_DIR_)sfnt.c
52
53
54 # SFNT driver - single object
55 #
56 $(SFNT_DRV_OBJ_S): $(SFNT_DRV_SRC_S) $(SFNT_DRV_SRC) \
57 $(FREETYPE_H) $(SFNT_DRV_H)
58 $(SFNT_COMPILE) $T$@ $(SFNT_DRV_SRC_S)
59
60
61 # SFNT driver - multiple objects
62 #
63 $(OBJ_)%.$O: $(SFNT_DIR_)%.c $(FREETYPE_H) $(SFNT_DRV_H)
64 $(SFNT_COMPILE) $T$@ $<
65
66
67 # update main driver object lists
68 #
69 DRV_OBJS_S += $(SFNT_DRV_OBJ_S)
70 DRV_OBJS_M += $(SFNT_DRV_OBJ_M)
71
72
73 # EOF