|
|
@ -52,7 +52,7 @@ all: infer
|
|
|
|
.PHONY: src_build
|
|
|
|
.PHONY: src_build
|
|
|
|
src_build:
|
|
|
|
src_build:
|
|
|
|
ifeq ($(IS_FACEBOOK_TREE),yes)
|
|
|
|
ifeq ($(IS_FACEBOOK_TREE),yes)
|
|
|
|
@$(MAKE) -C facebook
|
|
|
|
@$(MAKE) -C facebook setup
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
@$(MAKE) -C $(SRC_DIR) infer
|
|
|
|
@$(MAKE) -C $(SRC_DIR) infer
|
|
|
|
ifeq ($(BUILD_C_ANALYZERS),yes)
|
|
|
|
ifeq ($(BUILD_C_ANALYZERS),yes)
|
|
|
@ -96,7 +96,7 @@ endif
|
|
|
|
.PHONY: test_build
|
|
|
|
.PHONY: test_build
|
|
|
|
test_build: clang_plugin
|
|
|
|
test_build: clang_plugin
|
|
|
|
ifeq ($(IS_FACEBOOK_TREE),yes)
|
|
|
|
ifeq ($(IS_FACEBOOK_TREE),yes)
|
|
|
|
@$(MAKE) -C facebook
|
|
|
|
@$(MAKE) -C facebook setup
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
@$(MAKE) -C $(SRC_DIR) test_build
|
|
|
|
@$(MAKE) -C $(SRC_DIR) test_build
|
|
|
|
|
|
|
|
|
|
|
@ -209,9 +209,16 @@ inferScriptMode_test: test_build
|
|
|
|
checkCopyright:
|
|
|
|
checkCopyright:
|
|
|
|
@$(MAKE) -C $(SRC_DIR) checkCopyright
|
|
|
|
@$(MAKE) -C $(SRC_DIR) checkCopyright
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: validate-skel
|
|
|
|
|
|
|
|
validate-skel:
|
|
|
|
|
|
|
|
ifeq ($(IS_FACEBOOK_TREE),yes)
|
|
|
|
|
|
|
|
@$(MAKE) -C facebook validate
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
.PHONY: test
|
|
|
|
test: test_build ocaml_unit_test endtoend_test inferTraceBugs_test inferScriptMode_test \
|
|
|
|
test: test_build ocaml_unit_test endtoend_test inferTraceBugs_test inferScriptMode_test \
|
|
|
|
checkCopyright
|
|
|
|
checkCopyright validate-skel
|
|
|
|
@$(MAKE) -C $(SRC_DIR) mod_dep.dot
|
|
|
|
@$(MAKE) -C $(SRC_DIR) mod_dep.dot
|
|
|
|
ifeq (,$(findstring s,$(MAKEFLAGS)))
|
|
|
|
ifeq (,$(findstring s,$(MAKEFLAGS)))
|
|
|
|
@echo "ALL TESTS PASSED"
|
|
|
|
@echo "ALL TESTS PASSED"
|
|
|
|