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

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

First import

File size: 1.8 KB
Line 
1#
2# FreeType 2 PSHinter driver configuration rules
3#
4
5
6# Copyright 2001, 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# PSHINTER driver directory
17#
18PSHINTER_DIR := $(SRC_DIR)/pshinter
19
20
21# compilation flags for the driver
22#
23PSHINTER_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(PSHINTER_DIR))
24
25
26# PSHINTER driver sources (i.e., C files)
27#
28PSHINTER_DRV_SRC := $(PSHINTER_DIR)/pshrec.c  \
29                    $(PSHINTER_DIR)/pshglob.c \
30                    $(PSHINTER_DIR)/pshmod.c  \
31                    $(PSHINTER_DIR)/pshalgo.c
32
33
34# PSHINTER driver headers
35#
36PSHINTER_DRV_H := $(PSHINTER_DRV_SRC:%c=%h) \
37                  $(PSHINTER_DIR)/pshnterr.h
38
39
40# PSHINTER driver object(s)
41#
42#   PSHINTER_DRV_OBJ_M is used during `multi' builds.
43#   PSHINTER_DRV_OBJ_S is used during `single' builds.
44#
45PSHINTER_DRV_OBJ_M := $(PSHINTER_DRV_SRC:$(PSHINTER_DIR)/%.c=$(OBJ_DIR)/%.$O)
46PSHINTER_DRV_OBJ_S := $(OBJ_DIR)/pshinter.$O
47
48# PSHINTER driver source file for single build
49#
50PSHINTER_DRV_SRC_S := $(PSHINTER_DIR)/pshinter.c
51
52
53# PSHINTER driver - single object
54#
55$(PSHINTER_DRV_OBJ_S): $(PSHINTER_DRV_SRC_S) $(PSHINTER_DRV_SRC) \
56                       $(FREETYPE_H) $(PSHINTER_DRV_H)
57        $(PSHINTER_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(PSHINTER_DRV_SRC_S))
58
59
60# PSHINTER driver - multiple objects
61#
62$(OBJ_DIR)/%.$O: $(PSHINTER_DIR)/%.c $(FREETYPE_H) $(PSHINTER_DRV_H)
63        $(PSHINTER_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
64
65
66# update main driver object lists
67#
68DRV_OBJS_S += $(PSHINTER_DRV_OBJ_S)
69DRV_OBJS_M += $(PSHINTER_DRV_OBJ_M)
70
71
72# EOF
Note: See TracBrowser for help on using the repository browser.