[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.65 and 1.66

version 1.65, 1997/03/27 11:05:32 version 1.66, 1997/03/27 17:33:37
Line 135  ${DESTDIR}${BINDIR}/${PROGNAME}: ${PROG}
Line 135  ${DESTDIR}${BINDIR}/${PROGNAME}: ${PROG}
             ${.ALLSRC} ${.TARGET}              ${.ALLSRC} ${.TARGET}
 .endif  .endif
   
 .if defined(FILES)  
 FILESDIR?=${BINDIR}  
 FILESOWN?=${BINOWN}  
 FILESGRP?=${BINGRP}  
 FILESMODE?=${NONBINMODE}  
 .for F in ${FILES}  
 FILESDIR_${F}?=${FILESDIR}  
 FILESOWN_${F}?=${FILESOWN}  
 FILESGRP_${F}?=${FILESGRP}  
 FILESMODE_${F}?=${FILESMODE}  
 .if defined(FILESNAME)  
 FILESNAME_${F} ?= ${FILESNAME}  
 .else  
 FILESNAME_${F} ?= ${F:T}  
 .endif  
 FILESDIR_${F} ?= ${FILESDIR}  
 proginstall:: ${DESTDIR}${FILESDIR_${F}}/${FILESNAME_${F}}  
 .if !defined(UPDATE)  
 .PHONY: ${DESTDIR}${FILESDIR_${F}}/${FILESNAME_${F}}  
 .endif  
 .if !defined(BUILD)  
 ${DESTDIR}${FILESDIR_${F}}/${FILESNAME_${F}}: .MADE  
 .endif  
   
 ${DESTDIR}${FILESDIR_${F}}/${FILESNAME_${F}}: ${F}  
         ${INSTALL} ${COPY} -o ${FILESOWN_${F}} -g ${FILESGRP_${F}} \  
                 -m ${FILESMODE_${F}} ${.ALLSRC} ${.TARGET}  
 .endfor  
 .endif  
   
 .if defined(SCRIPTS)  .if defined(SCRIPTS)
 SCRIPTSDIR?=${BINDIR}  SCRIPTSDIR?=${BINDIR}
 SCRIPTSOWN?=${BINOWN}  SCRIPTSOWN?=${BINOWN}
Line 196  ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNA
Line 166  ${DESTDIR}${SCRIPTSDIR_${S}}/${SCRIPTSNA
 .endif  .endif
   
 .if target(proginstall)  .if target(proginstall)
 realinstall: proginstall  realinstall: proginstall filesinstall
 .else  .else
 realinstall:  realinstall: filesinstall
 .endif  .endif
 .endif  .endif
   
Line 226  lint: ${LOBJS}
Line 196  lint: ${LOBJS}
   
 .include <bsd.obj.mk>  .include <bsd.obj.mk>
 .include <bsd.links.mk>  .include <bsd.links.mk>
   .include <bsd.files.mk>
 .include <bsd.inc.mk>  .include <bsd.inc.mk>
 .include <bsd.dep.mk>  .include <bsd.dep.mk>
 .include <bsd.subdir.mk>  .include <bsd.subdir.mk>

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

CVSweb <webmaster@jp.NetBSD.org>