ntpa/Ntp.Common/Makefile.am

104 lines
2.3 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.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)