Add LLVM runtime checks to build path
[clang/acc.git] / lib / Index / Makefile
blob7dee87f3b6bb0702a87b01b42691dd924b68f587
1 ##===- clang/lib/Index/Makefile ----------------------------*- Makefile -*-===##
2 #
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
10 # This implements the Indexer library for the C-Language front-end.
12 ##===----------------------------------------------------------------------===##
14 LEVEL = ../../../..
15 include $(LEVEL)/Makefile.config
17 LIBRARYNAME := clangIndex
18 BUILD_ARCHIVE = 1
19 CXXFLAGS = -fno-rtti
21 ifeq ($(ARCH),PowerPC)
22 CXXFLAGS += -maltivec
23 endif
25 CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
27 include $(LEVEL)/Makefile.common