mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
Added targets that force users to re-run autoconf when the script has been
updated. llvm-svn: 8921
This commit is contained in:
parent
d6ed5425f4
commit
bbebc106ee
@ -58,6 +58,9 @@ VPATH=$(SourceDir)
|
||||
# building.
|
||||
###########################################################################
|
||||
|
||||
# Ensure people re-run configure when it gets updated
|
||||
all::$(LLVM_OBJ_ROOT)/include/Config/config.h
|
||||
|
||||
ifdef SHARED_LIBRARY
|
||||
# if SHARED_LIBRARY is specified, the default is to build the dynamic lib
|
||||
all:: dynamic
|
||||
@ -774,6 +777,14 @@ $(BUILD_OBJ_DIR)/Depend/%.d: %.cpp $(BUILD_OBJ_DIR)/Depend/.dir
|
||||
$(BUILD_OBJ_DIR)/Depend/%.d: %.c $(BUILD_OBJ_DIR)/Depend/.dir
|
||||
$(VERB) $(DependC) -o $@ $< | $(SED) 's|\.o|\.lo|' | $(SED) 's|$*\.lo *|$(BUILD_OBJ_DIR)/Release/& $(BUILD_OBJ_DIR)/Profile/& $(BUILD_OBJ_DIR)/Debug/& $(BUILD_OBJ_DIR)/Depend/$(@F)|g' > $@
|
||||
|
||||
#
|
||||
# Autoconf Dependencies.
|
||||
#
|
||||
$(LLVM_OBJ_ROOT)/include/Config/config.h:: $(LLVM_SRC_ROOT)/configure
|
||||
@${ECHO} "You need to re-run $(LLVM_SRC_ROOT)/configure"
|
||||
@${ECHO} "inside the directory $(LLVM_OBJ_ROOT)"
|
||||
$(VERB) exit 1
|
||||
|
||||
#
|
||||
# Include dependencies generated from C/C++ source files, but not if we
|
||||
# are cleaning (this example taken from the GNU Make Manual).
|
||||
|
Loading…
Reference in New Issue
Block a user