[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.51 and 1.52

version 1.51, 1995/06/10 20:21:05 version 1.52, 1995/06/24 08:28:08
Line 58  CLEANFILES+=strings
Line 58  CLEANFILES+=strings
 .if defined(PROG)  .if defined(PROG)
 SRCS?=  ${PROG}.c  SRCS?=  ${PROG}.c
 .if !empty(SRCS:N*.h:N*.sh)  .if !empty(SRCS:N*.h:N*.sh)
 OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
   LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
 .endif  .endif
 .if defined(OBJS) && !empty(OBJS)  .if defined(OBJS) && !empty(OBJS)
Line 85  all: ${PROG} _SUBDIRUSE
Line 86  all: ${PROG} _SUBDIRUSE
 .if !target(clean)  .if !target(clean)
 clean: _SUBDIRUSE  clean: _SUBDIRUSE
         rm -f a.out [Ee]rrs mklog core *.core ${PROG} ${OBJS} ${CLEANFILES}          rm -f a.out [Ee]rrs mklog core *.core
           rm -f ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}
 .endif  .endif
 cleandir: _SUBDIRUSE clean  cleandir: _SUBDIRUSE clean
Line 129  realinstall: beforeinstall
Line 131  realinstall: beforeinstall
 .endif  .endif
 .if !target(lint)  .if !target(lint)
 lint: ${SRCS} _SUBDIRUSE  lint: ${LOBJS}
 .if defined(PROG)  .if defined(LOBJS) && !empty(LOBJS)
         @${LINT} ${LINTFLAGS} ${CFLAGS} ${.ALLSRC} | more 2>&1          @${LINT} ${LINTFLAGS} ${LDFLAGS:M-L*} ${LOBJS} ${LDADD}
 .endif  .endif
 .endif  .endif

Removed from v.1.51  
changed lines
  Added in v.1.52

CVSweb <webmaster@jp.NetBSD.org>