ntpa/Ntp.Analyzer.Objects/Makefile.am

92 lines
2.2 KiB
Makefile

EXTRA_DIST =
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
NEWTONSOFT_DLL_SOURCE=../packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll
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=
NEWTONSOFT_DLL_SOURCE=../packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll
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 \
CalgaryTimeServer.cs \
DriftReading.cs \
ExactlySuccess.cs \
ExactlyTimeServer.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 = $(NEWTONSOFT_DLL)
CLEANFILES = $(PROGRAMFILES)
include $(top_srcdir)/Makefile.include
NEWTONSOFT_DLL = $(BUILD_DIR)/Newtonsoft.Json.dll
$(eval $(call emit-deploy-target,NEWTONSOFT_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)