@ -257,7 +257,6 @@ clang_setup:
.PHONY : clang_plugin
.PHONY : clang_plugin
clang_plugin : clang_setup
clang_plugin : clang_setup
i f e q ( $( IS_RELEASE_TREE ) , n o )
$( QUIET) $( call silent_on_success,Building clang plugin,\
$( QUIET) $( call silent_on_success,Building clang plugin,\
$( MAKE) -C $( FCP_DIR) /libtooling all \
$( MAKE) -C $( FCP_DIR) /libtooling all \
CC = $( CC) CXX = $( CXX) \
CC = $( CC) CXX = $( CXX) \
@ -275,7 +274,6 @@ ifeq ($(IS_RELEASE_TREE),no)
LOCAL_CLANG = $( CLANG_PREFIX) /bin/clang \
LOCAL_CLANG = $( CLANG_PREFIX) /bin/clang \
CLANG_PREFIX = $( CLANG_PREFIX) \
CLANG_PREFIX = $( CLANG_PREFIX) \
CLANG_INCLUDES = $( CLANG_INCLUDES) )
CLANG_INCLUDES = $( CLANG_INCLUDES) )
e n d i f
.PHONY : clang_plugin_test
.PHONY : clang_plugin_test
clang_plugin_test : clang_setup
clang_plugin_test : clang_setup
@ -558,11 +556,9 @@ endif
# Nuke objects built from OCaml. Useful when changing the OCaml compiler, for instance.
# Nuke objects built from OCaml. Useful when changing the OCaml compiler, for instance.
.PHONY : ocaml_clean
.PHONY : ocaml_clean
ocaml_clean :
ocaml_clean :
i f e q ( $( IS_RELEASE_TREE ) , n o )
i f e q ( $( BUILD_C_ANALYZERS ) , y e s )
i f e q ( $( BUILD_C_ANALYZERS ) , y e s )
$( QUIET) $( call silent_on_success,Cleaning facebook-clang-plugins OCaml build,\
$( QUIET) $( call silent_on_success,Cleaning facebook-clang-plugins OCaml build,\
$( MAKE) -C $( FCP_DIR) /clang-ocaml clean)
$( MAKE) -C $( FCP_DIR) /clang-ocaml clean)
e n d i f
e n d i f
e n d i f
$( QUIET) $( call silent_on_success,Cleaning infer OCaml build,\
$( QUIET) $( call silent_on_success,Cleaning infer OCaml build,\
$( MAKE) -C $( SRC_DIR) clean)
$( MAKE) -C $( SRC_DIR) clean)
@ -571,11 +567,9 @@ endif
.PHONY : clean
.PHONY : clean
clean : test_clean ocaml_clean
clean : test_clean ocaml_clean
i f e q ( $( IS_RELEASE_TREE ) , n o )
i f e q ( $( BUILD_C_ANALYZERS ) , y e s )
i f e q ( $( BUILD_C_ANALYZERS ) , y e s )
$( QUIET) $( call silent_on_success,Cleaning facebook-clang-plugins C++ build,\
$( QUIET) $( call silent_on_success,Cleaning facebook-clang-plugins C++ build,\
$( MAKE) -C $( FCP_DIR) clean)
$( MAKE) -C $( FCP_DIR) clean)
e n d i f
e n d i f
e n d i f
$( QUIET) $( call silent_on_success,Cleaning Java annotations,\
$( QUIET) $( call silent_on_success,Cleaning Java annotations,\
$( MAKE) -C $( ANNOTATIONS_DIR) clean)
$( MAKE) -C $( ANNOTATIONS_DIR) clean)