Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
conversion nqp to nqp-rx
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Nov 14, 2009
1 parent fdccd67 commit d64fd28
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
17 changes: 8 additions & 9 deletions Makefile.in
Expand Up @@ -12,8 +12,6 @@ MANDIR := @mandir@$(VERSION)


# Various paths # Various paths
PERL6GRAMMAR := $(LIB_DIR)/library/PGE/Perl6Grammar.pbc PERL6GRAMMAR := $(LIB_DIR)/library/PGE/Perl6Grammar.pbc
NQP := $(LIB_DIR)/languages/nqp/nqp.pbc
PCT := $(LIB_DIR)/library/PCT.pbc


## Setup some commands ## Setup some commands
MAKE := @make_c@ MAKE := @make_c@
Expand All @@ -24,6 +22,7 @@ MKPATH := @mkpath@
RM_F := @rm_f@ RM_F := @rm_f@
RM_RF := @rm_rf@ RM_RF := @rm_rf@
POD2MAN := pod2man POD2MAN := pod2man
NQP := $(BIN_DIR)/parrot-nqp@exe@
PARROT := $(BIN_DIR)/parrot@exe@ PARROT := $(BIN_DIR)/parrot@exe@
#IF(darwin): #IF(darwin):
#IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking #IF(darwin):# MACOSX_DEPLOYMENT_TARGET must be defined for OS X compilation/linking
Expand Down Expand Up @@ -58,7 +57,7 @@ BUILD_CLEANUPS := \
#IF(win32): "setup-parrot-*.exe" \ #IF(win32): "setup-parrot-*.exe" \
# the default target # the default target
build: xml.pbc xml/sax/xml.pbc xml/handler/xmlwriter.pbc build: xml/sax/xml.pbc xml/handler/xmlwriter.pbc


all: build all: build


Expand All @@ -70,16 +69,16 @@ xml/sax/xml/grammar_gen.pir: $(PERL6GRAMMAR) xml/sax/xml/grammar.pg
--output=xml/sax/xml/grammar_gen.pir \ --output=xml/sax/xml/grammar_gen.pir \
xml/sax/xml/grammar.pg xml/sax/xml/grammar.pg


xml/sax/xml/actions_gen.pir: $(NQP) xml/sax/xml/actions.pm xml/sax/xml/actions_gen.pir: xml/sax/xml/actions.nqp
$(PARROT) $(PARROT_ARGS) $(NQP) --output=xml/sax/xml/actions_gen.pir \ $(NQP) --output=xml/sax/xml/actions_gen.pir \
--target=pir xml/sax/xml/actions.pm --target=pir xml/sax/xml/actions.nqp


xml/handler/xmlwriter.pbc: $(HANDLER_XMLWRITER_SOURCES) xml/handler/xmlwriter.pbc: $(HANDLER_XMLWRITER_SOURCES)
$(PARROT) $(PARROT_ARGS) -o xml/handler/xmlwriter.pbc xml/handler/xmlwriter.pir $(PARROT) $(PARROT_ARGS) -o xml/handler/xmlwriter.pbc xml/handler/xmlwriter.pir


xml/handler/xmlwriter/actions_gen.pir: $(NQP) xml/handler/xmlwriter/actions.pm xml/handler/xmlwriter/actions_gen.pir: xml/handler/xmlwriter/actions.nqp
$(PARROT) $(PARROT_ARGS) $(NQP) --output=xml/handler/xmlwriter/actions_gen.pir \ $(NQP) --output=xml/handler/xmlwriter/actions_gen.pir \
--target=pir xml/handler/xmlwriter/actions.pm --target=pir xml/handler/xmlwriter/actions.nqp


Makefile: Makefile.in Makefile: Makefile.in
$(PARROT) Configure.pir $(PARROT) Configure.pir
Expand Down
6 changes: 3 additions & 3 deletions setup.pir
Expand Up @@ -29,9 +29,9 @@ No Configure step, no Makefile generated.
$P0['pir_pge'] = $P1 $P0['pir_pge'] = $P1


$P2 = new 'Hash' $P2 = new 'Hash'
$P2['xml/sax/xml/actions_gen.pir'] = 'xml/sax/xml/actions.pm' $P2['xml/sax/xml/actions_gen.pir'] = 'xml/sax/xml/actions.nqp'
$P2['xml/handler/xmlwriter/actions_gen.pir'] = 'xml/handler/xmlwriter/actions.pm' $P2['xml/handler/xmlwriter/actions_gen.pir'] = 'xml/handler/xmlwriter/actions.nqp'
$P0['pir_nqp'] = $P2 $P0['pir_nqp-rx'] = $P2


$P3 = new 'Hash' $P3 = new 'Hash'
$P4 = split "\n", <<'SOURCES' $P4 = split "\n", <<'SOURCES'
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit d64fd28

Please sign in to comment.