Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 1999 13:42:42 -0800 (PST)
From:      John Polstra <jdp@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/share/mk bsd.lib.mk
Message-ID:  <199901202142.NAA26703@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jdp         1999/01/20 13:42:41 PST

  Modified files:
    share/mk             bsd.lib.mk 
  Log:
  Add some capabilities to <bsd.lib.mk> so that it can be used for
  building dlopen-able modules, and add features needed to build a
  static PAM library.  I think I cleaned it up some, too, but beauty
  is in the eye of the beholder.
  
  You can now build a shared library without version numbers, by
  defining SHLIB_NAME to something like "pam_unix.so".  If SHLIB_MAJOR
  and/or SHLIB_MINOR are set, SHLIB_NAME gets the usual default value,
  but it can be overridden if desired.  If none of these symbols are
  set, no shared library is built.
  
  SHLIB_LINK controls the name of the symbolic link that points to
  the library.  If it is unset, no link is made.  In the usual case,
  it gets the right default: e.g., "libc.so" for ELF, nothing for
  a.out.  This can be overridden.
  
  STATICOBJS can be set to a list of extra object files that should
  be added to the static library but not to the shared library.
  These objects are added to the profiled library too.
  
  These changes should make it easy to use <bsd.lib.mk> for building
  things such as PAM modules and dynamic linkers, for which <bsd.prog.mk>
  has been abused until now.
  
  Revision  Changes    Path
  1.84      +47 -48    src/share/mk/bsd.lib.mk

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?199901202142.NAA26703>