[BACK]Return to bsd.lib.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / mk

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/mk/bsd.lib.mk between version 1.131 and 1.136

version 1.131, 1998/04/12 21:22:20 version 1.136, 1998/05/02 15:19:04
Line 176  CFLAGS+= ${COPTS}
Line 176  CFLAGS+= ${COPTS}
         @${LD} -x -r ${.TARGET}.o -o ${.TARGET}          @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
         @rm -f ${.TARGET}.o          @rm -f ${.TARGET}.o
   
 .if !defined(NOSTATICLIB) || defined(NOPIC) || defined(LDSTATIC)  .if !defined(NOSTATICLIB) || defined(NOPIC) || \
           (defined(LDSTATIC) && ${LDSTATIC} != "")
 _LIBS=lib${LIB}.a  _LIBS=lib${LIB}.a
 .else  .else
 _LIBS=  _LIBS=
Line 236  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINO
Line 237  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINO
             ${SHLIB_LDSTARTFILE} \              ${SHLIB_LDSTARTFILE} \
             --whole-archive lib${LIB}_pic.a --no-whole-archive ${LDADD} \              --whole-archive lib${LIB}_pic.a --no-whole-archive ${LDADD} \
             ${SHLIB_LDENDFILE}              ${SHLIB_LDENDFILE}
   .if (${OBJECT_FMT} == "ELF")
           rm -f lib${LIB}.so.${SHLIB_MAJOR}
           ln -s lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
               lib${LIB}.so.${SHLIB_MAJOR}
           rm -f lib${LIB}.so
           ln -s lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
               lib${LIB}.so
   .endif
   
 LOBJS+=         ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}  LOBJS+=         ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
 LLIBS?=         -lc  LLIBS?=         -lc
Line 248  cleanlib:
Line 257  cleanlib:
         rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}          rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}
         rm -f lib${LIB}.a ${OBJS}          rm -f lib${LIB}.a ${OBJS}
         rm -f lib${LIB}_p.a ${POBJS}          rm -f lib${LIB}_p.a ${POBJS}
         rm -f lib${LIB}_pic.a lib${LIB}.so.*.* ${SOBJS}          rm -f lib${LIB}_pic.a lib${LIB}.so.* lib${LIB}.so ${SOBJS}
         rm -f llib-l${LIB}.ln ${LOBJS}          rm -f llib-l${LIB}.ln ${LOBJS}
   
 .if defined(SRCS)  .if defined(SRCS)
Line 260  afterdepend: .depend
Line 269  afterdepend: .depend
 .endif  .endif
   
 .if !target(libinstall)  .if !target(libinstall)
 .if !defined(NOSTATICLIB) || defined(NOPIC) || defined(LDSTATIC)  .if !defined(NOSTATICLIB) || defined(NOPIC) || \
           (defined(LDSTATIC) && ${LDSTATIC} != "")
 libinstall:: ${DESTDIR}${LIBDIR}/lib${LIB}.a  libinstall:: ${DESTDIR}${LIBDIR}/lib${LIB}.a
 .if !defined(UPDATE)  .if !defined(UPDATE)
 .PHONY: ${DESTDIR}${LIBDIR}/lib${LIB}.a  .PHONY: ${DESTDIR}${LIBDIR}/lib${LIB}.a
Line 334  ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln:
Line 344  ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln:
 .PRECIOUS: ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln  .PRECIOUS: ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln
 ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln: llib-l${LIB}.ln  ${DESTDIR}${LINTLIBDIR}/llib-l${LIB}.ln: llib-l${LIB}.ln
         ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \          ${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
             llib-l${LIB}.ln ${DESTDIR}${LINTLIBDIR}              ${.ALLSRC} ${DESTDIR}${LINTLIBDIR}
 .endif  .endif
 .endif  .endif
   

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.136

CVSweb <webmaster@jp.NetBSD.org>