forked from minhngoc25a/freetype2
The font drivers that are statically linked to the library at build time
is now managed through the file `config/<platform>/ftmodule.h', which is automatically generated through the rules file `config/modules.mk' Some changes to include this new rules file. Also, the target "modules" will force the re-generation of the drivers list (this is handy when adding or removing a font driver from the source tree).
This commit is contained in:
parent
10effdf61e
commit
aa50b821c8
18
Makefile
18
Makefile
|
@ -70,9 +70,25 @@ ifdef check_platform
|
|||
|
||||
all: setup
|
||||
|
||||
|
||||
# if the module list $(FT_MODULE_LIST) file is not present,
|
||||
# generate it
|
||||
#
|
||||
modules: make_module_list setup
|
||||
|
||||
include $(TOP)/config/detect.mk
|
||||
include $(TOP)/config/modules.mk
|
||||
|
||||
ifeq ($(wildcard $(FT_MODULE_LIST)),)
|
||||
setup: make_module_list
|
||||
endif
|
||||
|
||||
|
||||
# "setup" must be defined by the host platform detection rules
|
||||
# to create the 'config.mk' file in the current directory.
|
||||
#
|
||||
|
||||
|
||||
|
||||
else
|
||||
|
||||
|
@ -83,6 +99,8 @@ else
|
|||
#
|
||||
all: build_freetype
|
||||
|
||||
modules: make_module_list
|
||||
|
||||
BUILD_FREETYPE := yes
|
||||
include $(CONFIG_MK)
|
||||
|
||||
|
|
Loading…
Reference in New Issue