retag
[mcs.git] / nunit24 / ClientUtilities / util / Makefile
blob08aebcda379381391d6c316786df6177f65acc00
1 thisdir = nunit24/ClientUtilities/util
2 SUBDIRS =
3 include ../../../build/rules.make
5 LIBRARY = nunit.util.dll
6 LIBRARY_SNK = $(topdir)/nunit24/nunit.snk
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
13 NO_TEST = yo
15 RESX_RES = Transform.resources
17 EXTRA_DISTFILES = \
18 nunit.util.dll.csproj \
19 nunit.util.dll_VS2005.csproj \
20 $(RESX_RES:.resources=.resx)
22 CLEAN_FILES = $(RESX_RES)
24 ifeq (net_2_0, $(PROFILE))
25 NO_INSTALL = yes
26 install-local: install-symlink
27 uninstall-local: uninstall-symlink
28 endif
30 include ../../../build/library.make
32 $(the_lib): $(RESX_RES)
34 $(RESX_RES): %.resources: %.resx
35 $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`
37 symlinkdir = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
38 install-symlink:
39 $(MKINSTALLDIRS) $(DESTDIR)$(symlinkdir)
40 cd $(DESTDIR)$(symlinkdir) && rm -f $(LIBRARY_NAME) && ln -s ../1.0/$(LIBRARY_NAME) $(LIBRARY_NAME)
42 uninstall-symlink:
43 rm -f $(DESTDIR)$(symlinkdir)/$(LIBRARY_NAME)