[BACK]Return to bsd.prog.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.prog.mk between version 1.266 and 1.267

version 1.266, 2011/08/27 18:35:20 version 1.267, 2011/09/10 16:57:35
Line 14 
Line 14 
 ##### Basic targets  ##### Basic targets
 realinstall:    proginstall scriptsinstall  realinstall:    proginstall scriptsinstall
 clean:          cleanprog  
 .gdbinit:  .gdbinit:
         rm -f .gdbinit          rm -f .gdbinit
Line 27  clean:  cleanprog
Line 26  clean:  cleanprog
         echo "source ${__gdbinit}" >> .gdbinit          echo "source ${__gdbinit}" >> .gdbinit
 .endfor  .endfor
 cleanobjs: .PHONY  CLEANFILES+= a.out [Ee]rrs mklog core *.core .gdbinit
 cleanprog: .PHONY cleanobjs cleanextra  
         rm -f a.out [Ee]rrs mklog core *.core .gdbinit  
 .if defined(SHAREDSTRINGS)  .if defined(SHAREDSTRINGS)
 CLEANFILES+=strings  CLEANFILES+=strings
Line 352  MAN+=  ${MAN.${_P}}
Line 348  MAN+=  ${MAN.${_P}}
 realall: ${_P} ${_PROGDEBUG.${_P}}  realall: ${_P} ${_PROGDEBUG.${_P}}
 cleanprog: cleanprog-${_P}  CLEANFILES+= ${_P} ${_PROGDEBUG.${_P}}
         rm -f ${_P} ${_PROGDEBUG.${_P}}  
 .if defined(OBJS.${_P}) && !empty(OBJS.${_P})  .if defined(OBJS.${_P}) && !empty(OBJS.${_P})
 cleanobjs: cleanobjs-${_P}  CLEANFILES+= ${OBJS.${_P}} ${LOBJS.${_P}}
         rm -f ${OBJS.${_P}} ${LOBJS.${_P}}  
 .endif  .endif
 _PROG_INSTALL+= proginstall-${_P}  _PROG_INSTALL+= proginstall-${_P}
Line 414  lint-${_P}: ${LOBJS.${_P}}
Line 406  lint-${_P}: ${LOBJS.${_P}}
 .if defined(OBJS) && !empty(OBJS) && \  .if defined(OBJS) && !empty(OBJS) && \
     (empty(PROGS) && empty(PROGS_CXX))      (empty(PROGS) && empty(PROGS_CXX))
 cleanobjs: cleanobjs-plain  CLEANFILES+= ${OBJS} ${LOBJS}
         rm -f ${OBJS} ${LOBJS}  
 .endif  .endif
 .if !target(proginstall)  .if !target(proginstall)
 .include <bsd.sys.mk>  .include <bsd.sys.mk>
 .include <bsd.dep.mk>  .include <bsd.dep.mk>
 .include <bsd.clang-analyze.mk>  .include <bsd.clang-analyze.mk>
   .include <bsd.clean.mk>
 cleanextra: .PHONY  
 .if defined(CLEANFILES) && !empty(CLEANFILES)  
         rm -f ${CLEANFILES}  
 ${TARGETS}:     # ensure existence  ${TARGETS}:     # ensure existence

Removed from v.1.266  
changed lines
  Added in v.1.267

CVSweb <webmaster@jp.NetBSD.org>