Date: Fri, 25 Jul 1997 16:31:37 +0200 From: Jeremy Lea <reg@shale.csir.co.za> To: Bruce Evans <bde@zeta.org.au> Cc: msmith@atrad.adelaide.edu.au, current@FreeBSD.ORG, mrcpu@cdsnet.net Subject: Re: make world failure Message-ID: <19970725163137.37967@shale.csir.co.za> In-Reply-To: <199707250821.SAA29154@godzilla.zeta.org.au>; from Bruce Evans on Fri, Jul 25, 1997 at 06:21:05PM %2B1000 References: <199707250821.SAA29154@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970725163137.37967>