diff --git a/src/modules/dynamic_module_makefile.in b/src/modules/dynamic_module_makefile.in index 688cd11b90e0dce6108a38b69c58fb57fd15cefe..dc2a41ba38f491865aa09004c2fa9ec3e22de32f 100644 --- a/src/modules/dynamic_module_makefile.in +++ b/src/modules/dynamic_module_makefile.in @@ -1,5 +1,5 @@ # -# $Id: dynamic_module_makefile.in,v 1.31 1998/02/27 08:40:57 hubbe Exp $ +# $Id: dynamic_module_makefile.in,v 1.32 1998/04/09 21:53:03 hubbe Exp $ # @@ -15,7 +15,7 @@ MAKE_FLAGS = "prefix=$(prefix)" "exec_prefix=$(exec_prefix)" "CC=$(CC)" "OTHERFL all: subdirs dummy subdirs: - @for a in '' $(MODULE_SUBDIRS) ; do if test ! -z "$$a"; then echo making $$a ; ( cd $$a && $(MAKE) $(MAKE_FLAGS) ) || exit $$? ; else :; fi ; done + @for a in '' $(MODULE_SUBDIRS) ; do if test ! -z "$$a"; then echo making $$a ; ( rm $$a/remake >/dev/null 2>&1 ||: ; cd $$a && ( $(MAKE) $(MAKE_FLAGS) || ( test -f remake $(MAKE) $(MAKE_FLAGS) ) ) ) || exit $$? ; else :; fi ; done dummy: $(DUMMY) linker_options modlist_headers modlist_segment module.so @tmp="$(INSTALL_NAME)" ; \ diff --git a/src/modules/static_module_makefile.in b/src/modules/static_module_makefile.in index e9608e0484a021d3b94fcf359ce1d185255f016d..75fd079e335530ee1c3ed5e97cdd7346ef00792f 100644 --- a/src/modules/static_module_makefile.in +++ b/src/modules/static_module_makefile.in @@ -1,5 +1,5 @@ # -# $Id: static_module_makefile.in,v 1.25 1998/02/27 08:40:57 hubbe Exp $ +# $Id: static_module_makefile.in,v 1.26 1998/04/09 21:53:03 hubbe Exp $ # @@ -15,7 +15,7 @@ MAKE_FLAGS = "prefix=$(prefix)" "exec_prefix=$(exec_prefix)" "CC=$(CC)" "OTHERFL all: subdirs dummy subdirs: - @for a in '' $(MODULE_SUBDIRS) ; do if test ! -z "$$a"; then echo making $$a ; ( cd $$a && $(MAKE) $(MAKE_FLAGS) ) || exit $$? ; else :; fi ; done + @for a in '' $(MODULE_SUBDIRS) ; do if test ! -z "$$a"; then echo making $$a ; ( rm $$a/remake >/dev/null 2>&1 ||: ; cd $$a && ( $(MAKE) $(MAKE_FLAGS) || ( test -f remake $(MAKE) $(MAKE_FLAGS) ) ) ) || exit $$? ; else :; fi ; done dummy: linker_options modlist_headers modlist_segment module.pmod module.a @tmp="$(INSTALL_NAME)" ;\