-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Makefile
43 lines (32 loc) · 1.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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)