overriden. Useful if the tests sourcefile is generated.
svn path=/trunk/mcs/; revision=29333
2004-06-11 Raja R Harinath <rharinath@novell.com>
+ * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
+ overriden. Useful if the tests sourcefile is generated.
+
* platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
Support enough features to build mscorlib.dll.
ifdef PLATFORM_excludes
sourcefile = $(depsdir)/$(LIBRARY).$(PLATFORM)-sources
$(sourcefile): $(core_sourcefile) $(PLATFORM_excludes)
- sort $(core_sourcefile) $(PLATFORM_excludes) | uniq -u >$@
+ cat $(core_sourcefile) $(PLATFORM_excludes) | sort | uniq -u >$@
else
sourcefile = $(core_sourcefile)
endif
btest_makefrag = $(depsdir)/$(btest_lib).makefrag
btest_flags = /r:$(test_against) $(test_nunit_ref) $(TEST_MBAS_FLAGS)
-HAVE_CS_TESTS := $(wildcard $(test_sourcefile))
+ifndef HAVE_CS_TESTS
+HAVE_CS_TESTS := $(wildcard $(btest_sourcefile))
+endif
+ifndef HAVE_VB_TESTS
HAVE_VB_TESTS := $(wildcard $(btest_sourcefile))
+endif
endif