Eric Christopher 8b1bea8aee Avoid building lldb-mi when --enable-werror is set
as it doesn't build and is optional.

llvm-svn: 221315
2014-11-04 23:30:30 +00:00

35 lines
754 B
Makefile

##===- source/Makefile -------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS :=
# enable lldb-gdbserver for supported platforms
ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux GNU/kFreeBSD)))
DIRS += lldb-gdbserver
endif
ifneq ($(HOST_OS),MingW)
DIRS += lldb-platform
endif
ifeq ($(HOST_OS),Darwin)
DIRS += debugserver
endif
ifeq ($(ENABLE_WERROR),0)
DIRS += lldb-mi
endif
DIRS += driver
include $(LLDB_LEVEL)/Makefile