PageRenderTime 15ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/modules/freetype2/src/autofit/rules.mk

http://github.com/zpao/v8monkey
Makefile | 78 lines | 25 code | 20 blank | 33 comment | 0 complexity | 527136611eedb4e405e98b68cd253dd6 MD5 | raw file
 1#
 2# FreeType 2 auto-fitter module configuration rules
 3#
 4
 5
 6# Copyright 2003, 2004, 2005, 2006, 2007 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)/afcjk.c    \
30                 $(AUTOF_DIR)/afdummy.c  \
31                 $(AUTOF_DIR)/afglobal.c \
32                 $(AUTOF_DIR)/afhints.c  \
33                 $(AUTOF_DIR)/afindic.c  \
34                 $(AUTOF_DIR)/aflatin.c  \
35                 $(AUTOF_DIR)/afloader.c \
36                 $(AUTOF_DIR)/afmodule.c \
37                 $(AUTOF_DIR)/afwarp.c
38
39# AUTOF driver headers
40#
41AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h)  \
42               $(AUTOF_DIR)/aftypes.h  \
43               $(AUTOF_DIR)/aferrors.h
44
45
46# AUTOF driver object(s)
47#
48#   AUTOF_DRV_OBJ_M is used during `multi' builds.
49#   AUTOF_DRV_OBJ_S is used during `single' builds.
50#
51AUTOF_DRV_OBJ_M := $(AUTOF_DRV_SRC:$(AUTOF_DIR)/%.c=$(OBJ_DIR)/%.$O)
52AUTOF_DRV_OBJ_S := $(OBJ_DIR)/autofit.$O
53
54# AUTOF driver source file for single build
55#
56AUTOF_DRV_SRC_S := $(AUTOF_DIR)/autofit.c
57
58
59# AUTOF driver - single object
60#
61$(AUTOF_DRV_OBJ_S): $(AUTOF_DRV_SRC_S) $(AUTOF_DRV_SRC) \
62                   $(FREETYPE_H) $(AUTOF_DRV_H)
63	$(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(AUTOF_DRV_SRC_S))
64
65
66# AUTOF driver - multiple objects
67#
68$(OBJ_DIR)/%.$O: $(AUTOF_DIR)/%.c $(FREETYPE_H) $(AUTOF_DRV_H)
69	$(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
70
71
72# update main driver object lists
73#
74DRV_OBJS_S += $(AUTOF_DRV_OBJ_S)
75DRV_OBJS_M += $(AUTOF_DRV_OBJ_M)
76
77
78# EOF