From 53632e91b18657467cb2dfce02c3ba319ceee7c2 Mon Sep 17 00:00:00 2001 From: musil Date: Thu, 30 Jun 2011 14:03:31 +0000 Subject: added 3 folders for vsc Version 6, 7 and 9. you have to copy all the stuff to .. , and there you have to compile. svn path=/trunk/externals/iem/iem_bin_ambi/; revision=15133 --- src/VC6/iem_bin_ambi.dsp | 85 +++++++++++++++++++++++++++++++++++++++++++++ src/VC6/iem_bin_ambi.dsw | 29 ++++++++++++++++ src/VC6/makefile_win | 43 +++++++++++++++++++++++ src/VC7/iem_bin_ambi.vcproj | 52 +++++++++++++++++++++++++++ src/VC7/makefile_vc7proj | 38 ++++++++++++++++++++ src/iem_bin_ambi.sln | 20 +++++++++++ src/iem_bin_ambi.vcproj | 77 ++++++++++++++++++++++++++++++++++++++++ src/makefile_vc9proj | 37 ++++++++++++++++++++ 8 files changed, 381 insertions(+) create mode 100644 src/VC6/iem_bin_ambi.dsp create mode 100644 src/VC6/iem_bin_ambi.dsw create mode 100644 src/VC6/makefile_win create mode 100644 src/VC7/iem_bin_ambi.vcproj create mode 100644 src/VC7/makefile_vc7proj create mode 100644 src/iem_bin_ambi.sln create mode 100644 src/iem_bin_ambi.vcproj create mode 100644 src/makefile_vc9proj diff --git a/src/VC6/iem_bin_ambi.dsp b/src/VC6/iem_bin_ambi.dsp new file mode 100644 index 0000000..2c11ca4 --- /dev/null +++ b/src/VC6/iem_bin_ambi.dsp @@ -0,0 +1,85 @@ +# Microsoft Developer Studio Project File - Name="iem_bin_ambi" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) External Target" 0x0106 + +CFG=iem_bin_ambi - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "iem_bin_ambi.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "iem_bin_ambi.mak" CFG="iem_bin_ambi - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "iem_bin_ambi - Win32 Release" (basierend auf "Win32 (x86) External Target") +!MESSAGE "iem_bin_ambi - Win32 Debug" (basierend auf "Win32 (x86) External Target") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "iem_bin_ambi - Win32 Release" + +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Cmd_Line "NMAKE /f makefile_win" +# PROP BASE Rebuild_Opt "/a" +# PROP BASE Target_File "makefile_win.exe" +# PROP BASE Bsc_Name "makefile_win.bsc" +# PROP BASE Target_Dir "" +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Cmd_Line "NMAKE /f makefile_win" +# PROP Rebuild_Opt "/a" +# PROP Target_File "iem_bin_ambi.exe" +# PROP Bsc_Name "iem_bin_ambi.bsc" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "iem_bin_ambi - Win32 Debug" + +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Cmd_Line "NMAKE /f makefile_win" +# PROP BASE Rebuild_Opt "/a" +# PROP BASE Target_File "makefile_win.exe" +# PROP BASE Bsc_Name "makefile_win.bsc" +# PROP BASE Target_Dir "" +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Cmd_Line "NMAKE /f makefile_win" +# PROP Rebuild_Opt "/a" +# PROP Target_File "iem_bin_ambi.exe" +# PROP Bsc_Name "iem_bin_ambi.bsc" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "iem_bin_ambi - Win32 Release" +# Name "iem_bin_ambi - Win32 Debug" + +!IF "$(CFG)" == "iem_bin_ambi - Win32 Release" + +!ELSEIF "$(CFG)" == "iem_bin_ambi - Win32 Debug" + +!ENDIF + +# Begin Source File + +SOURCE=.\makefile_win +# End Source File +# End Target +# End Project diff --git a/src/VC6/iem_bin_ambi.dsw b/src/VC6/iem_bin_ambi.dsw new file mode 100644 index 0000000..d8715b0 --- /dev/null +++ b/src/VC6/iem_bin_ambi.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GELÖSCHT WERDEN! + +############################################################################### + +Project: "iem_bin_ambi"=.\iem_bin_ambi.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/src/VC6/makefile_win b/src/VC6/makefile_win new file mode 100644 index 0000000..fa9b329 --- /dev/null +++ b/src/VC6/makefile_win @@ -0,0 +1,43 @@ + +all: ..\iem_bin_ambi.dll + +VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98" + +PD_INST_PATH = "C:\Programme\pd" + +PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include + +PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -DPA_LITTLE_ENDIAN + +PD_WIN_L_FLAGS = /nologo + +PD_WIN_LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel /NODEFAULTLIB:uuid \ + $(VIS_CPP_PATH)\lib\libc.lib \ + $(VIS_CPP_PATH)\lib\oldnames.lib \ + $(VIS_CPP_PATH)\lib\kernel32.lib \ + $(VIS_CPP_PATH)\lib\wsock32.lib \ + $(VIS_CPP_PATH)\lib\winmm.lib \ + $(PD_INST_PATH)\bin\pd.lib + + +SRC = bin_ambi_calc_HRTF.c \ + bin_ambi_reduced_decode.c \ + bin_ambi_reduced_decode2.c \ + bin_ambi_reduced_decode_fft.c \ + bin_ambi_reduced_decode_fir.c \ + bin_ambi_reduced_decode_fft2.c \ + bin_ambi_reduced_decode_fir2.c \ + iem_bin_ambi.c + + +OBJ = $(SRC:.c=.obj) + +.c.obj: + cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c + +..\iem_bin_ambi.dll: $(OBJ) + link $(PD_WIN_L_FLAGS) /dll /export:iem_bin_ambi_setup \ + /out:..\iem_bin_ambi.dll $(OBJ) $(PD_WIN_LIB) + +clean: + del *.obj diff --git a/src/VC7/iem_bin_ambi.vcproj b/src/VC7/iem_bin_ambi.vcproj new file mode 100644 index 0000000..e47cc83 --- /dev/null +++ b/src/VC7/iem_bin_ambi.vcproj @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/VC7/makefile_vc7proj b/src/VC7/makefile_vc7proj new file mode 100644 index 0000000..33fd81e --- /dev/null +++ b/src/VC7/makefile_vc7proj @@ -0,0 +1,38 @@ +TARGET = iem_bin_ambi + +all: ..\$(TARGET).dll + +VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio .NET 2003\Vc7" +VIS_SDK_PATH = "C:\Programme\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK" +PD_INST_PATH = "C:\Programme\pd-0.42-5" +PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include +PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -D_CRT_SECURE_NO_WARNINGS +PD_WIN_L_FLAGS = /nologo + +PD_WIN_LIB = /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel32 \ + $(VIS_CPP_PATH)\lib\libcmt.lib \ + $(VIS_CPP_PATH)\lib\oldnames.lib \ + $(VIS_SDK_PATH)\lib\kernel32.lib \ + $(PD_INST_PATH)\bin\pd.lib + +SRC = bin_ambi_calc_HRTF.c \ + bin_ambi_reduced_decode.c \ + bin_ambi_reduced_decode2.c \ + bin_ambi_reduced_decode_fft.c \ + bin_ambi_reduced_decode_fir.c \ + bin_ambi_reduced_decode_fft2.c \ + bin_ambi_reduced_decode_fir2.c \ + iem_bin_ambi.c + + +OBJ = $(SRC:.c=.obj) + +.c.obj: + cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c + +..\$(TARGET).dll: $(OBJ) + link $(PD_WIN_L_FLAGS) /dll /export:$(TARGET)_setup \ + /out:..\$(TARGET).dll $(OBJ) $(PD_WIN_LIB) + +clean: + del *.obj diff --git a/src/iem_bin_ambi.sln b/src/iem_bin_ambi.sln new file mode 100644 index 0000000..227b628 --- /dev/null +++ b/src/iem_bin_ambi.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_bin_ambi", "iem_bin_ambi.vcproj", "{6A44952F-0D55-44EE-9032-928368583BEC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6A44952F-0D55-44EE-9032-928368583BEC}.Debug|Win32.ActiveCfg = Debug|Win32 + {6A44952F-0D55-44EE-9032-928368583BEC}.Debug|Win32.Build.0 = Debug|Win32 + {6A44952F-0D55-44EE-9032-928368583BEC}.Release|Win32.ActiveCfg = Release|Win32 + {6A44952F-0D55-44EE-9032-928368583BEC}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/iem_bin_ambi.vcproj b/src/iem_bin_ambi.vcproj new file mode 100644 index 0000000..0e9b0b9 --- /dev/null +++ b/src/iem_bin_ambi.vcproj @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/makefile_vc9proj b/src/makefile_vc9proj new file mode 100644 index 0000000..2ac3e6a --- /dev/null +++ b/src/makefile_vc9proj @@ -0,0 +1,37 @@ +TARGET = iem_bin_ambi + +all: ..\$(TARGET).dll + +VIS_CPP_PATH = "C:\Program Files\Microsoft Visual Studio 9.0\VC" +VIS_SDK_PATH = "C:\Program Files\Microsoft SDKs\Windows\v6.0A" +PD_INST_PATH = "C:\Program Files\pd-0.43.0" +PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include +PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -D_CRT_SECURE_NO_WARNINGS +PD_WIN_L_FLAGS = /nologo + +PD_WIN_LIB = /NODEFAULTLIB:libcmt /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel32 \ + $(VIS_CPP_PATH)\lib\libcmt.lib \ + $(VIS_CPP_PATH)\lib\oldnames.lib \ + $(VIS_SDK_PATH)\lib\kernel32.lib \ + $(PD_INST_PATH)\bin\pd.lib + +SRC = bin_ambi_calc_HRTF.c \ + bin_ambi_reduced_decode.c \ + bin_ambi_reduced_decode2.c \ + bin_ambi_reduced_decode_fft.c \ + bin_ambi_reduced_decode_fir.c \ + bin_ambi_reduced_decode_fft2.c \ + bin_ambi_reduced_decode_fir2.c \ + iem_bin_ambi.c + +OBJ = $(SRC:.c=.obj) + +.c.obj: + cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c + +..\$(TARGET).dll: $(OBJ) + link $(PD_WIN_L_FLAGS) /dll /export:$(TARGET)_setup \ + /out:..\$(TARGET).dll $(OBJ) $(PD_WIN_LIB) + +clean: + del *.obj -- cgit v1.2.1