[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.172 and 1.173

version 1.172, 2000/07/06 16:48:48 version 1.173, 2000/07/14 19:53:04
Line 20  clean cleandir distclean: cleanlib
Line 20  clean cleandir distclean: cleanlib
 SHLIB_MAJOR != . ${SHLIB_VERSION_FILE} ; echo $$major  SHLIB_MAJOR != . ${SHLIB_VERSION_FILE} ; echo $$major
 SHLIB_MINOR != . ${SHLIB_VERSION_FILE} ; echo $$minor  SHLIB_MINOR != . ${SHLIB_VERSION_FILE} ; echo $$minor
 SHLIB_TEENY != . ${SHLIB_VERSION_FILE} ; echo $$teeny  SHLIB_TEENY != . ${SHLIB_VERSION_FILE} ; echo $$teeny
 .if !empty(SHLIB_TEENY)  
 SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}.${SHLIB_TEENY}  
 .else  
 SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}  
 .endif  
   
   
 # Check for higher installed library versions.  # Check for higher installed library versions.
 .if !defined(NOCHECKVER) && !defined(NOCHECKVER_${LIB}) && \  .if !defined(NOCHECKVER) && !defined(NOCHECKVER_${LIB}) && \
Line 34  checkver:
Line 28  checkver:
         @(cd ${.CURDIR} && \          @(cd ${.CURDIR} && \
                 ${BSDSRCDIR}/lib/checkver -v ${SHLIB_VERSION_FILE} \                  ${BSDSRCDIR}/lib/checkver -v ${SHLIB_VERSION_FILE} \
                     -d ${DESTDIR}${LIBDIR} ${LIB})                      -d ${DESTDIR}${LIBDIR} ${LIB})
 .else  .endif
   .endif
   
   .if !target(checkver)
 checkver:  checkver:
 .endif  .endif
   
 print-shlib-major:  print-shlib-major:
   .if defined(SHLIB_MAJOR)
         @echo ${SHLIB_MAJOR}          @echo ${SHLIB_MAJOR}
   .else
           @false
   .endif
   
 print-shlib-minor:  print-shlib-minor:
   .if defined(SHLIB_MINOR)
         @echo ${SHLIB_MINOR}          @echo ${SHLIB_MINOR}
   .else
           @false
   .endif
   
 print-shlib-teeny:  print-shlib-teeny:
   .if defined(SHLIB_TEENY)
         @echo ${SHLIB_TEENY}          @echo ${SHLIB_TEENY}
 .else  .else
 checkver:  
   
 print-shlib-major:  
         @false  
   
 print-shlib-minor:  
         @false          @false
   .endif
   
 print-shlib-teeny:  .if defined(SHLIB_MAJOR) && !empty(SHLIB_MAJOR)
         @false  .if defined(SHLIB_MINOR) && !empty(SHLIB_MINOR)
   .if defined(SHLIB_TEENY) && !empty(SHLIB_TEENY)
   SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}.${SHLIB_TEENY}
   .else
   SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}
   .endif
   .else
   SHLIB_FULLVERSION=${SHLIB_MAJOR}
   .endif
 .endif  .endif
   
 # add additional suffixes not exported.  # add additional suffixes not exported.
Line 73  print-shlib-teeny:
Line 83  print-shlib-teeny:
 # OBJECT_FMT:           currently either "ELF" or "a.out", from <bsd.own.mk>  # OBJECT_FMT:           currently either "ELF" or "a.out", from <bsd.own.mk>
 # SHLIB_SOVERSION:      version number to be compiled into a shared library  # SHLIB_SOVERSION:      version number to be compiled into a shared library
 #                       via -soname. Usualy ${SHLIB_MAJOR} on ELF.  #                       via -soname. Usualy ${SHLIB_MAJOR} on ELF.
 #                       NetBSD/pmax used to use ${SHLIB_MAJOR}.${SHLIB_MINOR}  #                       NetBSD/pmax used to use ${SHLIB_MAJOR}[.${SHLIB_MINOR}
 #                       [.${SHLIB_TEENY}]  #                       [.${SHLIB_TEENY}]]
 # SHLIB_SHFLAGS:        Flags to tell ${LD} to emit shared library.  # SHLIB_SHFLAGS:        Flags to tell ${LD} to emit shared library.
 #                       with ELF, also set shared-lib version for ld.so.  #                       with ELF, also set shared-lib version for ld.so.
 # SHLIB_LDSTARTFILE:    support .o file, call C++ file-level constructors  # SHLIB_LDSTARTFILE:    support .o file, call C++ file-level constructors

Legend:
Removed from v.1.172  
changed lines
  Added in v.1.173

CVSweb <webmaster@jp.NetBSD.org>