[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.189 and 1.190

version 1.189, 2003/09/29 01:06:37 version 1.190, 2003/10/18 15:33:59
Line 161  _CCLINK= ${CC}
Line 161  _CCLINK= ${CC}
 .endif  .endif
 .gdbinit:  .gdbinit:
         rm -f .gdbinit          rm -f .gdbinit
 .if defined(DESTDIR) && !empty(DESTDIR)  .if defined(DESTDIR) && !empty(DESTDIR)
         echo "set solib-absolute-prefix ${DESTDIR}" > .gdbinit          echo "set solib-absolute-prefix ${DESTDIR}" > .gdbinit
 .else  .else
         touch .gdbinit          touch .gdbinit
 .endif  .endif
 .for __gdbinit in ${GDBINIT}  .for __gdbinit in ${GDBINIT}
         echo "source ${__gdbinit}" >> .gdbinit          echo "source ${__gdbinit}" >> .gdbinit
 .endfor  .endfor
Line 175  ${OBJS} ${LOBJS}: ${DPSRCS}
Line 179  ${OBJS} ${LOBJS}: ${DPSRCS}
 .if !commands(${PROG})  .if !commands(${PROG})
           ${_MKMSG} "   link  ${PROG}"
 .if defined(DESTDIR)  .if defined(DESTDIR)
         ${_CCLINK} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib ${_PROGLDOPTS} ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -L${_GCC_LIBGCCDIR} -L${DESTDIR}/usr/lib ${_SUPCXX} -lgcc -lc -lgcc ${LIBCRTEND}          ${_CCLINK} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib ${_PROGLDOPTS} ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -L${_GCC_LIBGCCDIR} -L${DESTDIR}/usr/lib ${_SUPCXX} -lgcc -lc -lgcc ${LIBCRTEND}
 .else  .else
 .endif  # defined(DESTDIR)  .endif  # defined(DESTDIR)
 .endif  # !commands(${PROG})  .endif  # !commands(${PROG})
 ${PROG}.ro: ${OBJS} ${DPADD}  ${PROG}.ro: ${OBJS} ${DPADD}
         ${LD} -r -dc -o ${.TARGET} ${OBJS}          ${LD} -r -dc -o ${.TARGET} ${OBJS}
 .endif  # defined(OBJS) && !empty(OBJS)  .endif  # defined(OBJS) && !empty(OBJS)
Line 195  MAN= ${PROG}.1
Line 203  MAN= ${PROG}.1
 realall: ${PROG} ${SCRIPTS}  realall: ${PROG} ${SCRIPTS}
 cleanprog: cleanobjs cleanextra  cleanprog: cleanobjs cleanextra
         rm -f a.out [Ee]rrs mklog core *.core .gdbinit ${PROG}          rm -f a.out [Ee]rrs mklog core *.core .gdbinit ${PROG}
 cleanobjs:  cleanobjs:
 .if defined(OBJS) && !empty(OBJS)  .if defined(OBJS) && !empty(OBJS)
         rm -f ${OBJS} ${LOBJS}          rm -f ${OBJS} ${LOBJS}
 .endif  .endif
 cleanextra:  cleanextra:
 .if defined(CLEANFILES) && !empty(CLEANFILES)  .if defined(CLEANFILES) && !empty(CLEANFILES)
         rm -f ${CLEANFILES}          rm -f ${CLEANFILES}
 .endif  .endif
Line 222  proginstall:: ${DESTDIR}${BINDIR}/${PROG
Line 233  proginstall:: ${DESTDIR}${BINDIR}/${PROG
 __proginstall: .USE  __proginstall: .USE
           ${_MKMSG} "install  ${.TARGET}"
         ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \          ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
                 ${STRIPFLAG} ${SYSPKGTAG} ${.ALLSRC} ${.TARGET}                  ${STRIPFLAG} ${SYSPKGTAG} ${.ALLSRC} ${.TARGET}
Line 252  scriptsinstall:: ${SCRIPTS:@S@${DESTDIR}
Line 265  scriptsinstall:: ${SCRIPTS:@S@${DESTDIR}
 __scriptinstall: .USE  __scriptinstall: .USE
           ${_MKMSG} "install  ${.TARGET}"
         ${INSTALL_FILE} \          ${INSTALL_FILE} \
             -o ${SCRIPTSOWN_${.ALLSRC:T}:U${SCRIPTSOWN}} \              -o ${SCRIPTSOWN_${.ALLSRC:T}:U${SCRIPTSOWN}} \
             -g ${SCRIPTSGRP_${.ALLSRC:T}:U${SCRIPTSGRP}} \              -g ${SCRIPTSGRP_${.ALLSRC:T}:U${SCRIPTSGRP}} \
Line 279  scriptsinstall::
Line 294  scriptsinstall::
 lint: ${LOBJS}  lint: ${LOBJS}
 .if defined(LOBJS) && !empty(LOBJS)  .if defined(LOBJS) && !empty(LOBJS)
 .endif  .endif

Removed from v.1.189  
changed lines
  Added in v.1.190

CVSweb <webmaster@jp.NetBSD.org>