Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

37 lines
797 B
Makefile

thisdir = tools/mono-service
SUBDIRS =
include ../../build/rules.make
PROGRAM = mono-service.exe
include ../../build/executable.make
LOCAL_MCS_FLAGS = -r:System.ServiceProcess.dll -r:Mono.Posix.dll -unsafe
# Copied from library.make
# -- begin --
ifeq ($(PLATFORM), win32)
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)