[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.85 and 1.86

version 1.85, 1997/05/26 03:58:41 version 1.86, 1997/05/31 21:21:59
Line 17  CFLAGS+= ${COPTS}
Line 17  CFLAGS+= ${COPTS}
 # ELF platforms depend on crtbegin.o and crtend.o  # ELF platforms depend on crtbegin.o and crtend.o
 .if (${MACHINE_ARCH} == "alpha")   || \  .if (${MACHINE_ARCH} == "alpha")   || \
     (${MACHINE_ARCH} == "powerpc")      (${MACHINE_ARCH} == "powerpc")
 LIBCRTBEGIN?=   ${BUILDDIR}/usr/lib/crtbegin.o  LIBCRTBEGIN?=   ${DESTDIR}/usr/lib/crtbegin.o
 LIBCRTEND?=     ${BUILDDIR}/usr/lib/crtend.o  LIBCRTEND?=     ${DESTDIR}/usr/lib/crtend.o
 .else  .else
 LIBCRTBEGIN?=  LIBCRTBEGIN?=
 LIBCRTEND?=  LIBCRTEND?=
 .endif  .endif
   
 LIBCRT0?=       ${BUILDDIR}/usr/lib/crt0.o  LIBCRT0?=       ${DESTDIR}/usr/lib/crt0.o
 LIBC?=          ${BUILDDIR}/usr/lib/libc.a  LIBC?=          ${DESTDIR}/usr/lib/libc.a
 LIBC_PIC?=      ${BUILDDIR}/usr/lib/libc_pic.a  LIBC_PIC?=      ${DESTDIR}/usr/lib/libc_pic.a
 LIBCOMPAT?=     ${BUILDDIR}/usr/lib/libcompat.a  LIBCOMPAT?=     ${DESTDIR}/usr/lib/libcompat.a
 LIBCRYPT?=      ${BUILDDIR}/usr/lib/libcrypt.a  LIBCRYPT?=      ${DESTDIR}/usr/lib/libcrypt.a
 LIBCURSES?=     ${BUILDDIR}/usr/lib/libcurses.a  LIBCURSES?=     ${DESTDIR}/usr/lib/libcurses.a
 LIBDBM?=        ${BUILDDIR}/usr/lib/libdbm.a  LIBDBM?=        ${DESTDIR}/usr/lib/libdbm.a
 LIBDES?=        ${BUILDDIR}/usr/lib/libdes.a  LIBDES?=        ${DESTDIR}/usr/lib/libdes.a
 LIBEDIT?=       ${BUILDDIR}/usr/lib/libedit.a  LIBEDIT?=       ${DESTDIR}/usr/lib/libedit.a
 LIBGCC?=        ${BUILDDIR}/usr/lib/libgcc.a  LIBGCC?=        ${DESTDIR}/usr/lib/libgcc.a
 LIBGNUMALLOC?=  ${BUILDDIR}/usr/lib/libgnumalloc.a  LIBGNUMALLOC?=  ${DESTDIR}/usr/lib/libgnumalloc.a
 LIBKDB?=        ${BUILDDIR}/usr/lib/libkdb.a  LIBKDB?=        ${DESTDIR}/usr/lib/libkdb.a
 LIBKRB?=        ${BUILDDIR}/usr/lib/libkrb.a  LIBKRB?=        ${DESTDIR}/usr/lib/libkrb.a
 LIBKVM?=        ${BUILDDIR}/usr/lib/libkvm.a  LIBKVM?=        ${DESTDIR}/usr/lib/libkvm.a
 LIBL?=          ${BUILDDIR}/usr/lib/libl.a  LIBL?=          ${DESTDIR}/usr/lib/libl.a
 LIBM?=          ${BUILDDIR}/usr/lib/libm.a  LIBM?=          ${DESTDIR}/usr/lib/libm.a
 LIBMP?=         ${BUILDDIR}/usr/lib/libmp.a  LIBMP?=         ${DESTDIR}/usr/lib/libmp.a
 LIBNTP?=        ${BUILDDIR}/usr/lib/libntp.a  LIBNTP?=        ${DESTDIR}/usr/lib/libntp.a
 LIBPC?=         ${BUILDDIR}/usr/lib/libpc.a  LIBPC?=         ${DESTDIR}/usr/lib/libpc.a
 LIBPCAP?=       ${BUILDDIR}/usr/lib/libpcap.a  LIBPCAP?=       ${DESTDIR}/usr/lib/libpcap.a
 LIBPLOT?=       ${BUILDDIR}/usr/lib/libplot.a  LIBPLOT?=       ${DESTDIR}/usr/lib/libplot.a
 LIBRESOLV?=     ${BUILDDIR}/usr/lib/libresolv.a  LIBPOSIX?=      ${DESTDIR}/usr/lib/libposix.a
 LIBRPCSVC?=     ${BUILDDIR}/usr/lib/librpcsvc.a  LIBRESOLV?=     ${DESTDIR}/usr/lib/libresolv.a
 LIBSKEY?=       ${BUILDDIR}/usr/lib/libskey.a  LIBRPCSVC?=     ${DESTDIR}/usr/lib/librpcsvc.a
 LIBTERMCAP?=    ${BUILDDIR}/usr/lib/libtermcap.a  LIBSKEY?=       ${DESTDIR}/usr/lib/libskey.a
 LIBTELNET?=     ${BUILDDIR}/usr/lib/libtelnet.a  LIBTERMCAP?=    ${DESTDIR}/usr/lib/libtermcap.a
 LIBUTIL?=       ${BUILDDIR}/usr/lib/libutil.a  LIBTELNET?=     ${DESTDIR}/usr/lib/libtelnet.a
 LIBWRAP?=       ${BUILDDIR}/usr/lib/libwrap.a  LIBUTIL?=       ${DESTDIR}/usr/lib/libutil.a
 LIBY?=          ${BUILDDIR}/usr/lib/liby.a  LIBWRAP?=       ${DESTDIR}/usr/lib/libwrap.a
 LIBZ?=          ${BUILDDIR}/usr/lib/libz.a  LIBY?=          ${DESTDIR}/usr/lib/liby.a
   LIBZ?=          ${DESTDIR}/usr/lib/libz.a
   
 .if defined(SHAREDSTRINGS)  .if defined(SHAREDSTRINGS)
 CLEANFILES+=strings  CLEANFILES+=strings
Line 89  LOBJS+=  ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=
Line 90  LOBJS+=  ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=
   
 .if defined(OBJS) && !empty(OBJS)  .if defined(OBJS) && !empty(OBJS)
 .NOPATH: ${OBJS}  .NOPATH: ${OBJS}
 .if defined(BUILDDIR)  .if defined(DESTDIR)
 # link against the libs in BUILDDIR  
 ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}  ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${BUILDDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -lgcc -lc -lgcc ${LIBCRTEND}
   
 .else  .else
 # link against libs in system we're running  
 ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}  ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}
   
 .endif  # defined(BUILDDIR)  .endif  # defined(DESTDIR)
 .endif  # defined(OBJS) && !empty(OBJS)  .endif  # defined(OBJS) && !empty(OBJS)
   
 .if     !defined(MAN)  .if     !defined(MAN)

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

CVSweb <webmaster@jp.NetBSD.org>