Permalink
Browse files

This organizes PIR files into the pir/ directory, which allows it to …

…compile on OS X
  • Loading branch information...
1 parent 7ec99e5 commit 0946e967e0ba255ee2dab4aac5174235dcebadf8 @leto leto committed Oct 7, 2009
Showing with 11 additions and 9 deletions.
  1. +1 −0 .gitignore
  2. +1 −1 Configure.nqp
  3. +8 −7 Makefile.in
  4. 0 { → pir}/Glue.pir
  5. 0 { → pir}/Plumage/Downloader.pir
  6. +1 −1 probes/cap-test.nqp
View
1 .gitignore
@@ -1,5 +1,6 @@
# Editor backup files
*~
+*.sw?
# Generated files
Makefile
View
2 Configure.nqp
@@ -14,7 +14,7 @@ MAIN();
sub MAIN () {
# Load Parrot config and glue functions
- load_bytecode('Glue.pir');
+ load_bytecode('pir/Glue.pir');
# Slurp in the unconfigured Makefile text
my $unconfigured := slurp(@ARGS[0] || 'Makefile.in');
View
15 Makefile.in
@@ -30,20 +30,21 @@ help:
plumage: plumage.pbc Glue.pbc
$(PBC_TO_EXE) plumage.pbc
-plumage.pbc: plumage.pir
- $(PARROT) -o plumage.pbc plumage.pir
+plumage.pbc: pir/plumage.pir
+ $(PARROT) -o plumage.pbc pir/plumage.pir
-plumage.pir: plumage.nqp
- $(PARROT) $(NQP_PBC) --target=pir -o plumage.pir plumage.nqp
+pir/plumage.pir: plumage.nqp
+ $(PARROT) $(NQP_PBC) --target=pir -o pir/plumage.pir plumage.nqp
+
+Glue.pbc: pir/Glue.pir
+ $(PARROT) -o Glue.pbc pir/Glue.pir
-Glue.pbc: Glue.pir
- $(PARROT) -o Glue.pbc Glue.pir
# Convenience
realclean: clean
clean:
- $(RM_F) "*~" "*.pbc" "*$(O)" "*.c" plumage.pir plumage$(EXE) Makefile
+ $(RM_F) "*~" "*.pbc" "*$(O)" "*.c" pir/plumage.pir plumage$(EXE) Makefile
# Local variables:
# mode: makefile
View
0 Glue.pir → pir/Glue.pir
File renamed without changes.
View
0 Plumage/Downloader.pir → pir/Plumage/Downloader.pir
File renamed without changes.
View
2 probes/cap-test.nqp
@@ -9,7 +9,7 @@
# First, load the "glue builtins" borrowed from Rakudo.
-load_bytecode('Glue.pir');
+load_bytecode('pir/Glue.pir');
say("Glue loaded.\n");
# Inline PIR

0 comments on commit 0946e96

Please sign in to comment.