1
0
mirror of https://bitbucket.org/anguist/ntpa synced 2025-10-06 02:51:23 +00:00

Change to autotools

This commit is contained in:
Carsten Larsen
2016-12-09 20:03:58 +01:00
parent cebf806dbb
commit cb639df22a
44 changed files with 2567 additions and 270 deletions

View File

@ -1,3 +1,7 @@
v0.7.5
- Change build script to autotools
- Updated PostgreSQL data provider to v3.1.9
v0.7.4
- Fixed bug in database schema check
- Fixed bug in notification mailer

View File

@ -17,7 +17,7 @@ Run:
# sudo apt-get install ntp (use updated versions)
Build and install ntpa with:
# make install-linux
# make install
Windows

View File

@ -12,10 +12,10 @@ include $(top_srcdir)/rules.make
#Warning: This is an automatically generated file, do not edit!
ifeq ($(CONFIG),DEBUG)
SUBDIRS = Ntp.Analyzer.Objects examples Ntp.Common Ntp.Analyzer.Monitor.Client Ntp.Data Ntp.Data.Provider Ntp.Analyzer.Monitor.Cli Ntp.Analyzer.Data Ntp.Analyzer.Import Ntp.Analyzer Ntp.Analyzer.Validate.Cli Ntp.Analyzer.Validate.Gui Ntp.Analyzer.Monitor.Server Ntp.Analyzer.Process Ntp.Analyzer.Cli
SUBDIRS = Ntp.Analyzer.Objects Ntp.Common Ntp.Analyzer.Monitor.Client Ntp.Data Ntp.Data.Provider Ntp.Analyzer.Monitor.Cli Ntp.Analyzer.Data Ntp.Analyzer.Import Ntp.Analyzer Ntp.Analyzer.Validate.Cli Ntp.Analyzer.Validate.Gui Ntp.Analyzer.Monitor.Server Ntp.Analyzer.Process Ntp.Analyzer.Cli
endif
ifeq ($(CONFIG),RELEASE)
SUBDIRS = Ntp.Analyzer.Objects examples Ntp.Common Ntp.Analyzer.Monitor.Client Ntp.Data Ntp.Data.Provider Ntp.Analyzer.Monitor.Cli Ntp.Analyzer.Data Ntp.Analyzer.Import Ntp.Analyzer Ntp.Analyzer.Validate.Cli Ntp.Analyzer.Validate.Gui Ntp.Analyzer.Monitor.Server Ntp.Analyzer.Process Ntp.Analyzer.Cli
SUBDIRS = Ntp.Analyzer.Objects Ntp.Common Ntp.Analyzer.Monitor.Client Ntp.Data Ntp.Data.Provider Ntp.Analyzer.Monitor.Cli Ntp.Analyzer.Data Ntp.Analyzer.Import Ntp.Analyzer Ntp.Analyzer.Validate.Cli Ntp.Analyzer.Validate.Gui Ntp.Analyzer.Monitor.Server Ntp.Analyzer.Process Ntp.Analyzer.Cli
endif

10
Makefile.am Normal file
View File

@ -0,0 +1,10 @@
EXTRA_DIST = expansions.m4 ../MySql.Data ../Npgsql
#Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
SUBDIRS = Ntp.Analyzer.Objects Ntp.Common Ntp.Analyzer.Monitor.Client Ntp.Data Ntp.Data.Provider Ntp.Analyzer.Monitor.Cli Ntp.Analyzer.Data Ntp.Analyzer.Import Ntp.Analyzer Ntp.Analyzer.Validate.Cli Ntp.Analyzer.Validate.Gui Ntp.Analyzer.Monitor.Server Ntp.Analyzer.Process Ntp.Analyzer.Cli
endif
if ENABLE_RELEASE
SUBDIRS = Ntp.Analyzer.Objects Ntp.Common Ntp.Analyzer.Monitor.Client Ntp.Data Ntp.Data.Provider Ntp.Analyzer.Monitor.Cli Ntp.Analyzer.Data Ntp.Analyzer.Import Ntp.Analyzer Ntp.Analyzer.Validate.Cli Ntp.Analyzer.Validate.Gui Ntp.Analyzer.Monitor.Server Ntp.Analyzer.Process Ntp.Analyzer.Cli
endif

View File

