From 36d561c1f02aa01ff2c4063d968b0d64ead19a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Moutte?= Date: Mon, 8 Oct 2007 22:05:29 +0000 Subject: [PATCH] win32/vs6/: win32/MANIFEST Original commit message from CVS: * win32/vs6/gst_python.dsw: * win32/vs6/libgstpython.dsp: * win32/vs6/pygenfiles.dsp: * win32/MANIFEST Add new project files to build with VS6. --- win32/MANIFEST | 3 + win32/vs6/gst_python.dsw | 41 +++++++++ win32/vs6/libgstpython.dsp | 171 +++++++++++++++++++++++++++++++++++++ win32/vs6/pygenfiles.dsp | 123 ++++++++++++++++++++++++++ 4 files changed, 338 insertions(+) create mode 100644 win32/vs6/gst_python.dsw create mode 100644 win32/vs6/libgstpython.dsp create mode 100644 win32/vs6/pygenfiles.dsp diff --git a/win32/MANIFEST b/win32/MANIFEST index 679f50da34..295ff5cff1 100644 --- a/win32/MANIFEST +++ b/win32/MANIFEST @@ -1,3 +1,6 @@ win32/MANIFEST win32/common/config.h win32/common/config.h.in +win32/vs6/gst_python.dsw +win32/vs6/libgstpython.dsp +win32/vs6/pygenfiles.dsp \ No newline at end of file diff --git a/win32/vs6/gst_python.dsw b/win32/vs6/gst_python.dsw new file mode 100644 index 0000000000..610e8aa660 --- /dev/null +++ b/win32/vs6/gst_python.dsw @@ -0,0 +1,41 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "libgstpython"=".\libgstpython.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "pygenfiles"=".\pygenfiles.dsp" - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/win32/vs6/libgstpython.dsp b/win32/vs6/libgstpython.dsp new file mode 100644 index 0000000000..259af1508b --- /dev/null +++ b/win32/vs6/libgstpython.dsp @@ -0,0 +1,171 @@ +# Microsoft Developer Studio Project File - Name="libgstpython" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=libgstpython - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "libgstpython.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "libgstpython.mak" CFG="libgstpython - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libgstpython - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "libgstpython - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libgstpython - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTPYTHON_EXPORTS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /O1 /I "../../../gstreamer" /I "../../../gstreamer/libs" /I "../common" /I "../../../gst-plugins-base/gst-libs" /I "C:\Python24\include\pygtk-2.0" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTPYTHON_EXPORTS" /D "HAVE_CONFIG_H" /D "HAVE_VIDEO_ORIENTATION_INTERFACE" /FR /FD /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x40c /d "NDEBUG" +# ADD RSC /l 0x40c /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 libgstreamer-0.10.lib libgstbase-0.10.lib libgstinterfaces-0.10.lib libgstdataprotocol-0.10.lib libgstcontroller-0.10.lib glib-2.0.lib gobject-2.0.lib libxml2.lib /nologo /dll /machine:I386 /libpath:"../../../gstreamer/win32/vs6/release" /libpath:"../../../gst-plugins-base/win32/vs6/release" +# Begin Special Build Tool +TargetPath=.\Release\libgstpython.dll +SOURCE="$(InputPath)" +PostBuild_Cmds=copy /Y $(TargetPath) c:\gstreamer\lib\gstreamer-0.10 +# End Special Build Tool + +!ELSEIF "$(CFG)" == "libgstpython - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTPYTHON_EXPORTS" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "../../../gst-plugins-base/" /I "../../../gstreamer" /I "../../../gstreamer/libs" /I "../common" /I "../../../gst-plugins-base/gst-libs" /I "C:\Python24\include\pygtk-2.0" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "LIBGSTPYTHON_EXPORTS" /D "HAVE_CONFIG_H" /D "HAVE_VIDEO_ORIENTATION_INTERFACE" /FD /GZ /c +# SUBTRACT CPP /YX +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0x40c /d "_DEBUG" +# ADD RSC /l 0x40c /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 libgstreamer-0.10.lib libgstbase-0.10.lib libgstinterfaces-0.10.lib libgstdataprotocol-0.10.lib libgstcontroller-0.10.lib glib-2.0D.lib gobject-2.0D.lib libxml2.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"../../../gstreamer/win32/vs6/debug" /libpath:"../../../gst-plugins-base/win32/vs6/debug" +# Begin Special Build Tool +TargetPath=.\Debug\libgstpython.dll +SOURCE="$(InputPath)" +PostBuild_Cmds=copy /Y $(TargetPath) c:\gstreamer\debug\lib\gstreamer-0.10 +# End Special Build Tool + +!ENDIF + +# Begin Target + +# Name "libgstpython - Win32 Release" +# Name "libgstpython - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE="..\..\gst\gst-argtypes.c" +# End Source File +# Begin Source File + +SOURCE=..\..\gst\gst.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\gstmodule.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\interfaces.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\interfacesmodule.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstexception.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstiterator.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstminiobject.c +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstvalue.c +# End Source File +# Begin Source File + +SOURCE="..\..\..\..\..\libxml2-2.6.24\python\types.c" +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\..\gst\common.h +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstexception.h +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstminiobject.h +# End Source File +# Begin Source File + +SOURCE=..\..\gst\pygstvalue.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/vs6/pygenfiles.dsp b/win32/vs6/pygenfiles.dsp new file mode 100644 index 0000000000..9ee3853093 --- /dev/null +++ b/win32/vs6/pygenfiles.dsp @@ -0,0 +1,123 @@ +# Microsoft Developer Studio Project File - Name="pygenfiles" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Generic Project" 0x010a + +CFG=pygenfiles - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "pygenfiles.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "pygenfiles.mak" CFG="pygenfiles - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "pygenfiles - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE "pygenfiles - Win32 Debug" (based on "Win32 (x86) Generic Project") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +MTL=midl.exe + +!IF "$(CFG)" == "pygenfiles - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "pygenfiles - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "pygenfiles - Win32 Release" +# Name "pygenfiles - Win32 Debug" +# Begin Source File + +SOURCE=..\..\gst\gst.override + +!IF "$(CFG)" == "pygenfiles - Win32 Release" + +# Begin Custom Build +InputPath=..\..\gst\gst.override + +"gst_output" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + C:\Python24\python.exe ..\..\codegen/codegen.py --load-types ..\..\gst\arg-types.py --register ..\..\gst\gst-types.defs --override ..\..\gst\gst.override --extendpath ..\..\gst\ --extendpath ..\..\gst\ --prefix pygst ..\..\gst\gst.defs > ..\..\gst\gen-gst.c + move ..\..\gst\gen-gst.c ..\..\gst\gst.c + +# End Custom Build + +!ELSEIF "$(CFG)" == "pygenfiles - Win32 Debug" + +# Begin Custom Build +InputPath=..\..\gst\gst.override + +"gst_output" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + C:\Python24\python.exe ..\..\codegen/codegen.py --load-types ..\..\gst\arg-types.py --register ..\..\gst\gst-types.defs --override ..\..\gst\gst.override --extendpath ..\..\gst\ --extendpath ..\..\gst\ --prefix pygst ..\..\gst\gst.defs > ..\..\gst\gen-gst.c + move ..\..\gst\gen-gst.c ..\..\gst\gst.c + +# End Custom Build + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=..\..\gst\interfaces.override + +!IF "$(CFG)" == "pygenfiles - Win32 Release" + +# Begin Custom Build +InputPath=..\..\gst\interfaces.override + +"interfaces_output" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + C:\Python24\python.exe ..\..\codegen/codegen.py --load-types ..\..\gst\arg-types.py --register ..\..\gst\gst-types.defs --override ..\..\gst\interfaces.override --extendpath ..\..\gst\ --extendpath ..\..\gst\ --prefix pyinterfaces ..\..\gst\interfaces.defs > ..\..\gst\gen-interfaces.c + move ..\..\gst\gen-interfaces.c ..\..\gst\interfaces.c + + +# End Custom Build + +!ELSEIF "$(CFG)" == "pygenfiles - Win32 Debug" + +# Begin Custom Build +InputPath=..\..\gst\interfaces.override + +"interfaces_output" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + C:\Python24\python.exe ..\..\codegen/codegen.py --load-types ..\..\gst\arg-types.py --register ..\..\gst\gst-types.defs --override ..\..\gst\interfaces.override --extendpath ..\..\gst\ --extendpath ..\..\gst\ --prefix pyinterfaces ..\..\gst\interfaces.defs > ..\..\gst\gen-interfaces.c + move ..\..\gst\gen-interfaces.c ..\..\gst\interfaces.c + + +# End Custom Build + +!ENDIF + +# End Source File +# End Target +# End Project