diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2010-08-24 16:35:00 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2010-08-24 16:35:00 +0000 |
| commit | e3dc0f048ab677493f0341f9faefa2241d0590e7 (patch) | |
| tree | e4c3f1c4537fc4fe2cc2c303542e4dd79de249c2 | |
| parent | e90dd00c3c39a529650620802274949b6b4c535a (diff) | |
| download | bcm5719-llvm-e3dc0f048ab677493f0341f9faefa2241d0590e7.tar.gz bcm5719-llvm-e3dc0f048ab677493f0341f9faefa2241d0590e7.zip | |
Generates the .d prerequisite file for dylib as well.
llvm-svn: 111920
| -rw-r--r-- | lldb/test/make/Makefile.rules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/test/make/Makefile.rules b/lldb/test/make/Makefile.rules index 2f15ff927b6..992d266ec94 100644 --- a/lldb/test/make/Makefile.rules +++ b/lldb/test/make/Makefile.rules @@ -100,6 +100,9 @@ $(DYLIB_NAME) : $(DYLIB_OBJECTS) # 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 @@ PREREQS := $(OBJECTS:.o=.d) # to manually track all of the prerequisites for each source file. #---------------------------------------------------------------------- sinclude $(PREREQS) +ifneq "$(DYLIB_NAME)" "" + sinclude $(DYLIB_PREREQS) +endif .PHONY: clean dsym: $(DSYM) |

