Home | History | Annotate | Download | only in lldb-platform
      1 ##===- tools/lldb-platform/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-platform
     12 
     13 LLVMLibsOptions += -llldb -llldbUtility
     14 
     15 include $(LLDB_LEVEL)/Makefile
     16 
     17 ifeq ($(HOST_OS),Darwin)
     18 	LLVMLibsOptions += -Wl,-rpath,@loader_path/../lib/
     19 endif
     20 
     21 ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD))
     22 	LLVMLibsOptions += -Wl,-rpath,$(LibDir)
     23 endif
     24