aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/freetype2
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
committerReinhard Tartler <siretart@tauware.de>2011-10-10 17:43:39 +0200
commitf4092abdf94af6a99aff944d6264bc1284e8bdd4 (patch)
tree2ac1c9cc16ceb93edb2c4382c088dac5aeafdf0f /nx-X11/lib/freetype2
parenta840692edc9c6d19cd7c057f68e39c7d95eb767d (diff)
downloadnx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.gz
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.tar.bz2
nx-libs-f4092abdf94af6a99aff944d6264bc1284e8bdd4.zip
Imported nx-X11-3.1.0-1.tar.gznx-X11/3.1.0-1
Summary: Imported nx-X11-3.1.0-1.tar.gz Keywords: Imported nx-X11-3.1.0-1.tar.gz into Git repository
Diffstat (limited to 'nx-X11/lib/freetype2')
-rw-r--r--nx-X11/lib/freetype2/Imakefile263
-rw-r--r--nx-X11/lib/freetype2/freetype-def.cpp211
-rw-r--r--nx-X11/lib/freetype2/freetype/Imakefile90
-rw-r--r--nx-X11/lib/freetype2/freetype/cache/Imakefile25
-rw-r--r--nx-X11/lib/freetype2/freetype/config/Imakefile52
-rw-r--r--nx-X11/lib/freetype2/freetype/internal/Imakefile52
-rw-r--r--nx-X11/lib/freetype2/freetype/internal/services/Imakefile31
7 files changed, 724 insertions, 0 deletions
diff --git a/nx-X11/lib/freetype2/Imakefile b/nx-X11/lib/freetype2/Imakefile
new file mode 100644
index 000000000..eed70ad23
--- /dev/null
+++ b/nx-X11/lib/freetype2/Imakefile
@@ -0,0 +1,263 @@
+XCOMM $XdotOrg: xc/lib/freetype2/Imakefile,v 1.4 2004/05/05 17:24:41 eich Exp $
+XCOMM $XFree86: xc/lib/freetype2/Imakefile,v 1.19 2003/11/21 02:33:22 dawes Exp $
+
+#define IHaveSubdirs
+#define PassCDebugFlags
+#define NoLibSubdirs
+
+#define DoNormalLib NormalLibFreetype2
+#define DoSharedLib SharedLibFreetype2
+#define DoExtraLib SharedLibFreetype2
+#define DoDebugLib DebugLibFreetype2
+#define DoProfileLib ProfileLibFreetype2
+#define HasSharedData YES
+#define LibName freetype
+#define SoRev SOFREETYPE2REV
+#ifdef SharedLibtoolFreetype2Rev
+#define SharedLibtoolRev SharedLibtoolFreetype2Rev
+#endif
+#define LibHeaders NO
+
+#include <Threads.tmpl>
+
+FREETYPETOP = $(TOP)/extras/freetype2
+FREETYPESRC = $(FREETYPETOP)/src
+
+
+#ifdef DarwinArchitecture
+# if DarwinQuartzSupport
+DARWINDEFINES = -DTARGET_API_MAC_CARBON=TRUE
+REQUIREDLIBS = -framework CoreServices -framework ApplicationServices
+# else
+DARWINDEFINES = -DDARWIN_NO_CARBON
+# endif
+#endif
+
+DEFINES = $(DARWINDEFINES) Freetype2BuildDefines -DXFREE86_FT2
+
+INCLUDES = -I -I.\
+ -I$(FREETYPESRC)\
+ -I$(FREETYPESRC)/base\
+ -I$(FREETYPESRC)/autofit \
+ -I$(FREETYPESRC)/autohint\
+ -I$(FREETYPESRC)/bdf\
+ -I$(FREETYPESRC)/cff\
+ -I$(FREETYPESRC)/cid\
+ -I$(FREETYPESRC)/gzip\
+ -I$(FREETYPESRC)/lzw \
+ -I$(FREETYPESRC)/pcf\
+ -I$(FREETYPESRC)/pfr\
+ -I$(FREETYPESRC)/psaux\
+ -I$(FREETYPESRC)/pshinter\
+ -I$(FREETYPESRC)/psnames\
+ -I$(FREETYPESRC)/raster\
+ -I$(FREETYPESRC)/sfnt\
+ -I$(FREETYPESRC)/smooth\
+ -I$(FREETYPESRC)/truetype\
+ -I$(FREETYPESRC)/type1\
+ -I$(FREETYPESRC)/type42\
+ -I$(FREETYPESRC)/winfonts\
+ $(FREETYPE2INCLUDES)\
+ -I$(XBUILDINCDIR)
+
+SUBDIRS=freetype
+
+HEADERS=ft2build.h
+
+SRCS_BASE = ftapi.c \
+ ftbase.c \
+ ftbbox.c \
+ ftbdf.c \
+ ftdebug.c \
+ ftglyph.c \
+ ftinit.c \
+ ftmm.c \
+ ftpfr.c \
+ ftstroke.c \
+ ftsynth.c \
+ ftsystem.c \
+ fttype1.c \
+ ftwinfnt.c \
+ ftxf86.c
+
+OBJS_BASE = ftapi.o \
+ ftbase.o \
+ ftbbox.o \
+ ftbdf.o \
+ ftdebug.o \
+ ftglyph.o \
+ ftinit.o \
+ ftmm.o \
+ ftpfr.o \
+ ftstroke.o \
+ ftsynth.o \
+ ftsystem.o \
+ fttype1.o \
+ ftwinfnt.o \
+ ftxf86.o
+
+SRCS_AUTOFIT = autofit.c
+OBJS_AUTOFIT = autofit.o
+
+SRCS_AUTOHINT = autohint.c
+OBJS_AUTOHINT = autohint.o
+
+SRCS_BDF = bdf.c
+OBJS_BDF = bdf.o
+
+SRCS_CFF = cff.c
+OBJS_CFF = cff.o
+
+SRCS_CID = type1cid.c
+OBJS_CID = type1cid.o
+
+SRCS_GZIP = ftgzip.c
+OBJS_GZIP = ftgzip.o
+
+SRCS_LZW = ftlzw.c
+OBJS_LZW = ftlzw.o
+
+SRCS_PCF = pcf.c
+OBJS_PCF = pcf.o
+
+SRCS_PFR = pfr.c
+OBJS_PFR = pfr.o
+
+SRCS_PSAUX = psaux.c
+OBJS_PSAUX = psaux.o
+
+SRCS_PSHINTER = pshinter.c
+OBJS_PSHINTER = pshinter.o
+
+SRCS_PSNAMES = psnames.c
+OBJS_PSNAMES = psnames.o
+
+SRCS_RASTER = raster.c
+OBJS_RASTER = raster.o
+
+SRCS_SFNT = sfnt.c
+OBJS_SFNT = sfnt.o
+
+SRCS_SMOOTH = smooth.c
+OBJS_SMOOTH = smooth.o
+
+SRCS_TRUETYPE = truetype.c
+OBJS_TRUETYPE = truetype.o
+
+SRCS_TYPE1 = type1.c
+OBJS_TYPE1 = type1.o
+
+SRCS_TYPE42 = type42.c
+OBJS_TYPE42 = type42.o
+
+SRCS_WINFONTS = winfnt.c
+OBJS_WINFONTS = winfnt.o
+
+SRCS = $(SRCS_BASE)\
+ $(SRCS_AUTOFIT) \
+ $(SRCS_AUTOHINT)\
+ $(SRCS_BDF)\
+ $(SRCS_CFF)\
+ $(SRCS_CID)\
+ $(SRCS_GZIP)\
+ $(SRCS_LZW)\
+ $(SRCS_PCF)\
+ $(SRCS_PFR)\
+ $(SRCS_PSAUX)\
+ $(SRCS_PSHINTER)\
+ $(SRCS_PSNAMES)\
+ $(SRCS_RASTER)\
+ $(SRCS_SFNT)\
+ $(SRCS_SMOOTH)\
+ $(SRCS_TRUETYPE)\
+ $(SRCS_TYPE1)\
+ $(SRCS_TYPE42)\
+ $(SRCS_WINFONTS)
+
+OBJS = $(OBJS_BASE)\
+ $(OBJS_AUTOFIT) \
+ $(OBJS_AUTOHINT)\
+ $(OBJS_BDF)\
+ $(OBJS_CFF)\
+ $(OBJS_CID)\
+ $(OBJS_GZIP)\
+ $(OBJS_LZW)\
+ $(OBJS_PCF)\
+ $(OBJS_PFR)\
+ $(OBJS_PSAUX)\
+ $(OBJS_PSHINTER)\
+ $(OBJS_PSNAMES)\
+ $(OBJS_RASTER)\
+ $(OBJS_SFNT)\
+ $(OBJS_SMOOTH)\
+ $(OBJS_TRUETYPE)\
+ $(OBJS_TYPE1)\
+ $(OBJS_TYPE42)\
+ $(OBJS_WINFONTS)
+
+
+#include <Library.tmpl>
+
+#if DoSharedLib && SharedDataSeparation
+SpecialCObjectRule(sharedlib,NullParameter,$(SHLIBDEF))
+#endif
+
+#if 0
+MANSUFFIX = $(LIBMANSUFFIX)
+InstallManPage(Freetype,$(LIBMANDIR))
+#endif
+
+BuildIncludes($(HEADERS),.,.)
+InstallMultipleFlags($(HEADERS),$(INCDIR),$(INSTINCFLAGS))
+
+/* There might be an ft2build.h file in the wrong place. If so, remove it. */
+install::
+ @if [ -f $(DESTDIR)$(INCDIR)/freetype2/ft2build.h ]; then \
+ (set -x; $(RM) -f $(DESTDIR)$(INCDIR)/freetype2/ft2build.h) \
+ fi
+
+LinkFile(ft2build.h,$(FREETYPETOP)/builds/unix/ft2unix.h)
+
+LinkSourceFile(ftapi.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftbase.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftbdf.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftbbox.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftdebug.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftglyph.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftinit.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftmm.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftpfr.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftstroke.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftsynth.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftsystem.c,$(FREETYPESRC)/base)
+LinkSourceFile(fttype1.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftwinfnt.c,$(FREETYPESRC)/base)
+LinkSourceFile(ftxf86.c,$(FREETYPESRC)/base)
+
+#if defined(DarwinArchitecture) && DarwinQuartzSupport
+LinkSourceFile(ftmac.c,$(FREETYPESRC)/base)
+#endif
+
+LinkSourceFile(autofit.c,$(FREETYPESRC)/autofit)
+LinkSourceFile(autohint.c,$(FREETYPESRC)/autohint)
+LinkSourceFile(bdf.c,$(FREETYPESRC)/bdf)
+LinkSourceFile(cff.c,$(FREETYPESRC)/cff)
+LinkSourceFile(ftgzip.c,$(FREETYPESRC)/gzip)
+LinkSourceFile(ftlzw.c,$(FREETYPESRC)/lzw)
+LinkSourceFile(type1cid.c,$(FREETYPESRC)/cid)
+LinkSourceFile(pcf.c,$(FREETYPESRC)/pcf)
+LinkSourceFile(pfr.c,$(FREETYPESRC)/pfr)
+LinkSourceFile(psaux.c,$(FREETYPESRC)/psaux)
+LinkSourceFile(pshinter.c,$(FREETYPESRC)/pshinter)
+LinkSourceFile(psnames.c,$(FREETYPESRC)/psnames)
+LinkSourceFile(raster.c,$(FREETYPESRC)/raster)
+LinkSourceFile(sfnt.c,$(FREETYPESRC)/sfnt)
+LinkSourceFile(smooth.c,$(FREETYPESRC)/smooth)
+LinkSourceFile(truetype.c,$(FREETYPESRC)/truetype)
+LinkSourceFile(type1.c,$(FREETYPESRC)/type1)
+LinkSourceFile(type42.c,$(FREETYPESRC)/type42)
+LinkSourceFile(winfnt.c,$(FREETYPESRC)/winfonts)
+
+DependTarget()
+
+DependSubdirs($(SUBDIRS))
diff --git a/nx-X11/lib/freetype2/freetype-def.cpp b/nx-X11/lib/freetype2/freetype-def.cpp
new file mode 100644
index 000000000..bfb1613ec
--- /dev/null
+++ b/nx-X11/lib/freetype2/freetype-def.cpp
@@ -0,0 +1,211 @@
+LIBRARY libfreetype
+VERSION LIBRARY_VERSION
+
+EXPORTS
+ah_arctan
+autohint_module_class
+;autohinter_interface
+cff_driver_class
+;FT_Access_Frame
+#ifndef __UNIXOS2__
+FT_Add64
+#endif
+FT_Add_Module
+FT_Alloc
+FT_Attach_File
+FT_Attach_Stream
+#ifndef __UNIXOS2__
+FT_Create_Extensions
+FT_Destroy_Extensions
+FT_Div64by32
+#endif
+FT_DivFix
+#ifndef __UNIXOS2__
+FT_Done_Extensions
+#endif
+FT_Done_Face
+FT_Done_GlyphSlot
+FT_Done_Library
+FT_Done_Size
+#ifndef __UNIXOS2__
+FT_Done_Stream
+FT_Extract_Frame
+FT_Forget_Frame
+#endif
+FT_Free
+#ifndef __UNIXOS2__
+FT_Get_Char
+#endif
+FT_Get_Char_Index
+#ifndef __UNIXOS2__
+FT_Get_Extension
+#endif
+FT_Get_Glyph_Name
+FT_Get_Kerning
+#ifndef __UNIXOS2__
+FT_Get_Long
+FT_Get_LongLE
+#endif
+FT_Get_Module
+FT_Get_Module_Interface
+#ifndef __UNIXOS2__
+FT_Get_Offset
+#endif
+FT_Get_Renderer
+FT_Get_Sfnt_Name
+FT_Get_Sfnt_Name_Count
+FT_Get_Sfnt_Table
+#ifndef __UNIXOS2__
+FT_Get_Short
+FT_Get_ShortLE
+#endif
+FT_GlyphLoader_Add
+#ifndef __UNIXOS2__
+FT_GlyphLoader_Check_Points
+FT_GlyphLoader_Check_Subglyphs
+FT_GlyphLoader_Copy_Points
+FT_GlyphLoader_Create_Extra
+#endif
+FT_GlyphLoader_Done
+FT_GlyphLoader_New
+FT_GlyphLoader_Prepare
+FT_GlyphLoader_Reset
+FT_GlyphLoader_Rewind
+#ifndef __UNIXOS2__
+FT_Init_Extensions
+#endif
+FT_List_Add
+FT_List_Finalize
+FT_List_Find
+FT_List_Insert
+FT_List_Iterate
+FT_List_Remove
+FT_List_Up
+FT_Load_Char
+FT_Load_Glyph
+FT_Lookup_Renderer
+FT_MulDiv
+FT_MulFix
+#ifndef __UNIXOS2__
+FT_MulTo64
+#endif
+FT_New_Face
+FT_New_GlyphSlot
+FT_New_Library
+FT_New_Memory_Face
+#ifndef __UNIXOS2__
+FT_New_Memory_Stream
+#endif
+FT_New_Size
+FT_Open_Face
+FT_Outline_Copy
+FT_Outline_Decompose
+FT_Outline_Done
+FT_Outline_Done_Internal
+FT_Outline_Get_Bitmap
+FT_Outline_Get_CBox
+FT_Outline_New
+FT_Outline_New_Internal
+FT_Outline_Render
+FT_Outline_Reverse
+FT_Outline_Transform
+FT_Outline_Translate
+#ifndef __UNIXOS2__
+FT_Read_Char
+FT_Read_Fields
+FT_Read_Long
+FT_Read_LongLE
+FT_Read_Offset
+FT_Read_Short
+FT_Read_ShortLE
+FT_Read_Stream
+FT_Read_Stream_At
+#endif
+FT_Realloc
+#ifndef __UNIXOS2__
+FT_Register_Extension
+FT_Release_Frame
+#endif
+FT_Remove_Module
+FT_Render_Glyph
+FT_Render_Glyph_Internal
+#ifndef __UNIXOS2__
+FT_Seek_Stream
+#endif
+FT_Select_Charmap
+FT_Set_Char_Size
+FT_Set_Charmap
+FT_Set_Debug_Hook
+FT_Set_Pixel_Sizes
+FT_Set_Renderer
+FT_Set_Transform
+#ifndef __UNIXOS2__
+FT_Skip_Stream
+FT_Sqrt64
+#endif
+FT_SqrtFixed
+FT_Stream_Pos
+FT_Vector_Transform
+FT_Outline_Get_BBox
+FT_Done_Glyph
+FT_Get_Glyph
+FT_Glyph_Copy
+FT_Glyph_Get_CBox
+FT_Glyph_To_Bitmap
+FT_Glyph_Transform
+FT_Matrix_Invert
+FT_Matrix_Multiply
+ft_bitmap_glyph_class
+ft_outline_glyph_class
+FT_Add_Default_Modules
+FT_Done_FreeType
+FT_Init_FreeType
+FT_Get_Multi_Master
+FT_Set_MM_Blend_Coordinates
+FT_Set_MM_Design_Coordinates
+FT_Done_Memory
+FT_New_Memory
+#ifndef __UNIXOS2__
+FT_New_Stream
+_cygwin_dll_entry@12
+_cygwin_noncygwin_dll_entry@12
+dll_main@12
+#endif
+ps_table_funcs
+psaux_module_class
+t1_builder_funcs
+t1_decoder_funcs
+#ifndef __UNIXOS2__
+t1_parser_funcs
+#endif
+psnames_module_class
+ft_raster1_renderer_class
+ft_raster5_renderer_class
+ft_standard_raster
+sbit_metrics_fields
+sfnt_module_class
+ft_grays_raster
+ft_smooth_renderer_class
+#ifndef __UNIXOS2__
+TT_New_Context
+TT_RunIns
+tt_default_graphics_state
+#endif
+tt_driver_class
+t1_driver_class
+t1cid_driver_class
+winfnt_driver_class
+#ifdef __UNIXOS2__
+FT_Get_First_Char
+FT_Get_Next_Char
+FT_Get_PS_Font_Info
+FT_Has_PS_Glyph_Names
+FT_Get_Name_Index
+FT_Get_BDF_Property
+FT_Activate_Size
+FT_Get_X11_Font_Format
+FT_Get_BDF_Charset_ID
+FT_Get_Postscript_Name
+#endif
+
+/* $XFree86: xc/lib/freetype2/freetype-def.cpp,v 1.6 2003/11/06 03:25:41 dawes Exp $ */
diff --git a/nx-X11/lib/freetype2/freetype/Imakefile b/nx-X11/lib/freetype2/freetype/Imakefile
new file mode 100644
index 000000000..246603fda
--- /dev/null
+++ b/nx-X11/lib/freetype2/freetype/Imakefile
@@ -0,0 +1,90 @@
+XCOMM $XFree86: xc/lib/freetype2/freetype/Imakefile,v 1.9 2003/05/29 03:05:09 dawes Exp $
+
+#define IHaveSubdirs
+#define PassCDebugFlags
+
+SUBDIRS=config cache internal
+
+FREETYPETOP = $(TOP)/extras/freetype2
+FREETYPESRC = $(FREETYPETOP)/src
+FREETYPEINC = $(FREETYPETOP)/include/freetype
+
+HEADERS= \
+ freetype.h \
+ ftbbox.h \
+ ftbdf.h \
+ ftcache.h \
+ ftchapters.h \
+ fterrdef.h \
+ fterrors.h \
+ ftglyph.h \
+ ftgzip.h \
+ ftimage.h \
+ ftincrem.h \
+ ftlist.h \
+ ftmac.h \
+ ftmm.h \
+ ftmoderr.h \
+ ftmodapi.h \
+ ftoutln.h \
+ ftpfr.h \
+ ftrender.h \
+ ftsizes.h \
+ ftsnames.h \
+ ftstroke.h \
+ ftsynth.h \
+ ftsysio.h \
+ ftsysmem.h \
+ ftsystem.h \
+ fttrigon.h \
+ fttypes.h \
+ ftwinfnt.h \
+ ftxf86.h \
+ t1tables.h \
+ ftlzw.h \
+ ttnameid.h \
+ tttables.h \
+ tttags.h \
+ ttunpat.h
+
+BuildIncludes($(HEADERS),freetype2/freetype,../..)
+InstallMultipleFlags($(HEADERS),$(INCDIR)/freetype2/freetype,$(INSTINCFLAGS))
+
+LinkSourceFile(freetype.h,$(FREETYPEINC))
+LinkSourceFile(ftbbox.h,$(FREETYPEINC))
+LinkSourceFile(ftbdf.h,$(FREETYPEINC))
+LinkSourceFile(ftcache.h,$(FREETYPEINC))
+LinkSourceFile(ftchapters.h,$(FREETYPEINC))
+LinkSourceFile(fterrdef.h,$(FREETYPEINC))
+LinkSourceFile(fterrors.h,$(FREETYPEINC))
+LinkSourceFile(ftglyph.h,$(FREETYPEINC))
+LinkSourceFile(ftgzip.h,$(FREETYPEINC))
+LinkSourceFile(ftimage.h,$(FREETYPEINC))
+LinkSourceFile(ftincrem.h,$(FREETYPEINC))
+LinkSourceFile(ftlist.h,$(FREETYPEINC))
+LinkSourceFile(ftmac.h,$(FREETYPEINC))
+LinkSourceFile(ftmm.h,$(FREETYPEINC))
+LinkSourceFile(ftmoderr.h,$(FREETYPEINC))
+LinkSourceFile(ftmodapi.h,$(FREETYPEINC))
+LinkSourceFile(ftoutln.h,$(FREETYPEINC))
+LinkSourceFile(ftpfr.h,$(FREETYPEINC))
+LinkSourceFile(ftrender.h,$(FREETYPEINC))
+LinkSourceFile(ftsizes.h,$(FREETYPEINC))
+LinkSourceFile(ftsnames.h,$(FREETYPEINC))
+LinkSourceFile(ftstroke.h,$(FREETYPEINC))
+LinkSourceFile(ftsynth.h,$(FREETYPEINC))
+LinkSourceFile(ftsysio.h,$(FREETYPEINC))
+LinkSourceFile(ftsysmem.h,$(FREETYPEINC))
+LinkSourceFile(ftsystem.h,$(FREETYPEINC))
+LinkSourceFile(fttrigon.h,$(FREETYPEINC))
+LinkSourceFile(fttypes.h,$(FREETYPEINC))
+LinkSourceFile(ftwinfnt.h,$(FREETYPEINC))
+LinkSourceFile(ftxf86.h,$(FREETYPEINC))
+LinkSourceFile(t1tables.h,$(FREETYPEINC))
+LinkSourceFile(ftlzw.h,$(FREETYPEINC))
+LinkSourceFile(ttnameid.h,$(FREETYPEINC))
+LinkSourceFile(tttables.h,$(FREETYPEINC))
+LinkSourceFile(tttags.h,$(FREETYPEINC))
+LinkSourceFile(ttunpat.h,$(FREETYPEINC))
+
+DependSubdirs($(SUBDIRS))
diff --git a/nx-X11/lib/freetype2/freetype/cache/Imakefile b/nx-X11/lib/freetype2/freetype/cache/Imakefile
new file mode 100644
index 000000000..18ae1fed9
--- /dev/null
+++ b/nx-X11/lib/freetype2/freetype/cache/Imakefile
@@ -0,0 +1,25 @@
+XCOMM $XFree86: xc/lib/freetype2/freetype/cache/Imakefile,v 1.1 2001/02/08 00:55:41 keithp Exp $
+
+FREETYPETOP = $(TOP)/extras/freetype2
+FREETYPESRC = $(FREETYPETOP)/src
+FREETYPEINC = $(FREETYPETOP)/include/freetype
+
+HEADERS= \
+ ftccache.h \
+ ftccmap.h \
+ ftcglyph.h \
+ ftcimage.h \
+ ftcmanag.h \
+ ftcsbits.h \
+ ftcmru.h
+
+BuildIncludes($(HEADERS),freetype2/freetype/cache,../../..)
+InstallMultipleFlags($(HEADERS),$(INCDIR)/freetype2/freetype/cache,$(INSTINCFLAGS))
+
+LinkSourceFile(ftccache.h,$(FREETYPEINC)/cache)
+LinkSourceFile(ftccmap.h,$(FREETYPEINC)/cache)
+LinkSourceFile(ftcglyph.h,$(FREETYPEINC)/cache)
+LinkSourceFile(ftcimage.h,$(FREETYPEINC)/cache)
+LinkSourceFile(ftcmanag.h,$(FREETYPEINC)/cache)
+LinkSourceFile(ftcsbits.h,$(FREETYPEINC)/cache)
+LinkSourceFile(ftcmru.h,$(FREETYPEINC)/cache)
diff --git a/nx-X11/lib/freetype2/freetype/config/Imakefile b/nx-X11/lib/freetype2/freetype/config/Imakefile
new file mode 100644
index 000000000..c23911208
--- /dev/null
+++ b/nx-X11/lib/freetype2/freetype/config/Imakefile
@@ -0,0 +1,52 @@
+XCOMM $XdotOrg: xc/lib/freetype2/freetype/config/Imakefile,v 1.4 2005/10/10 01:25:40 alanc Exp $
+XCOMM $XFree86: xc/lib/freetype2/freetype/config/Imakefile,v 1.12 2003/10/24 16:21:17 tsi Exp $
+
+FREETYPETOP = $(TOP)/extras/freetype2
+FREETYPESRC = $(FREETYPETOP)/src
+FREETYPEINC = $(FREETYPETOP)/include/freetype
+
+HEADERS= \
+ ftconfig.h \
+ ftheader.h \
+ ftmodule.h \
+ ftoption.h \
+ ftstdlib.h
+
+BuildIncludes($(HEADERS),freetype2/freetype/config,../../..)
+InstallMultipleFlags($(HEADERS),$(INCDIR)/freetype2/freetype/config,$(INSTINCFLAGS))
+
+LinkSourceFile(ftconfig.h,$(FREETYPEINC)/config)
+LinkSourceFile(ftheader.h,$(FREETYPEINC)/config)
+LinkSourceFile(ftmodule.h,$(FREETYPEINC)/config)
+LinkSourceFile(ftoption.h,$(FREETYPEINC)/config)
+LinkSourceFile(ftstdlib.h,$(FREETYPEINC)/config)
+
+XCOMM Build and install a configure-compatible freetype-config
+
+LinkSourceFile(freetype-config.in,$(FREETYPETOP)/builds/unix)
+LinkSourceFile(freetype2.in,$(FREETYPETOP)/builds/unix)
+
+FREETYPE_VERSION=Freetype2Version
+
+RPATH_CFLAG = HardCodeLibdirFlag
+
+CONFIG_SUBST = \
+ sed -e s%@prefix@%$(PROJECTROOT)% -e s%@exec_prefix@%$(PROJECTROOT)% \
+ -e s%@libdir@%$(USRLIBDIR)%g -e s%@includedir@%$(INCDIR)% \
+ -e s%@ft_version@%$(FREETYPE_VERSION)% -e s%@LIBZ@%% \
+ -e s%@hardcode_libdir_flag_spec@%$(RPATH_CFLAG)% -e s%@wl@%%
+
+freetype-config: freetype-config.in
+ $(CONFIG_SUBST) < freetype-config.in > $@
+
+freetype2.pc: freetype2.in
+ $(CONFIG_SUBST) < freetype2.in > $@
+
+includes:: freetype-config freetype2.pc
+
+InstallNamedProg(freetype-config,freetype-config,$(BINDIR))
+InstallNonExecFile(freetype2.pc,$(USRLIBDIR)/pkgconfig)
+
+clean::
+ RemoveFile(freetype-config)
+ RemoveFile(freetype2.pc)
diff --git a/nx-X11/lib/freetype2/freetype/internal/Imakefile b/nx-X11/lib/freetype2/freetype/internal/Imakefile
new file mode 100644
index 000000000..2ec88abe9
--- /dev/null
+++ b/nx-X11/lib/freetype2/freetype/internal/Imakefile
@@ -0,0 +1,52 @@
+XCOMM $XdotOrg: xc/lib/freetype2/freetype/internal/Imakefile,v 1.3 2004/04/28 10:39:09 gisburn Exp $
+
+#define IHaveSubdirs
+#define PassCDebugFlags
+
+SUBDIRS=services
+
+FREETYPETOP = $(TOP)/extras/freetype2
+FREETYPESRC = $(FREETYPETOP)/src
+FREETYPEINC = $(FREETYPETOP)/include/freetype
+
+HEADERS= \
+ autohint.h \
+ ftcalc.h \
+ ftdebug.h \
+ ftdriver.h \
+ ftgloadr.h \
+ ftmemory.h \
+ ftobjs.h \
+ ftrfork.h \
+ ftserv.h \
+ ftstream.h \
+ fttrace.h \
+ internal.h \
+ pcftypes.h \
+ psaux.h \
+ pshints.h \
+ sfnt.h \
+ t1types.h \
+ tttypes.h
+
+BuildIncludes($(HEADERS),freetype2/freetype/internal,../../..)
+InstallMultipleFlags($(HEADERS),$(INCDIR)/freetype2/freetype/internal,$(INSTINCFLAGS))
+
+LinkSourceFile(autohint.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftcalc.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftdebug.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftdriver.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftgloadr.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftmemory.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftobjs.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftrfork.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftstream.h,$(FREETYPEINC)/internal)
+LinkSourceFile(ftserv.h,$(FREETYPEINC)/internal)
+LinkSourceFile(fttrace.h,$(FREETYPEINC)/internal)
+LinkSourceFile(internal.h,$(FREETYPEINC)/internal)
+LinkSourceFile(pcftypes.h,$(FREETYPEINC)/internal)
+LinkSourceFile(psaux.h,$(FREETYPEINC)/internal)
+LinkSourceFile(pshints.h,$(FREETYPEINC)/internal)
+LinkSourceFile(sfnt.h,$(FREETYPEINC)/internal)
+LinkSourceFile(t1types.h,$(FREETYPEINC)/internal)
+LinkSourceFile(tttypes.h,$(FREETYPEINC)/internal)
diff --git a/nx-X11/lib/freetype2/freetype/internal/services/Imakefile b/nx-X11/lib/freetype2/freetype/internal/services/Imakefile
new file mode 100644
index 000000000..31e18cff8
--- /dev/null
+++ b/nx-X11/lib/freetype2/freetype/internal/services/Imakefile
@@ -0,0 +1,31 @@
+FREETYPETOP = $(TOP)/extras/freetype2
+FREETYPESRC = $(FREETYPETOP)/src
+FREETYPEINC = $(FREETYPETOP)/include/freetype
+
+HEADERS= \
+ svbdf.h \
+ svmm.h \
+ svpostnm.h \
+ svpsinfo.h \
+ svwinfnt.h \
+ svgldict.h \
+ svpfr.h \
+ svpscmap.h \
+ svsfnt.h \
+ svttcmap.h \
+ svxf86nm.h
+
+BuildIncludes($(HEADERS),freetype2/freetype/internal/services,../../../..)
+InstallMultipleFlags($(HEADERS),$(INCDIR)/freetype2/freetype/internal/services,$(INSTINCFLAGS))
+
+LinkSourceFile(svbdf.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svmm.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svpostnm.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svpsinfo.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svwinfnt.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svgldict.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svpfr.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svpscmap.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svsfnt.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svttcmap.h,$(FREETYPEINC)/internal/services)
+LinkSourceFile(svxf86nm.h,$(FREETYPEINC)/internal/services)