summaryrefslogtreecommitdiffstats
path: root/lldb/tools/Makefile
blob: 7c5d310ad2c8fb4d6aebd8985e52f5b21c830928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
##===- 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

# enable lldb-gdbserver for supported platforms
DIRS :=
ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux)))
ifneq (,$(strip $(filter $(HOST_ARCH), x86_64)))
DIRS += lldb-gdbserver
else
endif
else
endif

ifneq ($(HOST_OS),MingW)
DIRS += lldb-platform
endif

ifeq ($(HOST_OS),Darwin)
DIRS += debugserver
endif

DIRS += driver

include $(LLDB_LEVEL)/Makefile
OpenPOWER on IntegriCloud