[Lldb-commits] [lldb] r153662 - /lldb/trunk/tools/lldb-platform/Makefile
Greg Clayton
gclayton at apple.com
Thu Mar 29 10:46:50 PDT 2012
Author: gclayton
Date: Thu Mar 29 12:46:49 2012
New Revision: 153662
URL: http://llvm.org/viewvc/llvm-project?rev=153662&view=rev
Log:
Missed a file in the last FreeBSD patch.
Added:
lldb/trunk/tools/lldb-platform/Makefile
Added: lldb/trunk/tools/lldb-platform/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-platform/Makefile?rev=153662&view=auto
==============================================================================
--- lldb/trunk/tools/lldb-platform/Makefile (added)
+++ lldb/trunk/tools/lldb-platform/Makefile Thu Mar 29 12:46:49 2012
@@ -0,0 +1,23 @@
+##===- 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, at loader_path/../lib/
+endif
+
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD))
+ LD.Flags += -Wl,-rpath,$(LibDir)
+endif
More information about the lldb-commits
mailing list