2 # FreeType 2 TrueTypeGX/AAT validation driver configuration rules
6 # Copyright 2004, 2005 by suzuki toshiya, Masatake YAMATO, Red Hat K.K.,
7 # David Turner, Robert Wilhelm, and Werner Lemberg.
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
16 # GXV driver directory
18 GXV_DIR
:= $(SRC_DIR
)/gxvalid
21 # compilation flags for the driver
23 GXV_COMPILE
:= $(FT_COMPILE
) $I$(subst /,$(COMPILER_SEP
),$(GXV_DIR
))
26 # GXV driver sources (i.e., C files)
28 GXV_DRV_SRC
:= $(GXV_DIR
)/gxvcommn.c \
29 $(GXV_DIR
)/gxvfeat.c \
30 $(GXV_DIR
)/gxvbsln.c \
31 $(GXV_DIR
)/gxvtrak.c \
32 $(GXV_DIR
)/gxvopbd.c \
33 $(GXV_DIR
)/gxvprop.c \
34 $(GXV_DIR
)/gxvjust.c \
35 $(GXV_DIR
)/gxvmort.c \
36 $(GXV_DIR
)/gxvmort0.c \
37 $(GXV_DIR
)/gxvmort1.c \
38 $(GXV_DIR
)/gxvmort2.c \
39 $(GXV_DIR
)/gxvmort4.c \
40 $(GXV_DIR
)/gxvmort5.c \
41 $(GXV_DIR
)/gxvmorx.c \
42 $(GXV_DIR
)/gxvmorx0.c \
43 $(GXV_DIR
)/gxvmorx1.c \
44 $(GXV_DIR
)/gxvmorx2.c \
45 $(GXV_DIR
)/gxvmorx4.c \
46 $(GXV_DIR
)/gxvmorx5.c \
47 $(GXV_DIR
)/gxvlcar.c \
48 $(GXV_DIR
)/gxvkern.c \
53 GXV_DRV_H
:= $(GXV_DIR
)/gxvalid.h \
54 $(GXV_DIR
)/gxverror.h \
55 $(GXV_DIR
)/gxvcommn.h \
56 $(GXV_DIR
)/gxvfeat.h \
58 $(GXV_DIR
)/gxvmort.h \
62 # GXV driver object(s)
64 # GXV_DRV_OBJ_M is used during `multi' builds.
65 # GXV_DRV_OBJ_S is used during `single' builds.
67 GXV_DRV_OBJ_M
:= $(GXV_DRV_SRC
:$(GXV_DIR
)/%.c
=$(OBJ_DIR
)/%.
$O)
68 GXV_DRV_OBJ_S
:= $(OBJ_DIR
)/gxvalid.
$O
70 # GXV driver source file for single build
72 GXV_DRV_SRC_S
:= $(GXV_DIR
)/gxvalid.c
75 # GXV driver - single object
77 $(GXV_DRV_OBJ_S
): $(GXV_DRV_SRC_S
) $(GXV_DRV_SRC
) \
78 $(FREETYPE_H
) $(GXV_DRV_H
)
79 $(GXV_COMPILE
) $T$(subst /,$(COMPILER_SEP
),$@
$(GXV_DRV_SRC_S
))
82 # GXV driver - multiple objects
84 $(OBJ_DIR
)/%.
$O: $(GXV_DIR
)/%.c
$(FREETYPE_H
) $(GXV_DRV_H
)
85 $(GXV_COMPILE
) $T$(subst /,$(COMPILER_SEP
),$@
$<)
88 # update main driver object lists
90 DRV_OBJS_S
+= $(GXV_DRV_OBJ_S
)
91 DRV_OBJS_M
+= $(GXV_DRV_OBJ_M
)