[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.45 and 1.46

version 1.45, 1994/06/30 06:35:50 version 1.46, 1994/07/06 04:13:37
Line 9 
Line 9 
   
 CFLAGS+=        ${COPTS}  CFLAGS+=        ${COPTS}
   
 LIBCRT0?=       /usr/lib/crt0.o  LIBCRT0?=       ${DESTDIR}/usr/lib/crt0.o
 LIBC?=          /usr/lib/libc.a  LIBC?=          ${DESTDIR}/usr/lib/libc.a
 LIBCOMPAT?=     /usr/lib/libcompat.a  LIBCOMPAT?=     ${DESTDIR}/usr/lib/libcompat.a
 LIBCRYPT?=      /usr/lib/libcrypt.a  LIBCRYPT?=      ${DESTDIR}/usr/lib/libcrypt.a
 LIBCURSES?=     /usr/lib/libcurses.a  LIBCURSES?=     ${DESTDIR}/usr/lib/libcurses.a
 LIBDBM?=        /usr/lib/libdbm.a  LIBDBM?=        ${DESTDIR}/usr/lib/libdbm.a
 LIBDES?=        /usr/lib/libdes.a  LIBDES?=        ${DESTDIR}/usr/lib/libdes.a
 LIBL?=          /usr/lib/libl.a  LIBGCC?=        ${DESTDIR}/usr/lib/libgcc.a
 LIBKDB?=        /usr/lib/libkdb.a  LIBL?=          ${DESTDIR}/usr/lib/libl.a
 LIBKRB?=        /usr/lib/libkrb.a  LIBKDB?=        ${DESTDIR}/usr/lib/libkdb.a
 LIBKVM?=        /usr/lib/libkvm.a  LIBKRB?=        ${DESTDIR}/usr/lib/libkrb.a
 LIBM?=          /usr/lib/libm.a  LIBKVM?=        ${DESTDIR}/usr/lib/libkvm.a
 LIBMP?=         /usr/lib/libmp.a  LIBM?=          ${DESTDIR}/usr/lib/libm.a
 LIBPC?=         /usr/lib/libpc.a  LIBMP?=         ${DESTDIR}/usr/lib/libmp.a
 LIBPLOT?=       /usr/lib/libplot.a  LIBPC?=         ${DESTDIR}/usr/lib/libpc.a
 LIBRESOLV?=     /usr/lib/libresolv.a  LIBPLOT?=       ${DESTDIR}/usr/lib/libplot.a
 LIBRPCSVC?=     /usr/lib/librpcsvc.a  LIBRESOLV?=     ${DESTDIR}/usr/lib/libresolv.a
 LIBSKEY?=       /usr/lib/libskey.a  LIBRPCSVC?=     ${DESTDIR}/usr/lib/librpcsvc.a
 LIBTERMCAP?=    /usr/lib/libtermcap.a  LIBSKEY?=       ${DESTDIR}/usr/lib/libskey.a
 LIBUTIL?=       /usr/lib/libutil.a  LIBTERMCAP?=    ${DESTDIR}/usr/lib/libtermcap.a
   LIBUTIL?=       ${DESTDIR}/usr/lib/libutil.a
   
 .if defined(SHAREDSTRINGS)  .if defined(SHAREDSTRINGS)
 CLEANFILES+=strings  CLEANFILES+=strings
Line 57  SRCS?= ${PROG}.c
Line 58  SRCS?= ${PROG}.c
 OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}  OBJS+=  ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
 .endif  .endif
   
 .if defined(LDONLY)  .if defined(DESTDIR)
   
 ${PROG}: ${LIBCRT0} ${OBJS} ${LIBC} ${DPADD}  ${PROG}: ${LIBCRT0} ${OBJS} ${LIBC} ${DPADD}
         ${LD} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${LIBCRT0} ${OBJS} ${LIBC} ${LDADD}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -L${DESTDIR}/usr/lib ${LIBCRT0} ${OBJS} ${LDADD} -lgcc -lc -lgcc
   
 .else defined(LDONLY)  .else
   
 ${PROG}: ${LIBCRT0} ${OBJS} ${LIBC} ${DPADD}  ${PROG}: ${LIBCRT0} ${OBJS} ${LIBC} ${DPADD}
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>