2002-04-19 17:13:47 +02:00
|
|
|
#
|
|
|
|
# FreeType 2 PFR driver configuration rules
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-01-11 10:54:10 +01:00
|
|
|
# Copyright (C) 2002-2022 by
|
2002-04-19 17:13:47 +02: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.
|
|
|
|
|
|
|
|
|
2002-04-28 12:25:55 +02:00
|
|
|
# pfr driver directory
|
2002-04-19 17:13:47 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
PFR_DIR := $(SRC_DIR)/pfr
|
2002-04-19 17:13:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
# compilation flags for the driver
|
|
|
|
#
|
2015-01-12 11:26:30 +01:00
|
|
|
PFR_COMPILE := $(CC) $(ANSIFLAGS) \
|
|
|
|
$I$(subst /,$(COMPILER_SEP),$(PFR_DIR)) \
|
|
|
|
$(INCLUDE_FLAGS) \
|
|
|
|
$(FT_CFLAGS)
|
2002-04-19 17:13:47 +02:00
|
|
|
|
|
|
|
|
2002-04-28 12:25:55 +02:00
|
|
|
# pfr driver sources (i.e., C files)
|
2002-04-19 17:13:47 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
PFR_DRV_SRC := $(PFR_DIR)/pfrload.c \
|
|
|
|
$(PFR_DIR)/pfrgload.c \
|
|
|
|
$(PFR_DIR)/pfrcmap.c \
|
|
|
|
$(PFR_DIR)/pfrdrivr.c \
|
2003-06-09 17:54:18 +02:00
|
|
|
$(PFR_DIR)/pfrsbit.c \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(PFR_DIR)/pfrobjs.c
|
2002-04-19 17:13:47 +02:00
|
|
|
|
2002-04-28 12:25:55 +02:00
|
|
|
# pfr driver headers
|
2002-04-19 17:13:47 +02:00
|
|
|
#
|
2002-04-28 12:25:55 +02:00
|
|
|
PFR_DRV_H := $(PFR_DRV_SRC:%.c=%.h) \
|
2003-06-09 17:54:18 +02:00
|
|
|
$(PFR_DIR)/pfrerror.h \
|
|
|
|
$(PFR_DIR)/pfrtypes.h
|
2002-04-19 17:13:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
# Pfr driver object(s)
|
|
|
|
#
|
|
|
|
# PFR_DRV_OBJ_M is used during `multi' builds
|
|
|
|
# PFR_DRV_OBJ_S is used during `single' builds
|
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
PFR_DRV_OBJ_M := $(PFR_DRV_SRC:$(PFR_DIR)/%.c=$(OBJ_DIR)/%.$O)
|
|
|
|
PFR_DRV_OBJ_S := $(OBJ_DIR)/pfr.$O
|
2002-04-19 17:13:47 +02:00
|
|
|
|
2002-04-28 12:25:55 +02:00
|
|
|
# pfr driver source file for single build
|
2002-04-19 17:13:47 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
PFR_DRV_SRC_S := $(PFR_DIR)/pfr.c
|
2002-04-19 17:13:47 +02:00
|
|
|
|
|
|
|
|
2002-04-28 12:25:55 +02:00
|
|
|
# pfr driver - single object
|
2002-04-19 17:13:47 +02:00
|
|
|
#
|
|
|
|
$(PFR_DRV_OBJ_S): $(PFR_DRV_SRC_S) $(PFR_DRV_SRC) $(FREETYPE_H) $(PFR_DRV_H)
|
2003-06-09 06:46:30 +02:00
|
|
|
$(PFR_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(PFR_DRV_SRC_S))
|
2002-04-19 17:13:47 +02:00
|
|
|
|
|
|
|
|
2002-04-28 12:25:55 +02:00
|
|
|
# pfr driver - multiple objects
|
2002-04-19 17:13:47 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
$(OBJ_DIR)/%.$O: $(PFR_DIR)/%.c $(FREETYPE_H) $(PFR_DRV_H)
|
|
|
|
$(PFR_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
2002-04-19 17:13:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
# update main driver object lists
|
|
|
|
#
|
|
|
|
DRV_OBJS_S += $(PFR_DRV_OBJ_S)
|
|
|
|
DRV_OBJS_M += $(PFR_DRV_OBJ_M)
|
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
|
2002-04-19 17:13:47 +02:00
|
|
|
# EOF
|