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

Commit

Permalink
remove prefix library in path for load_bytecode
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Sep 11, 2009
1 parent 9f6b142 commit 1c63389
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
28 changes: 14 additions & 14 deletions config/makefiles/root.in
Expand Up @@ -61,10 +61,10 @@ DOCS := README
PBCS := \
wmlsi.pbc \
wmlsd.pbc \
library/wmlslang.pbc \
library/wmlsfloat.pbc \
library/wmlsstring.pbc \
library/wmlsconsole.pbc
wmlscript/library/wmlslang.pbc \
wmlscript/library/wmlsfloat.pbc \
wmlscript/library/wmlsstring.pbc \
wmlscript/library/wmlsconsole.pbc

GEN_PIR := \
src/opcode.pir \
Expand Down Expand Up @@ -108,17 +108,17 @@ src/opcode.pir: src/translation.rules build/translator.pl \
src/stdlibs.pir: src/wmlslibs.cfg build/stdlibs.pl
$(PERL) build/stdlibs.pl --output src/stdlibs.pir src/wmlslibs.cfg

library/wmlslang.pbc: $(LIBPATH)/wmlslang.pir
$(PARROT) --output=library/wmlslang.pbc $(LIBPATH)/wmlslang.pir
wmlscript/library/wmlslang.pbc: $(LIBPATH)/wmlslang.pir
$(PARROT) --output=wmlscript/library/wmlslang.pbc $(LIBPATH)/wmlslang.pir

library/wmlsfloat.pbc: $(LIBPATH)/wmlsfloat.pir
$(PARROT) --output=library/wmlsfloat.pbc $(LIBPATH)/wmlsfloat.pir
wmlscript/library/wmlsfloat.pbc: $(LIBPATH)/wmlsfloat.pir
$(PARROT) --output=wmlscript/library/wmlsfloat.pbc $(LIBPATH)/wmlsfloat.pir

library/wmlsstring.pbc: $(LIBPATH)/wmlsstring.pir
$(PARROT) --output=library/wmlsstring.pbc $(LIBPATH)/wmlsstring.pir
wmlscript/library/wmlsstring.pbc: $(LIBPATH)/wmlsstring.pir
$(PARROT) --output=wmlscript/library/wmlsstring.pbc $(LIBPATH)/wmlsstring.pir

library/wmlsconsole.pbc: $(LIBPATH)/wmlsconsole.pir
$(PARROT) --output=library/wmlsconsole.pbc $(LIBPATH)/wmlsconsole.pir
wmlscript/library/wmlsconsole.pbc: $(LIBPATH)/wmlsconsole.pir
$(PARROT) --output=wmlscript/library/wmlsconsole.pbc $(LIBPATH)/wmlsconsole.pir

installable: installable_wmlsi@exe@ installable_wmlsd@exe@

Expand Down Expand Up @@ -226,7 +226,7 @@ install: installable
$(CP) *.pbc $(LIB_DIR)/languages/wmlscript
$(CP) wmlscript/*.pbc $(LIB_DIR)/languages/wmlscript
-$(MKPATH) $(LIB_DIR)/languages/wmlscript/library
$(CP) library/*.pbc $(LIB_DIR)/languages/wmlscript/library
$(CP) wmlscript/library/*.pbc $(LIB_DIR)/languages/wmlscript/library
-$(MKPATH) $(MANDIR)/man1
$(POD2MAN) wmlsi.pir > $(MANDIR)/man1/parrot-wmlsi.1
$(POD2MAN) wmlsd.pir > $(MANDIR)/man1/parrot-wmlsd.1
Expand Down Expand Up @@ -276,7 +276,7 @@ BUILD_CLEANERS := \
#IF(win32): parrot-wmlscript.iss \
#IF(win32): "setup-parrot-*.exe" \
"wmlscript/*.pbc" \
"library/*.pbc"
"wmlscript/library/*.pbc"

clean:
$(MAKE) $(OPS_DIR) clean
Expand Down
8 changes: 4 additions & 4 deletions src/wmlsstdlibs.pir
Expand Up @@ -22,10 +22,10 @@ See "WMLScript Standard Libraries Specification".
=cut

.sub 'load_stdlibs'
load_bytecode 'library/wmlslang.pbc'
load_bytecode 'library/wmlsfloat.pbc'
load_bytecode 'library/wmlsstring.pbc'
load_bytecode 'library/wmlsconsole.pbc'
load_bytecode 'wmlslang.pbc'
load_bytecode 'wmlsfloat.pbc'
load_bytecode 'wmlsstring.pbc'
load_bytecode 'wmlsconsole.pbc'

new $P0, 'Hash'
$P1 = getLang()
Expand Down
File renamed without changes.

0 comments on commit 1c63389

Please sign in to comment.