mirror of
https://bitbucket.org/anguist/ntpa
synced 2025-10-06 02:51:23 +00:00
Reintroduce Linux support
This commit is contained in:
2
INSTALL
2
INSTALL
@ -17,7 +17,7 @@ Run:
|
|||||||
# sudo apt-get install ntp (use updated versions)
|
# sudo apt-get install ntp (use updated versions)
|
||||||
|
|
||||||
Build and install ntpa with:
|
Build and install ntpa with:
|
||||||
# make install
|
# make -f Makefile.xbuild install-linux
|
||||||
|
|
||||||
|
|
||||||
Windows
|
Windows
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
all: release
|
all: release
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
xbuild /p:Configuration=Debug /p:TargetFrameworkVersion=v4.0 Ntp.Analyzer.sln
|
xbuild /p:Configuration=Debug /p:TargetFrameworkVersion=v4.0 /p:NPlot=nuget Ntp.Analyzer.sln
|
||||||
|
|
||||||
release:
|
release:
|
||||||
xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 Ntp.Analyzer.sln
|
xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 /p:NPlot=nuget Ntp.Analyzer.sln
|
||||||
|
|
||||||
install: release
|
install: release
|
||||||
install -d ${DESTDIR}$(PREFIX)/sbin
|
install -d ${DESTDIR}$(PREFIX)/sbin
|
||||||
|
@ -34,8 +34,21 @@
|
|||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Runtime.Serialization" />
|
<Reference Include="System.Runtime.Serialization" />
|
||||||
<Reference Include="NPlot, Version=0.9.11.0, Culture=neutral, PublicKeyToken=1d82a50c5d01c44e" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<Choose>
|
||||||
|
<When Condition=" '$(NPlot)' == 'nuget' ">
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="NPlot">
|
||||||
|
<HintPath>..\packages/NPlot.0.9.10.0/lib/net20/NPlot.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
</When>
|
||||||
|
<When Condition=" '$(NPlot)' != 'nuget' ">
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="NPlot, Version=0.9.11.0, Culture=neutral, PublicKeyToken=1d82a50c5d01c44e" />
|
||||||
|
</ItemGroup>
|
||||||
|
</When>
|
||||||
|
</Choose>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="..\Shared\AssemblyInfo.cs" />
|
<Compile Include="..\Shared\AssemblyInfo.cs" />
|
||||||
<Compile Include="Config\Attribute\NtpaIndex.cs" />
|
<Compile Include="Config\Attribute\NtpaIndex.cs" />
|
||||||
@ -251,4 +264,4 @@
|
|||||||
</Properties>
|
</Properties>
|
||||||
</MonoDevelop>
|
</MonoDevelop>
|
||||||
</ProjectExtensions>
|
</ProjectExtensions>
|
||||||
</Project>
|
</Project>
|
||||||
|
Reference in New Issue
Block a user