X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FMakefile;h=21508dad37b8d717380c21dbe722f20d35478430;hb=ce166860ea51867004930efea92cb7c86178900f;hp=ece23d446e686ca0cc9b4a979288a03d7e7bd8cc;hpb=226af94a2345f88d3170823646e1c25a276ba281;p=mono.git diff --git a/mcs/class/System.Web/Makefile b/mcs/class/System.Web/Makefile index ece23d446e6..21508dad37b 100644 --- a/mcs/class/System.Web/Makefile +++ b/mcs/class/System.Web/Makefile @@ -225,39 +225,41 @@ TEST_RESOURCE_FILES = \ Test/mainsoft/NunitWebResources/BoundField_Bug646505.aspx.cs \ Test/mainsoft/NunitWebResources/HtmlTitleCodeRender_Bug662918.aspx -RESX_DIST = resources/TranslationResources.resx -RESX_RES = $(RESX_DIST:.resx=.resources) +RESOURCE_DEFS = \ + TranslationResources,resources/TranslationResources.resx NUNIT_RESOURCE_FILES = $(TEST_RESOURCE_FILES) NUNIT_APP_CODE_FILES = $(TEST_APP_CODE_FILES) NUNIT_APP_GLOBALRESOURCES_FILES = $(TEST_APP_GLOBALRESOURCES_FILES) OTHER_RES += $(RESOURCE_FILES_2) -OTHER_LIB_MCS_FLAGS = -d:INSIDE_SYSTEM_WEB -nowarn:618 -r:System.Configuration.dll -r:Mono.Data.Sqlite.dll +OTHER_LIB_MCS_FLAGS = -d:INSIDE_SYSTEM_WEB -nowarn:436,618 ifeq (4, $(FRAMEWORK_VERSION_MAJOR)) -OTHER_LIB_MCS_FLAGS += -r:System.Web.ApplicationServices.dll OTHER_RES += $(RESOURCE_FILES_4) endif -LIB_REFS = System System.Core System.Drawing System.Data System.Xml System.EnterpriseServices System.Runtime.Serialization.Formatters.Soap System.ComponentModel.DataAnnotations +TXT_RESOURCE_STRINGS = ../referencesource/System.Web/System.Web.txt + +LIB_REFS = System System.Core System.Drawing System.Data System.Xml System.EnterpriseServices System.Runtime.Serialization.Formatters.Soap \ + System.ComponentModel.DataAnnotations System.Web.ApplicationServices System.Configuration Mono.Data.Sqlite LIB_MCS_FLAGS = \ -unsafe \ -nowarn:612,618 \ - -r:$(corlib) \ $(OTHER_LIB_MCS_FLAGS) \ $(RESX_RES:%=/resource:%) \ $(OTHER_RES:%=/resource:%) ifneq (plainweb/,$(intermediate)) -LIB_REFS += System.Web.Services System.Design -LIB_MCS_FLAGS += -define:WEBSERVICES_DEP -lib:$(the_libdir_base)plaindesign +LIB_REFS += System.Web.Services plaindesign/System.Design +LIB_MCS_FLAGS += -define:WEBSERVICES_DEP -all-local: System.Web/UplevelHelper.cs resources/TranslationResources.resources +all-local: System.Web/UplevelHelper.cs endif -TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -doc:$(test_lib:.dll=.xml) -nowarn:219,169,1591 -r:SystemWebTestShim.dll \ +TEST_LIB_REFS = SystemWebTestShim +TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -doc:$(test_lib:.dll=.xml) -nowarn:219,169,1591 \ $(NUNIT_RESOURCE_FILES:%=/resource:%) \ $(foreach file,$(NUNIT_APP_CODE_FILES),$(shell echo $(file) | sed -e 's;\(.*\)/\(.*\);/resource:\1/\2,App_Code/\2 ;g')) \ $(foreach file,$(NUNIT_APP_GLOBALRESOURCES_FILES),$(shell echo $(file) | sed -e 's;\(.*\)/\(.*\);/resource:\1/\2,App_GlobalResources/\2 ;g')) @@ -270,7 +272,6 @@ EXTRA_DISTFILES = \ $(TEST_APP_CODE_FILES) \ $(TEST_APP_GLOBALRESOURCES_FILES) \ UplevelHelperDefinitions.xml \ - $(RESX_DIST) \ SQLiteProviders_DatabaseSchema.sql \ $(shell find Test/standalone-runner-support/ -name "*.cs" -type f -printf "'%p' ") \ $(shell find Test/standalone-tests/ -name "*.cs" -type f -printf "'%p' " -o -name "*.cs.in" -type f -printf "'%p' ") \ @@ -320,11 +321,11 @@ endif CLASSLIB_DIR = $(topdir)/class/lib/$(PROFILE) -STANDALONE_RUNNER_SUPPORT_MCS_FLAGS = $(LIB_MCS_FLAGS) $(PROFILE_MCS_FLAGS) -d:STANDALONE_TEST -debug:full -r:System.Web.dll -r:nunit.framework.dll +STANDALONE_RUNNER_SUPPORT_MCS_FLAGS = $(LIB_MCS_FLAGS) $(PROFILE_MCS_FLAGS) -d:STANDALONE_TEST -r:$(topdir)/class/lib/$(PROFILE)/System.Web.dll -r:$(topdir)/class/lib/$(PROFILE)/nunit.framework.dll STANDALONE_RUNNER_SUPPORT_ASSEMBLY = $(CLASSLIB_DIR)/standalone-runner-support.dll STANDALONE_RUNNER_SUPPORT_MAKEFRAG = $(depsdir)/$(PROFILE)_standalone-runner-support.dll.makefrag -STANDALONE_TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(PROFILE_MCS_FLAGS) -debug:full -r:$(STANDALONE_RUNNER_SUPPORT_ASSEMBLY) -r:System.Web.dll -r:nunit.framework.dll +STANDALONE_TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(PROFILE_MCS_FLAGS) -r:$(STANDALONE_RUNNER_SUPPORT_ASSEMBLY) -r:$(topdir)/class/lib/$(PROFILE)/System.Web.dll -r:$(topdir)/class/lib/$(PROFILE)/nunit.framework.dll STANDALONE_TEST_ASSEMBLY = System.Web_standalone_test_$(PROFILE).dll STANDALONE_TEST_MAKEFRAG = $(depsdir)/$(STANDALONE_TEST_ASSEMBLY).makefrag