blob: 98452146c07f1950592edd8dca7997ab27d38edb [file] [log] [blame]
Chris Lattnerbda0b622008-03-15 23:59:48 +00001##===- clang/lib/Lex/Makefile ------------------------------*- Makefile -*-===##
Reid Spencer5f016e22007-07-11 17:01:13 +00002#
3# The LLVM Compiler Infrastructure
4#
Chris Lattner6298b8c2007-12-29 20:02:25 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Reid Spencer5f016e22007-07-11 17:01:13 +00007#
8##===----------------------------------------------------------------------===##
9#
10# This implements the Lexer library for the C-Language front-end.
11#
12##===----------------------------------------------------------------------===##
13
Daniel Dunbarafed0992010-06-08 20:34:18 +000014CLANG_LEVEL := ../..
15include $(CLANG_LEVEL)/../../Makefile.config
Reid Spencer5f016e22007-07-11 17:01:13 +000016
17LIBRARYNAME := clangLex
18BUILD_ARCHIVE = 1
Reid Spencer5f016e22007-07-11 17:01:13 +000019
20ifeq ($(ARCH),PowerPC)
Jeffrey Yasskin33524062010-03-12 22:55:16 +000021CXX.Flags += -maltivec
Reid Spencer5f016e22007-07-11 17:01:13 +000022endif
23
Jeffrey Yasskin33524062010-03-12 22:55:16 +000024CPP.Flags += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
Reid Spencer5f016e22007-07-11 17:01:13 +000025
Daniel Dunbarafed0992010-06-08 20:34:18 +000026include $(CLANG_LEVEL)/Makefile
Reid Spencer5f016e22007-07-11 17:01:13 +000027