2014-08-13 10:39:27 +01:00
|
|
|
thisdir = tools/mono-service
|
|
|
|
SUBDIRS =
|
|
|
|
include ../../build/rules.make
|
|
|
|
|
|
|
|
PROGRAM = mono-service.exe
|
|
|
|
|
2016-08-03 10:59:49 +00:00
|
|
|
PROGRAM_SNK = ../../class/mono.snk
|
|
|
|
|
2017-04-10 11:41:01 +00:00
|
|
|
LOCAL_MCS_FLAGS = -unsafe -publicsign -keyfile:../../class/mono.snk
|
2016-08-03 10:59:49 +00:00
|
|
|
LIB_REFS = System.ServiceProcess Mono.Posix System
|
2014-08-13 10:39:27 +01:00
|
|
|
|
2018-05-10 08:37:03 +00:00
|
|
|
include ../../build/executable.make
|
|
|
|
|
2014-08-13 10:39:27 +01:00
|
|
|
# Copied from library.make
|
|
|
|
|
|
|
|
# -- begin --
|
2017-08-21 15:34:15 +00:00
|
|
|
ifeq ($(BUILD_PLATFORM), win32)
|
2014-08-13 10:39:27 +01:00
|
|
|
GACDIR = `cygpath -w $(mono_libdir)`
|
|
|
|
GACROOT = `cygpath -w $(DESTDIR)$(mono_libdir)`
|
|
|
|
test_flags += -d:WINDOWS
|
|
|
|
else
|
|
|
|
GACDIR = $(mono_libdir)
|
|
|
|
GACROOT = $(DESTDIR)$(mono_libdir)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef RUNTIME_HAS_CONSISTENT_GACDIR
|
|
|
|
gacdir_flag = /gacdir $(GACDIR)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# -- end --
|
|
|
|
|
|
|
|
install-local: install-extras
|
|
|
|
uninstall-local: uninstall-extras
|
|
|
|
|
|
|
|
install-extras: $(gacutil)
|
|
|
|
$(GACUTIL) /i $(the_lib) /f $(gacdir_flag) /root $(GACROOT)
|
|
|
|
|
|
|
|
uninstall-extras: $(gacutil)
|
|
|
|
-$(GACUTIL) /u $(the_lib:.exe=) $(gacdir_flag) /root $(GACROOT)
|