2000-03-05 02:14:19 +01:00
|
|
|
#
|
|
|
|
# FreeType 2 modules sub-Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
# Copyright 1996-2000 by
|
|
|
|
# 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-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.
|
|
|
|
|
|
|
|
|
|
|
|
# DO NOT INVOKE THIS MAKEFILE DIRECTLY! IT IS MEANT TO BE INCLUDED BY
|
|
|
|
# OTHER MAKEFILES.
|
|
|
|
|
|
|
|
|
|
|
|
# This file is in charge of handling the generation of the modules list
|
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
|
|
|
# file.
|
1999-12-29 01:19:37 +01:00
|
|
|
|
|
|
|
.PHONY: make_module_list clean_module_list remake_module_list
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# MODULE_LIST, as its name suggests, indicates where the modules list
|
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
|
|
|
# resides. For now, it is in `include/freetype/config/ftmodule.h'.
|
1999-12-29 01:19:37 +01:00
|
|
|
#
|
2000-02-29 17:56:18 +01:00
|
|
|
ifndef FT_MODULE_LIST
|
2000-05-11 21:06:03 +02:00
|
|
|
FT_MODULE_LIST := $(TOP)$(SEP)include$(SEP)freetype$(SEP)config$(SEP)ftmodule.h
|
2000-02-29 17:56:18 +01:00
|
|
|
endif
|
1999-12-29 01:19:37 +01:00
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# To build the modules list, we invoke the `make_module_list' target.
|
1999-12-29 01:19: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
|
|
|
# This rule is commented out by default since FreeType comes already with
|
|
|
|
# a ftmodule.h file.
|
|
|
|
#
|
1999-12-29 01:19:37 +01:00
|
|
|
#$(FT_MODULE_LIST): make_module_list
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# Before the modules list file can be generated, we must remove the file in
|
|
|
|
# order to `clean' the list.
|
1999-12-29 01:19:37 +01:00
|
|
|
#
|
|
|
|
clean_module_list:
|
2000-02-02 13:48:20 +01:00
|
|
|
@-$(DELETE) $(subst $(SEP),$(HOSTSEP),$(FT_MODULE_LIST))
|
2000-03-05 02:14:19 +01:00
|
|
|
@-echo Regenerating the font drivers list in $(FT_MODULE_LIST)...
|
1999-12-29 01:19:37 +01:00
|
|
|
|
|
|
|
make_module_list: clean_module_list
|
2000-03-05 02:14:19 +01:00
|
|
|
@echo done.
|
1999-12-29 01:19:37 +01:00
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
|
|
|
|
# Trailing spaces are protected with a `#' sign to avoid accidental
|
|
|
|
# removing.
|
|
|
|
#
|
1999-12-29 01:19:37 +01:00
|
|
|
ifneq ($(findstring $(PLATFORM),dos win32 win16 os2),)
|
2000-03-05 02:14:19 +01:00
|
|
|
OPEN_MODULE := @echo #
|
|
|
|
CLOSE_MODULE := >> $(FT_MODULE_LIST)
|
1999-12-29 01:19:37 +01:00
|
|
|
else
|
2000-03-05 02:14:19 +01:00
|
|
|
OPEN_MODULE := @echo "
|
|
|
|
CLOSE_MODULE := " >> $(FT_MODULE_LIST)
|
1999-12-29 01:19:37 +01:00
|
|
|
endif
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# $(OPEN_DRIVER) & $(CLOSE_DRIVER) are used to specify a given font driver
|
|
|
|
# in the `module.mk' rules file.
|
1999-12-29 01:19:37 +01:00
|
|
|
#
|
|
|
|
OPEN_DRIVER := $(OPEN_MODULE)FT_DRIVER(
|
|
|
|
CLOSE_DRIVER := )$(CLOSE_MODULE)
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
ECHO_DRIVER := @echo "* driver: #
|
1999-12-29 01:19:37 +01:00
|
|
|
ECHO_DRIVER_DESC := (
|
|
|
|
ECHO_DRIVER_DONE := )"
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# Each `module.mk' in the `src' sub-dirs is used to add one rule to the
|
|
|
|
# target `make_module_list'.
|
1999-12-29 01:19:37 +01:00
|
|
|
#
|
|
|
|
include $(wildcard $(TOP)/src/*/module.mk)
|
|
|
|
|
2000-03-05 02:14:19 +01:00
|
|
|
# EOF
|