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.

43 lines
1.1 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_RELPATH) $(INFERTRACEBUGS_BIN_RELPATH)
all: checkCopyright
$(INFER_BIN_RELPATH) $(INFERTRACEBUGS_BIN_RELPATH):
($(REMOVE) $@ && \
cd $(@D) && \
$(LN_S) ../lib/python/$(@F) $(@F))
java: $(INFER_BIN_RELPATH)
$(MAKE) -C $(SRC_DIR) java
$(MAKE) -C $(ANNOTATIONS_DIR)
$(MAKE) -C $(MODELS_DIR) java
clang: $(INFER_BIN_RELPATH)
$(MAKE) -C $(SRC_DIR) clang
$(MAKE) -C $(MODELS_DIR) clang
llvm: $(INFER_BIN_RELPATH)
$(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_RELPATH) $(INFERTRACEBUGS_BIN_RELPATH)
.PHONY: all checkCopyright clang clean java llvm models