<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="UserMacros">
    <PangoApiVersion>1.0</PangoApiVersion>
    <PangoBinaryVersion>1.6.0</PangoBinaryVersion>
    <PangoDummyPrefix>/dummy</PangoDummyPrefix>
    <PangoDefines>G_LOG_DOMAIN="Pango";PANGO_ENABLE_BACKEND;PANGO_ENABLE_ENGINE;SYSCONFDIR="$(PangoDummyPrefix)/etc";LIBDIR="$(PangoDummyPrefix)/lib"</PangoDefines>
    <NoFCDef>PANGO_VISUALC_NO_FC</NoFCDef>
	<GlibEtcInstallRoot>..\..\..\..\build\$(Platform)</GlibEtcInstallRoot>
	<CopyDir>..\..\..\..\pango-1.30.1-rel</CopyDir>
    <PangoDoInstall>
echo on

mkdir $(CopyDir)\bin

copy $(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin

copy $(Configuration)\$(Platform)\bin\*.exe $(CopyDir)\bin


mkdir $(CopyDir)\lib

copy $(Configuration)\$(Platform)\bin\*-$(PangoApiVersion).lib $(CopyDir)\lib


mkdir $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-attributes.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-bidi-type.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-break.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-context.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-coverage.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-engine.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-enum-types.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-features.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-font.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-fontmap.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-fontset.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-glyph-item.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-glyph.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-gravity.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-item.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-language.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-layout.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-matrix.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-modules.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-ot.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-renderer.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-script.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-tabs.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-types.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pango-utils.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pangocairo.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pangowin32.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango


if not exist $(CopyDir)\etc\pango mkdir $(CopyDir)\etc\pango


if exist $(CopyDir)\etc\pango\pango.aliases goto END

echo tahoma = "tahoma,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal" > $(CopyDir)\etc\pango\pango.aliases

echo sans = "arial,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal" >> $(CopyDir)\etc\pango\pango.aliases

echo serif = "times new roman,angsana new,mingliu,simsun,gulimche,ms gothic,latha,mangal" >> $(CopyDir)\etc\pango\pango.aliases

echo monospace = "courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,latha,mangal" >> $(CopyDir)\etc\pango\pango.aliases

:END
</PangoDoInstall>
<PangoInstallFCHeaders>
copy ..\..\..\pango\pangofc-decoder.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pangofc-font.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pangofc-fontmap.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

copy ..\..\..\pango\pangoft2.h $(CopyDir)\include\pango-$(PangoApiVersion)\pango

</PangoInstallFCHeaders>
    <PangoLibtoolCompatibleDllPrefix>lib</PangoLibtoolCompatibleDllPrefix>
    <PangoLibtoolCompatibleDllSuffix>-$(PangoApiVersion)-0</PangoLibtoolCompatibleDllSuffix>
    <PangoSeparateVS10DllPrefix />
    <PangoSeparateVS10DllSuffix>-1.0</PangoSeparateVS10DllSuffix>
    <PangoDllPrefix>$(PangoSeparateVS10DllPrefix)</PangoDllPrefix>
    <PangoDllSuffix>$(PangoSeparateVS10DllSuffix)</PangoDllSuffix>
  </PropertyGroup>
  <PropertyGroup>
    <_PropertySheetDisplayName>pangoprops</_PropertySheetDisplayName>
    <OutDir>$(SolutionDir)$(Configuration)\$(PlatformName)\bin\</OutDir>
    <IntDir>$(SolutionDir)$(Configuration)\$(PlatformName)\obj\$(ProjectName)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
      <AdditionalIncludeDirectories>..\..\..;..\..\..\pango;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\fontconfig;$(GlibEtcInstallRoot)\include\freetype2;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <PreprocessorDefinitions>HAVE_CONFIG_H;G_DISABLE_SINGLE_INCLUDES;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <ForcedIncludeFiles>msvc_recommended_pragmas.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
    </ClCompile>
    <Link>
      <AdditionalDependencies>gio-2.0.lib;gmodule-2.0.lib;gobject-2.0.lib;glib-2.0.lib;libintl.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <AdditionalLibraryDirectories>$(GlibEtcInstallRoot)\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    </Link>
    <PreBuildEvent>
      <Command>
if exist ..\..\..\config.h goto DONE_CONFIG_H

copy ..\..\..\config.h.win32 ..\..\..\config.h

:DONE_CONFIG_H


if exist ..\..\..\pango\DONE_MODULE_DEFS_H goto DONE_MODULE_DEFS_H

copy /y ..\..\..\pango\module-defs.h.win32 ..\..\..\pango\module-defs.h

copy ..\..\..\pango\module-defs.h.win32 ..\..\..\pango\DONE_MODULE_DEFS_H

:DONE_MODULE_DEFS_H


if exist ..\..\..\pango\DONE_MODULE_DEFS_LANG_C goto DONE_MODULE_DEFS_LANG_C

copy ..\..\..\pango\module-defs-lang.c.win32 ..\..\..\pango\module-defs-lang.c

copy ..\..\..\pango\module-defs-lang.c.win32 ..\..\..\pango\DONE_MODULE_DEFS_LANG_C

:DONE_MODULE_DEFS_LANG_C


if exist ..\..\..\pango\DONE_MODULE_DEFS_FC_C goto DONE_MODULE_DEFS_FC_C

copy ..\..\..\pango\module-defs-fc.c.win32 ..\..\..\pango\module-defs-fc.c

copy ..\..\..\pango\module-defs-fc.c.win32 ..\..\..\pango\DONE_MODULE_DEFS_FC_C

:DONE_MODULE_DEFS_FC_C


if exist ..\..\..\pango\DONE_MODULE_DEFS_WIN32_C goto DONE_MODULE_DEFS_WIN32_C

copy ..\..\..\pango\module-defs-win32.c.win32 ..\..\..\pango\module-defs-win32.c

copy ..\..\..\pango\module-defs-win32.c.win32 ..\..\..\pango\DONE_MODULE_DEFS_WIN32_C

:DONE_MODULE_DEFS_WIN32_C

</Command>
    </PreBuildEvent>
  </ItemDefinitionGroup>
  <ItemGroup>
    <BuildMacro Include="PangoApiVersion">
      <Value>$(PangoApiVersion)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoBinaryVersion">
      <Value>$(PangoBinaryVersion)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoDummyPrefix">
      <Value>$(PangoDummyPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoDefines">
      <Value>$(PangoDefines)</Value>
    </BuildMacro>
    <BuildMacro Include="NoFCDef">
      <Value>$(NoFCDef)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoDoInstall">
      <Value>$(PangoDoInstall)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoInstallFCHeaders">
      <Value>$(PangoInstallFCHeaders)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoLibtoolCompatibleDllPrefix">
      <Value>$(PangoLibtoolCompatibleDllPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoLibtoolCompatibleDllSuffix">
      <Value>$(PangoLibtoolCompatibleDllSuffix)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoSeparateVS10DllPrefix">
      <Value>$(PangoSeparateVS10DllPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoSeparateVS10DllSuffix">
      <Value>$(PangoSeparateVS10DllSuffix)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoDllPrefix">
      <Value>$(PangoDllPrefix)</Value>
    </BuildMacro>
    <BuildMacro Include="PangoDllSuffix">
      <Value>$(PangoDllSuffix)</Value>
    </BuildMacro>
    <BuildMacro Include="GlibEtcInstallRoot">
      <Value>$(GlibEtcInstallRoot)</Value>
    </BuildMacro>
  </ItemGroup>
</Project>