1# 2# FreeType 2 TrueTypeGX/AAT validation driver configuration rules 3# 4 5 6# Copyright 2004, 2005 by suzuki toshiya, Masatake YAMATO, Red Hat K.K., 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# GXV driver directory 17# 18GXV_DIR := $(SRC_DIR)/gxvalid 19 20 21# compilation flags for the driver 22# 23GXV_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(GXV_DIR)) 24 25 26# GXV driver sources (i.e., C files) 27# 28GXV_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 \ 49 $(GXV_DIR)/gxvmod.c 50 51# GXV driver headers 52# 53GXV_DRV_H := $(GXV_DIR)/gxvalid.h \ 54 $(GXV_DIR)/gxverror.h \ 55 $(GXV_DIR)/gxvcommn.h \ 56 $(GXV_DIR)/gxvfeat.h \ 57 $(GXV_DIR)/gxvmod.h \ 58 $(GXV_DIR)/gxvmort.h \ 59 $(GXV_DIR)/gxvmorx.h 60 61 62# GXV driver object(s) 63# 64# GXV_DRV_OBJ_M is used during `multi' builds. 65# GXV_DRV_OBJ_S is used during `single' builds. 66# 67GXV_DRV_OBJ_M := $(GXV_DRV_SRC:$(GXV_DIR)/%.c=$(OBJ_DIR)/%.$O) 68GXV_DRV_OBJ_S := $(OBJ_DIR)/gxvalid.$O 69 70# GXV driver source file for single build 71# 72GXV_DRV_SRC_S := $(GXV_DIR)/gxvalid.c 73 74 75# GXV driver - single object 76# 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)) 80 81 82# GXV driver - multiple objects 83# 84$(OBJ_DIR)/%.$O: $(GXV_DIR)/%.c $(FREETYPE_H) $(GXV_DRV_H) 85 $(GXV_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<) 86 87 88# update main driver object lists 89# 90DRV_OBJS_S += $(GXV_DRV_OBJ_S) 91DRV_OBJS_M += $(GXV_DRV_OBJ_M) 92 93 94# EOF 95