zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: zsh-workers@math.gatech.edu (Zsh hacking and development)
Subject: More Makefile improvements
Date: Fri, 27 Dec 1996 00:21:37 +0100 (MET)	[thread overview]
Message-ID: <199612262321.AAA07077@hzoli.ppp.cs.elte.hu> (raw)

This patch removes some unnecessary recursive make calls.

It depends probably on all Makefile.in patches that Zefram and myself
posted to the list before.

Zoltan


*** Src/Makefile.in	1996/12/26 21:46:52	3.1.1.7
--- Src/Makefile.in	1996/12/26 22:16:47
***************
*** 166,178 ****
  # default target
  all: bin modules
  
! modules: proto $(HDRS) $(ANSI@U@KNR)
! 	@test -z '$(MO@D@ULE_DIRS)' || $(MAKE) $(MAKEDEFS) $(MODULE_DIRS)
  
! bin: proto $(ANSI@U@KNR)
  	@$(MAKE) $(MAKEDEFS) zsh
  
! zsh: $(@L@IBZSH) $(@L@OBJS) $(@L@STMP)
  	$(LINK) $(@L@OBJS) $(@L@LIST) $(LIBS)
  
  $(LIBZSH): $(LIBOBJS) $(NSTMP)
--- 166,177 ----
  # default target
  all: bin modules
  
! modules: $(MO@D@ULE_DIRS)
  
! bin: proto $(HDRS) $(ANSI@U@KNR)
  	@$(MAKE) $(MAKEDEFS) zsh
  
! zsh: $(PROTO) $(@L@IBZSH) $(@L@OBJS) $(@L@STMP)
  	$(LINK) $(@L@OBJS) $(@L@LIST) $(LIBS)
  
  $(LIBZSH): $(LIBOBJS) $(NSTMP)
***************
*** 197,204 ****
  
  init.o: bltinmods.list zshpaths.h zshxmods.h
  
! $(MODULE_DIRS): FORCE
! 	@cd $@ && $(MAKE) $(MAKEDEFS) modules
  
  zshpaths.h: FORCE
  	@echo '#define MODULE_DIR "'$(MODDIR)'"' > zshpaths.h.tmp
--- 196,203 ----
  
  init.o: bltinmods.list zshpaths.h zshxmods.h
  
! $(MODULE_DIRS): proto $(HDRS) $(ANSI@U@KNR) FORCE
! 	@cd $@ && $(MAKE) $(MAKEDEFS) shobjs
  
  zshpaths.h: FORCE
  	@echo '#define MODULE_DIR "'$(MODDIR)'"' > zshpaths.h.tmp
*** Src/Modules/Makefile.in	1996/12/26 21:46:52	3.1.1.5
--- Src/Modules/Makefile.in	1996/12/26 21:48:46
***************
*** 107,113 ****
  all: modules
  
  modules: proto
! 	@$(MAKE) $(MAKEDEFS) $(MODULES)
  
  proto: $(PROTO)
  
--- 107,115 ----
  all: modules
  
  modules: proto
! 	@$(MAKE) $(MAKEDEFS) shobjs
! 
! shobjs: $(MODULES)
  
  proto: $(PROTO)
  
*** Src/Zle/Makefile.in	1996/12/26 21:46:52	3.1.1.5
--- Src/Zle/Makefile.in	1996/12/26 21:48:46
***************
*** 120,126 ****
  all: modules
  
  modules: proto
! 	@$(MAKE) $(MAKEDEFS) $(MODULES)
  
  zle.so: $(ZLEDOBJS)
  	$(DLLINK) $(ZLEDOBJS)
--- 120,128 ----
  all: modules
  
  modules: proto
! 	@$(MAKE) $(MAKEDEFS) shobjs
! 
! shobjs: $(MODULES)
  
  zle.so: $(ZLEDOBJS)
  	$(DLLINK) $(ZLEDOBJS)


                 reply	other threads:[~1996-12-26 23:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199612262321.AAA07077@hzoli.ppp.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).