Daniel Dunbar | 3ede8d0 | 2009-03-02 19:59:07 +0000 | [diff] [blame] | 1 | ##===- clang/lib/Driver/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 | LEVEL = ../../../.. |
| 11 | LIBRARYNAME := clangDriver |
| 12 | BUILD_ARCHIVE = 1 |
| 13 | CXXFLAGS = -fno-rtti |
Mike Stump | 44da821 | 2009-10-07 01:11:54 +0000 | [diff] [blame] | 14 | OS_MAJOR := -DOS_MAJOR=$(shell uname -r | sed 's/\..*//') |
Douglas Gregor | 7ebe971 | 2009-08-23 05:02:18 +0000 | [diff] [blame] | 15 | # Don't install Clang libraries |
| 16 | NO_INSTALL = 1 |
Daniel Dunbar | 3ede8d0 | 2009-03-02 19:59:07 +0000 | [diff] [blame] | 17 | |
Mike Stump | 44da821 | 2009-10-07 01:11:54 +0000 | [diff] [blame] | 18 | CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include $(OS_MAJOR) |
Douglas Gregor | b8d1191 | 2009-10-05 20:33:49 +0000 | [diff] [blame] | 19 | |
Daniel Dunbar | 3ede8d0 | 2009-03-02 19:59:07 +0000 | [diff] [blame] | 20 | include $(LEVEL)/Makefile.common |