+2011-03-03 Yao Qi <yao@codesourcery.com>
+
+ * Makefile.in (configure-common): Remove. Let Makefile
+ in dir common to rebuild itself.
+ (common/Makefile): Likewise.
+
2011-03-03 Joel Brobecker <brobecker@adacore.com>
* utils.c (parse_escape): Add i18n markup in error message.
$(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
@$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
-configure-common:
- @: $(MAKE); $(unstage)
- @r=`${PWD_COMMAND}`; export r; \
- s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
- test ! -f common/Makefile || exit 0; \
- $(SHELL) $(srcdir)/../mkinstalldirs common ; \
- $(HOST_EXPORTS) \
- echo Configuring in common; \
- cd "common" || exit 1; \
- commondir="$$s/common"; \
- srcdiroption="--srcdir=$${commondir}"; \
- $(SHELL) $${commondir}/configure --enable-gdbserver=no \
- $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
- --target=${target_alias} $${srcdiroption} \
- || exit 1
-
# Convenience rule to handle recursion.
.PHONY: all-data-directory
all-data-directory: data-directory/Makefile
CONFIG_LINKS= \
$(SHELL) config.status
-common/Makefile: configure-common common/Makefile.in config.status @frags@
- CONFIG_FILES="common/Makefile" \
- CONFIG_COMMANDS="depfiles" \
- CONFIG_HEADERS= \
- CONFIG_LINKS= \
- $(SHELL) config.status
-
config.h: stamp-h ; @true
stamp-h: $(srcdir)/config.in config.status
CONFIG_HEADERS=config.h:config.in \