]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/blobdiff - win32/vs6/grammar.dsp
win32/vs6/grammar.dsp: add autogen of gstmarshal.c,h for Release mode
[glsdk/gstreamer0-10.git] / win32 / vs6 / grammar.dsp
index a2901306d5950b667a6b3510c6d6d456d6924303..b6c8e9f860d8a2327406f89904725d0d1cac843b 100644 (file)
@@ -182,6 +182,25 @@ BuildCmds= \
 SOURCE=..\..\gst\gstmarshal.list
 
 !IF  "$(CFG)" == "grammar - Win32 Release"
+# Begin Custom Build
+InputPath=..\..\gst\gstmarshal.list
+
+BuildCmds= \
+       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 \
+       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 \
+       
+
+"..\..\gst\gstmarshal.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+   $(BuildCmds)
+
+"..\..\gst\gstmarshal.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
+   $(BuildCmds)
+# End Custom Build
 
 !ELSEIF  "$(CFG)" == "grammar - Win32 Debug"