..\..\..\$(GstProjectRoot)..\..\vs10\$(PlatformName)\$(GstPrefix)bin\flex\data0.11$(GstPrefix)include\gstreamer-$(GstVersion)\gst\$(GstPrefix)lib\$(GstPrefix)bin\$(GstPrefix)lib\gstreamer-$(GstVersion)\glib-2.0.lib;gobject-2.0.lib;gthread-2.0.lib;gmodule-2.0.lib;Ws2_32.lib;intl.libglib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL
rem resets errorlevel to 0 because it is 1 now:
dir > NUL
if exist %relativedir%%filename%.c goto HEADER
echo #include "glib-object.h" > %filename%.c.tmp
echo #include "%filename%.h" >> %filename%.c.tmp
glib-genmarshal --body --prefix=%prefix% %relativedir%%filename%.list >> %filename%.c.tmp
move %filename%.c.tmp %relativedir%%filename%.c
:HEADER
if exist %relativedir%%filename%.h goto END
glib-genmarshal --header --prefix=%prefix% %relativedir%%filename%.list >> %filename%.h.tmp
move %filename%.h.tmp %relativedir%%filename%.h
goto END
:NOGLIBGENMARSHAL
echo ERROR %errorlevel%
echo ### YOU DO NOT HAVE GLIB-GENMARSHAL.EXE IN YOUR PATH.
echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!
:END
C:\\avs-dep\\vs10\\Win32$(GstPrefix)bin;$(GstPrefix)bin\flex;$(ExecutablePath)$(GstPrefix)include;$(GstPrefix)include\glib-2.0;$(GstPrefix)lib\glib-2.0\include;$(IncludePath)$(GstPrefix)lib;$(LibraryPath)
<_PropertySheetDisplayName>Common
..\Build\$(ProjectName)-$(Configuration)\$(SolutionDir)Build\$(Configuration)\PREFIX="$(PREFIX)";DISABLE_ORC;WIN32;_WINDOWS;HAVE_CONFIG_H;HAVE_WIN32;GST_DISABLE_XML;HAVE_SINH;HAVE_COSH;%(PreprocessorDefinitions)4996;4244;4018;4146;4305;%(DisableSpecificWarnings)$(GstProjectRoot);$(GstProjectRoot)libs;$(GstProjectRoot)win32\common\;%(AdditionalIncludeDirectories)$(GstCommonDeps);%(AdditionalDependencies)$(GstProjectRoot)$(GstPrefix)true$(BISON_PKGDATADIR)true$(GstVersion)$(GstDestInclude)$(GstDestLib)$(GstDestBin)$(GstDestPlugins)true$(GstCommonDeps)$(GstGenMarshal)$(PREFIX)