[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.68 and 1.69

version 1.68, 1997/04/03 06:53:18 version 1.69, 1997/04/17 06:40:32
Line 11 
Line 11 
 CFLAGS+=        ${COPTS}  CFLAGS+=        ${COPTS}
   # ELF platforms depend on crtbegin.o and crtend.o
   .if (${MACHINE_ARCH} == "alpha")   || \
       (${MACHINE_ARCH} == "powerpc")
   LIBCRTBEGIN?=   ${DESTDIR}/usr/lib/crtbegin.o
   LIBCRTEND?=     ${DESTDIR}/usr/lib/crtend.o
 LIBCRT0?=       ${DESTDIR}/usr/lib/crt0.o  LIBCRT0?=       ${DESTDIR}/usr/lib/crt0.o
 LIBC?=          ${DESTDIR}/usr/lib/libc.a  LIBC?=          ${DESTDIR}/usr/lib/libc.a
 LIBC_PIC?=      ${DESTDIR}/usr/lib/libc_pic.a  LIBC_PIC?=      ${DESTDIR}/usr/lib/libc_pic.a
Line 72  LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.
Line 82  LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.
 .if defined(OBJS) && !empty(OBJS)  .if defined(OBJS) && !empty(OBJS)
 .if defined(DESTDIR)  .if defined(DESTDIR)
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib ${LIBCRT0} ${OBJS} ${LDADD} -lgcc -lc -lgcc          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}
 .else  .else
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}
 .endif  # defined(DESTDIR)  .endif  # defined(DESTDIR)
 .endif  .endif
         ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \          ${INSTALL} ${COPY} ${STRIPFLAG} -o ${BINOWN} -g ${BINGRP} \
             ${.ALLSRC} ${.TARGET}              -m ${BINMODE} ${.ALLSRC} ${.TARGET}
 .endif  .endif
 .if defined(SCRIPTS)  .if defined(SCRIPTS)

Removed from v.1.68  
changed lines
  Added in v.1.69

CVSweb <webmaster@jp.NetBSD.org>