[BACK]Return to bsd.prog.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.prog.mk between version 1.52 and 1.53

version 1.52, 2011/07/18 06:40:18 version 1.53, 2012/04/08 15:56:28
Line 8 
Line 8 
   
 .include <bsd.own.mk>  .include <bsd.own.mk>
   
 .SUFFIXES: .out .ln .o .c .cc .C .cxx .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0  .SUFFIXES: .out .o .c .cc .C .cxx .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0
   
 .if ${WARNINGS:L} == "yes"  .if ${WARNINGS:L} == "yes"
 CFLAGS+=       ${CDIAGFLAGS}  CFLAGS+=       ${CDIAGFLAGS}
Line 78 
Line 78 
 OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/}  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/}
 _LEXINTM+=${SRCS:M*.l:.l=.c}  _LEXINTM+=${SRCS:M*.l:.l=.c}
 _YACCINTM+=${SRCS:M*.y:.y=.c}  _YACCINTM+=${SRCS:M*.y:.y=.c}
 LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln} ${SRCS:M*.y:.y=.ln} ${SRCS:M*.l:.l=.ln}  
 .  endif  .  endif
   
 .  if defined(OBJS) && !empty(OBJS)  .  if defined(OBJS) && !empty(OBJS)
Line 102 
Line 101 
 .if !target(clean)  .if !target(clean)
 clean: _SUBDIRUSE  clean: _SUBDIRUSE
         rm -f a.out [Ee]rrs mklog core *.core y.tab.h \          rm -f a.out [Ee]rrs mklog core *.core y.tab.h \
             ${PROG} ${OBJS} ${LOBJS} ${_LEXINTM} ${_YACCINTM} ${CLEANFILES}              ${PROG} ${OBJS} ${_LEXINTM} ${_YACCINTM} ${CLEANFILES}
 .endif  .endif
   
 cleandir: _SUBDIRUSE clean  cleandir: _SUBDIRUSE clean
Line 137 
Line 136 
 maninstall: afterinstall  maninstall: afterinstall
 afterinstall: realinstall  afterinstall: realinstall
 realinstall: beforeinstall  realinstall: beforeinstall
 .endif  
   
 .if !target(lint)  
 lint: ${LOBJS}  
 .if defined(LOBJS) && !empty(LOBJS)  
         @${LINT} ${LINTFLAGS} ${LDFLAGS:M-L*} ${LOBJS} ${LDADD}  
 .endif  
 .endif  .endif
   
 .if !defined(NOMAN)  .if !defined(NOMAN)

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53