From owner-freebsd-current Fri Jul 25 08:06:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA07098 for current-outgoing; Fri, 25 Jul 1997 08:06:26 -0700 (PDT) Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA07093 for ; Fri, 25 Jul 1997 08:06:19 -0700 (PDT) Received: (from reg@localhost) by shale.csir.co.za (8.8.6/8.8.5) id QAA00816; Fri, 25 Jul 1997 16:31:40 +0200 (SAT) Message-ID: <19970725163137.37967@shale.csir.co.za> Date: Fri, 25 Jul 1997 16:31:37 +0200 From: Jeremy Lea To: Bruce Evans Cc: msmith@atrad.adelaide.edu.au, current@FreeBSD.ORG, mrcpu@cdsnet.net Subject: Re: make world failure References: <199707250821.SAA29154@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.76 In-Reply-To: <199707250821.SAA29154@godzilla.zeta.org.au>; from Bruce Evans on Fri, Jul 25, 1997 at 06:21:05PM +1000 Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi... On Fri, Jul 25, 1997 at 06:21:05PM +1000, Bruce Evans wrote: > Michael Smith wrote: > >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. > > Running `make depend' is not a requirement for building sources, at > least for the first build. Makefiles that require it are broken. The only two places where make depend doesn't work are: *** ./lib/libedit/Makefile.orig Mon Jun 30 17:10:47 1997 --- ./lib/libedit/Makefile Fri Jul 25 11:21:52 1997 *************** *** 55,62 **** help.h: ${ASRC} makelist sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET} ! editline.c: ${OSRCS} ! sh ${.CURDIR}/makelist -e ${.ALLSRC:T} > ${.TARGET} .depend: vi.h emacs.h common.h fcns.h help.h help.c --- 55,62 ---- help.h: ${ASRC} makelist sh ${.CURDIR}/makelist -bh ${ASRC} > ${.TARGET} ! editline.c: ${OSRCS} help.h ! sh ${.CURDIR}/makelist -e ${OSRCS} > ${.TARGET} .depend: vi.h emacs.h common.h fcns.h help.h help.c (You could change the .depend > beforedepend) and... *** ./eBones/usr.sbin/kadmind/Makefile.orig Thu Jul 3 16:44:25 1997 --- ./eBones/usr.sbin/kadmind/Makefile Fri Jul 25 11:22:06 1997 *************** *** 1,7 **** # $Id: Makefile,v 1.7 1996/07/30 21:13:17 markm Exp $ PROG= kadmind ! SRCS= admin_server.c kadm_funcs.c kadm_ser_wrap.c kadm_server.c CFLAGS+=-DPOSIX -I${.CURDIR}/../../lib/libkadm -I${KADMOBJDIR} -I${KRBOBJDIR} -DKERBEROS DPADD= ${LIBKDB} ${LIBKRB} ${LIBDES} LDADD+= -L${KADMOBJDIR} -lkadm -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \ --- 1,8 ---- # $Id: Makefile,v 1.7 1996/07/30 21:13:17 markm Exp $ PROG= kadmind ! SRCS= admin_server.c kadm_funcs.c kadm_ser_wrap.c kadm_server.c \ ! ${KADMOBJDIR}/kadm_err.h ${KRBOBJDIR}/krb_err.h CFLAGS+=-DPOSIX -I${.CURDIR}/../../lib/libkadm -I${KADMOBJDIR} -I${KRBOBJDIR} -DKERBEROS DPADD= ${LIBKDB} ${LIBKRB} ${LIBDES} LDADD+= -L${KADMOBJDIR} -lkadm -L${KDBOBJDIR} -lkdb -L${KRBOBJDIR} -lkrb \ I'm not sure if this second fix is right, since it looks like there are rules to make the dependencies in this file work, but they dont seem to have any effect. usr.bin/tn3270 is also broken, but I cant think of a clean fix for it... it most likely needs a beforeall target of some sort, or a bootstrap target or something... There's also a bunch of other bogons that I've found, but I haven't finished that job yet. -Jeremy -- .sig.gz