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

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

First import

File size: 1.7 KB
Line 
1#
2# FreeType 2 PFR driver configuration rules
3#
4
5
6# Copyright 2002, 2003 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# pfr driver directory
17#
18PFR_DIR := $(SRC_DIR)/pfr
19
20
21# compilation flags for the driver
22#
23PFR_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(PFR_DIR))
24
25
26# pfr driver sources (i.e., C files)
27#
28PFR_DRV_SRC := $(PFR_DIR)/pfrload.c  \
29               $(PFR_DIR)/pfrgload.c \
30               $(PFR_DIR)/pfrcmap.c  \
31               $(PFR_DIR)/pfrdrivr.c \
32               $(PFR_DIR)/pfrsbit.c  \
33               $(PFR_DIR)/pfrobjs.c
34
35# pfr driver headers
36#
37PFR_DRV_H := $(PFR_DRV_SRC:%.c=%.h) \
38             $(PFR_DIR)/pfrerror.h  \
39             $(PFR_DIR)/pfrtypes.h
40
41
42# Pfr driver object(s)
43#
44#   PFR_DRV_OBJ_M is used during `multi' builds
45#   PFR_DRV_OBJ_S is used during `single' builds
46#
47PFR_DRV_OBJ_M := $(PFR_DRV_SRC:$(PFR_DIR)/%.c=$(OBJ_DIR)/%.$O)
48PFR_DRV_OBJ_S := $(OBJ_DIR)/pfr.$O
49
50# pfr driver source file for single build
51#
52PFR_DRV_SRC_S := $(PFR_DIR)/pfr.c
53
54
55# pfr driver - single object
56#
57$(PFR_DRV_OBJ_S): $(PFR_DRV_SRC_S) $(PFR_DRV_SRC) $(FREETYPE_H) $(PFR_DRV_H)
58        $(PFR_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(PFR_DRV_SRC_S))
59
60
61# pfr driver - multiple objects
62#
63$(OBJ_DIR)/%.$O: $(PFR_DIR)/%.c $(FREETYPE_H) $(PFR_DRV_H)
64        $(PFR_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
65
66
67# update main driver object lists
68#
69DRV_OBJS_S += $(PFR_DRV_OBJ_S)
70DRV_OBJS_M += $(PFR_DRV_OBJ_M)
71
72
73# EOF
Note: See TracBrowser for help on using the repository browser.