[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.24 and 1.25

version 1.24, 1993/08/15 19:26:10 version 1.25, 1993/08/15 19:37:10
Line 1 
Line 1 
 #       @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91  #       from: @(#)bsd.prog.mk   5.26 (Berkeley) 6/25/91
   #       $Id$
   
 .if exists(${.CURDIR}/../Makefile.inc)  .if exists(${.CURDIR}/../Makefile.inc)
 .include "${.CURDIR}/../Makefile.inc"  .include "${.CURDIR}/../Makefile.inc"
Line 9 
Line 10 
 .8.0 .7.0 .6.0 .5.0 .4.0 .3.0 .2.0 .1.0:  .8.0 .7.0 .6.0 .5.0 .4.0 .3.0 .2.0 .1.0:
         nroff -mandoc ${.IMPSRC} > ${.TARGET}          nroff -mandoc ${.IMPSRC} > ${.TARGET}
   
 CFLAGS+=${COPTS}  CFLAGS+=        ${COPTS}
   
 STRIP?=         -s  STRIP?=         -s
   
Line 124  cleandir: _PROGSUBDIR
Line 125  cleandir: _PROGSUBDIR
 .endif  .endif
   
 # some of the rules involve .h sources, so remove them from mkdep line  # some of the rules involve .h sources, so remove them from mkdep line
 .if !target(depend)  .include <bsd.dep.mk>
 depend: .depend _PROGSUBDIR  depend: _PROGSUBDIR
 .depend: ${SRCS}  
 .if defined(PROG)  
         rm -f .depend  
         files="${.ALLSRC:M*.c}"; \  
         if [ "$$files" != "" ]; then \  
           mkdep -a ${MKDEP} ${CFLAGS:M-[ID]*} $$files; \  
         fi  
         files="${.ALLSRC:M*.cc} ${.ALLSRC:M*.C} ${.ALLSRC:M*.cxx}"; \  
         if [ "$$files" != "  " ]; then \  
           mkdep -a ${MKDEP} -+ ${CXXFLAGS:M-[ID]*} $$files; \  
         fi  
 .endif  
 .endif  
   
 .if !target(install)  .if !target(install)
 .if !target(beforeinstall)  .if !target(beforeinstall)

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

CVSweb <webmaster@jp.NetBSD.org>