@ -133,7 +133,7 @@ else
EXTRA_DEPS = opensource
EXTRA_DEPS = opensource
e n d i f
e n d i f
DEPENDENCIES = IR backend checkers eradicate harness quandary $( EXTRA_DEPS)
DEPENDENCIES = IR backend base checkers eradicate harness quandary $( EXTRA_DEPS)
# ocamlbuild command with options common to all build targets
# ocamlbuild command with options common to all build targets
OCAMLBUILD_BASE = rebuild $( OCAMLBUILD_OPTIONS) -j $( NCPU) $( addprefix -I , $( DEPENDENCIES) )
OCAMLBUILD_BASE = rebuild $( OCAMLBUILD_OPTIONS) -j $( NCPU) $( addprefix -I , $( DEPENDENCIES) )
@ -333,8 +333,8 @@ ifneq ($(wildcard $(BUILD_DIR)/sanitize.sh),)
$( BUILD_DIR) /sanitize.sh
$( BUILD_DIR) /sanitize.sh
e n d i f
e n d i f
version : ba ckend/v ersion.ml .in Makefile
version : ba se/V ersion.ml .in Makefile
TMPFILE = $$ ( mktemp backend/v ersion.ml.tmp.XXXX) ; \
TMPFILE = $$ ( mktemp base/V ersion.ml.tmp.XXXX) ; \
INFER_GIT_COMMIT = $$ ( git --work-tree= $( ROOT_DIR) --git-dir= $( ROOT_DIR) /.git rev-parse --short HEAD || printf "unknown" ) ; \
INFER_GIT_COMMIT = $$ ( git --work-tree= $( ROOT_DIR) --git-dir= $( ROOT_DIR) /.git rev-parse --short HEAD || printf "unknown" ) ; \
INFER_GIT_BRANCH = $$ ( git --work-tree= $( ROOT_DIR) --git-dir= $( ROOT_DIR) /.git rev-parse --abbrev-ref HEAD || printf "unknown" ) ; \
INFER_GIT_BRANCH = $$ ( git --work-tree= $( ROOT_DIR) --git-dir= $( ROOT_DIR) /.git rev-parse --abbrev-ref HEAD || printf "unknown" ) ; \
sed \
sed \
@ -345,7 +345,7 @@ version: backend/version.ml.in Makefile
-e " s|@INFER_GIT_COMMIT[@]| $$ INFER_GIT_COMMIT|g " \
-e " s|@INFER_GIT_COMMIT[@]| $$ INFER_GIT_COMMIT|g " \
-e " s|@INFER_GIT_BRANCH[@]| $$ INFER_GIT_BRANCH|g " \
-e " s|@INFER_GIT_BRANCH[@]| $$ INFER_GIT_BRANCH|g " \
$< > " $$ TMPFILE " ; \
$< > " $$ TMPFILE " ; \
$( INSTALL) -m 644 -C " $$ TMPFILE " backend/v ersion.ml; \
$( INSTALL) -m 644 -C " $$ TMPFILE " base/V ersion.ml; \
rm -f " $$ TMPFILE "
rm -f " $$ TMPFILE "
$(BUILD_DIR) :
$(BUILD_DIR) :
@ -363,8 +363,8 @@ endif
i f e q ( $( BUILD_LLVM_ANALYZERS ) , y e s )
i f e q ( $( BUILD_LLVM_ANALYZERS ) , y e s )
$( REMOVE) $( LLVM_SOURCES) /lLexer.ml $( LLVM_SOURCES) /lParser.ml
$( REMOVE) $( LLVM_SOURCES) /lLexer.ml $( LLVM_SOURCES) /lParser.ml
e n d i f
e n d i f
$( REMOVE) backend/v ersion.ml
$( REMOVE) base/V ersion.ml
$( REMOVE) backend/v ersion.ml.tmp.*
$( REMOVE) base/V ersion.ml.tmp.*
$( REMOVE) backend/jsonbug_{ j,t} .ml{ ,i}
$( REMOVE) backend/jsonbug_{ j,t} .ml{ ,i}
$( REMOVE) checkers/stacktree_{ j,t} .ml{ ,i}
$( REMOVE) checkers/stacktree_{ j,t} .ml{ ,i}
$( REMOVE) $( INFER_BIN) $( INFERANALYZE_BIN) $( INFERPRINT_BIN) $( STATSAGGREGATOR_BIN)
$( REMOVE) $( INFER_BIN) $( INFERANALYZE_BIN) $( INFERPRINT_BIN) $( STATSAGGREGATOR_BIN)