2009-03-03 03:59:07 +08:00
|
|
|
##===- clang/lib/Driver/Makefile ---------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
LEVEL = ../../../..
|
|
|
|
LIBRARYNAME := clangDriver
|
|
|
|
BUILD_ARCHIVE = 1
|
|
|
|
CXXFLAGS = -fno-rtti
|
2009-10-07 09:11:54 +08:00
|
|
|
OS_MAJOR := -DOS_MAJOR=$(shell uname -r | sed 's/\..*//')
|
2009-08-23 13:02:18 +08:00
|
|
|
# Don't install Clang libraries
|
|
|
|
NO_INSTALL = 1
|
2009-03-03 03:59:07 +08:00
|
|
|
|
2009-10-07 09:11:54 +08:00
|
|
|
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include $(OS_MAJOR)
|
2009-03-20 13:23:53 +08:00
|
|
|
|
2009-10-06 04:33:49 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|