[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.166 and 1.167

version 1.166, 2000/05/03 03:44:12 version 1.167, 2000/05/03 15:15:50
Line 221  CFLAGS+= ${COPTS}
Line 221  CFLAGS+= ${COPTS}
         @${LD} -x -r ${.TARGET}.o -o ${.TARGET}          @${LD} -x -r ${.TARGET}.o -o ${.TARGET}
         @rm -f ${.TARGET}.o          @rm -f ${.TARGET}.o
   
 _OBJS+=${SRCS:N*.h:N*.sh:R:S/$/.o/g}  
   
 .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \  .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \
         || ${MKLINKLIB} != "no"          || ${MKLINKLIB} != "no"
 _LIBS=lib${LIB}.a  _LIBS=lib${LIB}.a
 OBJS+=${_OBJS}  
 .else  .else
 _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}  POBJS+=${OBJS:.o=.po}
 .endif  .endif
   
 .if ${MKPIC} != "no"  .if ${MKPIC} != "no"
Line 243  SOLIB=lib${LIB}.a
Line 241  SOLIB=lib${LIB}.a
 .else  .else
 SOLIB=lib${LIB}_pic.a  SOLIB=lib${LIB}_pic.a
 _LIBS+=${SOLIB}  _LIBS+=${SOLIB}
 SOBJS+=${_OBJS:.o=.so}  SOBJS+=${OBJS:.o=.so}
 .endif  .endif
 .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}
Line 255  _LIBS+=llib-l${LIB}.ln
Line 253  _LIBS+=llib-l${LIB}.ln
 LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}  LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
 .endif  .endif
   
   .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \
           || ${MKLINKLIB} != "no"
 ALLOBJS=${OBJS} ${POBJS} ${SOBJS} ${LOBJS}  ALLOBJS=${OBJS} ${POBJS} ${SOBJS} ${LOBJS}
   .else
   ALLOBJS=${POBJS} ${SOBJS} ${LOBJS}
   .endif
 .NOPATH: ${ALLOBJS} ${_LIBS}  .NOPATH: ${ALLOBJS} ${_LIBS}
   
 realall: ${SRCS} ${ALLOBJS:O} ${_LIBS}  realall: ${SRCS} ${ALLOBJS:O} ${_LIBS}

Legend:
Removed from v.1.166  
changed lines
  Added in v.1.167

CVSweb <webmaster@jp.NetBSD.org>