Rename tezos_compiler_embedded_cmis.ml
This commit is contained in:
parent
2e477ebb26
commit
dc5c4910cf
16
src/Makefile
16
src/Makefile
@ -59,10 +59,10 @@ ${COMPILER_OBJS}: OPENED_MODULES=${COMPILER_OPENED_MODULES}
|
|||||||
|
|
||||||
compiler/registerer.cmi: EXTRA_OCAMLFLAGS = -opaque
|
compiler/registerer.cmi: EXTRA_OCAMLFLAGS = -opaque
|
||||||
|
|
||||||
.INTERMEDIATE: compiler/tezos_compiler_embedded_cmis.ml
|
.INTERMEDIATE: compiler/embedded_cmis.ml
|
||||||
compiler/tezos_compiler_embedded_cmis.cmx: compiler/tezos_compiler_embedded_cmis.cmi
|
compiler/embedded_cmis.cmx: compiler/embedded_cmis.cmi
|
||||||
|
|
||||||
compiler/tezos_compiler_embedded_cmis.ml: ${COMPILER_EMBEDDED_CMIS}
|
compiler/embedded_cmis.ml: ${COMPILER_EMBEDDED_CMIS}
|
||||||
@echo OCAMLRES ${TARGET} $(notdir $@)
|
@echo OCAMLRES ${TARGET} $(notdir $@)
|
||||||
@$(OCAMLRES) -format ocaml -o $@ $^
|
@$(OCAMLRES) -format ocaml -o $@ $^
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ ${TZCOMPILER}: minutils.cmxa utils.cmxa compiler.cmxa ${COMPILER_IMPLS:.ml=.cmx}
|
|||||||
@$(OCAMLOPT) -linkpkg $(patsubst %, -package %, $(COMPILER_PACKAGES)) -o $@ $^
|
@$(OCAMLOPT) -linkpkg $(patsubst %, -package %, $(COMPILER_PACKAGES)) -o $@ $^
|
||||||
|
|
||||||
partial-clean::
|
partial-clean::
|
||||||
rm -f compiler/tezos_compiler_embedded_cmis.ml
|
rm -f compiler/embedded_cmis.ml
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
rm -f ${TZCOMPILER}
|
rm -f ${TZCOMPILER}
|
||||||
@ -243,9 +243,9 @@ partial-clean::
|
|||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
NO_DEPS += \
|
NO_DEPS += \
|
||||||
compiler/tezos_compiler_embedded_cmis.ml \
|
compiler/embedded_cmis.ml \
|
||||||
compiler/tezos_compiler_embedded_cmis.mli
|
compiler/embedded_cmis.mli
|
||||||
compiler/tezos_compiler_embedded_cmis.cmx compiler/tezos_compiler_embedded_cmis.cmi: OPENED_MODULES=
|
compiler/embedded_cmis.cmx compiler/embedded_cmis.cmi: OPENED_MODULES=
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),clean)
|
ifneq ($(MAKECMDGOALS),clean)
|
||||||
include .depend
|
include .depend
|
||||||
@ -268,7 +268,7 @@ DEPENDS_BYTECODE := \
|
|||||||
|
|
||||||
predepend: ${PACKED_SIGS_V1}.ml
|
predepend: ${PACKED_SIGS_V1}.ml
|
||||||
compiler/tezos_compiler.cmo compiler/tezos_compiler.cmx: \
|
compiler/tezos_compiler.cmo compiler/tezos_compiler.cmx: \
|
||||||
compiler/tezos_compiler_embedded_cmis.cmi compiler/tezos_compiler_embedded_cmis.cmx
|
compiler/embedded_cmis.cmi compiler/embedded_cmis.cmx
|
||||||
|
|
||||||
.SECONDARY: $(patsubst %,%.deps,${DEPENDS}) $(patsubst %,%.deps.byte,${DEPENDS_BYTECODE})
|
.SECONDARY: $(patsubst %,%.deps,${DEPENDS}) $(patsubst %,%.deps.byte,${DEPENDS_BYTECODE})
|
||||||
.depend: $(patsubst %,%.deps,${DEPENDS}) $(patsubst %,%.deps.byte,${DEPENDS_BYTECODE})
|
.depend: $(patsubst %,%.deps,${DEPENDS}) $(patsubst %,%.deps.byte,${DEPENDS_BYTECODE})
|
||||||
|
@ -158,13 +158,13 @@ COMPILER_IMPLS := \
|
|||||||
compiler_main.ml \
|
compiler_main.ml \
|
||||||
|
|
||||||
COMPILER_LIB_INTFS := \
|
COMPILER_LIB_INTFS := \
|
||||||
compiler/tezos_compiler_embedded_cmis.mli \
|
compiler/embedded_cmis.mli \
|
||||||
compiler/registerer.mli \
|
compiler/registerer.mli \
|
||||||
compiler/packer.mli \
|
compiler/packer.mli \
|
||||||
compiler/tezos_compiler.mli \
|
compiler/tezos_compiler.mli \
|
||||||
|
|
||||||
COMPILER_LIB_IMPLS := \
|
COMPILER_LIB_IMPLS := \
|
||||||
compiler/tezos_compiler_embedded_cmis.ml \
|
compiler/embedded_cmis.ml \
|
||||||
compiler/registerer.ml \
|
compiler/registerer.ml \
|
||||||
compiler/packer.ml \
|
compiler/packer.ml \
|
||||||
compiler/tezos_compiler.ml \
|
compiler/tezos_compiler.ml \
|
||||||
|
@ -106,14 +106,14 @@ let load_embeded_cmis cmis = List.iter load_embeded_cmi cmis
|
|||||||
|
|
||||||
|
|
||||||
let tezos_protocol_env =
|
let tezos_protocol_env =
|
||||||
let open Tezos_compiler_embedded_cmis in
|
let open Embedded_cmis in
|
||||||
[
|
[
|
||||||
"CamlinternalFormatBasics", camlinternalFormatBasics_cmi ;
|
"CamlinternalFormatBasics", camlinternalFormatBasics_cmi ;
|
||||||
"Tezos_protocol_environment_sigs_v1", tezos_protocol_environment_sigs_v1_cmi ;
|
"Tezos_protocol_environment_sigs_v1", tezos_protocol_environment_sigs_v1_cmi ;
|
||||||
]
|
]
|
||||||
|
|
||||||
let register_env =
|
let register_env =
|
||||||
let open Tezos_compiler_embedded_cmis in
|
let open Embedded_cmis in
|
||||||
[
|
[
|
||||||
"registerer", registerer_cmi ;
|
"registerer", registerer_cmi ;
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user