mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
Generates the .d prerequisite file for dylib as well.
llvm-svn: 111920
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user