From 7a0415cfd70a02b2280d27556c6c54cef1c86e1a Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:18:42 +0000 Subject: zsh-3.1.5-pws-11 --- Src/Makefile.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'Src/Makefile.in') diff --git a/Src/Makefile.in b/Src/Makefile.in index 1b5256e16..0babdf47b 100644 --- a/Src/Makefile.in +++ b/Src/Makefile.in @@ -112,8 +112,10 @@ FORCE: # ========== LINKING IN MODULES ========== -modules-bltin: - if test @D@ = N; then \ +modules-bltin: Makefile + if test -f mymods.conf; then \ + cat mymods.conf > $@; \ + elif test @D@ = N; then \ cat $(sdir)/xmods.conf > $@; \ elif test @RTLD_GLOBAL_OK@ != yes; then \ echo comp1 > $@; \ @@ -175,18 +177,21 @@ uninstall.bin-L: # ========== DEPENDENCIES FOR CLEANUP ========== -@@clean.mk@@ +# Since module cleanup rules depend on Makemod, they come first. This +# forces module stuff to get cleaned before Makemod itself gets +# deleted. mostlyclean-here: rm -f stamp-modobjs stamp-modobjs.tmp clean-here: rm -f modules.index.tmp modules.stamp zsh ansi2knr.o ansi2knr + rm -f modules.index modules-bltin rm -f libzsh-*.$(DL_EXT) distclean-here: rm -f TAGS tags - rm -f modules.index modules-bltin Makefile + rm -f Makefile mymods.conf mostlyclean: mostlyclean-modules clean: clean-modules @@ -196,6 +201,8 @@ realclean: realclean-modules mostlyclean-modules clean-modules distclean-modules realclean-modules: Makemod @$(MAKE) -f Makemod $(MAKEDEFS) `echo $@ | sed 's/-modules//'` +@@clean.mk@@ + # ========== RECURSIVE MAKES ========== install.modules uninstall.modules \ -- cgit 1.4.1