llvm-project/lldb/tools/Makefile

31 lines
704 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 NetBSD GNU/kFreeBSD)))
DIRS += lldb-server
endif
ifeq ($(HOST_OS),Darwin)
DIRS += debugserver
endif
ifeq ($(ENABLE_WERROR),0)
DIRS += lldb-mi
endif
DIRS += driver
include $(LLDB_LEVEL)/Makefile