This commit merges lldb-platform and lldb-gdbserver into a single binary of the same size as each of the previous individual binaries. Execution mode is controlled by the first argument being either platform or gdbserver. Patch from: flackr <flackr@google.com> Differential revision: http://reviews.llvm.org/D7545 llvm-svn: 229683
24 lines
650 B
Makefile
24 lines
650 B
Makefile
##===- tools/lldb-server/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 := ../..
|
|
|
|
TOOLNAME = lldb-server
|
|
|
|
LLVMLibsOptions += -llldb -llldbUtility
|
|
|
|
include $(LLDB_LEVEL)/Makefile
|
|
|
|
ifeq ($(HOST_OS),Darwin)
|
|
LLVMLibsOptions += -Wl,-rpath,@loader_path/../lib/
|
|
endif
|
|
|
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD))
|
|
LLVMLibsOptions += -Wl,-rpath,$(LibDir)
|
|
endif
|