[Lldb-commits] [PATCH] D16284: Fix Makefile build

Isaiah via lldb-commits lldb-commits at lists.llvm.org
Sun Jan 17 21:24:13 PST 2016


ihnorton updated this revision to Diff 45147.
ihnorton added a comment.

Only build Apple-specific simulators on Darwin, as in r252205


http://reviews.llvm.org/D16284

Files:
  Makefile
  source/Plugins/Platform/MacOSX/Makefile

Index: source/Plugins/Platform/MacOSX/Makefile
===================================================================
--- source/Plugins/Platform/MacOSX/Makefile
+++ source/Plugins/Platform/MacOSX/Makefile
@@ -8,6 +8,25 @@
 ##===----------------------------------------------------------------------===##
 
 LLDB_LEVEL := ../../../..
+LEVEL := $(LLDB_LEVEL)/../..
+
+include $(LEVEL)/Makefile.config
+
+SOURCES += PlatformDarwin.cpp \
+		   PlatformDarwinKernel.cpp \
+		   PlatformMacOSX.cpp \
+		   PlatformRemoteiOS.cpp \
+		   PlatformRemoteAppleTV.cpp \
+		   PlatformRemoteAppleWatch.cpp
+
+ifeq ($(HOST_OS),Darwin)
+SOURCES += PlatformAppleSimulator.cpp \
+		   PlatformiOSSimulator.cpp \
+		   PlatformiOSSimulatorCoreSimulatorSupport.mm \
+		   PlatformAppleTVSimulator.cpp \
+		   PlatformAppleWatchSimulator.cpp
+endif
+
 LIBRARYNAME := lldbPluginPlatformMacOSX
 BUILD_ARCHIVE = 1
 
Index: Makefile
===================================================================
--- Makefile
+++ Makefile
@@ -88,14 +88,6 @@
 
 ifeq ($(IS_TOP_LEVEL),1)
 
-ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
-$(RecursiveTargets)::
-	$(Verb) if [ ! -f test/Makefile ]; then \
-	  $(MKDIR) test; \
-	  $(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \
-	fi
-endif
-
 test::
 	@ $(MAKE) -C test
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16284.45147.patch
Type: text/x-patch
Size: 1282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160118/f3ae13f8/attachment.bin>


More information about the lldb-commits mailing list