cvsuser 05/03/14 13:58:35
Modified: . MANIFEST
config/gen/makefiles parrot_compiler.in
Log:
Update MANIFEST for 'languages/parrot_compiler' checkins.
Update Makefile for 'languages/parrot_compiler'.
Revision Changes Path
1.845 +5 -2 parrot/MANIFEST
Index: MANIFEST
===================================================================
RCS file: /cvs/public/parrot/MANIFEST,v
retrieving revision 1.844
retrieving revision 1.845
diff -u -r1.844 -r1.845
--- MANIFEST 14 Mar 2005 19:18:10 -0000 1.844
+++ MANIFEST 14 Mar 2005 21:58:34 -0000 1.845
@@ -2253,8 +2253,11 @@
languages/parakeet/README.txt [parakeet]
languages/parakeet/parakeet.imc [parakeet]
languages/parakeet/test.pk [parakeet]
-languages/parrot_compiler/parrot.pasm []
-languages/parrot_compiler/sample.pasm []
+languages/parrot_compiler/lib/Parrot/Test/ParrotCompiler.pm
[parrot_compiler]
+languages/parrot_compiler/parrot_compiler.imc
[parrot_compiler]
+languages/parrot_compiler/parrot.pasm
[parrot_compiler]
+languages/parrot_compiler/sample.pasm
[parrot_compiler]
+languages/parrot_compiler/t/basic/hello.t
[parrot_compiler]
languages/perl6/ChangeLog [perl6]
languages/perl6/P6C/Addcontext.pm [perl6]
languages/perl6/P6C/Builtins.pm [perl6]
1.3 +36 -8 parrot/config/gen/makefiles/parrot_compiler.in
Index: parrot_compiler.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/parrot_compiler.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- parrot_compiler.in 6 Mar 2005 22:00:33 -0000 1.2
+++ parrot_compiler.in 14 Mar 2005 21:58:35 -0000 1.3
@@ -1,18 +1,46 @@
-# Copyright: 2001-2004 The Perl Foundation. All Rights Reserved.
-# $Id: parrot_compiler.in,v 1.2 2005/03/06 22:00:33 bernhard Exp $
+# Copyright: 2001-2005 The Perl Foundation. All Rights Reserved.
+# $Id: parrot_compiler.in,v 1.3 2005/03/14 21:58:35 bernhard Exp $
+EXE = ${exe}
+
+LN_SF = ln -s -f
PERL = ${perl}
RM_F = ${rm_f}
PARROT = ../../${test_prog}$(EXE)
-all :
- $(PARROT) -o parrot.pbc parrot.pasm
- $(PARROT) parrot.pbc < sample.pasm > sample.pbc
-# This can be enabled, when dumping Eval PMCs to string works
-# $(PARROT) parrot.pbc < sample.pasm > sample.pbc
-# $(PARROT) sample.pbc
+all : runtime parrot.pbc parrot_compiler.pbc
+
+# This is a listing of all targets, that are meant to be called by users
+help :
+ @echo ""
+ @echo "Following targets are available for the user:"
+ @echo ""
+ @echo " all: 'parrot_compiler.pbc'"
+ @echo " This is the default."
+ @echo ""
+ @echo " test: run the test suite,"
+ @echo ""
+ @echo " clean: clean up temporary files"
+ @echo ""
+ @echo " realclean: clean up generated files"
+
+test :
+ cd .. && $(PERL) -I../lib -Iparrot_compiler/lib
parrot_compiler/t/harness
clean :
+ $(RM_F) *.pbc
+ $(RM_F) t/*/*.pbc
+
+realclean : clean
$(RM_F) core
$(RM_F) *.pbc
+runtime :
+ $(LN_SF) ../../runtime
+
+parrot.pbc : parrot.pasm
+ $(PARROT) -o parrot.pbc parrot.pasm
+
+parrot_compiler.pbc : parrot_compiler.imc
+ $(PARROT) -o parrot_compiler.pbc parrot_compiler.imc
+