Nunit build fixes for the 1.0-less world
[mono.git] / mcs / nunit24 / ConsoleRunner / nunit-console / Makefile
1 thisdir = nunit24/ConsoleRunner/nunit-console
2 SUBDIRS = 
3 include ../../../build/rules.make
4
5 LIBRARY = nunit-console-runner.dll
6 LIBRARY_SNK = $(topdir)/nunit24/nunit.snk
7
8 LOCAL_MCS_FLAGS= \
9         -r:nunit.core.dll -r:nunit.core.interfaces.dll -r:nunit.util.dll \
10         -r:System.dll -r:System.Xml.dll \
11         /d:MONO /d:StronglyNamedAssembly
12 NO_TEST = yo
13
14 EXTRA_DISTFILES = nunit-console.csproj nunit-console_VS2005.csproj
15
16 ifneq (net_2_0, $(PROFILE))
17 NO_INSTALL = yes
18 install-local: install-symlink
19 uninstall-local: uninstall-symlink
20 endif
21
22 include ../../../build/library.make
23
24 symlinkdir = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
25 install-symlink:
26         $(MKINSTALLDIRS) $(DESTDIR)$(symlinkdir)
27         cd $(DESTDIR)$(symlinkdir) && rm -f $(LIBRARY_NAME) && ln -s ../2.0/$(LIBRARY_NAME) $(LIBRARY_NAME)
28
29 uninstall-symlink:
30         rm -f $(DESTDIR)$(symlinkdir)/$(LIBRARY_NAME)