1# 2# Copyright (C) 2012 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17ifeq ($(LIBBCC_ROOT_PATH),) 18$(error Must set variable LIBBCC_ROOT_PATH before including this! $(LOCAL_PATH)) 19endif 20 21#===================================================================== 22# Root Path for Other Projects 23#===================================================================== 24 25LLVM_ROOT_PATH := external/llvm 26MCLD_ROOT_PATH := frameworks/compile/mclinker 27RSLOADER_ROOT_PATH := frameworks/compile/linkloader 28 29#===================================================================== 30# Related Makefile Paths of libbcc 31#===================================================================== 32 33LIBBCC_HOST_BUILD_MK := $(LIBBCC_ROOT_PATH)/libbcc-host-build.mk 34LIBBCC_DEVICE_BUILD_MK := $(LIBBCC_ROOT_PATH)/libbcc-device-build.mk 35LIBBCC_GEN_CONFIG_MK := $(LIBBCC_ROOT_PATH)/libbcc-gen-config-from-mk.mk 36 37#===================================================================== 38# Configuration of libbcc 39#===================================================================== 40include $(LIBBCC_ROOT_PATH)/libbcc-config.mk 41 42#===================================================================== 43# Related Makefile Paths of LLVM 44#===================================================================== 45include $(LLVM_ROOT_PATH)/llvm.mk 46 47#===================================================================== 48# Related Makefile Paths of MCLinker 49#===================================================================== 50include $(MCLD_ROOT_PATH)/mcld.mk 51