Added Symbolicate tool.
[mono.git] / mcs / nunit24 / ClientUtilities / util / Makefile
1 thisdir = nunit24/ClientUtilities/util
2 SUBDIRS = 
3 include ../../../build/rules.make
4
5 LIBRARY = nunit.util.dll
6 LIBRARY_SNK = $(topdir)/nunit24/nunit.snk
7
8 LOCAL_MCS_FLAGS= \
9         /resource:Transform.resources,NUnit.Util.Transform.resources \
10         -r:nunit.core.dll -r:nunit.core.interfaces.dll -r:System.dll \
11         -r:System.Xml.dll -r:System.Runtime.Remoting.dll \
12         /d:MONO /d:StronglyNamedAssembly -warn:1
13 NO_TEST = yo
14
15 RESX_RES = Transform.resources
16
17 EXTRA_DISTFILES = \
18         nunit.util.dll.csproj   \
19         nunit.util.dll_VS2005.csproj    \
20         $(RESX_RES:.resources=.resx)
21
22 CLEAN_FILES = $(RESX_RES)
23
24 ifneq (net_2_0, $(PROFILE))
25 NO_INSTALL = yes
26 install-local: install-symlink
27 uninstall-local: uninstall-symlink
28 endif
29
30 include ../../../build/library.make
31
32 $(the_lib): $(RESX_RES)
33
34 $(RESX_RES): %.resources: %.resx
35         $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`
36
37 symlinkdir = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
38 install-symlink:
39         $(MKINSTALLDIRS) $(DESTDIR)$(symlinkdir)
40         cd $(DESTDIR)$(symlinkdir) && rm -f $(LIBRARY_NAME) && ln -s ../2.0/$(LIBRARY_NAME) $(LIBRARY_NAME)
41
42 uninstall-symlink:
43         rm -f $(DESTDIR)$(symlinkdir)/$(LIBRARY_NAME)