]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/freetype/src/type1/rules.mk
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / freetype / src / type1 / rules.mk
1 #
2 # FreeType 2 Type1 driver configuration rules
3 #
4
5
6 # Copyright 1996-2000, 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 # Type1 driver directory
17 #
18 T1_DIR := $(SRC_DIR)/type1
19
20
21 # compilation flags for the driver
22 #
23 T1_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(T1_DIR))
24
25
26 # Type1 driver sources (i.e., C files)
27 #
28 T1_DRV_SRC := $(T1_DIR)/t1parse.c  \
29               $(T1_DIR)/t1load.c   \
30               $(T1_DIR)/t1driver.c \
31               $(T1_DIR)/t1afm.c    \
32               $(T1_DIR)/t1gload.c  \
33               $(T1_DIR)/t1objs.c
34
35 # Type1 driver headers
36 #
37 T1_DRV_H := $(T1_DRV_SRC:%.c=%.h) \
38             $(T1_DIR)/t1tokens.h  \
39             $(T1_DIR)/t1errors.h
40
41
42 # Type1 driver object(s)
43 #
44 #   T1_DRV_OBJ_M is used during `multi' builds
45 #   T1_DRV_OBJ_S is used during `single' builds
46 #
47 T1_DRV_OBJ_M := $(T1_DRV_SRC:$(T1_DIR)/%.c=$(OBJ_DIR)/%.$O)
48 T1_DRV_OBJ_S := $(OBJ_DIR)/type1.$O
49
50 # Type1 driver source file for single build
51 #
52 T1_DRV_SRC_S := $(T1_DIR)/type1.c
53
54
55 # Type1 driver - single object
56 #
57 $(T1_DRV_OBJ_S): $(T1_DRV_SRC_S) $(T1_DRV_SRC) $(FREETYPE_H) $(T1_DRV_H)
58         $(T1_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(T1_DRV_SRC_S))
59
60
61 # Type1 driver - multiple objects
62 #
63 $(OBJ_DIR)/%.$O: $(T1_DIR)/%.c $(FREETYPE_H) $(T1_DRV_H)
64         $(T1_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
65
66
67 # update main driver object lists
68 #
69 DRV_OBJS_S += $(T1_DRV_OBJ_S)
70 DRV_OBJS_M += $(T1_DRV_OBJ_M)
71
72
73 # EOF