From c23db955694a60ad85624694a509d109594df670 Mon Sep 17 00:00:00 2001 From: musil Date: Wed, 3 Jul 2013 15:55:24 +0000 Subject: added makefiles for MS VC6 VC7 VC9 svn path=/trunk/externals/iem/iem_dp/; revision=17172 --- src/VC9/iem_dp.sln | 20 +++++++++++++ src/VC9/iem_dp.vcproj | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ src/VC9/makefile_vc9proj | 59 +++++++++++++++++++++++++++++++++++++ 3 files changed, 156 insertions(+) create mode 100644 src/VC9/iem_dp.sln create mode 100644 src/VC9/iem_dp.vcproj create mode 100644 src/VC9/makefile_vc9proj (limited to 'src/VC9') diff --git a/src/VC9/iem_dp.sln b/src/VC9/iem_dp.sln new file mode 100644 index 0000000..d3233d6 --- /dev/null +++ b/src/VC9/iem_dp.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "iem_dp", "iem_dp.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_dp.vcproj b/src/VC9/iem_dp.vcproj new file mode 100644 index 0000000..6241923 --- /dev/null +++ b/src/VC9/iem_dp.vcproj @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/VC9/makefile_vc9proj b/src/VC9/makefile_vc9proj new file mode 100644 index 0000000..0e6a2fe --- /dev/null +++ b/src/VC9/makefile_vc9proj @@ -0,0 +1,59 @@ +TARGET = iem_dp + +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 = symtodp.c \ + dptosym.c \ + dptohex.c \ + ftohex.c \ + vline~~.c \ + samphold~~.c \ + wrap~~.c \ + phasor~~.c \ + print~~.c \ + add__.c \ + sub__.c \ + mul__.c \ + div__.c \ + add~~.c \ + sub~~.c \ + mul~~.c \ + div~~.c \ + tabwrite_dp.c \ + tabread_dp.c \ + tabread4_dp.c \ + tabwrite~~.c \ + tabread~~.c \ + tabread4~~.c \ + max__.c \ + min__.c \ + max~~.c \ + min~~.c \ + random__.c \ + delay~~.c \ + $(TARGET).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