summaryrefslogtreecommitdiff
path: root/tools/bugpoint-passes
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint-passes')
-rw-r--r--tools/bugpoint-passes/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/tools/bugpoint-passes/Makefile b/tools/bugpoint-passes/Makefile
new file mode 100644
index 0000000000..b4ad3e4ad3
--- /dev/null
+++ b/tools/bugpoint-passes/Makefile
@@ -0,0 +1,23 @@
+##===- tools/bugpoint-passes/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 = BugpointPasses
+LOADABLE_MODULE = 1
+USEDLIBS =
+
+# If we don't need RTTI or EH, there's no reason to export anything
+# from this plugin.
+ifneq ($(REQUIRES_RTTI), 1)
+ifneq ($(REQUIRES_EH), 1)
+EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/bugpoint.exports
+endif
+endif
+
+include $(LEVEL)/Makefile.common