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

Diff for /src/share/mk/Attic/bsd.lkm.mk between version 1.22 and 1.23

version 1.22, 2011/07/16 23:34:21 version 1.23, 2012/04/08 15:56:28
Line 29 
Line 29 
 SRCS?=  ${LKM}.c  SRCS?=  ${LKM}.c
 .if !empty(SRCS:N*.h:N*.sh)  .if !empty(SRCS:N*.h:N*.sh)
 OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/}  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/}
 LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}  
 .endif  .endif
 COMBINED?=combined.o  COMBINED?=combined.o
 .if !defined(POSTINSTALL)  .if !defined(POSTINSTALL)
Line 54 
Line 53 
 .if !target(clean)  .if !target(clean)
 clean: _SUBDIRUSE  clean: _SUBDIRUSE
         rm -f a.out [Ee]rrs mklog core *.core \          rm -f a.out [Ee]rrs mklog core *.core \
             ${LKM} ${COMBINED} ${OBJS} ${LOBJS} ${CLEANFILES}              ${LKM} ${COMBINED} ${OBJS} ${CLEANFILES}
 .endif  .endif
   
 cleandir: _SUBDIRUSE clean  cleandir: _SUBDIRUSE clean
Line 104 
Line 103 
 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.22  
changed lines
  Added in v.1.23