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

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/pcf/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 pcf driver configuration rules
 
3
#
 
4
 
 
5
 
 
6
# Copyright (C) 2000, 2001, 2003 by
 
7
# Francesco Zappa Nardelli
 
8
#
 
9
# Permission is hereby granted, free of charge, to any person obtaining a copy
 
10
# of this software and associated documentation files (the "Software"), to deal
 
11
# in the Software without restriction, including without limitation the rights
 
12
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 
13
# copies of the Software, and to permit persons to whom the Software is
 
14
# furnished to do so, subject to the following conditions:
 
15
#
 
16
# The above copyright notice and this permission notice shall be included in
 
17
# all copies or substantial portions of the Software.
 
18
#
 
19
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 
20
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 
21
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 
22
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 
23
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 
24
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 
25
# THE SOFTWARE.
 
26
 
 
27
 
 
28
# pcf driver directory
 
29
#
 
30
PCF_DIR := $(SRC_DIR)/pcf
 
31
 
 
32
 
 
33
PCF_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(PCF_DIR))
 
34
 
 
35
 
 
36
# pcf driver sources (i.e., C files)
 
37
#
 
38
PCF_DRV_SRC := $(PCF_DIR)/pcfread.c  \
 
39
               $(PCF_DIR)/pcfdrivr.c \
 
40
               $(PCF_DIR)/pcfutil.c
 
41
 
 
42
# pcf driver headers
 
43
#
 
44
PCF_DRV_H := $(PCF_DIR)/pcf.h      \
 
45
             $(PCF_DIR)/pcfdrivr.h \
 
46
             $(PCF_DIR)/pcfutil.h  \
 
47
             $(PCF_DIR)/pcferror.h
 
48
 
 
49
# pcf driver object(s)
 
50
#
 
51
#   PCF_DRV_OBJ_M is used during `multi' builds
 
52
#   PCF_DRV_OBJ_S is used during `single' builds
 
53
#
 
54
PCF_DRV_OBJ_M := $(PCF_DRV_SRC:$(PCF_DIR)/%.c=$(OBJ_DIR)/%.$O)
 
55
PCF_DRV_OBJ_S := $(OBJ_DIR)/pcf.$O
 
56
 
 
57
# pcf driver source file for single build
 
58
#
 
59
PCF_DRV_SRC_S := $(PCF_DIR)/pcf.c
 
60
 
 
61
 
 
62
# pcf driver - single object
 
63
#
 
64
$(PCF_DRV_OBJ_S): $(PCF_DRV_SRC_S) $(PCF_DRV_SRC) $(FREETYPE_H) $(PCF_DRV_H)
 
65
        $(PCF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(PCF_DRV_SRC_S))
 
66
 
 
67
 
 
68
# pcf driver - multiple objects
 
69
#
 
70
$(OBJ_DIR)/%.$O: $(PCF_DIR)/%.c $(FREETYPE_H) $(PCF_DRV_H)
 
71
        $(PCF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
 
72
 
 
73
 
 
74
# update main driver object lists
 
75
#
 
76
DRV_OBJS_S += $(PCF_DRV_OBJ_S)
 
77
DRV_OBJS_M += $(PCF_DRV_OBJ_M)
 
78
 
 
79
 
 
80
# EOF