1# 2# FreeType 2 TrueTypeGX/AAT validation driver configuration rules 3# 4 5 6# Copyright (C) 2004-2020 by 7# suzuki toshiya, Masatake YAMATO, Red Hat K.K., 8# David Turner, Robert Wilhelm, and Werner Lemberg. 9# 10# This file is part of the FreeType project, and may only be used, modified, 11# and distributed under the terms of the FreeType project license, 12# LICENSE.TXT. By continuing to use, modify, or distribute this file you 13# indicate that you have read the license and understand and accept it 14# fully. 15 16 17# GXV driver directory 18# 19GXV_DIR := $(SRC_DIR)/gxvalid 20 21 22# compilation flags for the driver 23# 24GXV_COMPILE := $(CC) $(ANSIFLAGS) \ 25 $I$(subst /,$(COMPILER_SEP),$(GXV_DIR)) \ 26 $(INCLUDE_FLAGS) \ 27 $(FT_CFLAGS) 28 29 30# GXV driver sources (i.e., C files) 31# 32GXV_DRV_SRC := $(GXV_DIR)/gxvcommn.c \ 33 $(GXV_DIR)/gxvfeat.c \ 34 $(GXV_DIR)/gxvbsln.c \ 35 $(GXV_DIR)/gxvtrak.c \ 36 $(GXV_DIR)/gxvopbd.c \ 37 $(GXV_DIR)/gxvprop.c \ 38 $(GXV_DIR)/gxvjust.c \ 39 $(GXV_DIR)/gxvmort.c \ 40 $(GXV_DIR)/gxvmort0.c \ 41 $(GXV_DIR)/gxvmort1.c \ 42 $(GXV_DIR)/gxvmort2.c \ 43 $(GXV_DIR)/gxvmort4.c \ 44 $(GXV_DIR)/gxvmort5.c \ 45 $(GXV_DIR)/gxvmorx.c \ 46 $(GXV_DIR)/gxvmorx0.c \ 47 $(GXV_DIR)/gxvmorx1.c \ 48 $(GXV_DIR)/gxvmorx2.c \ 49 $(GXV_DIR)/gxvmorx4.c \ 50 $(GXV_DIR)/gxvmorx5.c \ 51 $(GXV_DIR)/gxvlcar.c \ 52 $(GXV_DIR)/gxvkern.c \ 53 $(GXV_DIR)/gxvmod.c 54 55# GXV driver headers 56# 57GXV_DRV_H := $(GXV_DIR)/gxvalid.h \ 58 $(GXV_DIR)/gxverror.h \ 59 $(GXV_DIR)/gxvcommn.h \ 60 $(GXV_DIR)/gxvfeat.h \ 61 $(GXV_DIR)/gxvmod.h \ 62 $(GXV_DIR)/gxvmort.h \ 63 $(GXV_DIR)/gxvmorx.h 64 65 66# GXV driver object(s) 67# 68# GXV_DRV_OBJ_M is used during `multi' builds. 69# GXV_DRV_OBJ_S is used during `single' builds. 70# 71GXV_DRV_OBJ_M := $(GXV_DRV_SRC:$(GXV_DIR)/%.c=$(OBJ_DIR)/%.$O) 72GXV_DRV_OBJ_S := $(OBJ_DIR)/gxvalid.$O 73 74# GXV driver source file for single build 75# 76GXV_DRV_SRC_S := $(GXV_DIR)/gxvalid.c 77 78 79# GXV driver - single object 80# 81$(GXV_DRV_OBJ_S): $(GXV_DRV_SRC_S) $(GXV_DRV_SRC) \ 82 $(FREETYPE_H) $(GXV_DRV_H) 83 $(GXV_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(GXV_DRV_SRC_S)) 84 85 86# GXV driver - multiple objects 87# 88$(OBJ_DIR)/%.$O: $(GXV_DIR)/%.c $(FREETYPE_H) $(GXV_DRV_H) 89 $(GXV_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<) 90 91 92# update main driver object lists 93# 94DRV_OBJS_S += $(GXV_DRV_OBJ_S) 95DRV_OBJS_M += $(GXV_DRV_OBJ_M) 96 97 98# EOF 99