From 00aaadc4b4bdfdfae54e734cceedd8f2f18fa625 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 23 Dec 2005 03:39:33 +0000 Subject: [PATCH] numerous fixes to msvc build. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@199 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/iax/libiax2.vcproj | 2 +- libs/jrtp4c/w32/{msvc => }/jrtp4c.sln | 8 +- libs/jrtp4c/w32/{jrtp4c => }/jrtp4c.vcproj | 21 +- src/mod/mod_codec_g729/mod_codec_g729.vcproj | 8 +- src/switch_utils.c | 9 + w32/vsnet/FreeSwitchConsole.vcproj | 4 +- w32/vsnet/FreeSwitchCore.vcproj | 27 +- w32/vsnet/Freeswitch.sln | 68 - w32/vsnet/GetLibs.vbs | 90 +- w32/vsnet/Tools/apr/apr.vcproj | 1954 ++++++++++++++++++ w32/vsnet/Tools/apr/apriconv.vcproj | 349 ++++ w32/vsnet/Tools/apr/aprutil.vcproj | 1453 +++++++++++++ w32/vsnet/Tools/apr/gen_uri_delims.vcproj | 221 ++ w32/vsnet/Tools/apr/xml.vcproj | 395 ++++ w32/vsnet/Tools/iksemel/iksemel.vcproj | 3 +- w32/vsnet/Tools/sqlite.vcproj | 13 +- w32/vsnet/mod_IaxChan.vcproj | 15 +- w32/vsnet/mod_PortAudio.vcproj | 8 +- w32/vsnet/mod_bridgecall.vcproj | 6 +- w32/vsnet/mod_dialplan_demo.vcproj | 6 +- w32/vsnet/mod_event_test.vcproj | 6 +- w32/vsnet/mod_exosip.vcproj | 8 +- w32/vsnet/mod_g711codec.vcproj | 6 +- w32/vsnet/mod_playback.vcproj | 6 +- w32/vsnet/mod_rawaudio.vcproj | 6 +- w32/vsnet/mod_softtimer.vcproj | 6 +- w32/vsnet/mod_speexcodec.vcproj | 8 +- w32/vsnet/mod_woomerachan.vcproj | 6 +- 28 files changed, 4540 insertions(+), 172 deletions(-) rename libs/jrtp4c/w32/{msvc => }/jrtp4c.sln (84%) rename libs/jrtp4c/w32/{jrtp4c => }/jrtp4c.vcproj (80%) create mode 100644 w32/vsnet/Tools/apr/apr.vcproj create mode 100644 w32/vsnet/Tools/apr/apriconv.vcproj create mode 100644 w32/vsnet/Tools/apr/aprutil.vcproj create mode 100644 w32/vsnet/Tools/apr/gen_uri_delims.vcproj create mode 100644 w32/vsnet/Tools/apr/xml.vcproj diff --git a/libs/iax/libiax2.vcproj b/libs/iax/libiax2.vcproj index ad5c7c6a51..b57af2fa8c 100644 --- a/libs/iax/libiax2.vcproj +++ b/libs/iax/libiax2.vcproj @@ -103,7 +103,7 @@ /> - @@ -120,12 +121,6 @@ - - @@ -140,7 +135,7 @@ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}" > diff --git a/src/mod/mod_codec_g729/mod_codec_g729.vcproj b/src/mod/mod_codec_g729/mod_codec_g729.vcproj index 2fb1ca1159..9b7ecdaa62 100644 --- a/src/mod/mod_codec_g729/mod_codec_g729.vcproj +++ b/src/mod/mod_codec_g729/mod_codec_g729.vcproj @@ -42,7 +42,7 @@ @@ -96,7 +99,7 @@ /> diff --git a/w32/vsnet/Freeswitch.sln b/w32/vsnet/Freeswitch.sln index c3b42b372f..aab4406a60 100644 --- a/w32/vsnet/Freeswitch.sln +++ b/w32/vsnet/Freeswitch.sln @@ -80,140 +80,72 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_codec_gsm", "..\..\src\ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug DLL|Win32 = Debug DLL|Win32 Debug|Win32 = Debug|Win32 - Release DLL|Win32 = Release DLL|Win32 Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Debug DLL|Win32.Build.0 = Debug|Win32 {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Debug|Win32.ActiveCfg = Debug|Win32 {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Debug|Win32.Build.0 = Debug|Win32 - {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Release DLL|Win32.ActiveCfg = Release|Win32 - {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Release DLL|Win32.Build.0 = Release|Win32 {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Release|Win32.ActiveCfg = Release|Win32 {1AF3A893-F7BE-43DD-B697-8AB2397C0D67}.Release|Win32.Build.0 = Release|Win32 - {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Debug DLL|Win32.Build.0 = Debug|Win32 {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Debug|Win32.ActiveCfg = Debug|Win32 {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Debug|Win32.Build.0 = Debug|Win32 - {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Release DLL|Win32.ActiveCfg = Release|Win32 - {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Release DLL|Win32.Build.0 = Release|Win32 {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Release|Win32.ActiveCfg = Release|Win32 {202D7A4E-760D-4D0E-AFA1-D7459CED30FF}.Release|Win32.Build.0 = Release|Win32 - {E1794405-29D4-466D-9BE3-DD2344C2A663}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {E1794405-29D4-466D-9BE3-DD2344C2A663}.Debug DLL|Win32.Build.0 = Debug|Win32 {E1794405-29D4-466D-9BE3-DD2344C2A663}.Debug|Win32.ActiveCfg = Debug|Win32 {E1794405-29D4-466D-9BE3-DD2344C2A663}.Debug|Win32.Build.0 = Debug|Win32 - {E1794405-29D4-466D-9BE3-DD2344C2A663}.Release DLL|Win32.ActiveCfg = Release|Win32 - {E1794405-29D4-466D-9BE3-DD2344C2A663}.Release DLL|Win32.Build.0 = Release|Win32 {E1794405-29D4-466D-9BE3-DD2344C2A663}.Release|Win32.ActiveCfg = Release|Win32 {E1794405-29D4-466D-9BE3-DD2344C2A663}.Release|Win32.Build.0 = Release|Win32 - {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Debug DLL|Win32.Build.0 = Debug|Win32 {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Debug|Win32.ActiveCfg = Debug|Win32 {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Debug|Win32.Build.0 = Debug|Win32 - {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Release DLL|Win32.ActiveCfg = Release|Win32 - {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Release DLL|Win32.Build.0 = Release|Win32 {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Release|Win32.ActiveCfg = Release|Win32 {DCC13474-28DF-47CA-A8EB-72F8CE9A78C5}.Release|Win32.Build.0 = Release|Win32 - {2988EB83-785F-45D4-8731-8E1E4345177E}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {2988EB83-785F-45D4-8731-8E1E4345177E}.Debug DLL|Win32.Build.0 = Debug|Win32 {2988EB83-785F-45D4-8731-8E1E4345177E}.Debug|Win32.ActiveCfg = Debug|Win32 {2988EB83-785F-45D4-8731-8E1E4345177E}.Debug|Win32.Build.0 = Debug|Win32 - {2988EB83-785F-45D4-8731-8E1E4345177E}.Release DLL|Win32.ActiveCfg = Release|Win32 - {2988EB83-785F-45D4-8731-8E1E4345177E}.Release DLL|Win32.Build.0 = Release|Win32 {2988EB83-785F-45D4-8731-8E1E4345177E}.Release|Win32.ActiveCfg = Release|Win32 {2988EB83-785F-45D4-8731-8E1E4345177E}.Release|Win32.Build.0 = Release|Win32 - {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Debug DLL|Win32.Build.0 = Debug|Win32 {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Debug|Win32.ActiveCfg = Debug|Win32 {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Debug|Win32.Build.0 = Debug|Win32 - {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Release DLL|Win32.ActiveCfg = Release|Win32 - {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Release DLL|Win32.Build.0 = Release|Win32 {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Release|Win32.ActiveCfg = Release|Win32 {45DF84ED-D24A-4FF6-B5B0-0A9A5FDB9552}.Release|Win32.Build.0 = Release|Win32 - {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Debug DLL|Win32.Build.0 = Debug|Win32 {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Debug|Win32.ActiveCfg = Debug|Win32 {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Debug|Win32.Build.0 = Debug|Win32 - {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Release DLL|Win32.ActiveCfg = Release|Win32 - {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Release DLL|Win32.Build.0 = Release|Win32 {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Release|Win32.ActiveCfg = Release|Win32 {B1FE4613-3F4B-4DAF-9714-2472BF8F56AE}.Release|Win32.Build.0 = Release|Win32 - {78100236-7CEA-4948-96CC-E8ED3160329C}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {78100236-7CEA-4948-96CC-E8ED3160329C}.Debug DLL|Win32.Build.0 = Debug|Win32 {78100236-7CEA-4948-96CC-E8ED3160329C}.Debug|Win32.ActiveCfg = Debug|Win32 {78100236-7CEA-4948-96CC-E8ED3160329C}.Debug|Win32.Build.0 = Debug|Win32 - {78100236-7CEA-4948-96CC-E8ED3160329C}.Release DLL|Win32.ActiveCfg = Release|Win32 - {78100236-7CEA-4948-96CC-E8ED3160329C}.Release DLL|Win32.Build.0 = Release|Win32 {78100236-7CEA-4948-96CC-E8ED3160329C}.Release|Win32.ActiveCfg = Release|Win32 {78100236-7CEA-4948-96CC-E8ED3160329C}.Release|Win32.Build.0 = Release|Win32 - {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Debug DLL|Win32.Build.0 = Debug|Win32 {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Debug|Win32.ActiveCfg = Debug|Win32 {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Debug|Win32.Build.0 = Debug|Win32 - {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Release DLL|Win32.ActiveCfg = Release|Win32 - {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Release DLL|Win32.Build.0 = Release|Win32 {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Release|Win32.ActiveCfg = Release|Win32 {5844AFE1-AA3E-4BDB-A9EF-119AEF19DF88}.Release|Win32.Build.0 = Release|Win32 - {FE3540C5-3303-46E0-A69E-D92F775687F1}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {FE3540C5-3303-46E0-A69E-D92F775687F1}.Debug DLL|Win32.Build.0 = Debug|Win32 {FE3540C5-3303-46E0-A69E-D92F775687F1}.Debug|Win32.ActiveCfg = Debug|Win32 {FE3540C5-3303-46E0-A69E-D92F775687F1}.Debug|Win32.Build.0 = Debug|Win32 - {FE3540C5-3303-46E0-A69E-D92F775687F1}.Release DLL|Win32.ActiveCfg = Release|Win32 - {FE3540C5-3303-46E0-A69E-D92F775687F1}.Release DLL|Win32.Build.0 = Release|Win32 {FE3540C5-3303-46E0-A69E-D92F775687F1}.Release|Win32.ActiveCfg = Release|Win32 {FE3540C5-3303-46E0-A69E-D92F775687F1}.Release|Win32.Build.0 = Release|Win32 - {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Debug DLL|Win32.Build.0 = Debug|Win32 {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Debug|Win32.ActiveCfg = Debug|Win32 {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Debug|Win32.Build.0 = Debug|Win32 - {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Release DLL|Win32.ActiveCfg = Release|Win32 - {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Release DLL|Win32.Build.0 = Release|Win32 {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Release|Win32.ActiveCfg = Release|Win32 {3A5B9131-F20C-4A85-9447-6C1610941CEE}.Release|Win32.Build.0 = Release|Win32 - {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Debug DLL|Win32.Build.0 = Debug|Win32 {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Debug|Win32.ActiveCfg = Debug|Win32 {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Debug|Win32.Build.0 = Debug|Win32 - {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Release DLL|Win32.ActiveCfg = Release|Win32 - {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Release DLL|Win32.Build.0 = Release|Win32 {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Release|Win32.ActiveCfg = Release|Win32 {5FD31A25-5D83-4794-8BEE-904DAD84CE71}.Release|Win32.Build.0 = Release|Win32 - {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Debug DLL|Win32.Build.0 = Debug|Win32 {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Debug|Win32.ActiveCfg = Debug|Win32 {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Debug|Win32.Build.0 = Debug|Win32 - {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Release DLL|Win32.ActiveCfg = Release|Win32 - {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Release DLL|Win32.Build.0 = Release|Win32 {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Release|Win32.ActiveCfg = Release|Win32 {1D95CD95-0DE2-48C3-AC23-D5C7D1C9C0F0}.Release|Win32.Build.0 = Release|Win32 - {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Debug DLL|Win32.Build.0 = Debug|Win32 {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Debug|Win32.ActiveCfg = Debug|Win32 {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Debug|Win32.Build.0 = Debug|Win32 - {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Release DLL|Win32.ActiveCfg = Release|Win32 - {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Release DLL|Win32.Build.0 = Release|Win32 {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Release|Win32.ActiveCfg = Release|Win32 {5580D60E-0F77-4716-9CD4-B8E5986FA375}.Release|Win32.Build.0 = Release|Win32 - {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Debug DLL|Win32.Build.0 = Debug|Win32 {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Debug|Win32.ActiveCfg = Debug|Win32 {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Debug|Win32.Build.0 = Debug|Win32 - {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Release DLL|Win32.ActiveCfg = Release|Win32 - {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Release DLL|Win32.Build.0 = Release|Win32 {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Release|Win32.ActiveCfg = Release|Win32 {3A2A7795-C216-4FFF-B8EF-4D17A84BACCC}.Release|Win32.Build.0 = Release|Win32 - {4926323F-4EA8-4B7D-A3D3-65488725988F}.Debug DLL|Win32.ActiveCfg = Debug|Win32 - {4926323F-4EA8-4B7D-A3D3-65488725988F}.Debug DLL|Win32.Build.0 = Debug|Win32 {4926323F-4EA8-4B7D-A3D3-65488725988F}.Debug|Win32.ActiveCfg = Debug|Win32 - {4926323F-4EA8-4B7D-A3D3-65488725988F}.Debug|Win32.Build.0 = Debug|Win32 - {4926323F-4EA8-4B7D-A3D3-65488725988F}.Release DLL|Win32.ActiveCfg = Release|Win32 - {4926323F-4EA8-4B7D-A3D3-65488725988F}.Release DLL|Win32.Build.0 = Release|Win32 {4926323F-4EA8-4B7D-A3D3-65488725988F}.Release|Win32.ActiveCfg = Release|Win32 - {4926323F-4EA8-4B7D-A3D3-65488725988F}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/w32/vsnet/GetLibs.vbs b/w32/vsnet/GetLibs.vbs index d701004d4f..512426654a 100644 --- a/w32/vsnet/GetLibs.vbs +++ b/w32/vsnet/GetLibs.vbs @@ -93,33 +93,102 @@ End If WScript.Echo "Complete" Sub BuildLibs_Core(BuildDebug, BuildRelease) +If Not FSO.FolderExists(LibDestDir & "include") Then + FSO.CreateFolder(LibDestDir & "include") +End If If Not FSO.FolderExists(LibDestDir & "apr") Then WgetUnTarGz "ftp://ftp.wayne.edu/apache/apr/apr-1.2.2.tar.gz", LibDestDir If Not FSO.FolderExists(LibDestDir & "apr-1.2.2") Then - Wscript.echo "Unable to get SQLite from default download location, Trying backup location:" + Wscript.echo "Unable to get apr from default download location, Trying backup location:" WgetUnTarGz "http://www.sofaswitch.org/mikej/apr-1.2.2.tar.gz", LibDestDir End If RenameFolder LibDestDir & "apr-1.2.2", "apr" - FSO.CopyFile Utilsdir & "libapr.vcproj", LibDestDir & "apr\", True - FindReplaceInFile LibDestDir & "apr\libapr.vcproj", "WIN32;", "_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32;" + FSO.CopyFile Utilsdir & "apr\apr.vcproj", LibDestDir & "apr\", True FindReplaceInFile LibDestDir & "apr\file_io\unix\fullrw.c", "int i;", "unsigned int i;" -' Upgrade LibDestDir & "apr\libapr.dsp", LibDestDir & "apr\libapr.vcproj" End If If FSO.FolderExists(LibDestDir & "apr") Then If BuildDebug Then - If Not FSO.FileExists(LibDestDir & "apr\Debug\libapr-1.lib") Then - BuildViaVCBuild LibDestDir & "apr\libapr.vcproj", "Debug" + If Not FSO.FileExists(LibDestDir & "apr\LibD\apr-1.lib") Then + BuildViaVCBuild LibDestDir & "apr\apr.vcproj", "Debug" + FSO.CopyFile LibDestDir & "apr\include\*.h", LibDestDir & "include" End If End If If BuildRelease Then - If Not FSO.FileExists(LibDestDir & "apr\Release\libapr-1.lib") Then - BuildViaVCBuild LibDestDir & "apr\libapr.vcproj", "Release" + If Not FSO.FileExists(LibDestDir & "apr\LibR\apr-1.lib") Then + BuildViaVCBuild LibDestDir & "apr\apr.vcproj", "Release" + FSO.CopyFile LibDestDir & "apr\include\*.h", LibDestDir & "include" End If End If Else Wscript.echo "Unable to download APR" End If - + + If Not FSO.FolderExists(LibDestDir & "apr-iconv") Then + WgetUnTarGz "ftp://ftp.wayne.edu/apache/apr/apr-iconv-1.1.1.tar.gz", LibDestDir + If Not FSO.FolderExists(LibDestDir & "apr-iconv-1.1.1") Then + Wscript.echo "Unable to get apr-iconv from default download location, Trying backup location:" + WgetUnTarGz "http://www.sofaswitch.org/mikej/apr-iconv-1.1.1.tar.gz", LibDestDir + End If + RenameFolder LibDestDir & "apr-iconv-1.1.1", "apr-iconv" + FSO.CopyFile Utilsdir & "apr\apriconv.vcproj", LibDestDir & "apr-iconv\", True + End If + If FSO.FolderExists(LibDestDir & "apr-iconv") Then + If BuildDebug Then + If Not FSO.FileExists(LibDestDir & "apr-iconv\LibD\apriconv-1.lib") Then + BuildViaVCBuild LibDestDir & "apr-iconv\apriconv.vcproj", "Debug" + FSO.CopyFile LibDestDir & "apr-iconv\include\*.h", LibDestDir & "include" + End If + End If + If BuildRelease Then + If Not FSO.FileExists(LibDestDir & "apr-iconv\LibR\apriconv-1.lib") Then + BuildViaVCBuild LibDestDir & "apr-iconv\apriconv.vcproj", "Release" + FSO.CopyFile LibDestDir & "apr-iconv\include\*.h", LibDestDir & "include" + End If + End If + Else + Wscript.echo "Unable to download apr-iconv" + End If + + If Not FSO.FolderExists(LibDestDir & "apr-util") Then + WgetUnTarGz "ftp://ftp.wayne.edu/apache/apr/apr-util-1.2.2.tar.gz", LibDestDir + If Not FSO.FolderExists(LibDestDir & "apr-util-1.2.2") Then + Wscript.echo "Unable to get apr-util from default download location, Trying backup location:" + WgetUnTarGz "http://www.sofaswitch.org/mikej/apr-util-1.2.2.tar.gz", LibDestDir + End If + RenameFolder LibDestDir & "apr-util-1.2.2", "apr-util" + FSO.CopyFile Utilsdir & "apr\xml.vcproj", LibDestDir & "apr-util\xml\expat\lib\", True + FSO.CopyFile Utilsdir & "apr\gen_uri_delims.vcproj", LibDestDir & "apr-util\uri\", True + FSO.CopyFile Utilsdir & "apr\aprutil.vcproj", LibDestDir & "apr-util\", True + End If + If FSO.FolderExists(LibDestDir & "apr-util") Then + If BuildDebug Then + If Not FSO.FileExists(LibDestDir & "apr-util\uri\uri_delims.h") Then + BuildViaVCBuild LibDestDir & "apr-util\uri\gen_uri_delims.vcproj", "Debug" + End If + If Not FSO.FileExists(LibDestDir & "apr-util\xml\expat\lib\LibD\xml.lib") Then + BuildViaVCBuild LibDestDir & "apr-util\xml\expat\lib\xml.vcproj", "Debug" + End If + If Not FSO.FileExists(LibDestDir & "apr-util\LibD\aprutil-1.lib") Then + BuildViaVCBuild LibDestDir & "apr-util\aprutil.vcproj", "Debug" + FSO.CopyFile LibDestDir & "apr-util\include\*.h", LibDestDir & "include" + End If + End If + If BuildRelease Then + If Not FSO.FileExists(LibDestDir & "apr-util\uri\uri_delims.h") Then + BuildViaVCBuild LibDestDir & "apr-util\uri\gen_uri_delims.vcproj", "Release" + End If + If Not FSO.FileExists(LibDestDir & "apr-util\xml\expat\lib\LibR\xml.lib") Then + BuildViaVCBuild LibDestDir & "apr-util\xml\expat\lib\xml.vcproj", "Release" + End If + If Not FSO.FileExists(LibDestDir & "apr-util\LibR\aprutil-1.lib") Then + BuildViaVCBuild LibDestDir & "apr-util\aprutil.vcproj", "Release" + FSO.CopyFile LibDestDir & "apr-util\include\*.h", LibDestDir & "include" + End If + End If + Else + Wscript.echo "Unable to download apr-util" + End If + If Not FSO.FolderExists(LibDestDir & "sqlite") Then WgetUnZip "http://www.sqlite.org/sqlite-source-3_2_7.zip", LibDestDir If Not FSO.FolderExists(LibDestDir & "sqlite-source-3_2_7") Then @@ -130,6 +199,7 @@ Sub BuildLibs_Core(BuildDebug, BuildRelease) FSO.CopyFile Utilsdir & "sqlite.vcproj", LibDestDir & "sqlite\", True FindReplaceInFile LibDestDir & "sqlite\sqlite.vcproj", "WIN32;", "_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;WIN32;" ' Upgrade Utilsdir & "sqlite.vcproj", LibDestDir & "sqlite\sqlite.vcproj" + FSO.CopyFile LibDestDir & "sqlite\*.h", LibDestDir & "include" End If If FSO.FolderExists(LibDestDir & "sqlite") Then If BuildDebug Then @@ -353,7 +423,7 @@ Sub BuildLibs_ModCodecG729(BuildDebug, BuildRelease) End If End If If BuildRelease Then - If Not FSO.FileExists(LibDestDir & "codec\libg729\Debug\libg729.lib") Then + If Not FSO.FileExists(LibDestDir & "codec\libg729\Release\libg729.lib") Then BuildViaVCBuild LibDestDir & "codec\libg729\libg729.vcproj", "Release" End If End If diff --git a/w32/vsnet/Tools/apr/apr.vcproj b/w32/vsnet/Tools/apr/apr.vcproj new file mode 100644 index 0000000000..c8638f8a36 --- /dev/null +++ b/w32/vsnet/Tools/apr/apr.vcproj @@ -0,0 +1,1954 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/vsnet/Tools/apr/apriconv.vcproj b/w32/vsnet/Tools/apr/apriconv.vcproj new file mode 100644 index 0000000000..9395305736 --- /dev/null +++ b/w32/vsnet/Tools/apr/apriconv.vcproj @@ -0,0 +1,349 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/vsnet/Tools/apr/aprutil.vcproj b/w32/vsnet/Tools/apr/aprutil.vcproj new file mode 100644 index 0000000000..7c09821586 --- /dev/null +++ b/w32/vsnet/Tools/apr/aprutil.vcproj @@ -0,0 +1,1453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/vsnet/Tools/apr/gen_uri_delims.vcproj b/w32/vsnet/Tools/apr/gen_uri_delims.vcproj new file mode 100644 index 0000000000..8b7e9871fa --- /dev/null +++ b/w32/vsnet/Tools/apr/gen_uri_delims.vcproj @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/vsnet/Tools/apr/xml.vcproj b/w32/vsnet/Tools/apr/xml.vcproj new file mode 100644 index 0000000000..6482c669d5 --- /dev/null +++ b/w32/vsnet/Tools/apr/xml.vcproj @@ -0,0 +1,395 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/w32/vsnet/Tools/iksemel/iksemel.vcproj b/w32/vsnet/Tools/iksemel/iksemel.vcproj index 33770afb83..541ceda9ff 100644 --- a/w32/vsnet/Tools/iksemel/iksemel.vcproj +++ b/w32/vsnet/Tools/iksemel/iksemel.vcproj @@ -103,7 +103,8 @@ /> + diff --git a/w32/vsnet/mod_IaxChan.vcproj b/w32/vsnet/mod_IaxChan.vcproj index 5edf1499a0..8ac9945c23 100644 --- a/w32/vsnet/mod_IaxChan.vcproj +++ b/w32/vsnet/mod_IaxChan.vcproj @@ -42,7 +42,7 @@ diff --git a/w32/vsnet/mod_PortAudio.vcproj b/w32/vsnet/mod_PortAudio.vcproj index de624fc444..026af83ec4 100644 --- a/w32/vsnet/mod_PortAudio.vcproj +++ b/w32/vsnet/mod_PortAudio.vcproj @@ -42,7 +42,7 @@