From: Danny Mayer Date: Mon, 24 Aug 2009 19:14:02 +0000 (-0400) Subject: [Bug 1289] Fix compiler files for Windows X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4c603f7cfd7382fed2c94ebf3857be45b1079f;p=thirdparty%2Fntp.git [Bug 1289] Fix compiler files for Windows bk: 4a92e67aw7q0GA-EJUlDWZJuCAlQcA --- diff --git a/ports/winnt/libntp/libntp.dsp b/ports/winnt/libntp/libntp.dsp index b359e1f666..4bab8254e1 100644 --- a/ports/winnt/libntp/libntp.dsp +++ b/ports/winnt/libntp/libntp.dsp @@ -406,6 +406,10 @@ SOURCE=..\..\..\libntp\uinttoa.c # End Source File # Begin Source File +SOURCE=.\util_clockstuff.c +# End Source File +# Begin Source File + SOURCE=..\libisc\win32os.c # End Source File # Begin Source File diff --git a/ports/winnt/libntp/libntp.vcproj b/ports/winnt/libntp/libntp.vcproj index 2879482d3c..0cb07cf743 100644 --- a/ports/winnt/libntp/libntp.vcproj +++ b/ports/winnt/libntp/libntp.vcproj @@ -1,10 +1,9 @@ + + + + + + + + @@ -690,8 +701,26 @@ + + + + + + + + + + + + @@ -1010,6 +1055,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - @@ -1922,6 +2035,10 @@ RelativePath="..\..\..\include\isc\interfaceiter.h" > + + @@ -1966,10 +2083,6 @@ RelativePath="..\..\..\include\ntp.h" > - - @@ -1978,10 +2091,6 @@ RelativePath="..\..\..\include\ntp_control.h" > - - @@ -2014,10 +2123,6 @@ RelativePath="..\..\..\include\ntp_malloc.h" > - - @@ -2070,10 +2175,6 @@ RelativePath="..\..\..\include\recvbuff.h" > - - diff --git a/ports/winnt/ntp-keygen/ntpkeygen.dsp b/ports/winnt/ntp-keygen/ntpkeygen.dsp index 3c87efb585..0614122a5f 100644 --- a/ports/winnt/ntp-keygen/ntpkeygen.dsp +++ b/ports/winnt/ntp-keygen/ntpkeygen.dsp @@ -108,10 +108,6 @@ SOURCE=..\libntp\randfile.c # End Source File # Begin Source File -SOURCE=..\libntp\util_clockstuff.c -# End Source File -# Begin Source File - SOURCE=.\version.c # End Source File # End Group diff --git a/ports/winnt/ntp.sln b/ports/winnt/ntp.sln index 36166cf71f..94108c06ff 100644 --- a/ports/winnt/ntp.sln +++ b/ports/winnt/ntp.sln @@ -1,33 +1,30 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpd", "ntpd\ntpd.vcproj", "{CB61F8BF-9637-495C-9087-E8664B400CE0}" - ProjectSection(ProjectDependencies) = postProject - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} = {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} - EndProjectSection + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "instsrv", "instsrv\Instsrv.vcproj", "{88A3EE95-FECE-4E33-9F72-C9335A97B731}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "instsrv", "instsrv\instsrv.vcproj", "{C3534C4D-6DF1-498E-9904-4337878A1515}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libntp", "libntp\libntp.vcproj", "{137B1CA5-DA8C-491C-8FA1-0CBD5003500A}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libntp", "libntp\libntp.vcproj", "{400FBFCB-462E-40D0-B06B-3B74E3FFFD00}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpdate", "ntpdate\ntpdate.vcproj", "{2789A62E-3F46-44F1-AAF0-816CD23C2911}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpd", "ntpd\ntpd.vcproj", "{B01F5169-943C-4945-A017-D2427AC30191}" ProjectSection(ProjectDependencies) = postProject - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} = {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} = {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpdc", "ntpdc\ntpdc.vcproj", "{8011C820-B3D5-4034-86EA-FFC30AE6764B}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpdate", "ntpdate\ntpdate.vcproj", "{11DDB7BB-6C6B-4F52-87F5-47738AA49A18}" ProjectSection(ProjectDependencies) = postProject - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} = {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} = {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntp-keygen", "ntp-keygen\ntp-keygen.vcproj", "{C88C1FBF-59D2-447F-BF57-0BCA8889028F}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpdc", "ntpdc\ntpdc.vcproj", "{7A36A561-055C-420D-A4D0-1D90D24B8ECF}" ProjectSection(ProjectDependencies) = postProject - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} = {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} = {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} EndProjectSection EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpq", "ntpq\ntpq.vcproj", "{6A92BF14-8931-48B1-A571-DEBE9F190616}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpkeygen", "ntp-keygen\ntpkeygen.vcproj", "{6AE50404-FB6C-4658-86A5-4717CEFC79C1}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntpq", "ntpq\ntpq.vcproj", "{BA3BA083-A4A5-4378-89E8-48EAD998F261}" ProjectSection(ProjectDependencies) = postProject - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} = {400FBFCB-462E-40D0-B06B-3B74E3FFFD00} + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} = {137B1CA5-DA8C-491C-8FA1-0CBD5003500A} EndProjectSection EndProject Global @@ -36,34 +33,34 @@ Global Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C3534C4D-6DF1-498E-9904-4337878A1515}.Debug|Win32.ActiveCfg = Debug|Win32 - {C3534C4D-6DF1-498E-9904-4337878A1515}.Debug|Win32.Build.0 = Debug|Win32 - {C3534C4D-6DF1-498E-9904-4337878A1515}.Release|Win32.ActiveCfg = Release|Win32 - {C3534C4D-6DF1-498E-9904-4337878A1515}.Release|Win32.Build.0 = Release|Win32 - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00}.Debug|Win32.ActiveCfg = Debug|Win32 - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00}.Debug|Win32.Build.0 = Debug|Win32 - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00}.Release|Win32.ActiveCfg = Release|Win32 - {400FBFCB-462E-40D0-B06B-3B74E3FFFD00}.Release|Win32.Build.0 = Release|Win32 - {CB61F8BF-9637-495C-9087-E8664B400CE0}.Debug|Win32.ActiveCfg = Debug|Win32 - {CB61F8BF-9637-495C-9087-E8664B400CE0}.Debug|Win32.Build.0 = Debug|Win32 - {CB61F8BF-9637-495C-9087-E8664B400CE0}.Release|Win32.ActiveCfg = Release|Win32 - {CB61F8BF-9637-495C-9087-E8664B400CE0}.Release|Win32.Build.0 = Release|Win32 - {2789A62E-3F46-44F1-AAF0-816CD23C2911}.Debug|Win32.ActiveCfg = Debug|Win32 - {2789A62E-3F46-44F1-AAF0-816CD23C2911}.Debug|Win32.Build.0 = Debug|Win32 - {2789A62E-3F46-44F1-AAF0-816CD23C2911}.Release|Win32.ActiveCfg = Release|Win32 - {2789A62E-3F46-44F1-AAF0-816CD23C2911}.Release|Win32.Build.0 = Release|Win32 - {8011C820-B3D5-4034-86EA-FFC30AE6764B}.Debug|Win32.ActiveCfg = Debug|Win32 - {8011C820-B3D5-4034-86EA-FFC30AE6764B}.Debug|Win32.Build.0 = Debug|Win32 - {8011C820-B3D5-4034-86EA-FFC30AE6764B}.Release|Win32.ActiveCfg = Release|Win32 - {8011C820-B3D5-4034-86EA-FFC30AE6764B}.Release|Win32.Build.0 = Release|Win32 - {C88C1FBF-59D2-447F-BF57-0BCA8889028F}.Debug|Win32.ActiveCfg = Debug|Win32 - {C88C1FBF-59D2-447F-BF57-0BCA8889028F}.Debug|Win32.Build.0 = Debug|Win32 - {C88C1FBF-59D2-447F-BF57-0BCA8889028F}.Release|Win32.ActiveCfg = Release|Win32 - {C88C1FBF-59D2-447F-BF57-0BCA8889028F}.Release|Win32.Build.0 = Release|Win32 - {6A92BF14-8931-48B1-A571-DEBE9F190616}.Debug|Win32.ActiveCfg = Debug|Win32 - {6A92BF14-8931-48B1-A571-DEBE9F190616}.Debug|Win32.Build.0 = Debug|Win32 - {6A92BF14-8931-48B1-A571-DEBE9F190616}.Release|Win32.ActiveCfg = Release|Win32 - {6A92BF14-8931-48B1-A571-DEBE9F190616}.Release|Win32.Build.0 = Release|Win32 + {88A3EE95-FECE-4E33-9F72-C9335A97B731}.Debug|Win32.ActiveCfg = Debug|Win32 + {88A3EE95-FECE-4E33-9F72-C9335A97B731}.Debug|Win32.Build.0 = Debug|Win32 + {88A3EE95-FECE-4E33-9F72-C9335A97B731}.Release|Win32.ActiveCfg = Release|Win32 + {88A3EE95-FECE-4E33-9F72-C9335A97B731}.Release|Win32.Build.0 = Release|Win32 + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A}.Debug|Win32.ActiveCfg = Debug|Win32 + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A}.Debug|Win32.Build.0 = Debug|Win32 + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A}.Release|Win32.ActiveCfg = Release|Win32 + {137B1CA5-DA8C-491C-8FA1-0CBD5003500A}.Release|Win32.Build.0 = Release|Win32 + {B01F5169-943C-4945-A017-D2427AC30191}.Debug|Win32.ActiveCfg = Debug|Win32 + {B01F5169-943C-4945-A017-D2427AC30191}.Debug|Win32.Build.0 = Debug|Win32 + {B01F5169-943C-4945-A017-D2427AC30191}.Release|Win32.ActiveCfg = Release|Win32 + {B01F5169-943C-4945-A017-D2427AC30191}.Release|Win32.Build.0 = Release|Win32 + {11DDB7BB-6C6B-4F52-87F5-47738AA49A18}.Debug|Win32.ActiveCfg = Debug|Win32 + {11DDB7BB-6C6B-4F52-87F5-47738AA49A18}.Debug|Win32.Build.0 = Debug|Win32 + {11DDB7BB-6C6B-4F52-87F5-47738AA49A18}.Release|Win32.ActiveCfg = Release|Win32 + {11DDB7BB-6C6B-4F52-87F5-47738AA49A18}.Release|Win32.Build.0 = Release|Win32 + {7A36A561-055C-420D-A4D0-1D90D24B8ECF}.Debug|Win32.ActiveCfg = Debug|Win32 + {7A36A561-055C-420D-A4D0-1D90D24B8ECF}.Debug|Win32.Build.0 = Debug|Win32 + {7A36A561-055C-420D-A4D0-1D90D24B8ECF}.Release|Win32.ActiveCfg = Release|Win32 + {7A36A561-055C-420D-A4D0-1D90D24B8ECF}.Release|Win32.Build.0 = Release|Win32 + {6AE50404-FB6C-4658-86A5-4717CEFC79C1}.Debug|Win32.ActiveCfg = Debug|Win32 + {6AE50404-FB6C-4658-86A5-4717CEFC79C1}.Debug|Win32.Build.0 = Debug|Win32 + {6AE50404-FB6C-4658-86A5-4717CEFC79C1}.Release|Win32.ActiveCfg = Release|Win32 + {6AE50404-FB6C-4658-86A5-4717CEFC79C1}.Release|Win32.Build.0 = Release|Win32 + {BA3BA083-A4A5-4378-89E8-48EAD998F261}.Debug|Win32.ActiveCfg = Debug|Win32 + {BA3BA083-A4A5-4378-89E8-48EAD998F261}.Debug|Win32.Build.0 = Debug|Win32 + {BA3BA083-A4A5-4378-89E8-48EAD998F261}.Release|Win32.ActiveCfg = Release|Win32 + {BA3BA083-A4A5-4378-89E8-48EAD998F261}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/ports/winnt/ntpd/ntpd.dsp b/ports/winnt/ntpd/ntpd.dsp index 3003f6d719..a6c229f90e 100644 --- a/ports/winnt/ntpd/ntpd.dsp +++ b/ports/winnt/ntpd/ntpd.dsp @@ -507,7 +507,6 @@ SOURCE=..\..\..\ntpd\refclock_arbiter.c # Begin Source File SOURCE=..\..\..\ntpd\refclock_arc.c -# PROP Exclude_From_Build 1 # End Source File # Begin Source File @@ -517,7 +516,6 @@ SOURCE=..\..\..\ntpd\refclock_as2201.c # Begin Source File SOURCE=..\..\..\ntpd\refclock_atom.c -# PROP Exclude_From_Build 1 # End Source File # Begin Source File @@ -604,7 +602,6 @@ SOURCE=..\..\..\ntpd\refclock_nmea.c # Begin Source File SOURCE=..\..\..\ntpd\refclock_oncore.c -# PROP Exclude_From_Build 1 # End Source File # Begin Source File @@ -657,7 +654,6 @@ SOURCE=..\..\..\ntpd\refclock_usno.c # Begin Source File SOURCE=..\..\..\ntpd\refclock_wwvb.c -# PROP Exclude_From_Build 1 # End Source File # End Group # Begin Group "Parse Lib" diff --git a/ports/winnt/ntpd/ntpd.vcproj b/ports/winnt/ntpd/ntpd.vcproj index 45df9571c6..f88258c7b3 100644 --- a/ports/winnt/ntpd/ntpd.vcproj +++ b/ports/winnt/ntpd/ntpd.vcproj @@ -1,10 +1,9 @@ + @@ -127,8 +114,6 @@ UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="2" - DeleteExtensionsOnClean="*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;$(TargetPath)" - WholeProgramOptimization="1" > + @@ -235,6 +209,24 @@ + + + + + + + + + + + + + + + + + + @@ -578,10 +605,24 @@ - - + + + + + + - - @@ -852,10 +889,6 @@ RelativePath="..\include\ntp_iocompletionport.h" > - - @@ -864,14 +897,6 @@ RelativePath="..\..\..\include\ntp_malloc.h" > - - - - @@ -892,10 +917,6 @@ RelativePath="..\..\..\include\ntp_rfc2553.h" > - - @@ -936,10 +957,6 @@ RelativePath="..\..\..\include\ntpd.h" > - - @@ -980,10 +997,6 @@ RelativePath="..\include\termios.h" > - - @@ -1013,7 +1026,7 @@ @@ -1040,7 +1053,6 @@ Name="VCCLCompilerTool" AdditionalIncludeDirectories="" PreprocessorDefinitions="" - ShowIncludes="true" /> + + + + + + - - @@ -1678,18 +1704,6 @@ /> - - - - - @@ -2100,18 +2114,6 @@ /> - - - - - @@ -2194,7 +2196,7 @@ @@ -2204,7 +2206,7 @@ diff --git a/ports/winnt/ntpdate/ntpdate.dsp b/ports/winnt/ntpdate/ntpdate.dsp index 9bac7d625c..14cc5777c4 100644 --- a/ports/winnt/ntpdate/ntpdate.dsp +++ b/ports/winnt/ntpdate/ntpdate.dsp @@ -92,10 +92,6 @@ SOURCE=..\..\..\ntpdate\ntpdate.c # End Source File # Begin Source File -SOURCE=..\libntp\util_clockstuff.c -# End Source File -# Begin Source File - SOURCE=.\version.c # End Source File # End Group diff --git a/ports/winnt/ntpdate/ntpdate.vcproj b/ports/winnt/ntpdate/ntpdate.vcproj index 9a0da28e86..ec2af228d5 100644 --- a/ports/winnt/ntpdate/ntpdate.vcproj +++ b/ports/winnt/ntpdate/ntpdate.vcproj @@ -1,10 +1,9 @@ + @@ -121,7 +115,6 @@ UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="2" - DeleteExtensionsOnClean="version.c,*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;$(TargetPath)" > + @@ -267,62 +254,10 @@ Name="Header Files" Filter="h;hpp;hxx;hm;inl" > - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -121,7 +115,6 @@ UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="2" - DeleteExtensionsOnClean="version.c,*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;$(TargetPath)" > + @@ -227,7 +215,6 @@ Name="VCCLCompilerTool" AdditionalIncludeDirectories="" PreprocessorDefinitions="" - WarningLevel="3" /> @@ -251,7 +237,6 @@ Name="VCCLCompilerTool" AdditionalIncludeDirectories="" PreprocessorDefinitions="" - WarningLevel="3" /> @@ -275,7 +259,6 @@ Name="VCCLCompilerTool" AdditionalIncludeDirectories="" PreprocessorDefinitions="" - WarningLevel="3" /> @@ -316,14 +298,6 @@ Name="Header Files" Filter="h;hpp;hxx;hm;inl" > - - - - diff --git a/ports/winnt/ntpq/ntpq.dsp b/ports/winnt/ntpq/ntpq.dsp index e3ad702011..fec94acef0 100644 --- a/ports/winnt/ntpq/ntpq.dsp +++ b/ports/winnt/ntpq/ntpq.dsp @@ -99,10 +99,6 @@ SOURCE=..\..\..\ntpq\ntpq.c # End Source File # Begin Source File -SOURCE=..\libntp\util_clockstuff.c -# End Source File -# Begin Source File - SOURCE=.\version.c # End Source File # End Group diff --git a/ports/winnt/ntpq/ntpq.vcproj b/ports/winnt/ntpq/ntpq.vcproj index d044d65e92..78b9b2044c 100644 --- a/ports/winnt/ntpq/ntpq.vcproj +++ b/ports/winnt/ntpq/ntpq.vcproj @@ -1,10 +1,9 @@ + @@ -120,7 +113,6 @@ UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="false" CharacterSet="2" - DeleteExtensionsOnClean="version.c,*.obj;*.ilk;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;$(TargetPath)" > + @@ -310,10 +298,6 @@ Name="Header Files" Filter="h;hpp;hxx;hm;inl" > - -