[MLton-commit] r7093

Matthew Fluet fluet at mlton.org
Sun Apr 19 09:03:30 PDT 2009


Rename variable.
----------------------------------------------------------------------

U   mlton/trunk/Makefile
U   mlton/trunk/mlton/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile	2009-04-19 16:03:26 UTC (rev 7092)
+++ mlton/trunk/Makefile	2009-04-19 16:03:29 UTC (rev 7093)
@@ -232,11 +232,11 @@
 
 .PHONY: smlnj-mlton-dual
 smlnj-mlton-dual:
-	$(MAKE) SMLNJ_CM_SERVERS=2 smlnj-mlton
+	$(MAKE) SMLNJ_CM_SERVERS_NUM=2 smlnj-mlton
 
 .PHONY: smlnj-mlton-quad
 smlnj-mlton-quad:
-	$(MAKE) SMLNJ_CM_SERVERS=4 smlnj-mlton
+	$(MAKE) SMLNJ_CM_SERVERS_NUM=4 smlnj-mlton
 
 .PHONY: targetmap
 targetmap:

Modified: mlton/trunk/mlton/Makefile
===================================================================
--- mlton/trunk/mlton/Makefile	2009-04-19 16:03:26 UTC (rev 7092)
+++ mlton/trunk/mlton/Makefile	2009-04-19 16:03:29 UTC (rev 7093)
@@ -112,8 +112,8 @@
 # The following rebuilds the heap file for the SML/NJ compiled version
 # of MLton.
 #
-SMLNJ	:= sml
-SMLNJ_CM_SERVERS := 0
+SMLNJ := sml
+SMLNJ_CM_SERVERS_NUM := 0
 
 .PHONY: smlnj-mlton
 smlnj-mlton: $(SOURCES)
@@ -127,7 +127,7 @@
 		echo 'local';							\
 		echo 'fun loop 0 = () | loop n = (CM.Server.start {cmd = (CommandLine.name (), ["@CMslave"]), name = "server" ^ (Int.toString n), pathtrans = NONE, pref = 0}; loop (n - 1));'; \
 		echo 'in';							\
-		echo 'val _ = loop $(SMLNJ_CM_SERVERS);';			\
+		echo 'val _ = loop $(SMLNJ_CM_SERVERS_NUM);';			\
 		echo 'end;';							\
 		echo 'CM.make "mlton-smlnj.cm";';				\
 		echo 'SMLofNJ.exportFn("$(LIB)/mlton-smlnj",Main.main);'	\




More information about the MLton-commit mailing list