Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add rules to build JSON_LANG with NQP

  • Loading branch information...
commit 7066f3b2b8590849d791eba2c7e1a47736e2f27e 1 parent 127b072
Gerd Pokorra authored
View
2  compilers/data_json/Defines.mak
@@ -1,5 +1,7 @@
DATA_JSON_LIB_PBCS = runtime/parrot/languages/data_json/data_json.pbc
+JSON_LANG = runtime/parrot/languages/JSON/JSON.pir
+
DATA_JSON_CLEANUPS = $(DATA_JSON_LIB_PBCS) \
compilers/data_json/data_json.pbc \
compilers/data_json/data_json/grammar.pir \
View
4 compilers/data_json/Rules.mak
@@ -2,6 +2,10 @@ runtime/parrot/languages/data_json/data_json.pbc: compilers/data_json/data_json.
$(MKPATH) runtime/parrot/languages/data_json
$(CP) compilers/data_json/data_json.pbc $@
+runtime/parrot/languages/JSON/JSON.pir: compilers/data_json/JSON.nqp
+ $(MKPATH) runtime/parrot/languages/JSON
+ $(NQP_RX) --target=pir compilers/data_json/JSON.pir > $@
+
compilers/data_json/data_json.pbc : \
$(LIBRARY_DIR)/PGE.pbc \
$(LIBRARY_DIR)/PGE/Util.pbc \
View
1  config/gen/makefiles/root.in
@@ -622,6 +622,7 @@ all : \
$(PGE_LIB_PBCS) \
$(PCT_LIB_PBCS) \
$(DATA_JSON_LIB_PBCS) \
+ $(JSON_LANG) \
$(NQP_LIB_PBCS) \
#IF(has_dynamic_linking): $(DYNOPLIBS_TARGETS) \
#IF(has_dynamic_linking): $(LIBNCI_TEST_SO) \
Please sign in to comment.
Something went wrong with that request. Please try again.