mirror of
https://bitbucket.org/anguist/ntpa
synced 2025-10-06 02:51:23 +00:00
Update 'build definitions'
This commit is contained in:
49
Makefile
49
Makefile
@ -1,49 +0,0 @@
|
||||
prefix=/usr/local
|
||||
|
||||
all: server
|
||||
|
||||
debug:
|
||||
xbuild Ntp.Analyzer.sln /property:Configuration=Debug
|
||||
|
||||
release:
|
||||
xbuild Ntp.Analyzer.sln /property:Configuration=Release
|
||||
|
||||
server:
|
||||
xbuild Ntp.Analyzer.sln /property:Configuration=Server
|
||||
|
||||
install: server
|
||||
install -m 0755 script/ntpa $(prefix)/bin
|
||||
install -m 0755 script/ntpac $(prefix)/bin
|
||||
install -m 0755 script/ntpav $(prefix)/bin
|
||||
install -m 0775 -d $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/MySql.Data.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/NPlot.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/ntpac.exe $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/ntpa.exe $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Analyzer.Data.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Analyzer.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Analyzer.Localize.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Analyzer.Log.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Analyzer.Objects.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Analyzer.Process.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/ntpav.exe $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Config.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Data.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Interop.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Monitor.Client.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Monitor.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Monitor.Server.dll $(prefix)/libexec/ntpa
|
||||
install -m 0755 bin/Ntp.Process.dll $(prefix)/libexec/ntpa
|
||||
install -m 0775 -d $(prefix)/etc/ntpa/
|
||||
install -m 0640 example/ntpa.stat.conf $(prefix)/etc/ntpa/ntpa.sample
|
||||
|
||||
# install -m 0775 -g ntpa -o ntpa -d /var/run/ntpa
|
||||
# touch ntpa.log
|
||||
# install -m 0755 -g ntpa -o ntpa ntpa.log /var/log/ntpa.log
|
||||
|
||||
clean:
|
||||
xbuild Ntp.Analyzer.sln /t:clean /property:Configuration=Debug
|
||||
xbuild Ntp.Analyzer.sln /t:clean /property:Configuration=Release
|
||||
xbuild Ntp.Analyzer.sln /t:clean /property:Configuration=Server
|
||||
rm -f ntpa.log
|
||||
rm -Rf bin
|
130
Ntp.Analyzer.Process/Ntp.Analyzer.Process.Graph.csproj
Normal file
130
Ntp.Analyzer.Process/Ntp.Analyzer.Process.Graph.csproj
Normal file
@ -0,0 +1,130 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{266A828E-05CA-4FEB-8B78-0BC066760C26}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Ntp.Analyzer.Process</RootNamespace>
|
||||
<AssemblyName>Ntp.Analyzer.Process</AssemblyName>
|
||||
<ReleaseVersion>0.6.1</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>DEBUG;GRAPH;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>GRAPH;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Server|AnyCPU' ">
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>GRAPH;</DefineConstants>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Develop|AnyCPU' ">
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>GRAPH;</DefineConstants>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Description\HostStatJob.cs" />
|
||||
<Compile Include="Description\PeerStatJob.cs" />
|
||||
<Compile Include="Description\HostGraphJob.cs" />
|
||||
<Compile Include="Description\PeerGraphJob.cs" />
|
||||
<Compile Include="Description\HostPageJob.cs" />
|
||||
<Compile Include="Description\PeerPageJob.cs" />
|
||||
<Compile Include="Description\StreamJob.cs" />
|
||||
<Compile Include="Description\BulkStatJob.cs" />
|
||||
<Compile Include="Description\NotifyJob.cs" />
|
||||
<Compile Include="Description\AboutPageJob.cs" />
|
||||
<Compile Include="Description\PeerGraphPageJob.cs" />
|
||||
<Compile Include="Description\HostGraphPageJob.cs" />
|
||||
<Compile Include="Description\TrafficGraphJob.cs" />
|
||||
<Compile Include="Initializer.cs" />
|
||||
<Compile Include="Main.cs" />
|
||||
<Compile Include="Description\PeerSummaryPage.cs" />
|
||||
<Compile Include="Description\HostIoStatJob.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Folder Include="Description\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Ntp.Analyzer\Ntp.Analyzer.csproj">
|
||||
<Project>{28444C86-1B41-4558-BA27-DCF32B2B1E0F}</Project>
|
||||
<Name>Ntp.Analyzer</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Config\Ntp.Config.csproj">
|
||||
<Project>{43A1A769-6ED9-4AE1-821A-43F97814968C}</Project>
|
||||
<Name>Ntp.Config</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Analyzer.Objects\Ntp.Analyzer.Objects.csproj">
|
||||
<Project>{02912378-E62D-4445-BA30-F56D3ABE9DA2}</Project>
|
||||
<Name>Ntp.Analyzer.Objects</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Monitor.Server\Ntp.Monitor.Server.csproj">
|
||||
<Project>{13FA10AB-D656-4D72-BC69-2525D484C9DE}</Project>
|
||||
<Name>Ntp.Monitor.Server</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Data\Ntp.Data.csproj">
|
||||
<Project>{03F3B0D9-AC35-43E3-9303-87A71FB73CD1}</Project>
|
||||
<Name>Ntp.Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Process\Ntp.Process.csproj">
|
||||
<Project>{CCF0EE0C-E3E4-4A75-AFEB-C709ED51E90F}</Project>
|
||||
<Name>Ntp.Process</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Monitor.Client\Ntp.Monitor.Client.csproj">
|
||||
<Project>{44D739DA-4CD4-4214-88EE-A9A293BB32B5}</Project>
|
||||
<Name>Ntp.Monitor.Client</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Interop\Ntp.Interop.csproj">
|
||||
<Project>{A98DB601-2993-4181-A573-5FCCC5E954C1}</Project>
|
||||
<Name>Ntp.Interop</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Analyzer.Localize\Ntp.Analyzer.Localize.csproj">
|
||||
<Project>{6F200007-52DB-4861-A565-124270C07F67}</Project>
|
||||
<Name>Ntp.Analyzer.Localize</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Analyzer.Data\Ntp.Analyzer.Data.csproj">
|
||||
<Project>{8263BEAB-1610-4F82-9FC0-84421E5AB6B0}</Project>
|
||||
<Name>Ntp.Analyzer.Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Analyzer.Import\Ntp.Analyzer.Import.csproj">
|
||||
<Project>{1F0A20C9-71C7-4A2C-8DB3-5D18E0E49227}</Project>
|
||||
<Name>Ntp.Analyzer.Import</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Log\Ntp.Log.csproj">
|
||||
<Project>{909C8729-ED63-4603-85EA-34A1FC4D63D9}</Project>
|
||||
<Name>Ntp.Log</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Common\Ntp.Common.csproj">
|
||||
<Project>{86848F80-2692-47AB-A68A-BFB2990B632E}</Project>
|
||||
<Name>Ntp.Common</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Ntp.Data.Provider\Ntp.Data.Provider.csproj">
|
||||
<Project>{B982916F-F2F1-4975-89A6-C8BACDC65542}</Project>
|
||||
<Name>Ntp.Data.Provider</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -16,7 +16,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<DefineConstants>DEBUG;GRAPH;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
@ -25,6 +25,7 @@
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>GRAPH;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
@ -32,11 +33,13 @@
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Server|AnyCPU' ">
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>GRAPH;</DefineConstants>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Develop|AnyCPU' ">
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<DefineConstants>GRAPH;</DefineConstants>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
@ -124,4 +127,4 @@
|
||||
<Name>Ntp.Data.Provider</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Ntp.Data.Provider</RootNamespace>
|
||||
<AssemblyName>Ntp.Data.Provider</AssemblyName>
|
||||
<ReleaseVersion>0.6.0</ReleaseVersion>
|
||||
<ReleaseVersion>0.6.1</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@ -67,4 +67,4 @@
|
||||
<Name>MySql.Data</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Ntp.Data.Provider</RootNamespace>
|
||||
<AssemblyName>Ntp.Data.Provider</AssemblyName>
|
||||
<ReleaseVersion>0.6.0</ReleaseVersion>
|
||||
<ReleaseVersion>0.6.1</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@ -63,4 +63,4 @@
|
||||
<Name>MySql.Data</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -9,7 +9,7 @@
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Ntp.Data.Provider</RootNamespace>
|
||||
<AssemblyName>Ntp.Data.Provider</AssemblyName>
|
||||
<ReleaseVersion>0.6.0</ReleaseVersion>
|
||||
<ReleaseVersion>0.6.1</ReleaseVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@ -63,4 +63,4 @@
|
||||
<Name>Npgsql</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -25,19 +25,19 @@
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<ConsolePause>false</ConsolePause>
|
||||
<DefineConstants>MYSQL;</DefineConstants>
|
||||
<DefineConstants>MYSQL;PGSQL;</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Server|AnyCPU' ">
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DefineConstants>MYSQL;</DefineConstants>
|
||||
<DefineConstants>MYSQL;PGSQL;</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Develop|AnyCPU' ">
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\bin</OutputPath>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DefineConstants>MYSQL;</DefineConstants>
|
||||
<DefineConstants>MYSQL;PGSQL;</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
@ -58,13 +58,13 @@
|
||||
<Project>{43A1A769-6ED9-4AE1-821A-43F97814968C}</Project>
|
||||
<Name>Ntp.Config</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\MySql\Source\MySql.Data\MySql.Data.csproj">
|
||||
<Project>{E9DF5ED1-4CBD-4226-B931-9A51610AC14D}</Project>
|
||||
<Name>MySql.Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Npgsql\Npgsql.csproj">
|
||||
<Project>{9D13B739-62B1-4190-B386-7A9547304EB3}</Project>
|
||||
<Name>Npgsql</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\MySql\Source\MySql.Data\MySql.Data.csproj">
|
||||
<Project>{E9DF5ED1-4CBD-4226-B931-9A51610AC14D}</Project>
|
||||
<Name>MySql.Data</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
Reference in New Issue
Block a user