[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.157 and 1.158

version 1.157, 1999/09/04 21:48:33 version 1.158, 1999/09/12 00:31:34
Line 229  _LIBS=lib${LIB}.a
Line 229  _LIBS=lib${LIB}.a
 _LIBS=  _LIBS=
 .endif  .endif
   
   OBJS+=${SRCS:N*.h:N*.sh:R:S/$/.o/g}
   
 .if ${MKPROFILE} != "no"  .if ${MKPROFILE} != "no"
 _LIBS+=lib${LIB}_p.a  _LIBS+=lib${LIB}_p.a
   POBJS+=${OBJS:.o=.po}
 .endif  .endif
   
 .if ${MKPIC} != "no"  .if ${MKPIC} != "no"
 _LIBS+=lib${LIB}_pic.a  _LIBS+=lib${LIB}_pic.a
   SOBJS+=${OBJS:.o=.so}
 .if defined(SHLIB_MAJOR) && defined(SHLIB_MINOR)  .if defined(SHLIB_MAJOR) && defined(SHLIB_MINOR)
 _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}  _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
 .endif  .endif
Line 242  _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHL
Line 246  _LIBS+=lib${LIB}.so.${SHLIB_MAJOR}.${SHL
   
 .if ${MKLINT} != "no" && ${MKLINKLIB} != "no"  .if ${MKLINT} != "no" && ${MKLINKLIB} != "no"
 _LIBS+=llib-l${LIB}.ln  _LIBS+=llib-l${LIB}.ln
   LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
 .endif  .endif
   
 all: ${SRCS} ${_LIBS}  ALLOBJS=${OBJS} ${POBJS} ${SOBJS} ${LOBJS}
   
   all: ${SRCS} ${ALLOBJS:O} ${_LIBS}
   
 __archivebuild: .USE  __archivebuild: .USE
         @rm -f ${.TARGET}          @rm -f ${.TARGET}
Line 267  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
Line 274  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
 lib${LIB}.a:: ${OBJS} __archivebuild  lib${LIB}.a:: ${OBJS} __archivebuild
         @echo building standard ${LIB} library          @echo building standard ${LIB} library
   
 POBJS+=         ${OBJS:.o=.po}  
 lib${LIB}_p.a:: ${POBJS} __archivebuild  lib${LIB}_p.a:: ${POBJS} __archivebuild
         @echo building profiled ${LIB} library          @echo building profiled ${LIB} library
   
 SOBJS+=         ${OBJS:.o=.so}  
 lib${LIB}_pic.a:: ${SOBJS} __archivebuild  lib${LIB}_pic.a:: ${SOBJS} __archivebuild
         @echo building shared object ${LIB} library          @echo building shared object ${LIB} library
   
Line 301  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINO
Line 306  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINO
             lib${LIB}.so              lib${LIB}.so
 .endif  .endif
   
 LOBJS+=         ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}  
 LLIBS?=         -lc  LLIBS?=         -lc
 llib-l${LIB}.ln: ${LOBJS}  llib-l${LIB}.ln: ${LOBJS}
         @echo building llib-l${LIB}.ln          @echo building llib-l${LIB}.ln

Legend:
Removed from v.1.157  
changed lines
  Added in v.1.158

CVSweb <webmaster@jp.NetBSD.org>