Skip to content
Snippets Groups Projects
Commit bc7479b9 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[Makefile] more accurate deps for generating transitioning.ml

also put the target into `Makefile.generating`.
parent 6d1de4b0
No related branches found
No related tags found
No related merge requests found
...@@ -397,13 +397,6 @@ LIB_CMO =\ ...@@ -397,13 +397,6 @@ LIB_CMO =\
src/libraries/utils/filepath \ src/libraries/utils/filepath \
src/libraries/utils/json src/libraries/utils/json
GENERATED+= src/libraries/utils/json.ml src/libraries/stdlib/transitioning.ml
src/libraries/stdlib/transitioning.ml: src/libraries/stdlib/transitioning.ml.in
rm -f $@
sed -e 's/@SPLIT_ON_CHAR@/$(SPLIT_ON_CHAR)/g' $< > $@
$(CHMOD_RO) $@
NON_OPAQUE_DEPS+=\ NON_OPAQUE_DEPS+=\
src/libraries/datatype/unmarshal_z \ src/libraries/datatype/unmarshal_z \
src/libraries/stdlib/integer src/libraries/stdlib/integer
......
...@@ -118,7 +118,16 @@ $(MACHDEP_PATH)/local_machdep.ml: \ ...@@ -118,7 +118,16 @@ $(MACHDEP_PATH)/local_machdep.ml: \
endif endif
# transitioning.ml
GENERATED+= src/libraries/utils/json.ml src/libraries/stdlib/transitioning.ml
src/libraries/stdlib/transitioning.ml: \
src/libraries/stdlib/transitioning.ml.in \
Makefile.generating share/Makefile.config
rm -f $@
sed -e 's/@SPLIT_ON_CHAR@/$(SPLIT_ON_CHAR)/g' $< > $@
$(CHMOD_RO) $@
################## ##################
# Frama-C-config # # Frama-C-config #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment