forked from minhngoc25a/freetype2
* Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles
to the source tree. see www.freetype.org/jam/index.html for details
This commit is contained in:
parent
521d8dc2e5
commit
5bf0a39485
|
@ -1,8 +1,13 @@
|
|||
2000-03-24 David Turner <david.turner@freetype.org>
|
||||
|
||||
* Jamrules, Jamfile, src/Jamfile, src/*/Jamfile: Adding jamfiles
|
||||
to the source tree. see www.freetype.org/jam/index.html for details
|
||||
|
||||
|
||||
* Version 2.0.2 released.
|
||||
=========================
|
||||
|
||||
|
||||
2001-03-20 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* builds/win32/detekt.mk: Fix .PHONY target for Intel compiler.
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
# FreeType 2 Jamfile (c) 2001 David Turner
|
||||
#
|
||||
|
||||
# we need to invoke a SubDir rule if the FT2 source directory top
|
||||
# is not the current directory. This allows us to build FreeType 2 as
|
||||
# part of a larger project easily..
|
||||
#
|
||||
if $(FT2_TOP) != $(DOT)
|
||||
{
|
||||
SubDir FT2_TOP ;
|
||||
}
|
||||
|
||||
FT2_INCLUDE = [ FT2_SubDir include ] ;
|
||||
FT2_SRC = [ FT2_SubDir src ] ;
|
||||
|
||||
FT2_LIB = $(LIBPREFIX)freetype ;
|
||||
|
||||
# we need "freetype2/include" in the current include path in order to
|
||||
# compile any part of FreeType 2
|
||||
#
|
||||
SubDirHdr += $(FT2_INCLUDE) ;
|
||||
|
||||
# uncomment the following line if you want to build individual source files
|
||||
# for each FreeType 2 module.
|
||||
#
|
||||
# FT2_MULTI = true;
|
||||
|
||||
# the file <freetype/config/ft2build.h> is used to define macros that are
|
||||
# later used in #include statements.. it needs to be parsed in order to
|
||||
# record these definitions..
|
||||
#
|
||||
HDRMACRO [ FT2_SubDir include freetype config ft2build.h ] ;
|
||||
|
||||
# now include the Jamfile in "freetype2/src", used to drive the
|
||||
# compilation of each FreeType 2 component and/or module
|
||||
#
|
||||
SubInclude FT2_TOP src ;
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
# FreeType 2 JamRules (c) 2001 David Turner
|
||||
#
|
||||
# This file contains the Jam rules needed to build the FreeType 2 library
|
||||
# it is shared by all Jamfiles and is included only once in the build
|
||||
# process
|
||||
#
|
||||
|
||||
|
||||
# determine prefix of library file. We must use "libxxxxx" on Unix
|
||||
# systems, while all other simply use the real name..
|
||||
#
|
||||
if $(UNIX)
|
||||
{
|
||||
LIBPREFIX ?= lib ;
|
||||
}
|
||||
else
|
||||
{
|
||||
LIBPREFIX ?= "" ;
|
||||
}
|
||||
|
||||
# FT_TOP contains the location of the FreeType source directory. You can
|
||||
# set it to a specific value if you want to compile the library as part
|
||||
# of a larger project..
|
||||
#
|
||||
FT2_TOP ?= $(DOT) ;
|
||||
|
||||
# define a new rule used to declare a sub directory of the Nirvana
|
||||
# source tree..
|
||||
#
|
||||
rule FT2_SubDir
|
||||
{
|
||||
if $(FT2_TOP) = $(DOT)
|
||||
{
|
||||
return [ FDirName $(<) ] ;
|
||||
}
|
||||
else
|
||||
{
|
||||
return [ FDirName $(FT2_TOP) $(<) ] ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
# the directory "include" must be in the current include path
|
||||
# when compiling any part of FreeType. We thus update the HDRS variable there
|
||||
#
|
||||
HDRS += [ FT2_SubDir include ] ;
|
||||
|
||||
# we also set ALL_LOCATE_TARGET in order to place all object and library
|
||||
# files in "objs"
|
||||
#
|
||||
ALL_LOCATE_TARGET ?= [ FT2_SubDir objs ] ;
|
||||
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
SubDir FT2_TOP src ;
|
||||
|
||||
# we need to add "freetype/src" to the current includ path in order
|
||||
# to compile any part of FreeType 2..
|
||||
#
|
||||
SubDirHdrs [ FT2_SubDir src ] ;
|
||||
|
||||
# the file <freetype/internal/internal.h> is used to define macros that are
|
||||
# later used in #include statements.. it needs to be parsed in order to
|
||||
# record these definitions..
|
||||
#
|
||||
HDRMACRO [ FT2_SubDir include internal internal.h ] ;
|
||||
|
||||
SubInclude FT2_TOP src autohint ;
|
||||
SubInclude FT2_TOP src base ;
|
||||
SubInclude FT2_TOP src cache ;
|
||||
SubInclude FT2_TOP src cff ;
|
||||
SubInclude FT2_TOP src cid ;
|
||||
SubInclude FT2_TOP src pcf ;
|
||||
SubInclude FT2_TOP src psaux ;
|
||||
SubInclude FT2_TOP src psnames ;
|
||||
SubInclude FT2_TOP src raster ;
|
||||
SubInclude FT2_TOP src sfnt ;
|
||||
SubInclude FT2_TOP src smooth ;
|
||||
SubInclude FT2_TOP src truetype ;
|
||||
SubInclude FT2_TOP src type1 ;
|
||||
SubInclude FT2_TOP src winfonts ;
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src autohint ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src autohint ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = ahangles.c ahglobal.c ahglyph.c ahhint.c ahmodule.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = autohint.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
SubDir FT2_TOP src base ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src base ] ;
|
||||
|
||||
|
||||
# First of all, which files form the core / base of FT2
|
||||
#
|
||||
ft2_base_sources = ftcalc.c ftextend.c ftlist.c ftobjs.c ftstream.c
|
||||
ftoutln.c ftnames.c ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
Library $(FT2_LIB) : $(ft2_base_sources) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
Library $(FT2_LIB) : ftbase.c ;
|
||||
}
|
||||
|
||||
# Add the optional/replaceable files
|
||||
#
|
||||
Library $(FT2_LIB) : ftsystem.c ftinit.c ftglyph.c ftmm.c ftbbox.c ftdebug.c ;
|
||||
|
||||
# Add Macintosh-specific file to the library when necessary
|
||||
#
|
||||
if $(MAC)
|
||||
{
|
||||
Library $(FT2_LIB) : ftmac.c ;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
SubDir FT2_TOP src cache ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src cache ] ;
|
||||
|
||||
ft2_cache_sources = ftlru.c ftcmanag.c ftcglyph.c ftcchunk.c
|
||||
ftcsbits.c ftcimage.c ;
|
||||
|
||||
# the file <freetype/ftcache.h> contains some macro definitions that are
|
||||
# later used in #include statements related to the cache sub-system.
|
||||
# it need to be parsed through a HDRMACRO rule for macro definitions
|
||||
#
|
||||
HDRMACRO [ FT2_SubDir include ftcache.h ] ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
Library $(FT2_LIB) : $(ft2_cache_sources) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
Library $(FT2_LIB) : ftcache.c ;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src cff ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src cff ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = cffdrivr.c cffgload.c cffload.c cffobjs.c cffparse.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = cff.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src cid ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src cid ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = cidobjs.c cidload.c cidgload.c cidriver.c cidparse.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = type1cid.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src pcf ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src pcf ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = pcfdriver.c pcfread.c pcfutil.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = pcf.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
SubDir FT2_TOP src psaux ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src psaux ] ;
|
||||
|
||||
ft2_psaux_sources = psauxmod.c psobjs.c t1decode.c ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
Library $(FT2_LIB) : $(ft2_psaux_sources) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
Library $(FT2_LIB) : psaux.c ;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
SubDir FT2_TOP src psnames ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src psnames ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = psmodule.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = psnames.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src raster ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src raster ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = ftraster.c ftrend1.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = raster.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src sfnt ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src sfnt ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = sfobjs.c sfdriver.c ttcmap.c ttpost.c ttload.c ttsbit.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = sfnt.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
SubDir FT2_TOP src smooth ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src smooth ] ;
|
||||
|
||||
ft2_smooth_sources = ftgrays.c ftsmooth.c ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
Library $(FT2_LIB) : $(ft2_smooth_sources) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
Library $(FT2_LIB) : smooth.c ;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
SubDir FT2_TOP src truetype ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src truetype ] ;
|
||||
|
||||
{
|
||||
local _sources ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
_sources = ttdriver.c ttobjs.c ttpload.c ttgload.c ttinterp.c ;
|
||||
}
|
||||
else
|
||||
{
|
||||
_sources = truetype.c ;
|
||||
}
|
||||
|
||||
Library $(FT2_LIB) : $(_sources) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
SubDir FT2_TOP src type1 ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src type1 ] ;
|
||||
|
||||
ft2_type1_sources = t1afm.c t1driver.c t1objs.c t1load.c t1gload.c
|
||||
t1parse.c ;
|
||||
|
||||
if $(FT2_MULTI)
|
||||
{
|
||||
Library $(FT2_LIB) : $(ft2_type1_sources) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
Library $(FT2_LIB) : type1.c ;
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
SubDir FT2_TOP src winfonts ;
|
||||
|
||||
SubDirHdrs [ FT2_SubDir src winfonts ] ;
|
||||
|
||||
Library $(FT2_LIB) : winfnt.c ;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue