[OCaml] Add -g on DEBUG_SYMBOLS=1, not ENABLE_OPTIMIZED.
[oota-llvm.git] / tools / bugpoint-passes / Makefile
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
10 LEVEL := ../..
11 LIBRARYNAME := BugpointPasses
12 LOADABLE_MODULE := 1
13 USEDLIBS :=
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