[MLton-commit] r7096
Matthew Fluet
fluet at mlton.org
Sun Apr 19 09:03:39 PDT 2009
Drop unused Makefile target.
SML/NJ fails with an uncaught exception (Size) when attempting to
compile mlton as a whole program.
----------------------------------------------------------------------
U mlton/trunk/mlton/Makefile
----------------------------------------------------------------------
Modified: mlton/trunk/mlton/Makefile
===================================================================
--- mlton/trunk/mlton/Makefile 2009-04-19 16:03:35 UTC (rev 7095)
+++ mlton/trunk/mlton/Makefile 2009-04-19 16:03:38 UTC (rev 7096)
@@ -121,7 +121,7 @@
SMLNJ_CM_SERVERS_NUM := 0
.PHONY: smlnj-mlton
-smlnj-mlton: $(SOURCES)
+smlnj-mlton:
rm -f control/version.sml
$(MAKE) control/version.sml
( \
@@ -138,29 +138,6 @@
echo 'SMLofNJ.exportFn("$(LIB)/mlton-smlnj",Main.main);' \
) | "$(SMLNJ)"
-.PHONY: smlnj-whole
-smlnj-whole: $(SOURCES)
- ( \
- echo 'SMLofNJ.Internals.GC.messages false;'; \
- echo '#set CM.Control.verbose false;'; \
- echo '#set CM.Control.warn_obsolete false;'; \
- echo 'Control.polyEqWarn := false;'; \
- echo 'local'; \
- cmcat sources.cm | grep 'basis-stubs-for-smlnj' | xargs cat; \
- cmcat sources.cm | grep 'mlyacc' | xargs cat; \
- cmcat sources.cm | grep 'mlton-stubs-for-smlnj' | xargs cat; \
- cmcat sources.cm | grep 'mlton-stubs' | xargs cat; \
- cmcat sources.cm | \
- grep -v 'basis-stubs-for-smlnj' | \
- grep -v 'mlyacc' | \
- grep -v 'mlton-stubs-for-smlnj' | \
- grep -v 'mlton-stubs' | xargs cat; \
- echo 'in'; \
- echo 'SMLofNJ.exportFn("$(LIB)/mlton-smlnj",Main.main);' \
- echo 'end'; \
- ) >mlton.whole.sml
- "$(SMLNJ)" <mlton.whole.sml
-
#
# The following rebuilds the executable file for the Poly/ML compiled
# version of MLton.
More information about the MLton-commit
mailing list