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