Skip to content

Commit

Permalink
[regex]
Browse files Browse the repository at this point in the history
- fix pmc dependencies

git-svn-id: https://svn.parrot.org/parrot/trunk@26970 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
fperrad committed Apr 14, 2008
1 parent 1e6219f commit 8ed271b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions languages/regex/config/makefiles/root.in
@@ -1,4 +1,4 @@
# Copyright (C) 2005-2007, The Perl Foundation.
# Copyright (C) 2005-2008, The Perl Foundation.
# $Id$

# Makefile for languages/regex
Expand All @@ -22,7 +22,9 @@ O = @o@

PMCS = match matchrange

build : lib/Regex/Grammar.pm $(PARROT_DYNEXT)/match_group$(LOAD_EXT) regex-compiler.pbc
PMC_SOURCES = $(PMC_DIR)/match.pmc $(PMC_DIR)/matchrange.pmc

build : lib/Regex/Grammar.pm $(PMC_DIR)/match_group$(LOAD_EXT) regex-compiler.pbc

# regenerate the Makefile
Makefile: config/makefiles/root.in
Expand All @@ -34,7 +36,7 @@ lib/Regex/Grammar.pm : lib/Regex/Grammar.yp
regex-compiler.pbc : regex-compiler.pir
$(PARROT) -o regex-compiler.pbc regex-compiler.pir

$(PARROT_DYNEXT)/match_group$(LOAD_EXT): $(PARROT) $(PMC_SOURCES)
$(PMC_DIR)/match_group$(LOAD_EXT): $(PARROT) $(PMC_SOURCES)
cd $(PMC_DIR) && $(BUILD_DYNPMC) generate $(PMCS)
cd $(PMC_DIR) && $(BUILD_DYNPMC) compile $(PMCS)
cd $(PMC_DIR) && $(BUILD_DYNPMC) linklibs $(PMCS)
Expand Down

0 comments on commit 8ed271b

Please sign in to comment.