1
0
mirror of https://bitbucket.org/anguist/ntpa synced 2025-10-06 11:04:40 +00:00
Files
ntpa/Ntp.Analyzer.Objects/Makefile
Carsten Larsen 4c86ed319b Autotools cleanup
2016-12-12 20:22:49 +01:00

124 lines
3.1 KiB
Makefile

EXTRA_DIST = Makefile
# Warning: This is an automatically generated file, do not edit!
srcdir=.
top_srcdir=..
include $(top_srcdir)/config.make
ifeq ($(CONFIG),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
ifeq ($(CONFIG),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
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
DATA_FILES =
RESOURCES =
EXTRAS =
REFERENCES = System
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES)
#Targets
all: $(ASSEMBLY) $(PROGRAMFILES) $(top_srcdir)/config.make
include $(top_srcdir)/Makefile.include
#include $(srcdir)/custom-hooks.make
$(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)
make pre-all-local-hook prefix=$(prefix)
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)
make post-all-local-hook prefix=$(prefix)
install-local: $(ASSEMBLY) $(ASSEMBLY_MDB)
make pre-install-local-hook prefix=$(prefix)
make install-satellite-assemblies prefix=$(prefix)
mkdir -p '$(DESTDIR)$(libdir)/$(PACKAGE)'
$(call cp,$(ASSEMBLY),$(DESTDIR)$(libdir)/$(PACKAGE))
$(call cp,$(ASSEMBLY_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
$(call cp,$(NTP_ANALYZER_OBJECTS_DLL_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
make post-install-local-hook prefix=$(prefix)
uninstall-local: $(ASSEMBLY) $(ASSEMBLY_MDB)
make pre-uninstall-local-hook prefix=$(prefix)
make uninstall-satellite-assemblies prefix=$(prefix)
$(call rm,$(ASSEMBLY),$(DESTDIR)$(libdir)/$(PACKAGE))
$(call rm,$(ASSEMBLY_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
$(call rm,$(NTP_ANALYZER_OBJECTS_DLL_MDB),$(DESTDIR)$(libdir)/$(PACKAGE))
make post-uninstall-local-hook prefix=$(prefix)
install: install-local
uninstall: uninstall-local
clean: clean-local
include $(top_srcdir)/rules.make