Add recursive rule, 'makefiles', to update Makefiles when their Makefile.in's are more recent.

This commit is contained in:
slamm%netscape.com 1999-01-29 20:00:50 +00:00
Родитель 11de83b6b4
Коммит bfa38a80db
1 изменённых файлов: 16 добавлений и 6 удалений

Просмотреть файл

@ -537,9 +537,6 @@ endif #STRICT_CPLUSPLUS_SUFFIX
%.h: %.idl
$(IDL_COMPILE) -h -w -I $(DIST)/idl $<
Makefile: $(srcdir)/Makefile.in
$(topsrcdir)/build/autoconf/update-makefile.sh
ifdef DIRS
$(DIRS)::
@if test -d $@; then \
@ -553,9 +550,22 @@ $(DIRS)::
$(CLICK_STOPWATCH)
endif
################################################################################
###############################################################################
# Update Makefiles
###############################################################################
#
$(OBJDIR)/Makefile: Makefile.in
@echo Updating $@
$(topsrcdir)/build/autoconf/update-makefile.sh
makefile: $(OBJDIR)/Makefile
Makefiles makefiles:: $(OBJDIR)/Makefile
+$(LOOP_OVER_DIRS)
###############################################################################
# Bunch of things that extend the 'export' rule (in order):
################################################################################
###############################################################################
$(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE) $(JMCSRCDIR)::
@if test ! -d $@; then \
@ -953,7 +963,7 @@ endif
# Fake targets. Always run these rules, even if a file/directory with that
# name already exists.
#
.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs realclean $(OBJDIR) $(DIRS)
.PHONY: all all_platforms alltags boot clean clobber clobber_all export install libs makefiles Makefiles realclean $(OBJDIR) $(DIRS)
envirocheck::
@echo -----------------------------------