@ -133,16 +133,16 @@ ifeq ($(WINDOWS_BUILD),yes)
# http://cygwin.1069669.n5.nabble.com/cp-utility-bug-when-dest-name-exe-file-exist-tp57955p58001.html
# http://cygwin.1069669.n5.nabble.com/cp-utility-bug-when-dest-name-exe-file-exist-tp57955p58001.html
$( REMOVE) $( INFER_BIN) $( INFER_BIN) .exe
$( REMOVE) $( INFER_BIN) $( INFER_BIN) .exe
e n d i f
e n d i f
$( INSTALL_PROGRAM) $( INFER_BUILD_DIR) /$( INFER_MAIN) .exe $( INFER_BIN) .exe
$( INSTALL_PROGRAM) -C $( INFER_BUILD_DIR) /$( INFER_MAIN) .exe $( INFER_BIN) .exe
i f e q ( $( IS_FACEBOOK_TREE ) , y e s )
i f e q ( $( IS_FACEBOOK_TREE ) , y e s )
$( INSTALL_PROGRAM) $( INFER_BUILD_DIR) /$( INFER_CREATE_TRACEVIEW_LINKS_MAIN) .exe \
$( INSTALL_PROGRAM) -C $( INFER_BUILD_DIR) /$( INFER_CREATE_TRACEVIEW_LINKS_MAIN) .exe \
$( INFER_CREATE_TRACEVIEW_LINKS_BIN)
$( INFER_CREATE_TRACEVIEW_LINKS_BIN)
e n d i f
e n d i f
.PHONY : infer
.PHONY : infer
infer : $( INFER_BIN ) .exe
infer : $( INFER_BIN ) .exe
$( INSTALL_PROGRAM) $( INFER_BIN) .exe $( INFER_BIN)
$( INSTALL_PROGRAM) -C $( INFER_BIN) .exe $( INFER_BIN)
$( MAKE) $( INFER_BIN_ALIASES)
$( MAKE) $( INFER_BIN_ALIASES)
$(INFER_BUILD_DIR)/$(INFER_MAIN).bc : $( SRC_BUILD_COMMON ) $( MAKEFILE_LIST )
$(INFER_BUILD_DIR)/$(INFER_MAIN).bc : $( SRC_BUILD_COMMON ) $( MAKEFILE_LIST )
@ -155,15 +155,15 @@ ifeq ($(WINDOWS_BUILD),yes)
# http://cygwin.1069669.n5.nabble.com/cp-utility-bug-when-dest-name-exe-file-exist-tp57955p58001.html
# http://cygwin.1069669.n5.nabble.com/cp-utility-bug-when-dest-name-exe-file-exist-tp57955p58001.html
$( REMOVE) $( INFER_BIN) $( INFER_BIN) .exe
$( REMOVE) $( INFER_BIN) $( INFER_BIN) .exe
e n d i f
e n d i f
$( INSTALL_PROGRAM) $( INFER_BUILD_DIR) /$( INFER_MAIN) .bc $( INFER_BIN) .bc
$( INSTALL_PROGRAM) -C $( INFER_BUILD_DIR) /$( INFER_MAIN) .bc $( INFER_BIN) .bc
i f e q ( $( IS_FACEBOOK_TREE ) , y e s )
i f e q ( $( IS_FACEBOOK_TREE ) , y e s )
$( INSTALL_PROGRAM) $( INFER_BUILD_DIR) /$( INFER_CREATE_TRACEVIEW_LINKS_MAIN) .bc \
$( INSTALL_PROGRAM) -C $( INFER_BUILD_DIR) /$( INFER_CREATE_TRACEVIEW_LINKS_MAIN) .bc \
$( INFER_CREATE_TRACEVIEW_LINKS_BIN)
$( INFER_CREATE_TRACEVIEW_LINKS_BIN)
e n d i f
e n d i f
.PHONY : byte
.PHONY : byte
byte : $( INFER_BIN ) .bc
byte : $( INFER_BIN ) .bc
$( INSTALL_PROGRAM) $( INFER_BIN) .bc $( INFER_BIN)
$( INSTALL_PROGRAM) -C $( INFER_BIN) .bc $( INFER_BIN)
$( MAKE) $( INFER_BIN_ALIASES)
$( MAKE) $( INFER_BIN_ALIASES)
roots := Infer
roots := Infer
@ -196,7 +196,7 @@ $(INFER_BUILD_DIR)/infertop.bc: $(SRC_DIR)/infertop.ml $(SRC_BUILD_COMMON) $(MAK
$( QUIET) touch $@
$( QUIET) touch $@
$(INFERTOP_BIN) : $( INFER_BUILD_DIR ) /infertop .bc
$(INFERTOP_BIN) : $( INFER_BUILD_DIR ) /infertop .bc
$( QUIET) $( INSTALL_PROGRAM) $< $@
$( QUIET) $( INSTALL_PROGRAM) -C $< $@
$( QUIET) touch $@
$( QUIET) touch $@
.PHONY : toplevel
.PHONY : toplevel
@ -207,7 +207,7 @@ checkCopyright: $(CHECKCOPYRIGHT_BIN)
$(CHECKCOPYRIGHT_BIN) : $( SRC_BUILD_COMMON ) $( MAKEFILE_LIST )
$(CHECKCOPYRIGHT_BIN) : $( SRC_BUILD_COMMON ) $( MAKEFILE_LIST )
dune build $( INFER_BUILD_DIR) /scripts/$( CHECKCOPYRIGHT_MAIN) .exe
dune build $( INFER_BUILD_DIR) /scripts/$( CHECKCOPYRIGHT_MAIN) .exe
$( INSTALL_PROGRAM) $( INFER_BUILD_DIR) /scripts/$( CHECKCOPYRIGHT_MAIN) .exe $( CHECKCOPYRIGHT_BIN)
$( INSTALL_PROGRAM) -C $( INFER_BUILD_DIR) /scripts/$( CHECKCOPYRIGHT_MAIN) .exe $( CHECKCOPYRIGHT_BIN)
d e f i n e g e n _ a t d g e n _ r u l e s
d e f i n e g e n _ a t d g e n _ r u l e s
# generate files using atdgen
# generate files using atdgen
@ -237,7 +237,7 @@ $(foreach atd_type,$(CLANG_ATDGEN_TYPES),\
d e f i n e m i r r o r _ f c p _ f i l e
d e f i n e m i r r o r _ f c p _ f i l e
$(CLANG_PLUGIN_MIRROR)/$(notdir $(1)) : $( 1)
$(CLANG_PLUGIN_MIRROR)/$(notdir $(1)) : $( 1)
$( INSTALL_DATA) $$ < $$ @
$( INSTALL_DATA) -C $$ < $$ @
e n d e f
e n d e f
$( foreach file , $ ( FCP_FILES_TO_MIRROR ) , $ ( eval $ ( call mirror_fcp_file ,$ ( file ) ) ) )
$( foreach file , $ ( FCP_FILES_TO_MIRROR ) , $ ( eval $ ( call mirror_fcp_file ,$ ( file ) ) ) )