[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.3 and 1.4

version 1.3, 1993/03/23 07:26:55 version 1.4, 1993/03/27 12:17:32
Line 17  BINGRP?= bin
Line 17  BINGRP?= bin
 BINOWN?=        bin  BINOWN?=        bin
 BINMODE?=       555  BINMODE?=       555
   
   
   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
 LIBCURSES?=     /usr/lib/libcurses.a  LIBCURSES?=     /usr/lib/libcurses.a
Line 47  CLEANFILES+=strings
Line 49  CLEANFILES+=strings
   
 OBJS+=  ${SRCS:R:S/$/.o/g}  OBJS+=  ${SRCS:R:S/$/.o/g}
   
   .if defined(LDONLY)
   
   ${PROG}: ${LIBCRT0} ${LIBC} ${OBJS} ${DPADD}
           ${LD} ${LDFLAGS} -o ${.TARGET} ${LIBCRT0} ${OBJS} ${LIBC} ${LDADD}
   
   .else defined(LDONLY)
   
 ${PROG}: ${OBJS} ${LIBC} ${DPADD}  ${PROG}: ${OBJS} ${LIBC} ${DPADD}
         ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}          ${CC} ${LDFLAGS} -o ${.TARGET} ${OBJS} ${LDADD}
   
   .endif
   
 .else defined(PROG)  .else defined(PROG)
   
 SRCS= ${PROG}.c  SRCS= ${PROG}.c
Line 88  all: ${PROG} ${MANALL} _PROGSUBDIR
Line 99  all: ${PROG} ${MANALL} _PROGSUBDIR
 .if !target(clean)  .if !target(clean)
 clean: _PROGSUBDIR  clean: _PROGSUBDIR
         rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES}          rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES}
           rm -f .depend ${MANALL}
 .endif  .endif
   
 .if !target(cleandir)  .if !target(cleandir)
 cleandir: _PROGSUBDIR  cleandir: _PROGSUBDIR
         rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES}          rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES} ${MANALL}
         rm -f .depend ${MANALL}          rm -f .depend ${MANALL}
 .endif  .endif
   
Line 115  afterinstall:
Line 127  afterinstall:
   
 realinstall: _PROGSUBDIR  realinstall: _PROGSUBDIR
 .if defined(PROG)  .if defined(PROG)
         install ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \          install -c ${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.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>