You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

# Copyright (c) 2015 - present Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
@SET_MAKE@
ROOT_DIR = ..
include $(ROOT_DIR)/Makefile.config
all: clang java llvm $(INFER_BIN) $(INFERTRACEBUGS_BIN) checkCopyright
$(INFER_BIN) $(INFERTRACEBUGS_BIN):
($(REMOVE) $@ && \
cd $(@D) && \
$(LN_S) ../lib/python/$(@F) $(@F))
java: $(INFER_BIN)
$(MAKE) -C $(SRC_DIR) java
$(MAKE) -C $(ANNOTATIONS_DIR)
$(MAKE) -C $(MODELS_DIR) java
clang: $(INFER_BIN)
$(MAKE) -C $(SRC_DIR) clang
$(MAKE) -C $(MODELS_DIR) clang
llvm: $(INFER_BIN)
$(MAKE) -C $(SRC_DIR) llvm
checkCopyright:
$(MAKE) -C $(SRC_DIR) checkCopyright
clean:
$(MAKE) -C $(SRC_DIR) clean
$(MAKE) -C $(ANNOTATIONS_DIR) clean
$(MAKE) -C $(MODELS_DIR) clean
$(REMOVE) $(INFER_BIN) $(INFERTRACEBUGS_BIN)
.PHONY: all checkCopyright clang clean java llvm models