cvsuser 04/05/25 08:44:48
Modified: runtime/parrot/include .cvsignore README
config/gen/makefiles root.in
Log:
added target to create runtime/parrot/include/parrotlib.pbc
runtime/parrot/include is now only for generated files
Revision Changes Path
1.2 +1 -0 parrot/runtime/parrot/include/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /cvs/public/parrot/runtime/parrot/include/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- .cvsignore 5 Jul 2003 19:27:36 -0000 1.1
+++ .cvsignore 25 May 2004 15:44:43 -0000 1.2
@@ -1 +1,2 @@
*.pasm
+*.pbc
1.2 +5 -5 parrot/runtime/parrot/include/README
Index: README
===================================================================
RCS file: /cvs/public/parrot/runtime/parrot/include/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- README 3 Jul 2003 10:04:16 -0000 1.1
+++ README 25 May 2004 15:44:43 -0000 1.2
@@ -1,5 +1,5 @@
-This directory contains (mostly autogenerated) include files
-with constants defined somewhere in the interpreter.
-s. config/gen/parrot_include.pl for details.
-
-Also some other useful code pieces might go here.
+This directory contains only autogenerated files:
+- include files with constants defined somewhere in the interpreter
+ (see config/gen/parrot_include.pl for details)
+- configuration data (config.fpmc)
+- bytecode used at runtime (parrotlib.pbc)
1.216 +7 -3 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -w -r1.215 -r1.216
--- root.in 24 May 2004 13:46:50 -0000 1.215
+++ root.in 25 May 2004 15:44:47 -0000 1.216
@@ -1,4 +1,4 @@
-# $Id: root.in,v 1.215 2004/05/24 13:46:50 leo Exp $
+# $Id: root.in,v 1.216 2004/05/25 15:44:47 jrieks Exp $
###############################################################################
#
@@ -164,7 +164,8 @@
$(GEN_HEADERS) \
$(GEN_SOURCES) \
$(GEN_MODULES) \
- $(INC)/jit_emit.h
+ $(INC)/jit_emit.h \
+ runtime/parrot/include/parrotlib.pbc
###############################################################################
@@ -392,7 +393,7 @@
#
###############################################################################
-all : flags_dummy $(TEST_PROG) library/config.fpmc docs $(LIBNCI_SO)
+all : flags_dummy $(TEST_PROG) runtime/parrot/include/parrotlib.pbc
library/config.fpmc docs $(LIBNCI_SO)
.SUFFIXES : .c .h .pmc .dump $(O) .str
@@ -505,6 +506,9 @@
@echo Compiling with:
@$(PERL) tools/dev/cc_flags.pl ./CFLAGS echo $(CC) $(CFLAGS) xx$(O) -c xx.c
+runtime/parrot/include/parrotlib.pbc: runtime/parrot/library/parrotlib.imc
+ ./parrot -o $@ $^
+
library/config.fpmc : myconfig config_lib.pasm $(TEST_PROG)
@echo Invoking Parrot to generate library/config.fpmc--cross your fingers
./parrot config_lib.pasm