Subject: change to bsd.lib.mk makefile; ethernet driver for Zenith laptop
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Louis A. Mamakos <louie@TransSys.COM>
List: current-users
Date: 06/01/1994 09:08:32
I've got a driver for the Zenith Z-Note built-in ethernet interface.
I did this along with Mike Petry, and it should run on netbsd-current
as well as BSD/386. Who should I send it to so that it might be
integrated into the source tree?
Here's a change that I've made locally, which has worked out pretty
well me. Simply, I changed the ranlib -t in the realinstall: target
to instead perform a touch -r objfile installedfile. This has the
effect such that you can re-install an unchanged library (e.g.,
libc.a) without then causing everything else in the source tree to
be relinked next time you run a make.
*** bsd.lib.mk.orig Wed Jun 1 08:45:55 1994
--- bsd.lib.mk Wed Jun 1 08:48:51 1994
***************
*** 143,160 ****
# ranlib lib${LIB}.a
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} lib${LIB}.a \
${DESTDIR}${LIBDIR}
! ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}.a
.if !defined(NOPROFILE)
# ranlib lib${LIB}_p.a
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
lib${LIB}_p.a ${DESTDIR}${LIBDIR}
! ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_p.a
.endif
.if !defined(NOPIC)
# ranlib lib${LIB}_pic.a
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
! ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a
.endif
.if !defined(NOPIC) && defined(SHLIB_MAJOR) && defined(SHLIB_MINOR)
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
--- 143,163 ----
# ranlib lib${LIB}.a
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} lib${LIB}.a \
${DESTDIR}${LIBDIR}
! touch -r lib${LIB}.a ${DESTDIR}${LIBDIR}/lib${LIB}.a
! # ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}.a
.if !defined(NOPROFILE)
# ranlib lib${LIB}_p.a
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
lib${LIB}_p.a ${DESTDIR}${LIBDIR}
! touch -r lib${LIB}_p.a ${DESTDIR}${LIBDIR}/lib${LIB}_p.a
! # ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_p.a
.endif
.if !defined(NOPIC)
# ranlib lib${LIB}_pic.a
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
lib${LIB}_pic.a ${DESTDIR}${LIBDIR}
! touch -r lib${LIB}_pic.a ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a
! # ${RANLIB} -t ${DESTDIR}${LIBDIR}/lib${LIB}_pic.a
.endif
.if !defined(NOPIC) && defined(SHLIB_MAJOR) && defined(SHLIB_MINOR)
install ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
------------------------------------------------------------------------------