Author: fperrad
Date: Wed Jan 14 13:42:44 2009
New Revision: 35556
Added:
trunk/languages/WMLScript/Configure.pl (contents, props changed)
Modified:
trunk/languages/WMLScript/config/makefiles/root.in
Log:
[WMLScript]
- add a Configure.pl
Added: trunk/languages/WMLScript/Configure.pl
==============================================================================
--- (empty file)
+++ trunk/languages/WMLScript/Configure.pl Wed Jan 14 13:42:44 2009
@@ -0,0 +1,21 @@
+# $Id$
+# Copyright (C) 2009, The Perl Foundation.
+
+use strict;
+use warnings;
+use 5.008;
+
+my $build_dir = '../..';
+my $hll = 'WMLScript';
+my $cmd = qq{$^X -Ilib tools/dev/reconfigure.pl --step=gen::languages --languages=$hll};
+
+print "Running '$cmd' in $build_dir\n";
+chdir $build_dir;
+`$cmd`
+
+# Local Variables:
+# mode: cperl
+# cperl-indent-level: 4
+# fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4:
Modified: trunk/languages/WMLScript/config/makefiles/root.in
==============================================================================
--- trunk/languages/WMLScript/config/makefiles/root.in (original)
+++ trunk/languages/WMLScript/config/makefiles/root.in Wed Jan 14 13:42:44 2009
@@ -13,9 +13,9 @@
O = @o@
LOAD_EXT = @load_ext@
PARROT_DYNEXT = @build_dir@/runtime/parrot/dynext
-#CONDITIONED_LINE(darwin):
-#CONDITIONED_LINE(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
-#CONDITIONED_LINE(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
+#IF(darwin):
+#IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
+#IF(darwin):export MACOSX_DEPLOYMENT_TARGET := @osx_version@
SRM=Stack
@@ -91,6 +91,10 @@
$(LIBPATH)/wmlsconsole.pbc: $(LIBPATH)/wmlsconsole.pir
$(PARROT) --output=$(LIBPATH)/wmlsconsole.pbc $(LIBPATH)/wmlsconsole.pir
+# regenerate the Makefile
+Makefile: config/makefiles/root.in
+ $(PERL) Configure.pl
+
help:
@echo ""
@echo "Following targets are available for the user:"