[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.71 and 1.75

version 1.71, 1997/05/06 20:54:40 version 1.75, 1997/05/07 17:06:28
Line 5 
Line 5 
 .include "${.CURDIR}/../Makefile.inc"  .include "${.CURDIR}/../Makefile.inc"
 .endif  .endif
 .MAIN:          all  
 .PHONY:         cleanprog afterdepend beforeinstall proginstall afterinstall  
 .include <bsd.own.mk>  .include <bsd.own.mk>
   .MAIN:          all
   .PHONY:         cleanprog proginstall scriptsinstall
   install:        proginstall scriptsinstall
   clean cleandir: cleanprog
 .SUFFIXES: .out .o .c .cc .C .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0  .SUFFIXES: .out .o .c .cc .C .y .l .s .8 .7 .6 .5 .4 .3 .2 .1 .0
 CFLAGS+=        ${COPTS}  CFLAGS+=        ${COPTS}
Line 102  MAN= ${PROG}.1
Line 104  MAN= ${PROG}.1
 .endif  # !defined(MAN)  .endif  # !defined(MAN)
 .endif  # defined(PROG)  .endif  # defined(PROG)
 all: ${PROG} _SUBDIRUSE  all: ${PROG}
 .if !target(clean)  
 cleanprog:  cleanprog:
         rm -f a.out [Ee]rrs mklog core *.core \          rm -f a.out [Ee]rrs mklog core *.core \
             ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}              ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}
 clean: _SUBDIRUSE cleanprog  
 cleandir: _SUBDIRUSE cleanprog  
 cleandir: _SUBDIRUSE clean  
 .if defined(SRCS)  .if defined(SRCS)
 afterdepend: .depend  afterdepend: .depend
         @(TMP=/tmp/_depend$$$$; \          @(TMP=/tmp/_depend$$$$; \
Line 123  afterdepend: .depend
Line 118  afterdepend: .depend
             mv $$TMP .depend)              mv $$TMP .depend)
 .endif  .endif
 .if !target(install)  .if defined(PROG) && !target(proginstall)
 .if !target(beforeinstall)  
 .if !target(afterinstall)  
 .if !target(realinstall)  
 .if defined(PROG)  
 proginstall:: ${DESTDIR}${BINDIR}/${PROGNAME}  proginstall:: ${DESTDIR}${BINDIR}/${PROGNAME}
 .if !defined(UPDATE)  .if !defined(UPDATE)
Line 143  proginstall:: ${DESTDIR}${BINDIR}/${PROG
Line 128  proginstall:: ${DESTDIR}${BINDIR}/${PROG
 .endif  .endif
         ${INSTALL} ${COPY} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} \          ${INSTALL} ${COPY} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} \
             -m ${BINMODE} ${.ALLSRC} ${.TARGET}              -m ${BINMODE} ${.ALLSRC} ${.TARGET}
 .endif  .endif
 .if defined(SCRIPTS)  .if !target(proginstall)
   .if defined(SCRIPTS) && !target(scriptsinstall)
 .endif  .endif
 proginstall:: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}  scriptsinstall:: ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNAME_${S}}
 .if !defined(UPDATE)  .if !defined(UPDATE)
 .endif  .endif
Line 172  proginstall:: ${DESTDIR}${SCRIPTSDIR_${S
Line 162  proginstall:: ${DESTDIR}${SCRIPTSDIR_${S
 .endif  .endif
         ${INSTALL} ${COPY} -o ${SCRIPTSOWN_${S}} -g ${SCRIPTSGRP_${S}} \          ${INSTALL} ${COPY} -o ${SCRIPTSOWN_${S}} -g ${SCRIPTSGRP_${S}} \
                 -m ${SCRIPTSMODE_${S}} ${.ALLSRC} ${.TARGET}                  -m ${SCRIPTSMODE_${S}} ${.ALLSRC} ${.TARGET}
 .endfor  .endfor
 .endif  .endif
 .if target(proginstall)  .if !target(scriptsinstall)
 realinstall: proginstall filesinstall  scriptsinstall::
 realinstall: filesinstall  
 install: ${MANINSTALL} _SUBDIRUSE linksinstall  
 ${MANINSTALL}: afterinstall  
 afterinstall: realinstall  
 realinstall: beforeinstall  
 .endif  .endif
 .if !target(lint)  .if !target(lint)

Removed from v.1.71  
changed lines
  Added in v.1.75

CVSweb <webmaster@jp.NetBSD.org>