source: trunk/poppler/freetype-2.1.10/src/autofit/rules.mk @ 2

Last change on this file since 2 was 2, checked in by Eugene Romanenko, 15 years ago

First import

File size: 1.9 KB
Line 
1#
2# FreeType 2 auto-fitter module configuration rules
3#
4
5
6# Copyright 2003, 2004, 2005 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# AUTOF driver directory
17#
18AUTOF_DIR := $(SRC_DIR)/autofit
19
20
21# compilation flags for the driver
22#
23AUTOF_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(AUTOF_DIR))
24
25
26# AUTOF driver sources (i.e., C files)
27#
28AUTOF_DRV_SRC := $(AUTOF_DIR)/afangles.c \
29                 $(AUTOF_DIR)/afdummy.c  \
30                 $(AUTOF_DIR)/afglobal.c \
31                 $(AUTOF_DIR)/afhints.c  \
32                 $(AUTOF_DIR)/aflatin.c  \
33                 $(AUTOF_DIR)/afloader.c \
34                 $(AUTOF_DIR)/afmodule.c
35
36# AUTOF driver headers
37#
38AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h)  \
39               $(AUTOF_DIR)/aftypes.h  \
40               $(AUTOF_DIR)/aferrors.h
41
42
43# AUTOF driver object(s)
44#
45#   AUTOF_DRV_OBJ_M is used during `multi' builds.
46#   AUTOF_DRV_OBJ_S is used during `single' builds.
47#
48AUTOF_DRV_OBJ_M := $(AUTOF_DRV_SRC:$(AUTOF_DIR)/%.c=$(OBJ_DIR)/%.$O)
49AUTOF_DRV_OBJ_S := $(OBJ_DIR)/autofit.$O
50
51# AUTOF driver source file for single build
52#
53AUTOF_DRV_SRC_S := $(AUTOF_DIR)/autofit.c
54
55
56# AUTOF driver - single object
57#
58$(AUTOF_DRV_OBJ_S): $(AUTOF_DRV_SRC_S) $(AUTOF_DRV_SRC) \
59                   $(FREETYPE_H) $(AUTOF_DRV_H)
60        $(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(AUTOF_DRV_SRC_S))
61
62
63# AUTOF driver - multiple objects
64#
65$(OBJ_DIR)/%.$O: $(AUTOF_DIR)/%.c $(FREETYPE_H) $(AUTOF_DRV_H)
66        $(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
67
68
69# update main driver object lists
70#
71DRV_OBJS_S += $(AUTOF_DRV_OBJ_S)
72DRV_OBJS_M += $(AUTOF_DRV_OBJ_M)
73
74
75# EOF
Note: See TracBrowser for help on using the repository browser.