2010-07-10 04:39:50 +08:00
|
|
|
##===- source/Makefile -------------------------------------*- Makefile -*-===##
|
2014-01-18 04:18:59 +08:00
|
|
|
#
|
2010-07-10 04:39:50 +08:00
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2014-01-18 04:18:59 +08:00
|
|
|
#
|
2010-07-10 04:39:50 +08:00
|
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
|
|
|
|
LLDB_LEVEL := ..
|
2013-08-23 20:44:05 +08:00
|
|
|
include $(LLDB_LEVEL)/../../Makefile.config
|
|
|
|
|
2014-01-18 04:18:59 +08:00
|
|
|
DIRS :=
|
2014-04-30 00:57:45 +08:00
|
|
|
|
|
|
|
# enable lldb-gdbserver for supported platforms
|
2014-08-11 14:29:06 +08:00
|
|
|
ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux GNU/kFreeBSD)))
|
2015-02-18 23:39:41 +08:00
|
|
|
DIRS += lldb-server
|
2013-08-23 20:44:05 +08:00
|
|
|
endif
|
2010-07-10 04:39:50 +08:00
|
|
|
|
2014-01-18 16:05:32 +08:00
|
|
|
ifeq ($(HOST_OS),Darwin)
|
|
|
|
DIRS += debugserver
|
|
|
|
endif
|
|
|
|
|
2014-11-05 07:30:30 +08:00
|
|
|
ifeq ($(ENABLE_WERROR),0)
|
2014-05-19 17:12:15 +08:00
|
|
|
DIRS += lldb-mi
|
2014-11-05 07:30:30 +08:00
|
|
|
endif
|
|
|
|
|
2014-03-12 18:51:32 +08:00
|
|
|
DIRS += driver
|
|
|
|
|
2010-07-10 04:39:50 +08:00
|
|
|
include $(LLDB_LEVEL)/Makefile
|