source: trunk/poppler/freetype-2.1.10/src/otvalid/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.8 KB
Line 
1#
2# FreeType 2 OpenType validation driver configuration rules
3#
4
5
6# Copyright 2004 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# OTV driver directory
17#
18OTV_DIR := $(SRC_DIR)/otvalid
19
20
21# compilation flags for the driver
22#
23OTV_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(OTV_DIR))
24
25
26# OTV driver sources (i.e., C files)
27#
28OTV_DRV_SRC := $(OTV_DIR)/otvbase.c  \
29               $(OTV_DIR)/otvcommn.c \
30               $(OTV_DIR)/otvgdef.c  \
31               $(OTV_DIR)/otvgpos.c  \
32               $(OTV_DIR)/otvgsub.c  \
33               $(OTV_DIR)/otvjstf.c  \
34               $(OTV_DIR)/otvmod.c
35
36# OTV driver headers
37#
38OTV_DRV_H := $(OTV_DIR)/otvalid.h \
39             $(OTV_DIR)/otverror.h  \
40             $(OTV_DIR)/otvcommn.h \
41             $(OTV_DIR)/otvgpos.h \
42             $(OTV_DIR)/otvmod.h
43
44
45# OTV driver object(s)
46#
47#   OTV_DRV_OBJ_M is used during `multi' builds.
48#   OTV_DRV_OBJ_S is used during `single' builds.
49#
50OTV_DRV_OBJ_M := $(OTV_DRV_SRC:$(OTV_DIR)/%.c=$(OBJ_DIR)/%.$O)
51OTV_DRV_OBJ_S := $(OBJ_DIR)/otvalid.$O
52
53# OTV driver source file for single build
54#
55OTV_DRV_SRC_S := $(OTV_DIR)/otvalid.c
56
57
58# OTV driver - single object
59#
60$(OTV_DRV_OBJ_S): $(OTV_DRV_SRC_S) $(OTV_DRV_SRC) \
61                   $(FREETYPE_H) $(OTV_DRV_H)
62        $(OTV_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(OTV_DRV_SRC_S))
63
64
65# OTV driver - multiple objects
66#
67$(OBJ_DIR)/%.$O: $(OTV_DIR)/%.c $(FREETYPE_H) $(OTV_DRV_H)
68        $(OTV_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
69
70
71# update main driver object lists
72#
73DRV_OBJS_S += $(OTV_DRV_OBJ_S)
74DRV_OBJS_M += $(OTV_DRV_OBJ_M)
75
76
77# EOF
Note: See TracBrowser for help on using the repository browser.