2000-03-05 02:14:19 +01:00
|
|
|
#
|
|
|
|
# FreeType 2 base layer configuration rules
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2005-05-23 14:01:39 +02:00
|
|
|
# Copyright 1996-2000, 2002, 2003, 2004, 2005 by
|
2000-03-05 02:14:19 +01:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
2000-06-05 07:26:15 +02:00
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
2000-03-05 02:14:19 +01: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.
|
|
|
|
|
|
|
|
|
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
|
|
|
# It sets the following variables which are used by the master Makefile
|
2000-03-05 02:14:19 +01:00
|
|
|
# after the call:
|
|
|
|
#
|
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
|
|
|
# BASE_OBJ_S: The single-object base layer.
|
|
|
|
# BASE_OBJ_M: A list of all objects for a multiple-objects build.
|
|
|
|
# BASE_EXT_OBJ: A list of base layer extensions, i.e., components found
|
|
|
|
# in `freetype/src/base' which are not compiled within the
|
|
|
|
# base layer proper.
|
2000-03-05 02:14:19 +01:00
|
|
|
#
|
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
|
|
|
# BASE_H is defined in freetype.mk to simplify the dependency rules.
|
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2003-06-09 06:46:30 +02:00
|
|
|
BASE_COMPILE := $(FT_COMPILE) $I$(subst /,$(COMPILER_SEP),$(SRC_DIR)/base)
|
1999-12-17 00:11:37 +01:00
|
|
|
|
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
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
# Base layer sources
|
|
|
|
#
|
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
|
|
|
# ftsystem, ftinit, and ftdebug are handled by freetype.mk
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
2004-02-25 13:58:54 +01:00
|
|
|
BASE_SRC := $(BASE_DIR)/ftapi.c \
|
|
|
|
$(BASE_DIR)/ftcalc.c \
|
|
|
|
$(BASE_DIR)/ftdbgmem.c \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(BASE_DIR)/ftgloadr.c \
|
|
|
|
$(BASE_DIR)/ftnames.c \
|
2004-02-25 13:58:54 +01:00
|
|
|
$(BASE_DIR)/ftobjs.c \
|
|
|
|
$(BASE_DIR)/ftoutln.c \
|
|
|
|
$(BASE_DIR)/ftrfork.c \
|
|
|
|
$(BASE_DIR)/ftstream.c \
|
|
|
|
$(BASE_DIR)/fttrigon.c \
|
|
|
|
$(BASE_DIR)/ftutil.c
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
# Base layer `extensions' sources
|
|
|
|
#
|
|
|
|
# An extension is added to the library file (.a or .lib) as a separate
|
2000-03-05 02:14:19 +01:00
|
|
|
# object. It will then be linked to the final executable only if one of its
|
|
|
|
# symbols is used by the application.
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
2004-12-14 17:01:29 +01:00
|
|
|
BASE_EXT_SRC := $(BASE_DIR)/ftbitmap.c \
|
|
|
|
$(BASE_DIR)/ftbbox.c \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(BASE_DIR)/ftbdf.c \
|
2004-02-25 13:58:54 +01:00
|
|
|
$(BASE_DIR)/ftglyph.c \
|
|
|
|
$(BASE_DIR)/ftmm.c \
|
Adding OpenType validation module. The code is based on the
(unfinished) `otlayout' module but has been heavily modified to make
it much more compact.
* src/otvalid/*: New module.
* include/freetype/ftotval.h, src/base/ftotval.c,
include/freetype/internal/services/svotval.h: New files.
* include/freetype/config/ftmodule.h: Add otv_module_class.
* include/freetype/config/ftheader.h (FT_OPENTYPE_VALIDATE_H): New
macro.
* include/freetype/internal/ftserv.h
(FT_SERVICE_OPENTYPE_VALIDATE_H): New macro.
* include/freetype/internal/fttrace.h (otvmodule, otvcommon,
otvbase, otvgdef, otvgpos, otvgsub, otvjstf): New trace components.
* include/freetype/ftchapters.h: Updated.
* src/base/Jamfile (Library), src/base/descrip.mms (OBJS),
src/base/rules.mk (BASE_EXT_SRC): Updated.
* docs/CHANGES: Updated.
2004-09-10 16:39:00 +02:00
|
|
|
$(BASE_DIR)/ftotval.c \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(BASE_DIR)/ftpfr.c \
|
|
|
|
$(BASE_DIR)/ftstroke.c \
|
2005-05-23 14:01:39 +02:00
|
|
|
$(BASE_DIR)/ftsynth.c \
|
2004-02-25 13:58:54 +01:00
|
|
|
$(BASE_DIR)/fttype1.c \
|
2003-06-09 06:46:30 +02:00
|
|
|
$(BASE_DIR)/ftwinfnt.c \
|
2004-02-25 13:58:54 +01:00
|
|
|
$(BASE_DIR)/ftxf86.c
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-06-02 16:30:38 +02:00
|
|
|
# Default extensions objects
|
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
BASE_EXT_OBJ := $(BASE_EXT_SRC:$(BASE_DIR)/%.c=$(OBJ_DIR)/%.$O)
|
2000-06-02 16:30:38 +02:00
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
# Base layer object(s)
|
|
|
|
#
|
2000-03-05 02:14:19 +01:00
|
|
|
# BASE_OBJ_M is used during `multi' builds (each base source file compiles
|
|
|
|
# to a single object file).
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
2000-03-05 02:14:19 +01:00
|
|
|
# BASE_OBJ_S is used during `single' builds (the whole base layer is
|
|
|
|
# compiled as a single object file using ftbase.c).
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
BASE_OBJ_M := $(BASE_SRC:$(BASE_DIR)/%.c=$(OBJ_DIR)/%.$O)
|
|
|
|
BASE_OBJ_S := $(OBJ_DIR)/ftbase.$O
|
1999-12-17 00:11:37 +01:00
|
|
|
|
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
|
|
|
# Base layer root source file for single build
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
BASE_SRC_S := $(BASE_DIR)/ftbase.c
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
# Base layer - single object build
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
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
|
|
|
$(BASE_OBJ_S): $(BASE_SRC_S) $(BASE_SRC) $(FREETYPE_H)
|
2003-06-09 06:46:30 +02:00
|
|
|
$(BASE_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $(BASE_SRC_S))
|
1999-12-17 00:11:37 +01:00
|
|
|
|
|
|
|
|
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
|
|
|
# Multiple objects build + extensions
|
1999-12-17 00:11:37 +01:00
|
|
|
#
|
2003-06-09 06:46:30 +02:00
|
|
|
$(OBJ_DIR)/%.$O: $(BASE_DIR)/%.c $(FREETYPE_H)
|
|
|
|
$(BASE_COMPILE) $T$(subst /,$(COMPILER_SEP),$@ $<)
|
|
|
|
|
1999-12-17 00:11:37 +01:00
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# EOF
|