~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tests/freetype/src/psaux/rules.mk

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# FreeType 2 PSaux driver configuration rules
 
3
#
 
4
 
 
5
 
 
6
# Copyright 1996-2000, 2002, 2003, 2006 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
# PSAUX driver directory
 
17
#
 
18
PSAUX_DIR := $(SRC_DIR)/psaux
 
19
 
 
20
 
 
21
# compilation flags for the driver
 
22
#
 
23
PSAUX_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(PSAUX_DIR))
 
24
 
 
25
 
 
26
# PSAUX driver sources (i.e., C files)
 
27
#
 
28
PSAUX_DRV_SRC := $(PSAUX_DIR)/psobjs.c   \
 
29
                 $(PSAUX_DIR)/t1decode.c \
 
30
                 $(PSAUX_DIR)/t1cmap.c   \
 
31
                 $(PSAUX_DIR)/afmparse.c \
 
32
                 $(PSAUX_DIR)/psconv.c   \
 
33
                 $(PSAUX_DIR)/psauxmod.c
 
34
 
 
35
# PSAUX driver headers
 
36
#
 
37
PSAUX_DRV_H := $(PSAUX_DRV_SRC:%c=%h)  \
 
38
               $(PSAUX_DIR)/psauxerr.h
 
39
 
 
40
 
 
41
# PSAUX driver object(s)
 
42
#
 
43
#   PSAUX_DRV_OBJ_M is used during `multi' builds.
 
44
#   PSAUX_DRV_OBJ_S is used during `single' builds.
 
45
#
 
46
PSAUX_DRV_OBJ_M := $(PSAUX_DRV_SRC:$(PSAUX_DIR)/%.c=$(OBJ_DIR)/%.$O)
 
47
PSAUX_DRV_OBJ_S := $(OBJ_DIR)/psaux.$O
 
48
 
 
49
# PSAUX driver source file for single build
 
50
#
 
51
PSAUX_DRV_SRC_S := $(PSAUX_DIR)/psaux.c
 
52
 
 
53
 
 
54
# PSAUX driver - single object
 
55
#
 
56
$(PSAUX_DRV_OBJ_S): $(PSAUX_DRV_SRC_S) $(PSAUX_DRV_SRC) \
 
57
                   $(FREETYPE_H) $(PSAUX_DRV_H)
 
58
        $(PSAUX_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(PSAUX_DRV_SRC_S))
 
59
 
 
60
 
 
61
# PSAUX driver - multiple objects
 
62
#
 
63
$(OBJ_DIR)/%.$O: $(PSAUX_DIR)/%.c $(FREETYPE_H) $(PSAUX_DRV_H)
 
64
        $(PSAUX_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
 
65
 
 
66
 
 
67
# update main driver object lists
 
68
#
 
69
DRV_OBJS_S += $(PSAUX_DRV_OBJ_S)
 
70
DRV_OBJS_M += $(PSAUX_DRV_OBJ_M)
 
71
 
 
72
 
 
73
# EOF