[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.358 and 1.365

version 1.358, 2015/06/04 06:01:24 version 1.365, 2016/02/27 20:36:17
Line 42  realinstall: checkver libinstall
Line 42  realinstall: checkver libinstall
 # XXX: This is needed for programs that link with .a libraries  # XXX: This is needed for programs that link with .a libraries
 # Perhaps a more correct solution is to always generate _pic.a  # Perhaps a more correct solution is to always generate _pic.a
 # files or always have a shared library.  # files or always have a shared library.
 .if defined(MKPIE) && (${MKPIE} != "no")  # Disabled since it breaks profiling.
 CFLAGS+=        ${PIE_CFLAGS}  #.if defined(MKPIE) && (${MKPIE} != "no") && !defined(NOPIE)
 AFLAGS+=        ${PIE_AFLAGS}  #CFLAGS+=        ${PIE_CFLAGS}
 .endif  #AFLAGS+=        ${PIE_AFLAGS}
   #.endif
   
 ##### Libraries that this may depend upon.  ##### Libraries that this may depend upon.
 .if defined(LIBDPLIBS) && ${MKPIC} != "no"                              # {  .if defined(LIBDPLIBS) && ${MKPIC} != "no"                              # {
Line 156  MKSHLIBOBJS= yes
Line 157  MKSHLIBOBJS= yes
 MKSHLIBOBJS= no  MKSHLIBOBJS= no
 .endif  .endif
   
 .if (defined(MKDEBUG) && (${MKDEBUG} != "no")) || \  .if (${MKDEBUG:Uno} != "no" && !defined(NODEBUG)) || \
     (defined(CFLAGS) && !empty(CFLAGS:M*-g*))      (defined(CFLAGS) && !empty(CFLAGS:M*-g*))
 # We only add -g to the shared library objects  # We only add -g to the shared library objects
 # because we don't currently split .a archives.  # because we don't currently split .a archives.
Line 407  _LIB.so:=${_LIB}.so
Line 408  _LIB.so:=${_LIB}.so
 _LIB.so.major:=${_LIB}.so.${SHLIB_MAJOR}  _LIB.so.major:=${_LIB}.so.${SHLIB_MAJOR}
 _LIB.so.full:=${_LIB}.so.${SHLIB_FULLVERSION}  _LIB.so.full:=${_LIB}.so.${SHLIB_FULLVERSION}
 _LIB.so.link:=${_LIB}.so.${SHLIB_FULLVERSION}.link  _LIB.so.link:=${_LIB}.so.${SHLIB_FULLVERSION}.link
 .if ${MKDEBUG} != "no"  .if ${MKDEBUG:Uno} != "no" && !defined(NODEBUG)
 _LIB.so.debug:=${_LIB.so.full}.debug  _LIB.so.debug:=${_LIB.so.full}.debug
 .endif  .endif
 .endif  .endif

Legend:
Removed from v.1.358  
changed lines
  Added in v.1.365

CVSweb <webmaster@jp.NetBSD.org>