# All the dep files now land in the same directory so we
# munge in the library name to keep the files from clashing.
-ifndef sourcefile
sourcefile = $(LIBRARY).sources
-endif
# If the directory contains the per profile include file, generate list file.
PROFILE_sources = $(PROFILE)_$(LIBRARY).sources
endif
-ifdef NO_INSTALL
-GACUTIL = :
-else
-gacutil = $(topdir)/class/lib/net_1_1_bootstrap/gacutil.exe
-GACUTIL = MONO_PATH="$(topdir)/class/lib/net_1_1_bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(RUNTIME_FLAGS) $(gacutil)
-endif
-
ifdef NO_SIGN_ASSEMBLY
SN = :
else
endif
ifdef test_assemblies
+check: run-test
test-local: $(test_assemblies)
run-test-local: run-test-lib
run-test-ondotnet-local: run-test-ondotnet-lib
$(TEST_HARNESS_POSTPROC_ONDOTNET) ; $$ok
endif
-DISTFILES = $(sourcefile) $(EXTRA_DISTFILES)
+DISTFILES = $(wildcard *$(LIBRARY)*.sources) $(EXTRA_DISTFILES)
TEST_FILES =
DISTFILES += $(btest_sourcefile)
endif
+# make dist will collect files in .sources files from all profiles
dist-local: dist-default
subs=' ' ; \
- for f in `cat $(sourcefile)` $(TEST_FILES) ; do \
+ for f in `$(topdir)/tools/removecomments.sh $(wildcard *$(LIBRARY).sources)` $(TEST_FILES) ; do \
case $$f in \
../*) : ;; \
*) dest=`dirname $$f` ; \
# The library
-$(the_libdir)/.stamp $(build_libdir:=/.stamp):
- $(MKINSTALLDIRS) $(@D)
- touch $@
-
$(the_lib): $(the_libdir)/.stamp
$(build_lib): $(response) $(sn) $(BUILT_SOURCES) $(build_libdir:=/.stamp)
endif
+## Include corcompare stuff
+include $(topdir)/build/corcompare.make
+
all-local: $(makefrag) $(test_makefrag) $(btest_makefrag)
ifneq ($(response),$(sourcefile))
$(response): $(topdir)/build/library.make $(depsdir)/.stamp