2005-03-01 23:49:32 +01:00
|
|
|
#
|
|
|
|
# FreeType 2 auto-fitter module configuration rules
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-01-03 07:11:54 +01:00
|
|
|
# Copyright 2003, 2004, 2005, 2006, 2007, 2011 by
|
2005-03-03 18:09:08 +01:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
|
|
|
|
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver directory
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
|
|
|
AUTOF_DIR := $(SRC_DIR)/autofit
|
|
|
|
|
|
|
|
|
|
|
|
# compilation flags for the driver
|
|
|
|
#
|
|
|
|
AUTOF_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(AUTOF_DIR))
|
|
|
|
|
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver sources (i.e., C files)
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
2005-03-02 12:24:23 +01:00
|
|
|
AUTOF_DRV_SRC := $(AUTOF_DIR)/afangles.c \
|
2007-06-26 06:44:35 +02:00
|
|
|
$(AUTOF_DIR)/afcjk.c \
|
2005-03-02 12:24:23 +01:00
|
|
|
$(AUTOF_DIR)/afdummy.c \
|
|
|
|
$(AUTOF_DIR)/afglobal.c \
|
|
|
|
$(AUTOF_DIR)/afhints.c \
|
2007-06-26 06:44:35 +02:00
|
|
|
$(AUTOF_DIR)/afindic.c \
|
2005-03-02 12:24:23 +01:00
|
|
|
$(AUTOF_DIR)/aflatin.c \
|
|
|
|
$(AUTOF_DIR)/afloader.c \
|
2006-01-22 07:58:16 +01:00
|
|
|
$(AUTOF_DIR)/afmodule.c \
|
2011-01-03 07:11:54 +01:00
|
|
|
$(AUTOF_DIR)/afpic.c \
|
2006-01-22 07:58:16 +01:00
|
|
|
$(AUTOF_DIR)/afwarp.c
|
2005-03-01 23:49:32 +01:00
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver headers
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
2005-03-23 17:45:24 +01:00
|
|
|
AUTOF_DRV_H := $(AUTOF_DRV_SRC:%c=%h) \
|
2011-01-03 07:11:54 +01:00
|
|
|
$(AUTOF_DIR)/aferrors.h \
|
|
|
|
$(AUTOF_DIR)/aftypes.h
|
2005-03-01 23:49:32 +01:00
|
|
|
|
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver object(s)
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
|
|
|
# AUTOF_DRV_OBJ_M is used during `multi' builds.
|
|
|
|
# AUTOF_DRV_OBJ_S is used during `single' builds.
|
|
|
|
#
|
|
|
|
AUTOF_DRV_OBJ_M := $(AUTOF_DRV_SRC:$(AUTOF_DIR)/%.c=$(OBJ_DIR)/%.$O)
|
|
|
|
AUTOF_DRV_OBJ_S := $(OBJ_DIR)/autofit.$O
|
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver source file for single build
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
|
|
|
AUTOF_DRV_SRC_S := $(AUTOF_DIR)/autofit.c
|
|
|
|
|
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver - single object
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
|
|
|
$(AUTOF_DRV_OBJ_S): $(AUTOF_DRV_SRC_S) $(AUTOF_DRV_SRC) \
|
|
|
|
$(FREETYPE_H) $(AUTOF_DRV_H)
|
|
|
|
$(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(AUTOF_DRV_SRC_S))
|
|
|
|
|
|
|
|
|
2005-03-02 12:24:23 +01:00
|
|
|
# AUTOF driver - multiple objects
|
2005-03-01 23:49:32 +01:00
|
|
|
#
|
|
|
|
$(OBJ_DIR)/%.$O: $(AUTOF_DIR)/%.c $(FREETYPE_H) $(AUTOF_DRV_H)
|
|
|
|
$(AUTOF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
|
|
|
|
|
|
|
|
|
|
|
# update main driver object lists
|
|
|
|
#
|
|
|
|
DRV_OBJS_S += $(AUTOF_DRV_OBJ_S)
|
|
|
|
DRV_OBJS_M += $(AUTOF_DRV_OBJ_M)
|
|
|
|
|
|
|
|
|
|
|
|
# EOF
|