+TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -doc:$(test_lib:.dll=.xml) -nowarn:219,169,1591 $(NUNIT_RESOURCE_FILES:%=/resource:%) -r:SystemWebTestShim.dll -define:SYSTEM_WEB_EXTENSIONS
+
+EXTRA_DISTFILES = $(RESOURCE_FILES_DIST) $(NUNIT_RESOURCE_FILES) \
+ System.Web.Extensions_standalone_test.dll.sources \
+ Test/standalone-tests/Consts.cs.in \
+ Test/standalone-tests/DataPager_NumericPagerField_Bug615315.cs
+
+build-standalone-runner-support:
+ $(MAKE) -C ../System.Web/ standalone-runner-support
+ $(MAKE) -C ../System.Web/Test/tools/ STANDALONE_SUPPORT_BUILT=1 standalone-runner.exe
+
+run-standalone-test: build-standalone-runner-support $(STANDALONE_RUNNER_SUPPORT_MAKEFRAG) $(STANDALONE_TEST_MAKEFRAG) $(STANDALONE_TEST_ASSEMBLY)
+ $(RUN_STANDALONE) $(STANDALONE_TEST_ASSEMBLY)
+
+$(STANDALONE_TEST_MAKEFRAG): System.Web.Extensions_standalone_test.dll.sources
+ @echo Creating $@ ...
+ @sed 's,^,$(STANDALONE_TEST_ASSEMBLY): ,' $< > $@
+
+include $(STANDALONE_TEST_MAKEFRAG)
+
+$(STANDALONE_TEST_ASSEMBLY): $(the_assembly) Test/standalone-tests/Consts.cs
+ $(CSCOMPILE) $(STANDALONE_TEST_MCS_FLAGS) -out:$@ -target:library @System.Web.Extensions_standalone_test.dll.sources