-all-local:
- @if test ! -f ../lib/$(CYCLIC_DEP) ; then \
- echo "Creating temporary $(LIBRARY) without $(CYCLIC_DEP) reference." ; \
- $(MAKE) SECOND_PASS=yes || exit 1 ; \
- rm -f '$(depsdir)/$(LIBRARY).stamp'; \
- else \
- $(MAKE) SECOND_PASS=yes EXTRA_FLAGS='/define:XML_DEP /r:$(CYCLIC_DEP)' || exit 1; \
- fi
-
-## TODO: how to do this without duplication
-
-install-local:
- @$(MAKE) SECOND_PASS=yes EXTRA_FLAGS='/r:$(CYCLIC_DEP)' install-local || exit 1; \
-
-test-local: all-local
- @$(MAKE) SECOND_PASS=yes EXTRA_FLAGS='/r:$(CYCLIC_DEP)' test-local || exit 1; \
-
-run-test-local:
- @$(MAKE) SECOND_PASS=yes EXTRA_FLAGS='/r:$(CYCLIC_DEP)' run-test-local || exit 1; \
-
-clean-local:
- @$(MAKE) SECOND_PASS=yes EXTRA_FLAGS='/r:$(CYCLIC_DEP)' clean-local || exit 1; \
-
+# First pass: Build temporary System.dll without depending on System.Xml.dll
+$(the_lib): echo-warning
+.PHONY: echo-warning
+echo-warning:
+ @echo "** Building temporary System.dll without parts that depend on System.Xml"