1 <?xml version="1.0" encoding="windows-1251"?>
3 ProjectType="Visual C++"
6 ProjectGUID="{6D7EB3D4-7E91-4D98-80EA-28A8F2E365F7}"
7 RootNamespace="grammar"
20 OutputDirectory="$(SolutionDir)$(ConfigurationName)"
21 IntermediateDirectory="$(ConfigurationName)"
22 ConfigurationType="10"
26 Name="VCPreBuildEventTool"
29 Name="VCCustomBuildTool"
35 Name="VCPostBuildEventTool"
40 OutputDirectory="$(SolutionDir)$(ConfigurationName)"
41 IntermediateDirectory="$(ConfigurationName)"
42 ConfigurationType="10"
46 Name="VCPreBuildEventTool"
49 Name="VCCustomBuildTool"
55 Name="VCPostBuildEventTool"
63 RelativePath="..\..\gst\parse\grammar.y"
69 Name="VCCustomBuildTool"
70 CommandLine="bison -d -v -p_gst_parse_yy ..\..\gst\parse\grammar.y -o ..\..\gst\parse\grammar.tab.c
flex -P_gst_parse_yy -o..\..\gst\parse\lex._gst_parse_yy.c ..\..\gst\parse\parse.l
"
71 Outputs="..\..\gst\parse\lex._gst_parse_yy.c;..\..\gst\parse\grammar.tab.c;..\..\gst\parse\grammar.tab.h"
78 Name="VCCustomBuildTool"
79 CommandLine="bison -d -v -p_gst_parse_yy ..\..\gst\parse\grammar.y -o ..\..\gst\parse\grammar.tab.c
flex -P_gst_parse_yy -o..\..\gst\parse\lex._gst_parse_yy.c ..\..\gst\parse\parse.l
"
80 Outputs="..\..\gst\parse\lex._gst_parse_yy.c;..\..\gst\parse\grammar.tab.c;..\..\gst\parse\grammar.tab.h"
85 RelativePath="..\common\gstconfig.h"
91 Name="VCCustomBuildTool"
92 CommandLine="copy /y ..\common\gstconfig.h ..\..\gst
"
93 Outputs="..\..\gstconfig.h"
100 Name="VCCustomBuildTool"
101 CommandLine="copy /y ..\common\gstconfig.h ..\..\gst
"
102 Outputs="..\..\gstconfig.h"
107 RelativePath="..\common\gstenumtypes.c"
113 Name="VCCustomBuildTool"
114 CommandLine="copy /y ..\common\gstenumtypes.c ..\..\gst
copy /y ..\common\gstenumtypes.h ..\..\gst
"
115 Outputs="..\..\gst\gstenumtypes.c;..\..\gst\gstenumtypes.h"
122 Name="VCCustomBuildTool"
123 CommandLine="copy /y ..\common\gstenumtypes.c ..\..\gst
copy /y ..\common\gstenumtypes.h ..\..\gst
"
124 Outputs="..\..\gst\gstenumtypes.c;..\..\gst\gstenumtypes.h"
129 RelativePath="..\..\gst\gstmarshal.list"
135 Name="VCCustomBuildTool"
136 CommandLine="glib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL
rem resets errorlevel to 0 because it is 1 now:
dir > NUL

if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.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

"
137 Outputs="gstmarshal.tmp"
144 Name="VCCustomBuildTool"
145 CommandLine="glib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL
rem resets errorlevel to 0 because it is 1 now:
dir > NUL

if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.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

"
146 Outputs="gstmarshal.tmp"
151 RelativePath="..\common\gstversion.h"
157 Name="VCCustomBuildTool"
158 CommandLine="copy /y ..\common\gstversion.h ..\..\gst
"
159 Outputs="..\..\gst\gstversion.h"
166 Name="VCCustomBuildTool"
167 CommandLine="copy /y ..\common\gstversion.h ..\..\gst
"
168 Outputs="..\..\gst\gstversion.h"
175 </VisualStudioProject>