forked from OSchip/llvm-project
26 lines
688 B
Makefile
26 lines
688 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
|
|
|
|
LINK_COMPONENTS := support
|
|
|
|
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) -lpthread
|
|
endif
|