2008-03-16 07:59:48 +08:00
|
|
|
##===- clang/lib/Lex/Makefile ------------------------------*- Makefile -*-===##
|
2006-06-18 13:43:12 +08:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-30 04:02:25 +08:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2006-06-18 13:43:12 +08:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
#
|
|
|
|
# This implements the Lexer library for the C-Language front-end.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
2008-03-16 07:59:48 +08:00
|
|
|
LEVEL = ../../../..
|
2006-10-31 04:01:22 +08:00
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
|
2006-06-18 13:43:12 +08:00
|
|
|
LIBRARYNAME := clangLex
|
|
|
|
BUILD_ARCHIVE = 1
|
|
|
|
|
2006-10-31 04:01:22 +08:00
|
|
|
ifeq ($(ARCH),PowerPC)
|
|
|
|
CXXFLAGS += -maltivec
|
|
|
|
endif
|
|
|
|
|
2009-03-17 07:06:59 +08:00
|
|
|
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
|
2006-06-18 13:43:12 +08:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|