Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

44 lines
1.1 KiB
Makefile

thisdir = nunit24/ClientUtilities/util
SUBDIRS =
include ../../../build/rules.make
LIBRARY = nunit.util.dll
LIBRARY_SNK = $(topdir)/nunit24/nunit.snk
LOCAL_MCS_FLAGS= \
/resource:Transform.resources,NUnit.Util.Transform.resources \
-r:nunit.core.dll -r:nunit.core.interfaces.dll -r:System.dll \
-r:System.Xml.dll -r:System.Runtime.Remoting.dll \
/d:MONO /d:StronglyNamedAssembly -warn:1
NO_TEST = yo
RESX_RES = Transform.resources
EXTRA_DISTFILES = \
nunit.util.dll.csproj \
nunit.util.dll_VS2005.csproj \
$(RESX_RES:.resources=.resx)
CLEAN_FILES = $(RESX_RES)
ifneq (net_2_0, $(PROFILE))
NO_INSTALL = yes
install-local: install-symlink
uninstall-local: uninstall-symlink
endif
include ../../../build/library.make
$(the_lib): $(RESX_RES)
$(RESX_RES): %.resources: %.resx
$(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`
symlinkdir = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
install-symlink:
$(MKINSTALLDIRS) $(DESTDIR)$(symlinkdir)
cd $(DESTDIR)$(symlinkdir) && rm -f $(LIBRARY_NAME) && ln -s ../2.0/$(LIBRARY_NAME) $(LIBRARY_NAME)
uninstall-symlink:
rm -f $(DESTDIR)$(symlinkdir)/$(LIBRARY_NAME)