]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/lldb-server/Makefile
Vendor import of lldb trunk r256945:
[FreeBSD/FreeBSD.git] / tools / lldb-server / Makefile
1 ##===- tools/lldb-server/Makefile ------------------------*- Makefile -*-===##
2 #
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9 LLDB_LEVEL := ../..
10
11 TOOLNAME = lldb-server
12
13 LLVMLibsOptions += -llldb -llldbUtility
14
15 LINK_COMPONENTS := support
16
17 include $(LLDB_LEVEL)/Makefile
18
19 ifeq ($(HOST_OS),Darwin)
20         LLVMLibsOptions += -Wl,-rpath,@loader_path/../lib/
21 endif
22
23 ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD NetBSD))
24         LLVMLibsOptions += -Wl,-rpath,$(LibDir) -lpthread
25 endif