From owner-freebsd-current Fri Jul 25 00:39:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA19953 for current-outgoing; Fri, 25 Jul 1997 00:39:51 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA19948 for ; Fri, 25 Jul 1997 00:39:45 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id RAA21474; Fri, 25 Jul 1997 17:09:37 +0930 (CST) From: Michael Smith Message-Id: <199707250739.RAA21474@genesis.atrad.adelaide.edu.au> Subject: Re: make world failure In-Reply-To: <199707250730.RAA27276@godzilla.zeta.org.au> from Bruce Evans at "Jul 25, 97 05:30:26 pm" To: bde@zeta.org.au (Bruce Evans) Date: Fri, 25 Jul 1997 17:09:36 +0930 (CST) Cc: mrcpu@cdsnet.net, msmith@atrad.adelaide.edu.au, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans stands accused of saying: > >> /usr/src/lib/libedit/el.h:103: help.h: No such file or directory > > > >help.c is generated earlier in the build process (during the 'depend' > >phase). Go back through your log and see what went wrong. > > The depend phase shouldn't be necessary. Many makefiles have > complications to support this. See e.g. sh/Makefile for a verbose way > of handling the problem of generated headers. Several object files > really do depend on the generated headers, and there seems to be no > better way of expression this than giving the dependencies explicity > (making everything depend on .depend is no good, since everything would > get rebuilt when .depend changes). I'm not sure I follow you here. It is not possible to run 'make depend' without generating the headers, as the depend will fail when the headers aren't found. Given that .depend is written into the object directory, I can't see anything wrong with the method that libedit uses. It's certainly a sight less disgusting than the way that sh/Makefile does it. > Bruce -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[