if exist ..\..\..\cogl\SDL_DEFINES goto DONE_COGL_DEFINES_H
if not exist ..\..\..\cogl\WGL_DEFINES goto DO_COGL_DEFINES_H
del ..\..\..\cogl\cogl-defines.h
del ..\..\..\cogl\WGL_DEFINES
:DO_COGL_DEFINES_H
copy ..\..\..\cogl\cogl-defines.h.win32_sdl ..\..\..\cogl\SDL_DEFINES
copy ..\..\..\cogl\SDL_DEFINES ..\..\..\cogl\cogl-defines.h
:DONE_COGL_DEFINES_H
if exist ..\..\..\cogl\WGL_DEFINES goto DONE_COGL_DEFINES_H
if not exist ..\..\..\cogl\SDL_DEFINES goto DO_COGL_DEFINES_H
del ..\..\..\cogl\cogl-defines.h
del ..\..\..\cogl\SDL_DEFINES
:DO_COGL_DEFINES_H
copy ..\..\..\cogl\cogl-defines.h.win32 ..\..\..\cogl\WGL_DEFINES
copy ..\..\..\cogl\WGL_DEFINES ..\..\..\cogl\cogl-defines.h
:DONE_COGL_DEFINES_H
copy ..\..\..\config.h.win32 ..\..\..\config.h
copy ..\..\..\cogl\cogl-gl-header.h.win32 ..\..\..\cogl\cogl-gl-header.h
cd ..\..\..\cogl-path
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-path-enum-types.h.in cogl-path-types.h cogl1-path-functions.h > cogl-path-enum-types.h
cd $(SolutionDir)
cd ..\..\..\cogl-path
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-path-enum-types.c.in cogl-path-types.h cogl1-path-functions.h > cogl-path-enum-types.c
cd $(SolutionDir)
cd ..\..\..\cogl
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.h.in deprecated\cogl-clip-state.h deprecated\cogl-fixed.h deprecated\cogl-material-compat.h deprecated\cogl-vertex-buffer.h deprecated\cogl-shader.h deprecated\cogl-clutter.h deprecated\cogl-type-casts.h deprecated\cogl-framebuffer-deprecated.h deprecated\cogl-texture-deprecated.h deprecated\cogl-auto-texture.h cogl1-context.h cogl-bitmap.h cogl-color.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-texture.h cogl-types.h cogl.h cogl-win32-renderer.h > cogl-enum-types.h
cd $(SolutionDir)
cd ..\..\..\cogl
perl $(GlibEtcInstallRoot)\bin\glib-mkenums --template cogl-enum-types.c.in deprecated\cogl-clip-state.h deprecated\cogl-fixed.h deprecated\cogl-material-compat.h deprecated\cogl-vertex-buffer.h deprecated\cogl-shader.h deprecated\cogl-clutter.h deprecated\cogl-type-casts.h deprecated\cogl-framebuffer-deprecated.h deprecated\cogl-texture-deprecated.h deprecated\cogl-auto-texture.h cogl1-context.h cogl-bitmap.h cogl-color.h cogl-matrix.h cogl-offscreen.h cogl-primitives.h cogl-texture.h cogl-types.h cogl.h cogl-win32-renderer.h > cogl-enum-types.c
cd $(SolutionDir)
echo EXPORTS > $(DefDir)\cogl.def
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def
echo EXPORTS > $(DefDir)\cogl.def
cl -EP -D_COGL_SUPPORTS_GTYPE_INTEGRATION -DCOGL_HAS_WIN32_SUPPORT -DCOGL_HAS_GLIB_SUPPORT -DCOGL_HAS_SDL_SUPPORT -DCOGL_ENABLE_EXPERIMENTAL_API ..\..\..\cogl\cogl.symbols >> $(DefDir)\cogl.def
echo EXPORTS > $(DefDir)\cogl-path.def
cl -EP ..\..\..\cogl-path\cogl-path.symbols >> $(DefDir)\cogl-path.def
echo EXPORTS > $(DefDir)\cogl-pango.def
cl -EP ..\..\..\cogl-pango\cogl-pango.symbols >> $(DefDir)\cogl-pango.def
<_PropertySheetDisplayName>coglprops
$(CopyConfigH)
$(CopyGLHeaderH)
$(CopyDefinesSDLH)
$(CopyDefinesH)
$(GenCoglPathEnumsH)
$(GenCoglPathEnumsC)
$(GenCoglEnumsH)
$(GenCoglEnumsC)
$(GenerateCoglDef)
$(GenerateCoglDef)
$(GenerateCoglPathDef)
$(GenerateCoglPangoDef)