[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.233 and 1.234

version 1.233, 2003/09/13 03:44:20 version 1.234, 2003/09/13 19:08:27
Line 300  FFLAGS+= ${FOPTS}
Line 300  FFLAGS+= ${FOPTS}
         rm -f ${.TARGET}.tmp          rm -f ${.TARGET}.tmp
   
 .if defined(LIB)  .if defined(LIB)
 .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \  .if (${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \
         || ${MKLINKLIB} != "no"          || ${MKLINKLIB} != "no") && ${MKSTATICLIB} != "no"
 _LIBS=lib${LIB}.a  _LIBS=lib${LIB}.a
 .else  .else
 _LIBS=  _LIBS=
Line 340  LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.l
Line 340  LOBJS+=${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.l
 _LIBS+=llib-l${LIB}.ln  _LIBS+=llib-l${LIB}.ln
 .endif  .endif
   
 .if ${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \  ALLOBJS=
         || ${MKLINKLIB} != "no"  .if (${MKPIC} == "no" || (defined(LDSTATIC) && ${LDSTATIC} != "") \
 ALLOBJS=${OBJS} ${POBJS} ${SOBJS}          || ${MKLINKLIB} != "no") && ${MKSTATICLIB} != "no"
 .else  ALLOBJS+=${OBJS}
 ALLOBJS=${POBJS} ${SOBJS}  
 .endif  .endif
   ALLOBJS+=${POBJS} ${SOBJS}
 .if ${MKLINT} != "no" && ${MKLINKLIB} != "no" && !empty(LOBJS)  .if ${MKLINT} != "no" && ${MKLINKLIB} != "no" && !empty(LOBJS)
 ALLOBJS+=${LOBJS}  ALLOBJS+=${LOBJS}
 .endif  .endif
Line 442  afterdepend: .depend
Line 442  afterdepend: .depend
 # Make sure it gets defined, in case MKPIC==no && MKLINKLIB==no  # Make sure it gets defined, in case MKPIC==no && MKLINKLIB==no
 libinstall::  libinstall::
   
 .if ${MKLINKLIB} != "no"  .if ${MKLINKLIB} != "no" && ${MKSTATICLIB} != "no"
 libinstall:: ${DESTDIR}${LIBDIR}/lib${LIB}.a  libinstall:: ${DESTDIR}${LIBDIR}/lib${LIB}.a
 .PRECIOUS: ${DESTDIR}${LIBDIR}/lib${LIB}.a  .PRECIOUS: ${DESTDIR}${LIBDIR}/lib${LIB}.a
   

Legend:
Removed from v.1.233  
changed lines
  Added in v.1.234

CVSweb <webmaster@jp.NetBSD.org>