From b0aad0a966223e66badae8998b35500741e8a7a3 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 21 Apr 2024 13:17:32 +0200 Subject: Adding upstream version 1.4.3. Signed-off-by: Daniel Baumann --- msvc/config.h | 44 +++++++++++++++ msvc/csstest.dsp | 104 +++++++++++++++++++++++++++++++++++ msvc/libdvdcss.dsp | 144 +++++++++++++++++++++++++++++++++++++++++++++++++ msvc/libdvdcss.vcxproj | 133 +++++++++++++++++++++++++++++++++++++++++++++ msvc/workspace.dsw | 44 +++++++++++++++ 5 files changed, 469 insertions(+) create mode 100644 msvc/config.h create mode 100644 msvc/csstest.dsp create mode 100644 msvc/libdvdcss.dsp create mode 100644 msvc/libdvdcss.vcxproj create mode 100644 msvc/workspace.dsw (limited to 'msvc') diff --git a/msvc/config.h b/msvc/config.h new file mode 100644 index 0000000..190b8f9 --- /dev/null +++ b/msvc/config.h @@ -0,0 +1,44 @@ +/* config.h. Generated by hand. */ + +/* #undef DARWIN_DVD_IOCTL */ +/* #undef DVD_STRUCT_IN_DVD_H */ +/* #undef DVD_STRUCT_IN_LINUX_CDROM_H */ +/* #undef DVD_STRUCT_IN_SYS_CDIO_H */ +/* #undef DVD_STRUCT_IN_SYS_DVDIO_H */ +/* #undef HAVE_BSD_DVD_STRUCT */ +#define HAVE_DLFCN_H 1 +/* #undef HAVE_DVD_H */ +/* #undef HAVE_INTTYPES_H */ +/* #undef HAVE_LINUX_CDROM_H */ +/* #undef HAVE_LINUX_DVD_STRUCT */ +#define HAVE_MEMORY_H 1 +/* #undef HAVE_OPENBSD_DVD_STRUCT */ +#define HAVE_STDLIB_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +/* #undef HAVE_SYS_CDIO_H */ +/* #undef HAVE_SYS_DVDIO_H */ +#define HAVE_SYS_IOCTL_H 1 +/* #undef HAVE_SYS_PARAM_H */ +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 +/* #undef HAVE_UNISTD_H */ +#define HAVE_WINDOWS_H 1 +#define HAVE_WINIOCTL_H 1 +/* #undef HAVE__SYS_DEV_SCSI_SCSI_IOCTL_H */ +#define PACKAGE "libdvdcss" +#define PACKAGE_BUGREPORT "" +#define PACKAGE_NAME "libdvdcss" +#define PACKAGE_STRING "libdvdcss 1.3.0" +#define PACKAGE_TARNAME "libdvdcss" +#define PACKAGE_VERSION "1.3.0" +/* #undef SOLARIS_USCSI */ +#define STDC_HEADERS 1 +#define VERSION "1.3.0" +#define _WIN32_IE 0x0501 +/* #undef const */ +/* #undef inline */ +/* #undef size_t */ +#define HAVE_BROKEN_MKDIR 1 +#define _CRT_SECURE_NO_WARNINGS 1 +#define LIBDVDCSS_EXPORTS 1 diff --git a/msvc/csstest.dsp b/msvc/csstest.dsp new file mode 100644 index 0000000..10a17a5 --- /dev/null +++ b/msvc/csstest.dsp @@ -0,0 +1,104 @@ +# Microsoft Developer Studio Project File - Name="csstest" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=csstest - 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 "csstest.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 "csstest.mak" CFG="csstest - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "csstest - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "csstest - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "csstest - 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 "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "." /I "..\src" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /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 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 /subsystem:console /machine:I386 +# ADD 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 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 /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "csstest - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "csstest___Win32_Debug" +# PROP BASE Intermediate_Dir "csstest___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "csstest___Win32_Debug" +# PROP Intermediate_Dir "csstest___Win32_Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /I "..\src" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /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 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 /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD 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 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 /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "csstest - Win32 Release" +# Name "csstest - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\test\csstest.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\src\dvdcss\dvdcss.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/msvc/libdvdcss.dsp b/msvc/libdvdcss.dsp new file mode 100644 index 0000000..e6b0d33 --- /dev/null +++ b/msvc/libdvdcss.dsp @@ -0,0 +1,144 @@ +# Microsoft Developer Studio Project File - Name="libdvdcss" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=libdvdcss - 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 "libdvdcss.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 "libdvdcss.mak" CFG="libdvdcss - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "libdvdcss - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "libdvdcss - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "libdvdcss - 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 "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "." /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PATH_MAX=2048 /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "libdvdcss - 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 "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "." /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PATH_MAX=2048 /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "libdvdcss - Win32 Release" +# Name "libdvdcss - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\src\css.c +# End Source File +# Begin Source File + +SOURCE=..\src\device.c +# End Source File +# Begin Source File + +SOURCE=..\src\error.c +# End Source File +# Begin Source File + +SOURCE=..\src\ioctl.c +# End Source File +# Begin Source File + +SOURCE=..\src\libdvdcss.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# Begin Source File + +SOURCE=..\src\common.h +# End Source File +# Begin Source File + +SOURCE=.\config.h +# End Source File +# Begin Source File + +SOURCE=..\src\css.h +# End Source File +# Begin Source File + +SOURCE=..\src\csstables.h +# End Source File +# Begin Source File + +SOURCE=..\src\device.h +# End Source File +# Begin Source File + +SOURCE=..\src\dvdcss\dvdcss.h +# End Source File +# Begin Source File + +SOURCE=..\src\ioctl.h +# End Source File +# Begin Source File + +SOURCE=..\src\libdvdcss.h +# End Source File +# End Group +# End Target +# End Project diff --git a/msvc/libdvdcss.vcxproj b/msvc/libdvdcss.vcxproj new file mode 100644 index 0000000..5df61a7 --- /dev/null +++ b/msvc/libdvdcss.vcxproj @@ -0,0 +1,133 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + + + {50F2BF62-8520-4B37-97DD-578EA282EC04} + + + + StaticLibrary + v110 + false + MultiByte + + + StaticLibrary + v110 + false + MultiByte + + + + + + + + + + + + + + + .\Release\ + .\Release\ + false + + + .\Debug\ + .\Debug\ + true + + + + MultiThreaded + Default + true + true + MaxSpeed + true + Level3 + .;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_LIB;PATH_MAX=2048;%(PreprocessorDefinitions) + .\Release\ + .\Release\libdvdcss.pch + .\Release\ + .\Release\ + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + .\Release\libdvdcss.bsc + + + true + .\Release\libdvdcss.lib + + + + + MultiThreadedDebug + Default + false + Disabled + true + Level3 + true + EditAndContinue + .;%(AdditionalIncludeDirectories) + _DEBUG;WIN32;_LIB;PATH_MAX=2048;%(PreprocessorDefinitions) + .\Debug\ + .\Debug\libdvdcss.pch + .\Debug\ + .\Debug\ + EnableFastChecks + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + .\Debug\libdvdcss.bsc + + + true + .\Debug\libdvdcss.lib + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/workspace.dsw b/msvc/workspace.dsw new file mode 100644 index 0000000..ceb0960 --- /dev/null +++ b/msvc/workspace.dsw @@ -0,0 +1,44 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "csstest"=.\csstest.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ + Begin Project Dependency + Project_Dep_Name libdvdcss + End Project Dependency +}}} + +############################################################################### + +Project: "libdvdcss"=.\libdvdcss.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + -- cgit v1.2.3