From f2b14584f1aed4f835b8c03db4e64842889320ea Mon Sep 17 00:00:00 2001 From: musil Date: Thu, 30 Jun 2011 12:03:26 +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/iemgui/; revision=15127 --- src/VC6/iemgui.dsp | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ src/VC6/iemgui.dsw | 29 +++++++++++++++++ src/VC6/makefile_win | 48 +++++++++++++++++++++++++++ src/VC7/iemgui.vcproj | 52 +++++++++++++++++++++++++++++ src/VC7/makefile_vc7proj | 42 ++++++++++++++++++++++++ src/VC9/iemgui.sln | 20 ++++++++++++ src/VC9/iemgui.vcproj | 77 +++++++++++++++++++++++++++++++++++++++++++ src/VC9/makefile_vc9proj | 41 +++++++++++++++++++++++ src/iemgui.sln | 20 ++++++++++++ src/iemgui.vcproj | 77 +++++++++++++++++++++++++++++++++++++++++++ src/makefile_vc9proj | 41 +++++++++++++++++++++++ src/makefile_win | 2 +- 12 files changed, 533 insertions(+), 1 deletion(-) create mode 100644 src/VC6/iemgui.dsp create mode 100644 src/VC6/iemgui.dsw create mode 100644 src/VC6/makefile_win create mode 100644 src/VC7/iemgui.vcproj create mode 100644 src/VC7/makefile_vc7proj create mode 100644 src/VC9/iemgui.sln create mode 100644 src/VC9/iemgui.vcproj create mode 100644 src/VC9/makefile_vc9proj create mode 100644 src/iemgui.sln create mode 100644 src/iemgui.vcproj create mode 100644 src/makefile_vc9proj (limited to 'src') diff --git a/src/VC6/iemgui.dsp b/src/VC6/iemgui.dsp new file mode 100644 index 0000000..62c38c5 --- /dev/null +++ b/src/VC6/iemgui.dsp @@ -0,0 +1,85 @@ +# Microsoft Developer Studio Project File - Name="iemgui" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) External Target" 0x0106 + +CFG=iemgui - 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 "iemgui.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 "iemgui.mak" CFG="iemgui - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "iemgui - Win32 Release" (basierend auf "Win32 (x86) External Target") +!MESSAGE "iemgui - Win32 Debug" (basierend auf "Win32 (x86) External Target") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" + +!IF "$(CFG)" == "iemgui - 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 "iemgui.exe" +# PROP Bsc_Name "iemgui.bsc" +# PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "iemgui - 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 "iemgui.exe" +# PROP Bsc_Name "iemgui.bsc" +# PROP Target_Dir "" + +!ENDIF + +# Begin Target + +# Name "iemgui - Win32 Release" +# Name "iemgui - Win32 Debug" + +!IF "$(CFG)" == "iemgui - Win32 Release" + +!ELSEIF "$(CFG)" == "iemgui - Win32 Debug" + +!ENDIF + +# Begin Source File + +SOURCE=.\makefile_win +# End Source File +# End Target +# End Project diff --git a/src/VC6/iemgui.dsw b/src/VC6/iemgui.dsw new file mode 100644 index 0000000..546bd4f --- /dev/null +++ b/src/VC6/iemgui.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: "iemgui"=.\iemgui.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..a1be715 --- /dev/null +++ b/src/VC6/makefile_win @@ -0,0 +1,48 @@ + +all: ..\iemgui.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 /DHAVE_G_CANVAS_H /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 = room_sim_2d.c \ + room_sim_3d.c \ + cube_sphere.c \ + sym_dial.c \ + iem_image.c \ + iem_vu.c \ + hfadl_scale.c \ + hfadr_scale.c \ + vfad_scale.c \ + numberbox_matrix.c \ + iem_event.c \ + iemgui.c + + +OBJ = $(SRC:.c=.obj) + +.c.obj: + cl $(PD_WIN_C_FLAGS) $(PD_WIN_INCLUDE_PATH) /c $*.c + +..\iemgui.dll: $(OBJ) + link $(PD_WIN_L_FLAGS) /dll /export:iemgui_setup \ + /out:..\iemgui.dll $(OBJ) $(PD_WIN_LIB) + +clean: + del *.obj diff --git a/src/VC7/iemgui.vcproj b/src/VC7/iemgui.vcproj new file mode 100644 index 0000000..49267a8 --- /dev/null +++ b/src/VC7/iemgui.vcproj @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/VC7/makefile_vc7proj b/src/VC7/makefile_vc7proj new file mode 100644 index 0000000..4ebdc44 --- /dev/null +++ b/src/VC7/makefile_vc7proj @@ -0,0 +1,42 @@ +TARGET = iemgui + +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 /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 = room_sim_2d.c \ + room_sim_3d.c \ + cube_sphere.c \ + sym_dial.c \ + iem_image.c \ + iem_vu.c \ + hfadl_scale.c \ + hfadr_scale.c \ + vfad_scale.c \ + numberbox_matrix.c \ + iem_event.c \ + iemgui.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/iemgui.sln b/src/VC9/iemgui.sln new file mode 100644 index 0000000..ec51733 --- /dev/null +++ b/src/VC9/iemgui.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iemgui", "iemgui.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/iemgui.vcproj b/src/VC9/iemgui.vcproj new file mode 100644 index 0000000..3ef4290 --- /dev/null +++ b/src/VC9/iemgui.vcproj @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/VC9/makefile_vc9proj b/src/VC9/makefile_vc9proj new file mode 100644 index 0000000..8eb2a64 --- /dev/null +++ b/src/VC9/makefile_vc9proj @@ -0,0 +1,41 @@ +TARGET = iemgui + +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 /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 = room_sim_2d.c \ + room_sim_3d.c \ + cube_sphere.c \ + sym_dial.c \ + iem_image.c \ + iem_vu.c \ + hfadl_scale.c \ + hfadr_scale.c \ + vfad_scale.c \ + numberbox_matrix.c \ + iem_event.c \ + iemgui.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/iemgui.sln b/src/iemgui.sln new file mode 100644 index 0000000..ec51733 --- /dev/null +++ b/src/iemgui.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iemgui", "iemgui.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/iemgui.vcproj b/src/iemgui.vcproj new file mode 100644 index 0000000..3ef4290 --- /dev/null +++ b/src/iemgui.vcproj @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/makefile_vc9proj b/src/makefile_vc9proj new file mode 100644 index 0000000..8eb2a64 --- /dev/null +++ b/src/makefile_vc9proj @@ -0,0 +1,41 @@ +TARGET = iemgui + +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 /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 = room_sim_2d.c \ + room_sim_3d.c \ + cube_sphere.c \ + sym_dial.c \ + iem_image.c \ + iem_vu.c \ + hfadl_scale.c \ + hfadr_scale.c \ + vfad_scale.c \ + numberbox_matrix.c \ + iem_event.c \ + iemgui.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 57660cd..a1be715 100644 --- a/src/makefile_win +++ b/src/makefile_win @@ -7,7 +7,7 @@ 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_C_FLAGS = /nologo /W3 /WX /DMSW /DNT /DPD /DWIN32 /DHAVE_G_CANVAS_H /DWINDOWS /Ox -DPA_LITTLE_ENDIAN PD_WIN_L_FLAGS = /nologo -- cgit v1.2.1