@ -62,13 +62,9 @@ EXTRA_DIST += $(build_sources) $(build_resx_files) $(build_others_files) $(ASSEM
CLEANFILES += $(ASSEMBLY) $(ASSEMBLY).mdb $(BINARIES) $(build_resx_resources) $(build_satellite_assembly_list)
DISTCLEANFILES = $(GENERATED_FILES) $(pc_files) $(BUILD_DIR)/*
programfilesdir = $(pkglibdir)
programfiles_DATA = $(ASSEMBLY)
bin_SCRIPTS = $(BINARIES)
programfilesdir = @libdir@/@PACKAGE@
programfiles_DATA = $(PROGRAMFILES)
bin_SCRIPTS = $(BINARIES)
# macros
@ -83,13 +79,11 @@ endef
# assumes that for a wrapper foo.pc its source template is foo.pc.in
# if $3 is non-empty then wrapper is marked exec
define emit-deploy-wrapper
$($1): $2 $(top_srcdir)/config.make
$($1): $2
mkdir -p '$$(shell dirname '$$@')'
cp '$$<' '$$@'
$(if $3,chmod +x '$$@')
$2: $2.in $(top_srcdir)/config.make
sed -e "s,@prefix@,$(prefix)," -e "s,@PACKAGE@,$(PACKAGE)," -e "s,@expanded_libdir@,$(libdir)," -e "s,@expanded_bindir@,$(bindir)," -e "s,@expanded_datadir@,$(datadir)," < $2.in > $2
endef
# generating satellite assemblies

44
Makefile.xbuild Normal file
View File

@ -0,0 +1,44 @@
all: release
debug:
xbuild /p:Configuration=Debug /p:TargetFrameworkVersion=v4.0 Ntp.Analyzer.sln
release:
xbuild /p:Configuration=Release /p:TargetFrameworkVersion=v4.0 Ntp.Analyzer.sln
install: release
install -d ${DESTDIR}$(PREFIX)/sbin
install -d ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Cli.exe ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Data.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Import.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Monitor.Client.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Monitor.Cli.exe ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Monitor.Server.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Objects.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Process.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Validate.Cli.exe ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Analyzer.Validate.Gui.exe ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Common.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Data.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install bin/Ntp.Data.Provider.dll ${DESTDIR}$(PREFIX)/libexec/ntpa
install -d ${DESTDIR}$(PREFIX)/etc/ntpa/
install examples/ntpa.conf ${DESTDIR}$(PREFIX)/etc/ntpa/ntpa.conf.sample
install-linux: install
useradd -r ntpa
mkdir /var/run/ntpa
chown ntpa:ntpa /var/run/ntpa
touch /var/log/ntpa.log
chown ntpa:ntpa /var/log/ntpa.log
clean-debug:
xbuild Ntp.Analyzer.sln /p:Configuration=Debug /t:clean
clean-release:
xbuild Ntp.Analyzer.sln /p:Configuration=Release /t:clean
clean-all: clean-debug clean-release
clean: clean-release

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG" "-main:Ntp.Analyzer.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Cli.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -58,7 +58,7 @@ NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Server.dll
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE" "-main:Ntp.Analyzer.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Cli.exe
ASSEMBLY_MDB =

View File

@ -0,0 +1,176 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG" "-main:Ntp.Analyzer.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Cli.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Analyzer.Process.dll
BUILD_DIR = ../bin
NTP_ANALYZER_CLI_EXE_MDB_SOURCE=../bin/Ntp.Analyzer.Cli.exe.mdb
NTP_ANALYZER_CLI_EXE_MDB=$(BUILD_DIR)/Ntp.Analyzer.Cli.exe.mdb
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_PROCESS_DLL_SOURCE=../bin/Ntp.Analyzer.Process.dll
NTP_ANALYZER_PROCESS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Process.dll.mdb
NTP_ANALYZER_PROCESS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Process.dll.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_ANALYZER_MONITOR_SERVER_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll.mdb
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Server.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE" "-main:Ntp.Analyzer.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Cli.exe
ASSEMBLY_MDB =
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Analyzer.Process.dll
BUILD_DIR = ../bin
NTP_ANALYZER_CLI_EXE_MDB=
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB=
NTP_ANALYZER_PROCESS_DLL_SOURCE=../bin/Ntp.Analyzer.Process.dll
NTP_ANALYZER_PROCESS_DLL_MDB=
NTP_ANALYZER_MONITOR_CLIENT_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=
NTP_ANALYZER_MONITOR_SERVER_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_CLI_EXE_MDB) \
$(NTP_ANALYZER_DLL) \
$(NTP_ANALYZER_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_ANALYZER_IMPORT_DLL) \
$(NTP_ANALYZER_IMPORT_DLL_MDB) \
$(NTP_ANALYZER_PROCESS_DLL) \
$(NTP_ANALYZER_PROCESS_DLL_MDB) \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL) \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB) \
$(NTP_ANALYZER_MONITOR_SERVER_DLL) \
$(NTP_ANALYZER_MONITOR_SERVER_DLL_MDB)
BINARIES = \
$(NTPA)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
FILES = \
../Shared/AssemblyInfo.cs \
Program.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
ntpa.in
REFERENCES = \
System
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES) $(BINARIES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_DLL = $(BUILD_DIR)/Ntp.Analyzer.dll
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
NTP_ANALYZER_PROCESS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Process.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_SERVER_DLL = $(BUILD_DIR)/Ntp.Analyzer.Monitor.Server.dll
NTPA = $(BUILD_DIR)/ntpa
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit-deploy-wrapper,NTPA,ntpa,x))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

3
Ntp.Analyzer.Cli/ntpa Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
exec mono "/usr/local/lib/ntp.analyzer/Ntp.Analyzer.Cli.exe" "$@"

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Data.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -41,7 +41,7 @@ NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Data.dll
ASSEMBLY_MDB =
@ -93,28 +93,28 @@ NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Changes/Change01.cs \
Changes/Change02.cs \
Changes/Change03.cs \
DatabaseInitializer.cs \
DataFace.cs \
Import/TimeServerImporter.cs \
Import/TimeServerLoader.cs \
Log/LogExtensions.cs \
Sql/AssociationEntryMapper.cs \
Sql/DriftReadingDatabaseMapper.cs \
Sql/FilteredSqlDatabaseMapper.cs \
Sql/HostDatabaseMapper.cs \
Sql/HostIoReadingDatabaseMapper.cs \
Sql/HostReadingDatabaseMapper.cs \
Sql/PeerActivityDatabaseMapper.cs \
Sql/PeerDatabaseMapper.cs \
Sql/PeerReadingDatabaseMapper.cs \
Sql/TimeServerDatabaseMapper.cs \
Sql/PeerActivityDatabaseMapper.cs \
Sql/SqlDatabaseMapper.cs \
Sql/FilteredSqlDatabaseMapper.cs \
DatabaseInitializer.cs \
Changes/Change01.cs \
Sql/ReadingBulkMapper.cs \
Sql/AssociationEntryMapper.cs \
Sql/HostIoReadingDatabaseMapper.cs \
Changes/Change02.cs
Sql/SqlDatabaseMapper.cs \
Sql/TimeServerDatabaseMapper.cs
DATA_FILES =
@ -123,9 +123,13 @@ RESOURCES =
EXTRAS =
REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Data.Provider.dll \
System \
System.Data \
System.Core \
System.Data \
System.Xml
DLL_REFERENCES =

View File

@ -0,0 +1,146 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Data.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Data.Provider.dll
BUILD_DIR = ../bin
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Data.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Data.Provider.dll
BUILD_DIR = ../bin
NTP_ANALYZER_DATA_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
Changes/Change03.cs \
DataFace.cs \
Import/TimeServerImporter.cs \
Import/TimeServerLoader.cs \
Log/LogExtensions.cs \
Sql/DriftReadingDatabaseMapper.cs \
Sql/HostDatabaseMapper.cs \
Sql/HostReadingDatabaseMapper.cs \
Sql/PeerDatabaseMapper.cs \
Sql/PeerReadingDatabaseMapper.cs \
Sql/TimeServerDatabaseMapper.cs \
Sql/PeerActivityDatabaseMapper.cs \
Sql/SqlDatabaseMapper.cs \
Sql/FilteredSqlDatabaseMapper.cs \
DatabaseInitializer.cs \
Changes/Change01.cs \
Sql/ReadingBulkMapper.cs \
Sql/AssociationEntryMapper.cs \
Sql/HostIoReadingDatabaseMapper.cs \
Changes/Change02.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System \
System.Data \
System.Core \
System.Xml
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Import.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -44,7 +44,7 @@ NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Import.dll
ASSEMBLY_MDB =
@ -101,20 +101,20 @@ NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
DriftFileImporter.cs \
ImportFactory.cs \
IoStatsImporter.cs \
LogExtensions.cs \
NtpctlHostImporter.cs \
NtpqHostImporter.cs \
NtpdcImporter.cs \
ShellImporter.cs \
ServerType.cs \
NtpqPeerImporter.cs \
NtpctlPeerImporter.cs \
IoStatsImporter.cs \
NtpctlImporter.cs \
ImportFactory.cs
NtpctlPeerImporter.cs \
NtpdcImporter.cs \
NtpqHostImporter.cs \
NtpqPeerImporter.cs \
ServerType.cs \
ShellImporter.cs
DATA_FILES =
@ -123,6 +123,10 @@ RESOURCES =
EXTRAS =
REFERENCES = \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll \
System \
System.Core

View File

@ -0,0 +1,144 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Import.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll
BUILD_DIR = ../bin
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Import.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll
BUILD_DIR = ../bin
NTP_ANALYZER_IMPORT_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_IMPORT_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
DriftFileImporter.cs \
LogExtensions.cs \
NtpctlHostImporter.cs \
NtpqHostImporter.cs \
NtpdcImporter.cs \
ShellImporter.cs \
ServerType.cs \
NtpqPeerImporter.cs \
NtpctlPeerImporter.cs \
IoStatsImporter.cs \
NtpctlImporter.cs \
ImportFactory.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System \
System.Core
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG" "-main:Ntp.Analyzer.Monitor.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Cli.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -31,7 +31,7 @@ NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE" "-main:Ntp.Analyzer.Monitor.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Cli.exe
ASSEMBLY_MDB =
@ -69,7 +69,7 @@ NTP_ANALYZER_MONITOR_CLIENT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTPAC = $(BUILD_DIR)/ntpac
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Program.cs
@ -81,6 +81,8 @@ EXTRAS = \
ntpac.in
REFERENCES = \
../bin/Ntp.Analyzer.Monitor.Client.dll \
../bin/Ntp.Common.dll \
System
DLL_REFERENCES =

View File

@ -0,0 +1,100 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG" "-main:Ntp.Analyzer.Monitor.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Cli.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Monitor.Client.dll \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_MONITOR_CLI_EXE_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Cli.exe.mdb
NTP_ANALYZER_MONITOR_CLI_EXE_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Cli.exe.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE" "-main:Ntp.Analyzer.Monitor.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Cli.exe
ASSEMBLY_MDB =
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Monitor.Client.dll \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_MONITOR_CLI_EXE_MDB=
NTP_ANALYZER_MONITOR_CLIENT_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_MONITOR_CLI_EXE_MDB) \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL) \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB)
BINARIES = \
$(NTPAC)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
FILES = \
../Shared/AssemblyInfo.cs \
Program.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
ntpac.in
REFERENCES = \
System
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES) $(BINARIES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_MONITOR_CLIENT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTPAC = $(BUILD_DIR)/ntpac
$(eval $(call emit-deploy-wrapper,NTPAC,ntpac,x))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec mono "/usr/local/lib/ntp.analyzer/Ntp.Analyzer.Monitor.Cli.exe" "$@"

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Client.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -27,7 +27,7 @@ NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Client.dll
ASSEMBLY_MDB =
@ -55,11 +55,11 @@ RESGEN=resgen2
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
TextRequest.cs \
BinaryRequest.cs \
Request.cs
Request.cs \
TextRequest.cs
DATA_FILES =
@ -68,6 +68,7 @@ RESOURCES =
EXTRAS =
REFERENCES = \
../bin/Ntp.Common.dll \
System
DLL_REFERENCES =

View File

@ -0,0 +1,86 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Client.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Client.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
TextRequest.cs \
BinaryRequest.cs \
Request.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Server.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -50,7 +50,7 @@ NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Server.dll
ASSEMBLY_MDB =
@ -117,34 +117,34 @@ MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Billboard.cs \
Listener.cs \
Request.cs \
ApplicationState.cs \
CommandType.cs \
CommandFactory.cs \
Billboard.cs \
Command.cs \
CommandDescription.cs \
CommandFactory.cs \
CommandType.cs \
ICommandDescription.cs \
TextCommand/PidCommand.cs \
TextCommand/PingCommand.cs \
TextCommand/VersionCommand.cs \
Listener.cs \
PacketCommand/PacketCommand.cs \
Request.cs \
TextCommand/ActivityCommand.cs \
TextCommand/ConfigFileCommand.cs \
TextCommand/HelpCommand.cs \
TextCommand/JobsCommand.cs \
TextCommand/ScheduleCommand.cs \
TextCommand/TimeCommand.cs \
TextCommand/NextJobCommand.cs \
TextCommand/ServerCommand.cs \
TextCommand/ProgCommand.cs \
TextCommand/MonitorTextCommand.cs \
TextCommand/UptimeCommand.cs \
Command.cs \
PacketCommand/PacketCommand.cs \
TextCommand/RunningCommand.cs \
TextCommand/NextJobCommand.cs \
TextCommand/PidCommand.cs \
TextCommand/PingCommand.cs \
TextCommand/ProcCommand.cs \
TextCommand/ActivityCommand.cs
TextCommand/ProgCommand.cs \
TextCommand/RunningCommand.cs \
TextCommand/ScheduleCommand.cs \
TextCommand/ServerCommand.cs \
TextCommand/TimeCommand.cs \
TextCommand/UptimeCommand.cs \
TextCommand/VersionCommand.cs
DATA_FILES =
@ -153,6 +153,10 @@ RESOURCES =
EXTRAS =
REFERENCES = \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
System \
System.Core

View File

@ -0,0 +1,174 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Server.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Analyzer.Data.dll
BUILD_DIR = ../bin
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll.mdb
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Server.dll.mdb
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Monitor.Server.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Analyzer.Data.dll
BUILD_DIR = ../bin
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_MONITOR_SERVER_DLL_MDB) \
$(NTP_ANALYZER_DLL) \
$(NTP_ANALYZER_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_ANALYZER_IMPORT_DLL) \
$(NTP_ANALYZER_IMPORT_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
Billboard.cs \
Listener.cs \
Request.cs \
ApplicationState.cs \
CommandType.cs \
CommandFactory.cs \
CommandDescription.cs \
ICommandDescription.cs \
TextCommand/PidCommand.cs \
TextCommand/PingCommand.cs \
TextCommand/VersionCommand.cs \
TextCommand/ConfigFileCommand.cs \
TextCommand/HelpCommand.cs \
TextCommand/JobsCommand.cs \
TextCommand/ScheduleCommand.cs \
TextCommand/TimeCommand.cs \
TextCommand/NextJobCommand.cs \
TextCommand/ServerCommand.cs \
TextCommand/ProgCommand.cs \
TextCommand/MonitorTextCommand.cs \
TextCommand/UptimeCommand.cs \
Command.cs \
PacketCommand/PacketCommand.cs \
TextCommand/RunningCommand.cs \
TextCommand/ProcCommand.cs \
TextCommand/ActivityCommand.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System \
System.Core
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_DLL = $(BUILD_DIR)/Ntp.Analyzer.dll
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Objects.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -23,7 +23,7 @@ NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Objects.dll
ASSEMBLY_MDB =
@ -45,25 +45,25 @@ PROGRAMFILES = \
RESGEN=resgen2
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
AssociationEntry.cs \
DispersionReading.cs \
DriftReading.cs \
Host.cs \
HostIoReading.cs \
HostReading.cs \
IoStatsEntry.cs \
NamedObject.cs \
Peer.cs \
PeerActivity.cs \
PeerReading.cs \
PersistentObject.cs \
Reading.cs \
ReadingBulk.cs \
StatusLine.cs \
TallyCode.cs \
TimeServer.cs \
Reading.cs \
PersistentObject.cs \
ReadingBulk.cs \
NamedObject.cs \
DispersionReading.cs \
PeerActivity.cs \
AssociationEntry.cs \
IoStatsEntry.cs \
HostIoReading.cs
TimeServer.cs
DATA_FILES =
@ -71,8 +71,7 @@ RESOURCES =
EXTRAS =
REFERENCES = \
System
REFERENCES = System
DLL_REFERENCES =

View File

@ -0,0 +1,90 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Objects.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES =
BUILD_DIR = ../bin
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Objects.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES =
BUILD_DIR = ../bin
NTP_ANALYZER_OBJECTS_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_OBJECTS_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
DriftReading.cs \
Host.cs \
HostReading.cs \
Peer.cs \
PeerReading.cs \
StatusLine.cs \
TallyCode.cs \
TimeServer.cs \
Reading.cs \
PersistentObject.cs \
ReadingBulk.cs \
NamedObject.cs \
DispersionReading.cs \
PeerActivity.cs \
AssociationEntry.cs \
IoStatsEntry.cs \
HostIoReading.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Process.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -61,7 +61,7 @@ NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Process.dll
ASSEMBLY_MDB =
@ -143,27 +143,27 @@ MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Description/DriftStatJob.cs \
Description/HostStatJob.cs \
Description/PeerStatJob.cs \
Description/HostGraphJob.cs \
Description/PeerGraphJob.cs \
Description/HostPageJob.cs \
Description/PeerPageJob.cs \
Description/StreamJob.cs \
Description/BulkStatJob.cs \
Description/NotifyJob.cs \
Description/AboutPageJob.cs \
Description/PeerGraphPageJob.cs \
Description/BulkStatJob.cs \
Description/DriftStatJob.cs \
Description/HostGraphJob.cs \
Description/HostGraphPageJob.cs \
Description/HostIoStatJob.cs \
Description/HostPageJob.cs \
Description/HostStatJob.cs \
Description/NotifyJob.cs \
Description/PeerGraphJob.cs \
Description/PeerGraphPageJob.cs \
Description/PeerPageJob.cs \
Description/PeerStatJob.cs \
Description/PeerSummaryPage.cs \
Description/StreamJob.cs \
Description/TrafficGraphJob.cs \
Initializer.cs \
Log/LogExtensions.cs \
Main.cs \
Description/PeerSummaryPage.cs \
Description/HostIoStatJob.cs
Main.cs
DATA_FILES =
@ -172,6 +172,15 @@ RESOURCES =
EXTRAS =
REFERENCES = \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Analyzer.Import.dll \
../bin/Ntp.Analyzer.Monitor.Client.dll \
../bin/Ntp.Analyzer.Monitor.Server.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Data.Provider.dll \
System \
System.Core

View File

@ -0,0 +1,193 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Process.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Monitor.Client.dll \
../bin/Ntp.Analyzer.Monitor.Server.dll \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.Import.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.Provider.dll
BUILD_DIR = ../bin
NTP_ANALYZER_PROCESS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Process.dll.mdb
NTP_ANALYZER_PROCESS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Process.dll.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_ANALYZER_MONITOR_SERVER_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll.mdb
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Monitor.Server.dll.mdb
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Process.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Monitor.Client.dll \
../bin/Ntp.Analyzer.Monitor.Server.dll \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.Import.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.Provider.dll
BUILD_DIR = ../bin
NTP_ANALYZER_PROCESS_DLL_MDB=
NTP_ANALYZER_MONITOR_CLIENT_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Client.dll
NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_ANALYZER_MONITOR_SERVER_DLL_SOURCE=../bin/Ntp.Analyzer.Monitor.Server.dll
NTP_ANALYZER_MONITOR_SERVER_DLL_MDB=
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_PROCESS_DLL_MDB) \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL) \
$(NTP_ANALYZER_MONITOR_CLIENT_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_ANALYZER_MONITOR_SERVER_DLL) \
$(NTP_ANALYZER_MONITOR_SERVER_DLL_MDB) \
$(NTP_ANALYZER_DLL) \
$(NTP_ANALYZER_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_ANALYZER_IMPORT_DLL) \
$(NTP_ANALYZER_IMPORT_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
Description/DriftStatJob.cs \
Description/HostStatJob.cs \
Description/PeerStatJob.cs \
Description/HostGraphJob.cs \
Description/PeerGraphJob.cs \
Description/HostPageJob.cs \
Description/PeerPageJob.cs \
Description/StreamJob.cs \
Description/BulkStatJob.cs \
Description/NotifyJob.cs \
Description/AboutPageJob.cs \
Description/PeerGraphPageJob.cs \
Description/HostGraphPageJob.cs \
Description/TrafficGraphJob.cs \
Initializer.cs \
Log/LogExtensions.cs \
Main.cs \
Description/PeerSummaryPage.cs \
Description/HostIoStatJob.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System \
System.Core
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_MONITOR_CLIENT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Monitor.Client.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_ANALYZER_MONITOR_SERVER_DLL = $(BUILD_DIR)/Ntp.Analyzer.Monitor.Server.dll
NTP_ANALYZER_DLL = $(BUILD_DIR)/Ntp.Analyzer.dll
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG" "-main:Ntp.Analyzer.Validate.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Cli.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -48,7 +48,7 @@ NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE" "-main:Ntp.Analyzer.Validate.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Cli.exe
ASSEMBLY_MDB =
@ -117,7 +117,7 @@ NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
NTPAV = $(BUILD_DIR)/ntpav
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Program.cs
@ -129,6 +129,8 @@ EXTRAS = \
ntpav.in
REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Common.dll \
System
DLL_REFERENCES =

View File

@ -0,0 +1,150 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG" "-main:Ntp.Analyzer.Validate.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Cli.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_VALIDATE_CLI_EXE_MDB_SOURCE=../bin/Ntp.Analyzer.Validate.Cli.exe.mdb
NTP_ANALYZER_VALIDATE_CLI_EXE_MDB=$(BUILD_DIR)/Ntp.Analyzer.Validate.Cli.exe.mdb
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE" "-main:Ntp.Analyzer.Validate.Cli.Program"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Cli.exe
ASSEMBLY_MDB =
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_VALIDATE_CLI_EXE_MDB=
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_VALIDATE_CLI_EXE_MDB) \
$(NTP_ANALYZER_DLL) \
$(NTP_ANALYZER_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_ANALYZER_IMPORT_DLL) \
$(NTP_ANALYZER_IMPORT_DLL_MDB)
BINARIES = \
$(NTPAV)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
FILES = \
../Shared/AssemblyInfo.cs \
Program.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
ntpav.in
REFERENCES = \
System
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES) $(BINARIES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_DLL = $(BUILD_DIR)/Ntp.Analyzer.dll
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
NTPAV = $(BUILD_DIR)/ntpav
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit-deploy-wrapper,NTPAV,ntpav,x))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec mono "/usr/local/lib/ntp.analyzer/Ntp.Analyzer.Validate.Cli.exe" "$@"

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Gui.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -47,7 +47,7 @@ NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Gui.exe
ASSEMBLY_MDB =
@ -115,11 +115,11 @@ NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
NTPAG = $(BUILD_DIR)/ntpag
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Program.cs \
Validator.cs \
Validator.Designer.cs \
Program.cs
Validator.Designer.cs
DATA_FILES =
@ -129,6 +129,7 @@ EXTRAS = \
ntpag.in
REFERENCES = \
../bin/Ntp.Analyzer.dll \
System \
System.Core \
System.Drawing \

View File

@ -0,0 +1,153 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Gui.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = winexe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll
BUILD_DIR = ../bin
NTP_ANALYZER_VALIDATE_GUI_EXE_MDB_SOURCE=../bin/Ntp.Analyzer.Validate.Gui.exe.mdb
NTP_ANALYZER_VALIDATE_GUI_EXE_MDB=$(BUILD_DIR)/Ntp.Analyzer.Validate.Gui.exe.mdb
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.Validate.Gui.exe
ASSEMBLY_MDB =
COMPILE_TARGET = winexe
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.dll
BUILD_DIR = ../bin
NTP_ANALYZER_VALIDATE_GUI_EXE_MDB=
NTP_ANALYZER_DLL_SOURCE=../bin/Ntp.Analyzer.dll
NTP_ANALYZER_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_VALIDATE_GUI_EXE_MDB) \
$(NTP_ANALYZER_DLL) \
$(NTP_ANALYZER_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_ANALYZER_IMPORT_DLL) \
$(NTP_ANALYZER_IMPORT_DLL_MDB)
BINARIES = \
$(NTPAG)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
FILES = \
../Shared/AssemblyInfo.cs \
Validator.cs \
Validator.Designer.cs \
Program.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
ntpag.in
REFERENCES = \
System \
System.Core \
System.Drawing \
System.Windows.Forms
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES) $(BINARIES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_DLL = $(BUILD_DIR)/Ntp.Analyzer.dll
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
NTPAG = $(BUILD_DIR)/ntpag
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit-deploy-wrapper,NTPAG,ntpag,x))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -0,0 +1,3 @@
#!/bin/sh
exec mono "/usr/local/lib/ntp.analyzer/Ntp.Analyzer.Validate.Gui.exe" "$@"

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -48,7 +48,7 @@ NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.dll
ASSEMBLY_MDB =
@ -111,78 +111,42 @@ MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
Config/Attribute/Layout.cs \
Config/Attribute/NtpaIndex.cs \
Config/Node/ClusterConfiguration.cs \
Config/Node/DriftStatConfiguration.cs \
Config/Node/NodeConfiguration.cs \
Graph/HostGraph.cs \
Graph/GraphBase.cs \
Graph/PeerGraph.cs \
Graph/DispersionGraph.cs \
Log/LogExtensions.cs \
Render/Renderer.cs \
Render/HtmlRenderer.cs \
Render/IHtmlObject.cs \
Export/StreamDestination.cs \
Export/FileStreamDestination.cs \
Export/DirectoryStreamDestination.cs \
Export/IStreamGenerator.cs \
Page/DefaultHostPageBuilder.cs \
Page/BootstrapHostPageBuilder.cs \
Render/Host/DefaultHostPageRender.cs \
Render/Host/BootstrapHostPageRender.cs \
Render/Host/BootstrapHostTableRender.cs \
Render/Host/BootstrapHostGraphRender.cs \
Render/Peer/BootstrapPeerPageRender.cs \
Render/Peer/BootstrapPeerInfoRender.cs \
Render/Peer/BootstrapPeerGraphRender.cs \
Page/BootstrapPeerPageBuilder.cs \
Page/BootstrapAboutPageBuilder.cs \
Render/BootstrapAboutPageRender.cs \
Render/Graph/BootstrapGrapPageRender.cs \
Render/BootstrapPageRender.cs \
Render/HtmlObjectRender.cs \
Render/Host/DefaultHostTableRender.cs \
Render/Host/DefaultHostGraphRender.cs \
Render/Peer/DefaultPeerGraphRender.cs \
Render/Peer/DefaultPeerInfoRender.cs \
Render/Peer/DefaultPeerPageRender.cs \
Render/BootstrapMenuRender.cs \
Render/Host/HostLineRender.cs \
Page/DefaultPeerPageBuilder.cs \
Page/PageBuilderBase.cs \
Page/GraphPageBuilder.cs \
Export/WebLink.cs \
Render/IHtmlExtension.cs \
Graph/TrafficGraph.cs \
Interface/IGraphBaseConfiguration.cs \
Interface/IHostGraphConfiguration.cs \
Interface/IPeerGraphConfiguration.cs \
Interface/ITrafficGraphConfiguration.cs \
Export/FtpStreamDestination.cs \
Render/Summary/BootstrapSummaryGraphRender.cs \
Render/Summary/BootstrapSummaryPageRender.cs \
Render/Summary/DefaultPeerSummaryGraphRender.cs \
Render/Summary/DefaultPeerSummaryPageRender.cs \
Page/DefaultPeerSummaryPageBuilder.cs \
Page/BootstrapPeerSummaryPageBuilder.cs \
Export/FileSystemDestination.cs \
Statistics/DbStatusBuilder.cs \
Statistics/DirectStatusBuilder.cs \
Statistics/StatusBuilder.cs \
Config/Attribute/NtpaReference.cs \
Config/Attribute/NtpaReferenceCollection.cs \
Config/Attribute/NtpaSetting.cs \
Config/Attribute/NtpaSettingsCollection.cs \
Config/Compiler/ConfigCompiler.cs \
Config/Compiler/ConfigFileReader.cs \
Config/Compiler/ConfigParser.cs \
Config/Compiler/Decompiler.cs \
Config/Compiler/ICompilerStage.cs \
Config/Compiler/SchematicValidator.cs \
Config/Compiler/SymbolResolver.cs \
Config/Compiler/Tokenizer.cs \
Config/ConfigBuilder.cs \
Interface/IDispersionGraphConfiguration.cs \
Config/Node/ClusterConfiguration.cs \
Config/Node/Configuration.cs \
Config/Node/ConfigurationNode.cs \
Config/Node/DatabaseConfiguration.cs \
Config/Node/Destination/DestinationCollection.cs \
Config/Node/Destination/DirectoryCollection.cs \
Config/Node/Destination/FileCollection.cs \
Config/Node/Destination/GraphSetConfiguration.cs \
Config/Node/Destination/WebLinkCollection.cs \
Config/Node/DriftStatConfiguration.cs \
Config/Node/Graph/GraphBaseConfiguration.cs \
Config/Node/Graph/HostGraphConfiguration.cs \
Config/Node/Graph/PeerGraphConfiguration.cs \
Config/Node/Graph/TrafficGraphConfiguration.cs \
Config/Node/HeartbeatConfiguration.cs \
Config/Node/HostConfiguration.cs \
Config/Node/HostSubConfiguration.cs \
Config/Node/ListenerConfiguration.cs \
Config/Node/LogConfiguration.cs \
Config/Node/Navigation/DropdownItemConfiguration.cs \
Config/Node/Navigation/HeaderMenuItemConfiguration.cs \
Config/Node/Navigation/HeadMenuItemConfiguration.cs \
@ -193,8 +157,11 @@ FILES = \
Config/Node/Navigation/MenuItemType.cs \
Config/Node/Navigation/PageMenuItemConfiguration.cs \
Config/Node/Navigation/SpacerMenuItemConfiguration.cs \
Config/Node/NodeConfiguration.cs \
Config/Node/NotifyConfiguration.cs \
Config/Node/Page/AboutPageConfiguration.cs \
Config/Node/Page/Collection/SummaryCollection.cs \
Config/Node/Page/GraphPageConfiguration.cs \
Config/Node/Page/HostGraphPageConfiguration.cs \
Config/Node/Page/HostPageConfiguration.cs \
Config/Node/Page/PageConfigurationBase.cs \
@ -202,22 +169,16 @@ FILES = \
Config/Node/Page/PeerGraphPageConfiguration.cs \
Config/Node/Page/PeerPageConfiguration.cs \
Config/Node/Page/PeerSummaryPageConfiguration.cs \
Config/Node/DatabaseConfiguration.cs \
Config/Node/HeartbeatConfiguration.cs \
Config/Node/ListenerConfiguration.cs \
Config/Node/LogConfiguration.cs \
Config/Node/NotifyConfiguration.cs \
Config/Node/PermissionConfiguration.cs \
Config/Node/ReadingBulkConfiguration.cs \
Config/Node/Configuration.cs \
Config/Node/HostConfiguration.cs \
Config/Node/HostSubConfiguration.cs \
Config/Node/StatsConfiguration.cs \
Config/Syntax/AboutPageSyntaxNode.cs \
Config/Syntax/DatabaseSyntaxNode.cs \
Config/Syntax/DirDestinationSyntaxNode.cs \
Config/Syntax/FileDestinationSyntaxNode.cs \
Config/Syntax/GraphSetSyntaxNode.cs \
Config/Syntax/HeartbeatSyntaxNode.cs \
Config/Syntax/HostGraphPageSyntaxNode.cs \
Config/Syntax/HostGraphSyntaxNode.cs \
Config/Syntax/HostPageSyntaxNode.cs \
Config/Syntax/HostSyntaxNode.cs \
@ -234,8 +195,10 @@ FILES = \
Config/Syntax/Option/PageThemeNode.cs \
Config/Syntax/Option/SeverityNode.cs \
Config/Syntax/Option/TimeStampNode.cs \
Config/Syntax/PeerGraphPageSyntaxNode.cs \
Config/Syntax/PeerGraphSyntaxNode.cs \
Config/Syntax/PeerPageSyntaxNode.cs \
Config/Syntax/PeerSummaryPageSyntaxNode.cs \
Config/Syntax/PermissionSyntaxNode.cs \
Config/Syntax/ReadingSyntaxNode.cs \
Config/Syntax/RootSyntaxNode.cs \
@ -250,38 +213,75 @@ FILES = \
Config/Syntax/SyntaxNode.cs \
Config/Syntax/TrafficGraphSyntaxNode.cs \
Config/Syntax/WebLinkSyntaxNode.cs \
Config/Attribute/NtpaReference.cs \
Config/Attribute/NtpaReferenceCollection.cs \
Config/Attribute/NtpaSetting.cs \
Config/Attribute/NtpaSettingsCollection.cs \
Config/Table/SymbolTable.cs \
Config/Table/Symbol.cs \
Config/Table/Keyword.cs \
Config/Table/IntegerToken.cs \
Config/Table/Keyword.cs \
Config/Table/KeywordToken.cs \
Config/Table/LitteralToken.cs \
Config/Table/NumericToken.cs \
Config/Table/QuotedIdentToken.cs \
Config/Table/Symbol.cs \
Config/Table/SymbolTable.cs \
Config/Table/SymbolToken.cs \
Config/Table/Token.cs \
Config/Table/TokenType.cs \
Config/Node/ConfigurationNode.cs \
Config/Syntax/HostGraphPageSyntaxNode.cs \
Config/Syntax/PeerGraphPageSyntaxNode.cs \
Config/Syntax/PeerSummaryPageSyntaxNode.cs \
Export/DirectoryStreamDestination.cs \
Export/FileStreamDestination.cs \
Export/FileSystemDestination.cs \
Export/FtpStreamDestination.cs \
Export/IStreamGenerator.cs \
Export/StreamDestination.cs \
Export/WebLink.cs \
Graph/DispersionGraph.cs \
Graph/GraphBase.cs \
Graph/HostGraph.cs \
Graph/PeerGraph.cs \
Graph/TrafficGraph.cs \
Interface/IConfigurationNode.cs \
Config/Attribute/Layout.cs \
Config/Node/StatsConfiguration.cs \
Config/Compiler/ConfigCompiler.cs \
Config/Compiler/ConfigFileReader.cs \
Config/Compiler/Tokenizer.cs \
Config/Compiler/ConfigParser.cs \
Config/Compiler/Decompiler.cs \
Config/Compiler/SchematicValidator.cs \
Config/Compiler/SymbolResolver.cs \
Config/Compiler/ICompilerStage.cs \
Config/Node/Page/GraphPageConfiguration.cs \
Interface/IPathProvider.cs
Interface/IDispersionGraphConfiguration.cs \
Interface/IGraphBaseConfiguration.cs \
Interface/IHostGraphConfiguration.cs \
Interface/IPathProvider.cs \
Interface/IPeerGraphConfiguration.cs \
Interface/ITrafficGraphConfiguration.cs \
Log/LogExtensions.cs \
Page/BootstrapAboutPageBuilder.cs \
Page/BootstrapHostPageBuilder.cs \
Page/BootstrapPeerPageBuilder.cs \
Page/BootstrapPeerSummaryPageBuilder.cs \
Page/DefaultHostPageBuilder.cs \
Page/DefaultPeerPageBuilder.cs \
Page/DefaultPeerSummaryPageBuilder.cs \
Page/GraphPageBuilder.cs \
Page/PageBuilderBase.cs \
Render/BootstrapAboutPageRender.cs \
Render/BootstrapMenuRender.cs \
Render/BootstrapPageRender.cs \
Render/Graph/BootstrapGrapPageRender.cs \
Render/Host/BootstrapHostGraphRender.cs \
Render/Host/BootstrapHostPageRender.cs \
Render/Host/BootstrapHostTableRender.cs \
Render/Host/DefaultHostGraphRender.cs \
Render/Host/DefaultHostPageRender.cs \
Render/Host/DefaultHostTableRender.cs \
Render/Host/HostLineRender.cs \
Render/HtmlObjectRender.cs \
Render/HtmlRenderer.cs \
Render/IHtmlExtension.cs \
Render/IHtmlObject.cs \
Render/Peer/BootstrapPeerGraphRender.cs \
Render/Peer/BootstrapPeerInfoRender.cs \
Render/Peer/BootstrapPeerPageRender.cs \
Render/Peer/DefaultPeerGraphRender.cs \
Render/Peer/DefaultPeerInfoRender.cs \
Render/Peer/DefaultPeerPageRender.cs \
Render/Renderer.cs \
Render/Summary/BootstrapSummaryGraphRender.cs \
Render/Summary/BootstrapSummaryPageRender.cs \
Render/Summary/DefaultPeerSummaryGraphRender.cs \
Render/Summary/DefaultPeerSummaryPageRender.cs \
Statistics/DbStatusBuilder.cs \
Statistics/DirectStatusBuilder.cs \
Statistics/StatusBuilder.cs
DATA_FILES =
@ -291,11 +291,16 @@ EXTRAS = \
packages.config
REFERENCES = \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.Import.dll \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Common.dll \
../bin/Ntp.Data.dll \
-pkg:NPlot \
System \
System.Core \
System.Drawing \
System.Runtime.Serialization \
-pkg:NPlot
System.Runtime.Serialization
DLL_REFERENCES =

315
Ntp.Analyzer/Makefile.am Normal file
View File

@ -0,0 +1,315 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Analyzer.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.Import.dll \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Objects.dll.mdb
NTP_ANALYZER_OBJECTS_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Objects.dll.mdb
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Data.dll.mdb
NTP_ANALYZER_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Data.dll.mdb
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB_SOURCE=../bin/Ntp.Analyzer.Import.dll.mdb
NTP_ANALYZER_IMPORT_DLL_MDB=$(BUILD_DIR)/Ntp.Analyzer.Import.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Analyzer.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Analyzer.Objects.dll \
../bin/Ntp.Data.dll \
../bin/Ntp.Analyzer.Data.dll \
../bin/Ntp.Analyzer.Import.dll \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_ANALYZER_DLL_MDB=
NTP_ANALYZER_OBJECTS_DLL_SOURCE=../bin/Ntp.Analyzer.Objects.dll
NTP_ANALYZER_OBJECTS_DLL_MDB=
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
NTP_ANALYZER_DATA_DLL_SOURCE=../bin/Ntp.Analyzer.Data.dll
NTP_ANALYZER_DATA_DLL_MDB=
NTP_DATA_PROVIDER_DLL_SOURCE=../bin/Ntp.Data.Provider.dll
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL_SOURCE=../bin/Ntp.Analyzer.Import.dll
NTP_ANALYZER_IMPORT_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_ANALYZER_DLL_MDB) \
$(NTP_ANALYZER_OBJECTS_DLL) \
$(NTP_ANALYZER_OBJECTS_DLL_MDB) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB) \
$(NTP_ANALYZER_DATA_DLL) \
$(NTP_ANALYZER_DATA_DLL_MDB) \
$(NTP_DATA_PROVIDER_DLL) \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_ANALYZER_IMPORT_DLL) \
$(NTP_ANALYZER_IMPORT_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
Config/Attribute/NtpaIndex.cs \
Config/Node/ClusterConfiguration.cs \
Config/Node/DriftStatConfiguration.cs \
Config/Node/NodeConfiguration.cs \
Graph/HostGraph.cs \
Graph/GraphBase.cs \
Graph/PeerGraph.cs \
Graph/DispersionGraph.cs \
Log/LogExtensions.cs \
Render/Renderer.cs \
Render/HtmlRenderer.cs \
Render/IHtmlObject.cs \
Export/StreamDestination.cs \
Export/FileStreamDestination.cs \
Export/DirectoryStreamDestination.cs \
Export/IStreamGenerator.cs \
Page/DefaultHostPageBuilder.cs \
Page/BootstrapHostPageBuilder.cs \
Render/Host/DefaultHostPageRender.cs \
Render/Host/BootstrapHostPageRender.cs \
Render/Host/BootstrapHostTableRender.cs \
Render/Host/BootstrapHostGraphRender.cs \
Render/Peer/BootstrapPeerPageRender.cs \
Render/Peer/BootstrapPeerInfoRender.cs \
Render/Peer/BootstrapPeerGraphRender.cs \
Page/BootstrapPeerPageBuilder.cs \
Page/BootstrapAboutPageBuilder.cs \
Render/BootstrapAboutPageRender.cs \
Render/Graph/BootstrapGrapPageRender.cs \
Render/BootstrapPageRender.cs \
Render/HtmlObjectRender.cs \
Render/Host/DefaultHostTableRender.cs \
Render/Host/DefaultHostGraphRender.cs \
Render/Peer/DefaultPeerGraphRender.cs \
Render/Peer/DefaultPeerInfoRender.cs \
Render/Peer/DefaultPeerPageRender.cs \
Render/BootstrapMenuRender.cs \
Render/Host/HostLineRender.cs \
Page/DefaultPeerPageBuilder.cs \
Page/PageBuilderBase.cs \
Page/GraphPageBuilder.cs \
Export/WebLink.cs \
Render/IHtmlExtension.cs \
Graph/TrafficGraph.cs \
Interface/IGraphBaseConfiguration.cs \
Interface/IHostGraphConfiguration.cs \
Interface/IPeerGraphConfiguration.cs \
Interface/ITrafficGraphConfiguration.cs \
Export/FtpStreamDestination.cs \
Render/Summary/BootstrapSummaryGraphRender.cs \
Render/Summary/BootstrapSummaryPageRender.cs \
Render/Summary/DefaultPeerSummaryGraphRender.cs \
Render/Summary/DefaultPeerSummaryPageRender.cs \
Page/DefaultPeerSummaryPageBuilder.cs \
Page/BootstrapPeerSummaryPageBuilder.cs \
Export/FileSystemDestination.cs \
Statistics/DbStatusBuilder.cs \
Statistics/DirectStatusBuilder.cs \
Statistics/StatusBuilder.cs \
Config/ConfigBuilder.cs \
Interface/IDispersionGraphConfiguration.cs \
Config/Node/Destination/DestinationCollection.cs \
Config/Node/Destination/DirectoryCollection.cs \
Config/Node/Destination/FileCollection.cs \
Config/Node/Destination/GraphSetConfiguration.cs \
Config/Node/Destination/WebLinkCollection.cs \
Config/Node/Graph/GraphBaseConfiguration.cs \
Config/Node/Graph/HostGraphConfiguration.cs \
Config/Node/Graph/PeerGraphConfiguration.cs \
Config/Node/Graph/TrafficGraphConfiguration.cs \
Config/Node/Navigation/DropdownItemConfiguration.cs \
Config/Node/Navigation/HeaderMenuItemConfiguration.cs \
Config/Node/Navigation/HeadMenuItemConfiguration.cs \
Config/Node/Navigation/ILinkable.cs \
Config/Node/Navigation/LinkMenuItemConfiguration.cs \
Config/Node/Navigation/MenuConfiguration.cs \
Config/Node/Navigation/MenuItemConfiguration.cs \
Config/Node/Navigation/MenuItemType.cs \
Config/Node/Navigation/PageMenuItemConfiguration.cs \
Config/Node/Navigation/SpacerMenuItemConfiguration.cs \
Config/Node/Page/AboutPageConfiguration.cs \
Config/Node/Page/Collection/SummaryCollection.cs \
Config/Node/Page/HostGraphPageConfiguration.cs \
Config/Node/Page/HostPageConfiguration.cs \
Config/Node/Page/PageConfigurationBase.cs \
Config/Node/Page/PageTheme.cs \
Config/Node/Page/PeerGraphPageConfiguration.cs \
Config/Node/Page/PeerPageConfiguration.cs \
Config/Node/Page/PeerSummaryPageConfiguration.cs \
Config/Node/DatabaseConfiguration.cs \
Config/Node/HeartbeatConfiguration.cs \
Config/Node/ListenerConfiguration.cs \
Config/Node/LogConfiguration.cs \
Config/Node/NotifyConfiguration.cs \
Config/Node/PermissionConfiguration.cs \
Config/Node/ReadingBulkConfiguration.cs \
Config/Node/Configuration.cs \
Config/Node/HostConfiguration.cs \
Config/Node/HostSubConfiguration.cs \
Config/Syntax/AboutPageSyntaxNode.cs \
Config/Syntax/DatabaseSyntaxNode.cs \
Config/Syntax/DirDestinationSyntaxNode.cs \
Config/Syntax/FileDestinationSyntaxNode.cs \
Config/Syntax/GraphSetSyntaxNode.cs \
Config/Syntax/HeartbeatSyntaxNode.cs \
Config/Syntax/HostGraphSyntaxNode.cs \
Config/Syntax/HostPageSyntaxNode.cs \
Config/Syntax/HostSyntaxNode.cs \
Config/Syntax/ISyntaxNode.cs \
Config/Syntax/ListenerSyntaxNode.cs \
Config/Syntax/LogSyntaxNode.cs \
Config/Syntax/MenuItemSyntaxNode.cs \
Config/Syntax/MenuSyntaxNode.cs \
Config/Syntax/NotifySyntaxNode.cs \
Config/Syntax/Option/DatabaseProviderNode.cs \
Config/Syntax/Option/HostTypeNode.cs \
Config/Syntax/Option/LogTypeNode.cs \
Config/Syntax/Option/MenuItemTypeNode.cs \
Config/Syntax/Option/PageThemeNode.cs \
Config/Syntax/Option/SeverityNode.cs \
Config/Syntax/Option/TimeStampNode.cs \
Config/Syntax/PeerGraphSyntaxNode.cs \
Config/Syntax/PeerPageSyntaxNode.cs \
Config/Syntax/PermissionSyntaxNode.cs \
Config/Syntax/ReadingSyntaxNode.cs \
Config/Syntax/RootSyntaxNode.cs \
Config/Syntax/Setting/BooleanSettingNode.cs \
Config/Syntax/Setting/IntegerSettingNode.cs \
Config/Syntax/Setting/NumericSettingNode.cs \
Config/Syntax/Setting/SettingNode.cs \
Config/Syntax/Setting/StringSettingNode.cs \
Config/Syntax/Setting/SymbolSettingNode.cs \
Config/Syntax/StatSyntaxNode.cs \
Config/Syntax/SummariesSyntaxNode.cs \
Config/Syntax/SyntaxNode.cs \
Config/Syntax/TrafficGraphSyntaxNode.cs \
Config/Syntax/WebLinkSyntaxNode.cs \
Config/Attribute/NtpaReference.cs \
Config/Attribute/NtpaReferenceCollection.cs \
Config/Attribute/NtpaSetting.cs \
Config/Attribute/NtpaSettingsCollection.cs \
Config/Table/SymbolTable.cs \
Config/Table/Symbol.cs \
Config/Table/Keyword.cs \
Config/Table/IntegerToken.cs \
Config/Table/KeywordToken.cs \
Config/Table/LitteralToken.cs \
Config/Table/NumericToken.cs \
Config/Table/QuotedIdentToken.cs \
Config/Table/SymbolToken.cs \
Config/Table/Token.cs \
Config/Table/TokenType.cs \
Config/Node/ConfigurationNode.cs \
Config/Syntax/HostGraphPageSyntaxNode.cs \
Config/Syntax/PeerGraphPageSyntaxNode.cs \
Config/Syntax/PeerSummaryPageSyntaxNode.cs \
Interface/IConfigurationNode.cs \
Config/Attribute/Layout.cs \
Config/Node/StatsConfiguration.cs \
Config/Compiler/ConfigCompiler.cs \
Config/Compiler/ConfigFileReader.cs \
Config/Compiler/Tokenizer.cs \
Config/Compiler/ConfigParser.cs \
Config/Compiler/Decompiler.cs \
Config/Compiler/SchematicValidator.cs \
Config/Compiler/SymbolResolver.cs \
Config/Compiler/ICompilerStage.cs \
Config/Node/Page/GraphPageConfiguration.cs \
Interface/IPathProvider.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
packages.config
REFERENCES = \
System \
System.Core \
System.Drawing \
System.Runtime.Serialization \
$(NPLOT_LIBS)
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_ANALYZER_OBJECTS_DLL = $(BUILD_DIR)/Ntp.Analyzer.Objects.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
NTP_ANALYZER_DATA_DLL = $(BUILD_DIR)/Ntp.Analyzer.Data.dll
NTP_DATA_PROVIDER_DLL = $(BUILD_DIR)/Ntp.Data.Provider.dll
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_ANALYZER_IMPORT_DLL = $(BUILD_DIR)/Ntp.Analyzer.Import.dll
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Common.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -23,7 +23,7 @@ NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Common.dll
ASSEMBLY_MDB =
@ -45,9 +45,14 @@ PROGRAMFILES = \
RESGEN=resgen2
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
App/Heartbeat.cs \
App/IApplicationController.cs \
IO/DirectoryCommand.cs \
IO/Options.cs \
IO/Permission.cs \
IO/ShellCommand.cs \
Log/ActivityLog.cs \
Log/ConsoleLog.cs \
Log/EventLog.cs \
@ -72,13 +77,8 @@ FILES = \
Process/Scheduler.cs \
Process/ThreadType.cs \
System/InterProcess.cs \
IO/Options.cs \
IO/Permission.cs \
System/ProcessInfo.cs \
IO/ShellCommand.cs \
System/SignalHandler.cs \
App/IApplicationController.cs \
App/Heartbeat.cs \
Web/PageText.cs \
Web/UriExtensions.cs
@ -90,8 +90,8 @@ EXTRAS = \
packages.config
REFERENCES = \
System \
Mono.Posix \
System \
System.Core
DLL_REFERENCES =

110
Ntp.Common/Makefile.am Normal file
View File

@ -0,0 +1,110 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Common.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES =
BUILD_DIR = ../bin
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Common.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES =
BUILD_DIR = ../bin
NTP_COMMON_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_COMMON_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
IO/DirectoryCommand.cs \
Log/ActivityLog.cs \
Log/ConsoleLog.cs \
Log/EventLog.cs \
Log/FileLog.cs \
Log/ILogConfiguration.cs \
Log/LogBase.cs \
Log/LogExtensions.cs \
Log/LogFactory.cs \
Log/LogGroup.cs \
Log/LogType.cs \
Log/Severity.cs \
Log/SysLog.cs \
Log/TextLog.cs \
Process/Cluster.cs \
Process/IJobConfiguration.cs \
Process/IRequest.cs \
Process/IScheduler.cs \
Process/Job.cs \
Process/JobDescription.cs \
Process/JobScheduleDescription.cs \
Process/ScheduledJob.cs \
Process/Scheduler.cs \
Process/ThreadType.cs \
System/InterProcess.cs \
IO/Options.cs \
IO/Permission.cs \
System/ProcessInfo.cs \
IO/ShellCommand.cs \
System/SignalHandler.cs \
App/IApplicationController.cs \
App/Heartbeat.cs \
Web/PageText.cs \
Web/UriExtensions.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
packages.config
REFERENCES = \
System \
Mono.Posix \
System.Core
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug -define:DEBUG
ASSEMBLY = ../bin/Ntp.Data.Provider.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -32,7 +32,7 @@ NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+
ASSEMBLY = ../bin/Ntp.Data.Provider.dll
ASSEMBLY_MDB =
@ -71,11 +71,11 @@ NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
FILES = \
FILES = \
../Shared/AssemblyInfo.cs \
MySqlFactory.cs \
SqlDatabaseFactory.cs \
PostgreSqlFactory.cs
PostgreSqlFactory.cs \
SqlDatabaseFactory.cs
DATA_FILES =

View File

@ -0,0 +1,108 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug -define:DEBUG
ASSEMBLY = ../bin/Ntp.Data.Provider.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Data.dll
BUILD_DIR = ../bin
NTP_DATA_PROVIDER_DLL_MDB_SOURCE=../bin/Ntp.Data.Provider.dll.mdb
NTP_DATA_PROVIDER_DLL_MDB=$(BUILD_DIR)/Ntp.Data.Provider.dll.mdb
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+
ASSEMBLY = ../bin/Ntp.Data.Provider.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Data.dll
BUILD_DIR = ../bin
NTP_DATA_PROVIDER_DLL_MDB=
MYSQL_DATA_DLL_SOURCE=../packages/MySql.Data.6.9.9/lib/net45/MySql.Data.dll
NPGSQL_DLL_SOURCE=../packages/Npgsql.3.1.9/lib/net451/Npgsql.dll
NTP_DATA_DLL_SOURCE=../bin/Ntp.Data.dll
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_DATA_PROVIDER_DLL_MDB) \
$(MYSQL_DATA_DLL) \
$(NPGSQL_DLL) \
$(NTP_DATA_DLL) \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
MySqlFactory.cs \
SqlDatabaseFactory.cs \
PostgreSqlFactory.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
packages.config
REFERENCES = \
System \
System.Data
DLL_REFERENCES = \
$(MYSQL_DATA_DLL_SOURCE) \
$(NPGSQL_DLL_SOURCE)
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
MYSQL_DATA_DLL = $(BUILD_DIR)/MySql.Data.dll
NPGSQL_DLL = $(BUILD_DIR)/Npgsql.dll
NTP_DATA_DLL = $(BUILD_DIR)/Ntp.Data.dll
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
$(eval $(call emit-deploy-target,MYSQL_DATA_DLL))
$(eval $(call emit-deploy-target,NPGSQL_DLL))
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

View File

@ -9,7 +9,7 @@ top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),DEBUG)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Data.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
@ -27,7 +27,7 @@ NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
ifeq ($(CONFIG),RELEASE)
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Data.dll
ASSEMBLY_MDB =

97
Ntp.Data/Makefile.am Normal file
View File

@ -0,0 +1,97 @@
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:TRACE;DEBUG"
ASSEMBLY = ../bin/Ntp.Data.dll
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_DATA_DLL_MDB_SOURCE=../bin/Ntp.Data.dll.mdb
NTP_DATA_DLL_MDB=$(BUILD_DIR)/Ntp.Data.dll.mdb
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB_SOURCE=../bin/Ntp.Common.dll.mdb
NTP_COMMON_DLL_MDB=$(BUILD_DIR)/Ntp.Common.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = mcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = ../bin/Ntp.Data.dll
ASSEMBLY_MDB =
COMPILE_TARGET = library
PROJECT_REFERENCES = \
../bin/Ntp.Common.dll
BUILD_DIR = ../bin
NTP_DATA_DLL_MDB=
NTP_COMMON_DLL_SOURCE=../bin/Ntp.Common.dll
NTP_COMMON_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(NTP_DATA_DLL_MDB) \
$(NTP_COMMON_DLL) \
$(NTP_COMMON_DLL_MDB)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES)
FILES = \
../Shared/AssemblyInfo.cs \
DataMapper.cs \
FileDataMapper.cs \
ITableInitializer.cs \
Log/LogExtensions.cs \
SqlDatabaseProvider.cs \
Schema/DatabaseUpdater.cs \
Schema/SqlChangeSet.cs \
Schema/IVersionChanges.cs \
ISqlFactory.cs \
Schema/VersionController.cs \
SqlDatabaseChecker.cs \
IDatabaseConfiguration.cs
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = \
System \
System.Data \
System.Core
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NTP_COMMON_DLL = $(BUILD_DIR)/Ntp.Common.dll
$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
xamlg '$<'
$(ASSEMBLY_MDB): $(ASSEMBLY)
$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
mkdir -p $(shell dirname $(ASSEMBLY))
$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)

83
autogen.sh Executable file
View File

@ -0,0 +1,83 @@
#! /bin/sh
PROJECT=Ntp.Analyzer
FILE=
CONFIGURE=configure.ac
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
: ${AUTOMAKE=automake}
: ${LIBTOOLIZE=libtoolize}
: ${ACLOCAL=aclocal}
: ${LIBTOOL=libtool}
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
TEST_TYPE=-f
aclocalinclude="-I . $ACLOCAL_FLAGS"
DIE=0
($AUTOCONF --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $PROJECT."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
($AUTOMAKE --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have automake installed to compile $PROJECT."
echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile $PROJECT."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
if test "$DIE" -eq 1; then
exit 1
fi
#test $TEST_TYPE $FILE || {
# echo "You must run this script in the top-level $PROJECT directory"
# exit 1
#}
if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
fi
case $CC in
*xlc | *xlc\ * | *lcc | *lcc\ *) am_opt=--include-deps;;
esac
(grep "^AM_PROG_LIBTOOL" $CONFIGURE >/dev/null) && {
echo "Running $LIBTOOLIZE ..."
$LIBTOOLIZE --force --copy
}
echo "Running $ACLOCAL $aclocalinclude ..."
$ACLOCAL $aclocalinclude
echo "Running $AUTOMAKE --gnu $am_opt ..."
$AUTOMAKE --add-missing --gnu $am_opt
echo "Running $AUTOCONF ..."
$AUTOCONF
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure --enable-maintainer-mode $conf_flags "$@" \

View File

@ -5,5 +5,5 @@ datadir=/usr/local/share
RUNTIME=mono
ASSEMBLY_VERSION=0.7.5.0.0
VERSION=0.7.5
PACKAGE=ntp.analyzer
PACKAGE=ntpa
CONFIG=RELEASE

2
configure vendored
View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERSION=0.7.5
PACKAGE=ntp.analyzer
PACKAGE=ntpa
prefix=/usr/local
config=RELEASE
configurations=" DEBUG RELEASE"

77
configure.ac Normal file
View File

@ -0,0 +1,77 @@
dnl Warning: This is an automatically generated file, do not edit!
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.54])
AC_INIT([ntpa], [0.7.5])
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
dnl pkg-config
AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test "x$PKG_CONFIG" = "xno"; then
AC_MSG_ERROR([You need to install pkg-config])
fi
SHAMROCK_EXPAND_LIBDIR
SHAMROCK_EXPAND_BINDIR
SHAMROCK_EXPAND_DATADIR
AC_PROG_INSTALL
AC_PATH_PROG(mcs, mcs, no)
if test "x$mcs" = "xno"; then
AC_MSG_ERROR([mcs Not found])
fi
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[Use 'DEBUG' Configuration [default=NO]]),
enable_debug=yes, enable_debug=no)
AM_CONDITIONAL(ENABLE_DEBUG, test x$enable_debug = xyes)
if test "x$enable_debug" = "xyes" ; then
CONFIG_REQUESTED="yes"
fi
AC_ARG_ENABLE(release,
AC_HELP_STRING([--enable-release],
[Use 'RELEASE' Configuration [default=YES]]),
enable_release=yes, enable_release=no)
AM_CONDITIONAL(ENABLE_RELEASE, test x$enable_release = xyes)
if test "x$enable_release" = "xyes" ; then
CONFIG_REQUESTED="yes"
fi
if test -z "$CONFIG_REQUESTED" ; then
AM_CONDITIONAL(ENABLE_RELEASE, true)
enable_release=yes
fi
dnl package checks, common for all configs
PKG_CHECK_MODULES([NPLOT], [NPlot])
dnl package checks, per config
AC_CONFIG_FILES([
Ntp.Analyzer.Objects/Makefile
Ntp.Common/Makefile
Ntp.Analyzer.Monitor.Client/Makefile
Ntp.Data/Makefile
Ntp.Data.Provider/Makefile
Ntp.Analyzer.Monitor.Cli/ntpac
Ntp.Analyzer.Monitor.Cli/Makefile
Ntp.Analyzer.Data/Makefile
Ntp.Analyzer.Import/Makefile
Ntp.Analyzer/Makefile
Ntp.Analyzer.Validate.Cli/ntpav
Ntp.Analyzer.Validate.Cli/Makefile
Ntp.Analyzer.Validate.Gui/ntpag
Ntp.Analyzer.Validate.Gui/Makefile
Ntp.Analyzer.Monitor.Server/Makefile
Ntp.Analyzer.Process/Makefile
Ntp.Analyzer.Cli/ntpa
Ntp.Analyzer.Cli/Makefile
Makefile
])
AC_OUTPUT

View File

@ -1,50 +0,0 @@
EXTRA_DIST = Makefile
all: all-recursive
top_srcdir=..
include $(top_srcdir)/config.make
include $(top_srcdir)/Makefile.include
include $(top_srcdir)/rules.make
#include $(top_srcdir)/custom-hooks.make
#Warning: This is an automatically generated file, do not edit!
ifeq ($(CONFIG),DEBUG)
SUBDIRS =
endif
ifeq ($(CONFIG),RELEASE)
SUBDIRS =
endif
CONFIG_MAKE=$(top_srcdir)/config.make
%-recursive: $(CONFIG_MAKE)
@set . $$MAKEFLAGS; final_exit=:; \
case $$2 in --unix) shift ;; esac; \
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
make pre-$*-hook prefix=$(prefix) ; \
for dir in $(call quote_each,$(SUBDIRS)); do \
case "$$dir" in \
.) make $*-local || { final_exit="exit 1"; $$dk; };;\
*) (cd "$$dir" && make $*) || { final_exit="exit 1"; $$dk; };;\
esac \
done; \
make post-$*-hook prefix=$(prefix) ; \
$$final_exit
$(CONFIG_MAKE):
echo "You must run configure first"
exit 1
clean: clean-recursive
install: install-recursive
uninstall: uninstall-recursive
install: install-local
uninstall: uninstall-local
clean: clean-local
dist-local: dist-local-recursive

50
expansions.m4 Normal file
View File

@ -0,0 +1,50 @@
AC_DEFUN([SHAMROCK_EXPAND_LIBDIR],
[
expanded_libdir=`(
case $prefix in
NONE) prefix=$ac_default_prefix ;;
*) ;;
esac
case $exec_prefix in
NONE) exec_prefix=$prefix ;;
*) ;;
esac
eval echo $libdir
)`
AC_SUBST(expanded_libdir)
])
AC_DEFUN([SHAMROCK_EXPAND_BINDIR],
[
expanded_bindir=`(
case $prefix in
NONE) prefix=$ac_default_prefix ;;
*) ;;
esac
case $exec_prefix in
NONE) exec_prefix=$prefix ;;
*) ;;
esac
eval echo $bindir
)`
AC_SUBST(expanded_bindir)
])
AC_DEFUN([SHAMROCK_EXPAND_DATADIR],
[
case $prefix in
NONE) prefix=$ac_default_prefix ;;
*) ;;
esac
case $exec_prefix in
NONE) exec_prefix=$prefix ;;
*) ;;
esac
expanded_datadir=`(eval echo $datadir)`
expanded_datadir=`(eval echo $expanded_datadir)`
AC_SUBST(expanded_datadir)
])