1 include $(LLVM_HOST_BUILD_MK) 2 3 LOCAL_CFLAGS := \ 4 -include $(MCLD_ROOT_PATH)/include/mcld/Config/Config.h \ 5 $(LOCAL_CFLAGS) 6 7 LOCAL_CPPFLAGS := \ 8 $(LOCAL_CPPFLAGS) \ 9 -Wall \ 10 -Wno-unused-parameter \ 11 -Werror 12 13 ifeq ($(MCLD_ENABLE_ASSERTION),true) 14 LOCAL_CPPFLAGS += \ 15 -D_DEBUG \ 16 -UNDEBUG 17 endif 18 19 LOCAL_C_INCLUDES := \ 20 $(MCLD_ROOT_PATH)/include \ 21 $(LLVM_ROOT_PATH) \ 22 $(LLVM_ROOT_PATH)/include \ 23 $(LLVM_ROOT_PATH)/host/include \ 24 $(LOCAL_C_INCLUDES) 25 26 LOCAL_IS_HOST_MODULE := true 27