[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.8 and 1.12

version 1.8, 1993/04/08 17:18:46 version 1.12, 1993/04/25 05:36:13
Line 17  BINGRP?= bin
Line 17  BINGRP?= bin
 BINOWN?=        bin  BINOWN?=        bin
 BINMODE?=       555  BINMODE?=       555
   
   
 LIBCRT0?=       /usr/lib/crt0.o  LIBCRT0?=       /usr/lib/crt0.o
 LIBC?=          /usr/lib/libc.a  LIBC?=          /usr/lib/libc.a
 LIBCOMPAT?=     /usr/lib/libcompat.a  LIBCOMPAT?=     /usr/lib/libcompat.a
Line 74  MKDEP= -p
Line 73  MKDEP= -p
   
 .if     !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \  .if     !defined(MAN1) && !defined(MAN2) && !defined(MAN3) && \
         !defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \          !defined(MAN4) && !defined(MAN5) && !defined(MAN6) && \
         !defined(MAN7) && !defined(MAN8) && !defined(NOMAN)          !defined(MAN7) && !defined(MAN8)
 MAN1=   ${PROG}.0  MAN1=   ${PROG}.0
 .endif  .endif
 .endif  .endif
   
   .if !defined(NOMAN)
 MANALL= ${MAN1} ${MAN2} ${MAN3} ${MAN4} ${MAN5} ${MAN6} ${MAN7} ${MAN8}  MANALL= ${MAN1} ${MAN2} ${MAN3} ${MAN4} ${MAN5} ${MAN6} ${MAN7} ${MAN8}
   .endif
   
 _PROGSUBDIR: .USE  _PROGSUBDIR: .USE
 .if defined(SUBDIR) && !empty(SUBDIR)  .if defined(SUBDIR) && !empty(SUBDIR)
Line 119  depend: .depend _PROGSUBDIR
Line 121  depend: .depend _PROGSUBDIR
 .if !target(install)  .if !target(install)
 .if !target(beforeinstall)  .if !target(beforeinstall)
 beforeinstall:  beforeinstall:
   .if defined(DESTDIR) || defined(BINDIR)
         @if [ ! -d "${DESTDIR}${BINDIR}" ]; then \          @if [ ! -d "${DESTDIR}${BINDIR}" ]; then \
                 /bin/rm -f ${DESTDIR}${BINDIR} ; \                  /bin/rm -f ${DESTDIR}${BINDIR} ; \
                 mkdir -p ${DESTDIR}${BINDIR} ; \                  mkdir -p ${DESTDIR}${BINDIR} ; \
Line 128  beforeinstall:
Line 131  beforeinstall:
                 true ; \                  true ; \
         fi          fi
 .endif  .endif
   .endif
 .if !target(afterinstall)  .if !target(afterinstall)
 afterinstall:  afterinstall:
 .endif  .endif
   
 realinstall: _PROGSUBDIR  realinstall: _PROGSUBDIR
 .if defined(PROG)  .if defined(PROG)
         install -c ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \          install ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
             ${PROG} ${DESTDIR}${BINDIR}              ${PROG} ${DESTDIR}${BINDIR}
 .endif  .endif
 .if defined(HIDEGAME)  .if defined(HIDEGAME)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.12

CVSweb <webmaster@jp.NetBSD.org>