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
|
|
|
# enable lldb-gdbserver for supported platforms
|
|
|
|
DIRS :=
|
2014-02-06 03:28:47 +08:00
|
|
|
ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux)))
|
2014-01-18 04:18:59 +08:00
|
|
|
ifneq (,$(strip $(filter $(HOST_ARCH), x86_64)))
|
|
|
|
DIRS += lldb-gdbserver
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
2013-08-23 20:44:05 +08:00
|
|
|
ifneq ($(HOST_OS),MingW)
|
2014-03-12 18:51:32 +08:00
|
|
|
DIRS += lldb-platform
|
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-03-12 18:51:32 +08:00
|
|
|
DIRS += driver
|
|
|
|
|
2010-07-10 04:39:50 +08:00
|
|
|
include $(LLDB_LEVEL)/Makefile
|