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
10LEVEL := ../..
11LIBRARYNAME := BugpointPasses
12LOADABLE_MODULE := 1
13USEDLIBS :=
14
15# If we don't need RTTI or EH, there's no reason to export anything
16# from this plugin.
17ifneq ($(REQUIRES_RTTI), 1)
18ifneq ($(REQUIRES_EH), 1)
19EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/bugpoint.exports
20endif
21endif
22
23include $(LEVEL)/Makefile.common
24