2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / nunit20 / util / Makefile
index 6aa91351510c463d7638f9202705d640eb183942..ef42bfd3527b56735f12737c24b0a876328d0be2 100644 (file)
@@ -4,15 +4,29 @@ include ../../build/rules.make
 
 LIBRARY = NUnit.Util.dll
 LIBRARY_NAME = nunit.util.dll
+LIBRARY_SNK = $(topdir)/nunit.key
+
 LOCAL_MCS_FLAGS= \
        /resource:Transform.resources,NUnit.Util.Transform.resources \
        -r:nunit.framework.dll -r:nunit.core.dll -r:System.dll \
-       -r:System.Xml.dll /d:MONO /d:StronglyNamedAssembly
+       -r:System.Xml.dll /d:MONO /d:StronglyNamedAssembly -debug
 NO_TEST = yo
 
+RESX_RES = Transform.resources
+
 EXTRA_DISTFILES = \
        nunit.util.dll.csproj   \
-       Transform.resources     \
-       Transform.resx          \
+       $(RESX_RES:.resources=.resx)
+
+CLEAN_FILES = $(RESX_RES)
 
 include ../../build/library.make
+
+$(the_lib): $(RESX_RES)
+
+$(RESX_RES): %.resources: %.resx
+       $(RESGEN) `echo $< | $(PLATFORM_CHANGE_SEPARATOR_CMD)`
+
+ifeq (net_2_0, $(PROFILE))
+NO_INSTALL = yes
+endif