From 62db34eb8281e09895409a4914c27dcacdbeb996 Mon Sep 17 00:00:00 2001 From: musil Date: Thu, 30 Jun 2011 14:48:40 +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_adaptfilt/; revision=15135 --- src/VC6/iem_adaptfilt.dsp | 85 +++++++++++++++++++++++++++++++++++++++ src/VC6/iem_adaptfilt.dsw | 29 ++++++++++++++ src/VC6/makefile_win | 86 +++++++++++++++++++++++++++++++++++++++ src/VC7/iem_adaptfilt.vcproj | 52 ++++++++++++++++++++++++ src/VC7/makefile_vc7proj | 41 +++++++++++++++++++ src/VC9/iem_adaptfilt.sln | 20 ++++++++++ src/VC9/iem_adaptfilt.vcproj | 77 +++++++++++++++++++++++++++++++++++ src/VC9/makefile_vc9proj | 35 ++++++++++++++++ src/iem_adaptfilt.dsp | 85 +++++++++++++++++++++++++++++++++++++++ src/iem_adaptfilt.dsw | 29 ++++++++++++++ src/iem_adaptfilt.sln | 20 ++++++++++ src/iem_adaptfilt.vcproj | 77 +++++++++++++++++++++++++++++++++++ src/makefile_vc9proj | 35 ++++++++++++++++ src/makefile_win | 95 +++++++++++++++++++++++++++++++------------- 14 files changed, 739 insertions(+), 27 deletions(-) create mode 100644 src/VC6/iem_adaptfilt.dsp create mode 100644 src/VC6/iem_adaptfilt.dsw create mode 100644 src/VC6/makefile_win create mode 100644 src/VC7/iem_adaptfilt.vcproj create mode 100644 src/VC7/makefile_vc7proj create mode 100644 src/VC9/iem_adaptfilt.sln create mode 100644 src/VC9/iem_adaptfilt.vcproj create mode 100644 src/VC9/makefile_vc9proj create mode 100644 src/iem_adaptfilt.dsp create mode 100644 src/iem_adaptfilt.dsw create mode 100644 src/iem_adaptfilt.sln create mode 100644 src/iem_adaptfilt.vcproj create mode 100644 src/makefile_vc9proj diff --git a/src/VC6/iem_adaptfilt.dsp b/src/VC6/iem_adaptfilt.dsp new file mode 100644 index 0000000..ff0a292 --- /dev/null +++ b/src/VC6/iem_adaptfilt.dsp @@ -0,0 +1,85 @@ +# Microsoft Developer Studio Project File - Name="iem_adaptfilt" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) External Target" 0x0106 + +CFG=iem_adaptfilt - 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_adaptfilt.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_adaptfilt.mak" CFG="iem_adaptfilt - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "iem_adaptfilt - Win32 Release" (basierend auf "Win32 (x86) External Target") +!MESSAGE "iem_adaptfilt - Win32 Debug" (basierend auf "Win32 (x86) External Target") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "iem_adaptfilt - 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_adaptfilt.exe" +# PROP Bsc_Name "iem_adaptfilt.bsc" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "iem_adaptfilt - 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_adaptfilt.exe" +# PROP Bsc_Name "iem_adaptfilt.bsc" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "iem_adaptfilt - Win32 Release" +# Name "iem_adaptfilt - Win32 Debug" + +!IF "$(CFG)" == "iem_adaptfilt - Win32 Release" + +!ELSEIF "$(CFG)" == "iem_adaptfilt - Win32 Debug" + +!ENDIF + +# Begin Source File + +SOURCE=.\makefile_win +# End Source File +# End Target +# End Project diff --git a/src/VC6/iem_adaptfilt.dsw b/src/VC6/iem_adaptfilt.dsw new file mode 100644 index 0000000..5f9bde8 --- /dev/null +++ b/src/VC6/iem_adaptfilt.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_adaptfilt"=.\iem_adaptfilt.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..75562cd --- /dev/null +++ b/src/VC6/makefile_win @@ -0,0 +1,86 @@ + + +all: ..\iem_adaptfilt.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\pthreadVC.lib \ + + $(PD_INST_PATH)\bin\pd.lib + + + + +SRC = NLMS~.c \ + + NLMSerr_in~.c \ + + NLMSCC~.c \ + + n_CNLMS~.c \ + + n_CLNLMS~.c \ + + iem_adaptfilt.c + + + + + +OBJ = $(SRC:.c=.obj) + + + +.c.obj: + + cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c + + + +..\iem_adaptfilt.dll: $(OBJ) + + link $(PD_WIN_L_FLAGS) /dll /export:iem_adaptfilt_setup \ + + /out:..\iem_adaptfilt.dll $(OBJ) $(PD_WIN_LIB) + + + + +clean: + + del *.obj + + + diff --git a/src/VC7/iem_adaptfilt.vcproj b/src/VC7/iem_adaptfilt.vcproj new file mode 100644 index 0000000..1117256 --- /dev/null +++ b/src/VC7/iem_adaptfilt.vcproj @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/VC7/makefile_vc7proj b/src/VC7/makefile_vc7proj new file mode 100644 index 0000000..c502222 --- /dev/null +++ b/src/VC7/makefile_vc7proj @@ -0,0 +1,41 @@ +TARGET = iem_adaptfilt + +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" +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 /DHAVE_G_CANVAS_H /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 = NLMS~.c \ + + NLMSerr_in~.c \ + + NLMSCC~.c \ + + n_CNLMS~.c \ + + n_CLNLMS~.c \ + + iem_adaptfilt.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/VC9/iem_adaptfilt.sln b/src/VC9/iem_adaptfilt.sln new file mode 100644 index 0000000..775cab1 --- /dev/null +++ b/src/VC9/iem_adaptfilt.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_adaptfilt", "iem_adaptfilt.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/VC9/iem_adaptfilt.vcproj b/src/VC9/iem_adaptfilt.vcproj new file mode 100644 index 0000000..8f2cbbe --- /dev/null +++ b/src/VC9/iem_adaptfilt.vcproj @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/VC9/makefile_vc9proj b/src/VC9/makefile_vc9proj new file mode 100644 index 0000000..4943e3b --- /dev/null +++ b/src/VC9/makefile_vc9proj @@ -0,0 +1,35 @@ +TARGET = iem_adaptfilt + +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 = NLMS~.c \ + NLMSerr_in~.c \ + NLMSCC~.c \ + n_CNLMS~.c \ + n_CLNLMS~.c \ + iem_adaptfilt.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_adaptfilt.dsp b/src/iem_adaptfilt.dsp new file mode 100644 index 0000000..ff0a292 --- /dev/null +++ b/src/iem_adaptfilt.dsp @@ -0,0 +1,85 @@ +# Microsoft Developer Studio Project File - Name="iem_adaptfilt" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) External Target" 0x0106 + +CFG=iem_adaptfilt - 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_adaptfilt.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_adaptfilt.mak" CFG="iem_adaptfilt - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "iem_adaptfilt - Win32 Release" (basierend auf "Win32 (x86) External Target") +!MESSAGE "iem_adaptfilt - Win32 Debug" (basierend auf "Win32 (x86) External Target") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "iem_adaptfilt - 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_adaptfilt.exe" +# PROP Bsc_Name "iem_adaptfilt.bsc" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "iem_adaptfilt - 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_adaptfilt.exe" +# PROP Bsc_Name "iem_adaptfilt.bsc" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "iem_adaptfilt - Win32 Release" +# Name "iem_adaptfilt - Win32 Debug" + +!IF "$(CFG)" == "iem_adaptfilt - Win32 Release" + +!ELSEIF "$(CFG)" == "iem_adaptfilt - Win32 Debug" + +!ENDIF + +# Begin Source File + +SOURCE=.\makefile_win +# End Source File +# End Target +# End Project diff --git a/src/iem_adaptfilt.dsw b/src/iem_adaptfilt.dsw new file mode 100644 index 0000000..5f9bde8 --- /dev/null +++ b/src/iem_adaptfilt.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_adaptfilt"=.\iem_adaptfilt.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### + diff --git a/src/iem_adaptfilt.sln b/src/iem_adaptfilt.sln new file mode 100644 index 0000000..775cab1 --- /dev/null +++ b/src/iem_adaptfilt.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_adaptfilt", "iem_adaptfilt.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_adaptfilt.vcproj b/src/iem_adaptfilt.vcproj new file mode 100644 index 0000000..8f2cbbe --- /dev/null +++ b/src/iem_adaptfilt.vcproj @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/makefile_vc9proj b/src/makefile_vc9proj new file mode 100644 index 0000000..4943e3b --- /dev/null +++ b/src/makefile_vc9proj @@ -0,0 +1,35 @@ +TARGET = iem_adaptfilt + +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 = NLMS~.c \ + NLMSerr_in~.c \ + NLMSCC~.c \ + n_CNLMS~.c \ + n_CLNLMS~.c \ + iem_adaptfilt.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/makefile_win b/src/makefile_win index 0085f59..75562cd 100644 --- a/src/makefile_win +++ b/src/makefile_win @@ -1,45 +1,86 @@ + -all: iem_adaptfilt.dll +all: ..\iem_adaptfilt.dll + -VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98" -PD_INST_PATH = "C:\Programme\pd-0.37-3" +VIS_CPP_PATH = "C:\Programme\Microsoft Visual Studio\Vc98" -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_INST_PATH = "C:\Programme\pd" -PD_WIN_L_FLAGS = /nologo + + +PD_WIN_INCLUDE_PATH = /I. /I$(PD_INST_PATH)\src /I$(VIS_CPP_PATH)\include -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\pthreadVC.lib \ - $(PD_INST_PATH)\bin\pd.lib + +PD_WIN_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DWINDOWS /Ox -DPA_LITTLE_ENDIAN -SRC = NLMS~.c \ - NLMSerr_in~.c \ - NLMSCC~.c \ - n_CNLMS~.c \ - n_CLNLMS~.c \ - iem_adaptfilt.c + +PD_WIN_L_FLAGS = /nologo -OBJ = $(SRC:.c=.obj) + -.c.obj: - cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c +PD_WIN_LIB = /NODEFAULTLIB:libc /NODEFAULTLIB:oldnames /NODEFAULTLIB:kernel /NODEFAULTLIB:uuid \ -iem_adaptfilt.dll: $(OBJ) - link $(PD_WIN_L_FLAGS) /dll /export:iem_adaptfilt_setup \ - /out:iem_adaptfilt.dll $(OBJ) $(PD_WIN_LIB) + $(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\pthreadVC.lib \ + + $(PD_INST_PATH)\bin\pd.lib + + + + +SRC = NLMS~.c \ + + NLMSerr_in~.c \ + + NLMSCC~.c \ + + n_CNLMS~.c \ + + n_CLNLMS~.c \ + + iem_adaptfilt.c + + + + + +OBJ = $(SRC:.c=.obj) + + + +.c.obj: + + cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c + + + +..\iem_adaptfilt.dll: $(OBJ) + + link $(PD_WIN_L_FLAGS) /dll /export:iem_adaptfilt_setup \ + + /out:..\iem_adaptfilt.dll $(OBJ) $(PD_WIN_LIB) + + + + +clean: -clean: del *.obj + -- cgit v1.2.1