1 thisdir = tools/mono-service
3 include ../../build/rules.make
5 PROGRAM = mono-service.exe
7 include ../../build/executable.make
9 LOCAL_MCS_FLAGS = -r:System.ServiceProcess.dll -r:Mono.Posix.dll -r:System.dll -unsafe
11 # Copied from library.make
14 ifeq ($(PLATFORM), win32)
15 GACDIR = `cygpath -w $(mono_libdir)`
16 GACROOT = `cygpath -w $(DESTDIR)$(mono_libdir)`
17 test_flags += -d:WINDOWS
19 GACDIR = $(mono_libdir)
20 GACROOT = $(DESTDIR)$(mono_libdir)
23 ifndef RUNTIME_HAS_CONSISTENT_GACDIR
24 gacdir_flag = /gacdir $(GACDIR)
29 install-local: install-extras
30 uninstall-local: uninstall-extras
32 install-extras: $(gacutil)
33 $(GACUTIL) /i $(the_lib) /f $(gacdir_flag) /root $(GACROOT)
35 uninstall-extras: $(gacutil)
36 -$(GACUTIL) /u $(the_lib:.exe=) $(gacdir_flag) /root $(GACROOT)