1 thisdir = tools/mono-service
3 include ../../build/rules.make
5 PROGRAM = mono-service.exe
7 PROGRAM_SNK = ../../class/mono.snk
9 include ../../build/executable.make
11 LOCAL_MCS_FLAGS = -unsafe -publicsign -keyfile:../../class/mono.snk
12 LIB_REFS = System.ServiceProcess Mono.Posix System
14 # Copied from library.make
17 ifeq ($(PLATFORM), win32)
18 GACDIR = `cygpath -w $(mono_libdir)`
19 GACROOT = `cygpath -w $(DESTDIR)$(mono_libdir)`
20 test_flags += -d:WINDOWS
22 GACDIR = $(mono_libdir)
23 GACROOT = $(DESTDIR)$(mono_libdir)
26 ifndef RUNTIME_HAS_CONSISTENT_GACDIR
27 gacdir_flag = /gacdir $(GACDIR)
32 install-local: install-extras
33 uninstall-local: uninstall-extras
35 install-extras: $(gacutil)
36 $(GACUTIL) /i $(the_lib) /f $(gacdir_flag) /root $(GACROOT)
38 uninstall-extras: $(gacutil)
39 -$(GACUTIL) /u $(the_lib:.exe=) $(gacdir_flag) /root $(GACROOT)