[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.314 and 1.317

version 1.314, 2011/04/11 23:03:38 version 1.317, 2011/09/25 11:20:41
Line 37  MKPROFILE:= no
Line 37  MKPROFILE:= no
 ##### Basic targets  ##### Basic targets
 .PHONY:         checkver libinstall  .PHONY:         checkver libinstall
 realinstall:    checkver libinstall  realinstall:    checkver libinstall
 clean:          cleanlib  
   
 ##### LIB specific flags.  ##### LIB specific flags.
 # XXX: This is needed for programs that link with .a libraries  # XXX: This is needed for programs that link with .a libraries
Line 596  lint: ${LOBJS}
Line 595  lint: ${LOBJS}
         ${LINT} ${LINTFLAGS} ${LOBJS}          ${LINT} ${LINTFLAGS} ${LOBJS}
 .endif  .endif
   
 cleanlib: .PHONY  # If the number of entries in CLEANFILES is too large, then the
         rm -f a.out [Ee]rrs mklog core *.core ${CLEANFILES}  # commands in bsd.clean.mk encounter errors like "exec(/bin/sh)
         rm -f lib${LIB}.a ${STOBJS}  # failed (Argument list too long)".  Avoid that by splitting the
         rm -f lib${LIB}_p.a ${POBJS}  # files to clean into several lists using different variable names.
         rm -f lib${LIB}_g.a ${GOBJS}  # __cleanuse is an internal target in bsd.clean.mk; the way we
         rm -f lib${LIB}_pic.a lib${LIB}.so.* lib${LIB}.so ${_LIB.debug} ${SOBJS}  # use it here mimics the way it's used by the clean target in
         rm -f ${STOBJS:=.tmp} ${POBJS:=.tmp} ${SOBJS:=.tmp} ${GOBJS:=.tmp}  # bsd.clean.mk.
         rm -f llib-l${LIB}.ln ${LOBJS}  #
   clean: libclean1 libclean2 libclean3 libclean4 libclean5
   libclean1: .PHONY .MADE __cleanuse LIBCLEANFILES1
   libclean2: .PHONY .MADE __cleanuse LIBCLEANFILES2
   libclean3: .PHONY .MADE __cleanuse LIBCLEANFILES3
   libclean4: .PHONY .MADE __cleanuse LIBCLEANFILES4
   libclean5: .PHONY .MADE __cleanuse LIBCLEANFILES5
   CLEANFILES+= a.out [Ee]rrs mklog core *.core
   LIBCLEANFILES1+= lib${LIB}.a   ${STOBJS} ${STOBJS:=.tmp}
   LIBCLEANFILES2+= lib${LIB}_p.a ${POBJS}  ${POBJS:=.tmp}
   LIBCLEANFILES3+= lib${LIB}_g.a ${GOBJS}  ${GOBJS:=.tmp}
   LIBCLEANFILES4+= lib${LIB}_pic.a lib${LIB}.so.* lib${LIB}.so ${_LIB.debug}
   LIBCLEANFILES4+= ${SOBJS} ${SOBJS:=.tmp}
   LIBCLEANFILES5+= llib-l${LIB}.ln ${LOBJS}
   
 .if !target(libinstall)                                                 # {  .if !target(libinstall)                                                 # {
 # Make sure it gets defined, in case MKPIC==no && MKLINKLIB==no  # Make sure it gets defined, in case MKPIC==no && MKLINKLIB==no
Line 776  LINKSMODE?= ${LIBMODE}
Line 787  LINKSMODE?= ${LIBMODE}
 .include <bsd.inc.mk>  .include <bsd.inc.mk>
 .include <bsd.links.mk>  .include <bsd.links.mk>
 .include <bsd.dep.mk>  .include <bsd.dep.mk>
   .include <bsd.clang-analyze.mk>
   .include <bsd.clean.mk>
   
 ${TARGETS}:     # ensure existence  ${TARGETS}:     # ensure existence

Legend:
Removed from v.1.314  
changed lines
  Added in v.1.317

CVSweb <webmaster@jp.NetBSD.org>