[Lldb-commits] [lldb] r111920 - /lldb/trunk/test/make/Makefile.rules

Johnny Chen johnny.chen at apple.com
Tue Aug 24 09:35:00 PDT 2010


Author: johnny
Date: Tue Aug 24 11:35:00 2010
New Revision: 111920

URL: http://llvm.org/viewvc/llvm-project?rev=111920&view=rev
Log:
Generates the .d prerequisite file for dylib as well.

Modified:
    lldb/trunk/test/make/Makefile.rules

Modified: lldb/trunk/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/make/Makefile.rules?rev=111920&r1=111919&r2=111920&view=diff
==============================================================================
--- lldb/trunk/test/make/Makefile.rules (original)
+++ lldb/trunk/test/make/Makefile.rules Tue Aug 24 11:35:00 2010
@@ -100,6 +100,9 @@
 # files by replacing all .c files with .d.
 #----------------------------------------------------------------------
 PREREQS := $(OBJECTS:.o=.d)
+ifneq "$(DYLIB_NAME)" ""
+	DYLIB_PREREQS := $(DYLIB_OBJECTS:.o=.d)
+endif
 
 #----------------------------------------------------------------------
 # Rule for Generating Prerequisites Automatically using .d files and
@@ -135,6 +138,9 @@
 # to manually track all of the prerequisites for each source file.
 #----------------------------------------------------------------------
 sinclude $(PREREQS)
+ifneq "$(DYLIB_NAME)" ""
+	sinclude $(DYLIB_PREREQS)
+endif
 
 .PHONY: clean
 dsym:	$(DSYM)





More information about the lldb-commits mailing list