forked from OSchip/llvm-project
24 lines
620 B
Makefile
24 lines
620 B
Makefile
##===- tools/lldb-platform/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-platform
|
|
|
|
LD.Flags += -llldb -llldbUtility
|
|
|
|
include $(LLDB_LEVEL)/Makefile
|
|
|
|
ifeq ($(HOST_OS),Darwin)
|
|
LD.Flags += -Wl,-rpath,@loader_path/../lib/
|
|
endif
|
|
|
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD))
|
|
LD.Flags += -Wl,-rpath,$(LibDir)
|
|
endif
|