~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/autohint/rules.mk

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# FreeType 2 auto-hinter module configuration rules
 
3
#
 
4
 
 
5
 
 
6
# Copyright 2000, 2001, 2002, 2003 Catharon Productions Inc.
 
7
# Author: David Turner
 
8
#
 
9
# This file is part of the Catharon Typography Project and shall only
 
10
# be used, modified, and distributed under the terms of the Catharon
 
11
# Open Source License that should come with this file under the name
 
12
# `CatharonLicense.txt'.  By continuing to use, modify, or distribute
 
13
# this file you indicate that you have read the license and
 
14
# understand and accept it fully.
 
15
#
 
16
# Note that this license is compatible with the FreeType license.
 
17
 
 
18
 
 
19
# AUTO driver directory
 
20
#
 
21
AUTO_DIR := $(SRC_DIR)/autohint
 
22
 
 
23
 
 
24
# compilation flags for the driver
 
25
#
 
26
AUTO_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(AUTO_DIR))
 
27
 
 
28
 
 
29
# AUTO driver sources (i.e., C files)
 
30
#
 
31
AUTO_DRV_SRC := $(AUTO_DIR)/ahangles.c \
 
32
                $(AUTO_DIR)/ahglobal.c \
 
33
                $(AUTO_DIR)/ahglyph.c  \
 
34
                $(AUTO_DIR)/ahhint.c   \
 
35
                $(AUTO_DIR)/ahmodule.c
 
36
 
 
37
# AUTO driver headers
 
38
#
 
39
AUTO_DRV_H := $(AUTO_DRV_SRC:%c=%h)  \
 
40
              $(AUTO_DIR)/ahloader.h \
 
41
              $(AUTO_DIR)/ahtypes.h  \
 
42
              $(AUTO_DIR)/aherrors.h
 
43
 
 
44
 
 
45
# AUTO driver object(s)
 
46
#
 
47
#   AUTO_DRV_OBJ_M is used during `multi' builds.
 
48
#   AUTO_DRV_OBJ_S is used during `single' builds.
 
49
#
 
50
AUTO_DRV_OBJ_M := $(AUTO_DRV_SRC:$(AUTO_DIR)/%.c=$(OBJ_DIR)/%.$O)
 
51
AUTO_DRV_OBJ_S := $(OBJ_DIR)/autohint.$O
 
52
 
 
53
# AUTO driver source file for single build
 
54
#
 
55
AUTO_DRV_SRC_S := $(AUTO_DIR)/autohint.c
 
56
 
 
57
 
 
58
# AUTO driver - single object
 
59
#
 
60
$(AUTO_DRV_OBJ_S): $(AUTO_DRV_SRC_S) $(AUTO_DRV_SRC) \
 
61
                   $(FREETYPE_H) $(AUTO_DRV_H)
 
62
        $(AUTO_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(AUTO_DRV_SRC_S))
 
63
 
 
64
 
 
65
# AUTO driver - multiple objects
 
66
#
 
67
$(OBJ_DIR)/%.$O: $(AUTO_DIR)/%.c $(FREETYPE_H) $(AUTO_DRV_H)
 
68
        $(AUTO_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
 
69
 
 
70
 
 
71
# update main driver object lists
 
72
#
 
73
DRV_OBJS_S += $(AUTO_DRV_OBJ_S)
 
74
DRV_OBJS_M += $(AUTO_DRV_OBJ_M)
 
75
 
 
76
 
 
77
# EOF