[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.369 and 1.370

version 1.369, 2017/04/20 09:29:11 version 1.370, 2017/04/24 17:09:37
Line 632  ${_LIB.so.full}: ${_LIB.so.link} ${_LIB.
Line 632  ${_LIB.so.full}: ${_LIB.so.link} ${_LIB.
         ${_MKTARGET_CREATE}          ${_MKTARGET_CREATE}
         (  ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \          (  ${OBJCOPY} --strip-debug -p -R .gnu_debuglink \
                 --add-gnu-debuglink=${_LIB.so.debug} \                  --add-gnu-debuglink=${_LIB.so.debug} \
                 ${_LIB.so.link} ${_LIB.so.full} \                  ${_LIB.so.link} ${_LIB.so.full}.tmp && \
                   mv -f ${_LIB.so.full}.tmp ${_LIB.so.full} \
         ) || (rm -f ${.TARGET}; false)          ) || (rm -f ${.TARGET}; false)
 ${_LIB.so.link}: ${_MAINLIBDEPS}  ${_LIB.so.link}: ${_MAINLIBDEPS}
 .else # aka no MKDEBUG  .else # aka no MKDEBUG
Line 641  ${_LIB.so.full}: ${_MAINLIBDEPS}
Line 642  ${_LIB.so.full}: ${_MAINLIBDEPS}
         ${_MKTARGET_BUILD}          ${_MKTARGET_BUILD}
         rm -f ${.TARGET}          rm -f ${.TARGET}
         ${LIBCC} ${LDLIBC} -shared ${SHLIB_SHFLAGS} \          ${LIBCC} ${LDLIBC} -shared ${SHLIB_SHFLAGS} \
             ${_LDFLAGS.${_LIB}} -o ${.TARGET} ${_LIBLDOPTS} \              ${_LDFLAGS.${_LIB}} -o ${.TARGET}.tmp ${_LIBLDOPTS} \
             -Wl,--whole-archive ${SOLIB} \              -Wl,--whole-archive ${SOLIB} \
             -Wl,--no-whole-archive ${_LDADD.${_LIB}}              -Wl,--no-whole-archive ${_LDADD.${_LIB}}
   .if ${MKSTRIPIDENT} != "no"
           ${OBJCOPY} -R .ident ${.TARGET}.tmp
   .endif
           mv -f ${.TARGET}.tmp ${.TARGET}
 #  We don't use INSTALL_SYMLINK here because this is just  #  We don't use INSTALL_SYMLINK here because this is just
 #  happening inside the build directory/objdir. XXX Why does  #  happening inside the build directory/objdir. XXX Why does
 #  this spend so much effort on libraries that aren't live??? XXX  #  this spend so much effort on libraries that aren't live??? XXX
Line 656  ${_LIB.so.full}: ${_MAINLIBDEPS}
Line 661  ${_LIB.so.full}: ${_MAINLIBDEPS}
 .endif  .endif
         ${HOST_LN} -sf ${_LIB.so.full} ${_LIB.so}.tmp          ${HOST_LN} -sf ${_LIB.so.full} ${_LIB.so}.tmp
         mv -f ${_LIB.so}.tmp ${_LIB.so}          mv -f ${_LIB.so}.tmp ${_LIB.so}
 .if ${MKSTRIPIDENT} != "no"  
         ${OBJCOPY} -R .ident ${.TARGET}  
 .endif  
   
 .if !empty(LOBJS)                                                       # {  .if !empty(LOBJS)                                                       # {
 LLIBS?=         -lc  LLIBS?=         -lc

Legend:
Removed from v.1.369  
changed lines
  Added in v.1.370

CVSweb <webmaster@jp.NetBSD.org>