Rafael Espindola | f47d709 | 2010-08-07 21:53:04 +0000 | [diff] [blame] | 1 | ##===- tools/bugpoint-passes/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 | |
Daniel Dunbar | 8c39c96 | 2011-10-18 19:27:24 +0000 | [diff] [blame] | 10 | LEVEL := ../.. |
| 11 | LIBRARYNAME := BugpointPasses |
| 12 | LOADABLE_MODULE := 1 |
| 13 | USEDLIBS := |
Rafael Espindola | f47d709 | 2010-08-07 21:53:04 +0000 | [diff] [blame] | 14 | |
| 15 | # If we don't need RTTI or EH, there's no reason to export anything |
| 16 | # from this plugin. |
| 17 | ifneq ($(REQUIRES_RTTI), 1) |
| 18 | ifneq ($(REQUIRES_EH), 1) |
| 19 | EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/bugpoint.exports |
| 20 | endif |
| 21 | endif |
| 22 | |
| 23 | include $(LEVEL)/Makefile.common |