blob: 191e9d4b595dc434d70137f51c204fb5f4e1fc0a [file] [log] [blame]
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +00001##===- clang/lib/Index/Makefile ----------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9#
10# This implements the Indexer library for the C-Language front-end.
11#
12##===----------------------------------------------------------------------===##
13
Daniel Dunbarafed0992010-06-08 20:34:18 +000014CLANG_LEVEL := ../..
15include $(CLANG_LEVEL)/../../Makefile.config
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +000016
17LIBRARYNAME := clangIndex
18BUILD_ARCHIVE = 1
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +000019
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +000020ifeq ($(ARCH),PowerPC)
Jeffrey Yasskin33524062010-03-12 22:55:16 +000021CXX.Flags += -maltivec
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +000022endif
23
Jeffrey Yasskin33524062010-03-12 22:55:16 +000024CPP.Flags += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +000025
Daniel Dunbarafed0992010-06-08 20:34:18 +000026include $(CLANG_LEVEL)/Makefile
Argyrios Kyrtzidis9eec4ed2009-07-05 22:22:19 +000027