Date: Tue, 2 Jun 1998 06:44:14 +1000 From: Bruce Evans <bde@zeta.org.au> To: mark@grondar.za, peter@netplex.com.au Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-share@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.libnames.mk Message-ID: <199806012044.GAA30186@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> After all: >> LIBKDB?= ${DESTDIR}${LIBDIR}/libkdb.a >> LIBKRB?= ${DESTDIR}${LIBDIR}/libkrb.a >> >> LIBDIR varies depending on the build environment, so it should work >> reasonably well... > >Tried that. > >If you do > ># cd src/usr.bin/rlogin ># make cleandir ># make obj ># make depend ># make all > >...it breaks because ${DESTDIR} and ${LIBDIR} are not defined. >Previously this would work. It would probably work for a "make >buildworld". Maybe "all" needs to define these macros? No, it breaks because bsd.libnames.mk is only included when BINFORMAT != aout. $ cd src/usr.bin/rlogin $ make -V LIBDIR /usr/lib/aout $ make -V DESTDIR $ make -V LIBKRB $ BINFORMAT=zzz make -V LIBKRB ${DESTDIR}${LIBDIR}/libkrb.a bsd.libnames.mk is currently only used for dependencies in the non-aout case. Dependencies are handled better in the aout case using ld -f. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806012044.GAA30186>