John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 1 | ##===- lib/Transforms/Hello/Makefile -----------------------*- Makefile -*-===## |
Misha Brukman | 9b8f542 | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 2 | # |
John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | fc643c5 | 2007-12-29 20:09:26 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
Misha Brukman | 9b8f542 | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 7 | # |
John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame] | 8 | ##===----------------------------------------------------------------------===## |
Chris Lattner | acf8089 | 2004-09-15 17:53:52 +0000 | [diff] [blame] | 9 | |
Chris Lattner | 180e568 | 2002-08-08 20:10:38 +0000 | [diff] [blame] | 10 | LEVEL = ../../.. |
Reid Spencer | 6cb21d4 | 2004-10-27 23:18:45 +0000 | [diff] [blame] | 11 | LIBRARYNAME = LLVMHello |
Reid Spencer | 99f997d | 2005-01-11 04:33:32 +0000 | [diff] [blame] | 12 | LOADABLE_MODULE = 1 |
Misha Brukman | 9b8f542 | 2009-01-09 16:44:42 +0000 | [diff] [blame] | 13 | USEDLIBS = |
Chris Lattner | 180e568 | 2002-08-08 20:10:38 +0000 | [diff] [blame] | 14 | |
Dan Gohman | fc33a30 | 2010-06-24 17:36:51 +0000 | [diff] [blame] | 15 | # If we don't need RTTI or EH, there's no reason to export anything |
| 16 | # from the hello plugin. |
| 17 | ifneq ($(REQUIRES_RTTI), 1) |
| 18 | ifneq ($(REQUIRES_EH), 1) |
| 19 | EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/Hello.exports |
| 20 | endif |
| 21 | endif |
| 22 | |
Chris Lattner | 180e568 | 2002-08-08 20:10:38 +0000 | [diff] [blame] | 23 | include $(LEVEL)/Makefile.common |
| 24 | |