2000-05-29 22:55:13 +02:00
|
|
|
#
|
|
|
|
# FreeType 2 OpenType/CFF driver configuration rules
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
# Copyright 1996-2000, 2001, 2003 by
|
2000-05-29 22:55:13 +02:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
A complete revision of FreeType 2's GNU makefiles (of the library):
Tons of unnecessary stuff have been removed; only the essential rules
have been retained.
The source files now depend on all header files in include/freetype,
include/freetype/config, and include/freetype/internal. This is not
optimal, I know, and I'll try to improve this, but it is better than
before (namely no dependencies on `internal').
FTDEBUG_SRC has been added (similar to FTSYS_SRC) -- I don't know
exactly whether this is really useful, but it doesn't harm.
There is now more documentation in the makefiles itself.
io-frames.html: Use of <th>, <code>, and <var> for better tagging.
Reactivating of FT_DEBUG_LEVEL_xxx macros.
Added a lot of #include directives to make `multi' builds possible -- note
that currently the modules cid, t1, and t1z have clashing structures and
functions which means that you can only use one of these three modules for a
multi build.
Added some missing function declarations to (local) header files.
Renamed some T1_Open_Face() to CID_Open_Face() in the cid module -- a lot
of other functions should be renamed also...
Replaced many FT_xxx stuff with T1_xxx in t1z driver -- this isn't finished
yet...
Fixed FT_Free() to allow a NULL pointer without an assertion (this has
always been a valid assumption in FreeType, at least in FT 1.x).
A lot of other, minor fixes (mostly documentation).
2000-06-11 05:46:57 +02:00
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
2000-05-29 22:55:13 +02:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
|
|
# OpenType driver directory
|
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
CFF_DIR := $(SRC_DIR)/cff
|
2000-05-29 22:55:13 +02:00
|
|
|
|
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
CFF_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(CFF_DIR))
|
2000-05-29 22:55:13 +02:00
|
|
|
|
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
# CFF driver sources (i.e., C files)
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
CFF_DRV_SRC := $(CFF_DIR)/cffobjs.c \
|
|
|
|
$(CFF_DIR)/cffload.c \
|
|
|
|
$(CFF_DIR)/cffgload.c \
|
|
|
|
$(CFF_DIR)/cffparse.c \
|
|
|
|
$(CFF_DIR)/cffcmap.c \
|
|
|
|
$(CFF_DIR)/cffdrivr.c
|
2000-05-29 22:55:13 +02:00
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
# CFF driver headers
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2000-12-08 03:42:29 +01:00
|
|
|
CFF_DRV_H := $(CFF_DRV_SRC:%.c=%.h) \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(CFF_DIR)/cfftoken.h \
|
2003-12-18 09:18:37 +01:00
|
|
|
$(CFF_DIR)/cfftypes.h \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(CFF_DIR)/cfferrs.h
|
2000-05-29 22:55:13 +02:00
|
|
|
|
|
|
|
|
2000-12-08 03:42:29 +01:00
|
|
|
# CFF driver object(s)
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2000-12-08 03:42:29 +01:00
|
|
|
# CFF_DRV_OBJ_M is used during `multi' builds
|
|
|
|
# CFF_DRV_OBJ_S is used during `single' builds
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
CFF_DRV_OBJ_M := $(CFF_DRV_SRC:$(CFF_DIR)/%.c=$(OBJ_DIR)/%.$O)
|
|
|
|
CFF_DRV_OBJ_S := $(OBJ_DIR)/cff.$O
|
2000-05-29 22:55:13 +02:00
|
|
|
|
2001-01-03 01:16:24 +01:00
|
|
|
# CFF driver source file for single build
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
CFF_DRV_SRC_S := $(CFF_DIR)/cff.c
|
2000-05-29 22:55:13 +02:00
|
|
|
|
|
|
|
|
2001-01-03 01:16:24 +01:00
|
|
|
# CFF driver - single object
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2000-12-08 03:42:29 +01:00
|
|
|
$(CFF_DRV_OBJ_S): $(CFF_DRV_SRC_S) $(CFF_DRV_SRC) $(FREETYPE_H) $(CFF_DRV_H)
|
2003-06-09 06:46:30 +02:00
|
|
|
$(CFF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(CFF_DRV_SRC_S))
|
2000-05-29 22:55:13 +02:00
|
|
|
|
|
|
|
|
2001-01-03 01:16:24 +01:00
|
|
|
# CFF driver - multiple objects
|
2000-05-29 22:55:13 +02:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
$(OBJ_DIR)/%.$O: $(CFF_DIR)/%.c $(FREETYPE_H) $(CFF_DRV_H)
|
|
|
|
$(CFF_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
2000-05-29 22:55:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
# update main driver object lists
|
|
|
|
#
|
2000-12-08 03:42:29 +01:00
|
|
|
DRV_OBJS_S += $(CFF_DRV_OBJ_S)
|
|
|
|
DRV_OBJS_M += $(CFF_DRV_OBJ_M)
|
2000-05-29 22:55:13 +02:00
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
|
2000-05-29 22:55:13 +02:00
|
|
|
# EOF
|