[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.118 and 1.131

version 1.118, 2000/06/25 05:07:22 version 1.131, 2001/06/01 17:49:33
Line 14  __initialized__:
Line 14  __initialized__:
   
 .PHONY:         cleanprog proginstall scriptsinstall  .PHONY:         cleanprog proginstall scriptsinstall
 realinstall:    proginstall scriptsinstall  realinstall:    proginstall scriptsinstall
 clean cleandir distclean: cleanprog  clean cleandir: cleanprog
   
 CFLAGS+=        ${COPTS}  CFLAGS+=        ${COPTS}
   
Line 32  LIBCRT0?= ${DESTDIR}/usr/lib/crt0.o
Line 32  LIBCRT0?= ${DESTDIR}/usr/lib/crt0.o
 LIBBZ2?=        ${DESTDIR}/usr/lib/libbz2.a  LIBBZ2?=        ${DESTDIR}/usr/lib/libbz2.a
 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
   LIBCDK?=        ${DESTDIR}/usr/lib/libcdk.a
 LIBCOM_ERR?=    ${DESTDIR}/usr/lib/libcom_err.a  LIBCOM_ERR?=    ${DESTDIR}/usr/lib/libcom_err.a
 LIBCOMPAT?=     ${DESTDIR}/usr/lib/libcompat.a  LIBCOMPAT?=     ${DESTDIR}/usr/lib/libcompat.a
 LIBCRYPT?=      ${DESTDIR}/usr/lib/libcrypt.a  LIBCRYPT?=      ${DESTDIR}/usr/lib/libcrypt.a
 LIBCRYPTO?=     ${DESTDIR}/usr/lib/libcrypto.a  LIBCRYPTO?=     ${DESTDIR}/usr/lib/libcrypto.a
   LIBCRYPTO_RC5?= ${DESTDIR}/usr/lib/libcrypto_rc5.a
   LIBCRYPTO_IDEA?=${DESTDIR}/usr/lib/libcrypto_idea.a
 LIBCURSES?=     ${DESTDIR}/usr/lib/libcurses.a  LIBCURSES?=     ${DESTDIR}/usr/lib/libcurses.a
 LIBDBM?=        ${DESTDIR}/usr/lib/libdbm.a  LIBDBM?=        ${DESTDIR}/usr/lib/libdbm.a
 LIBDES?=        ${DESTDIR}/usr/lib/libdes.a  LIBDES?=        ${DESTDIR}/usr/lib/libdes.a
 LIBEDIT?=       ${DESTDIR}/usr/lib/libedit.a  LIBEDIT?=       ${DESTDIR}/usr/lib/libedit.a
   LIBFORM?=       ${DESTDIR}/usr/lib/libform.a
 LIBGCC?=        ${DESTDIR}/usr/lib/libgcc.a  LIBGCC?=        ${DESTDIR}/usr/lib/libgcc.a
 LIBGNUMALLOC?=  ${DESTDIR}/usr/lib/libgnumalloc.a  LIBGNUMALLOC?=  ${DESTDIR}/usr/lib/libgnumalloc.a
 LIBGSSAPI?=     ${DESTDIR}/usr/lib/libgssapi.a  LIBGSSAPI?=     ${DESTDIR}/usr/lib/libgssapi.a
 LIBHDB?=        ${DESTIDR}/usr/lib/libhdb.a  LIBHDB?=        ${DESTDIR}/usr/lib/libhdb.a
   LIBINTL?=       ${DESTDIR}/usr/lib/libintl.a
 LIBIPSEC?=      ${DESTDIR}/usr/lib/libipsec.a  LIBIPSEC?=      ${DESTDIR}/usr/lib/libipsec.a
 LIBKADM?=       ${DESTDIR}/usr/lib/libkadm.a  LIBKADM?=       ${DESTDIR}/usr/lib/libkadm.a
 LIBKADM5CLNT?=  ${DESTDIR}/usr/lib/libkadm5clnt.a  LIBKADM5CLNT?=  ${DESTDIR}/usr/lib/libkadm5clnt.a
 LIBKADM5SRV?=   ${DESTDIR}/usr/lib/libkadm5srv.a  LIBKADM5SRV?=   ${DESTDIR}/usr/lib/libkadm5srv.a
 LIBKAFS?=       ${DESTDIR}/usr/lib/libkafs.a  LIBKAFS?=       ${DESTDIR}/usr/lib/libkafs.a
 LIBKRB?=        ${DESTDIR}/usr/lib/libkdb.a  LIBKDB?=        ${DESTDIR}/usr/lib/libkdb.a
 LIBKRB?=        ${DESTDIR}/usr/lib/libkrb.a  LIBKRB?=        ${DESTDIR}/usr/lib/libkrb.a
 LIBKRB5?=       ${DESTDIR}/usr/lib/libkrb5.a  LIBKRB5?=       ${DESTDIR}/usr/lib/libkrb5.a
 LIBKSTREAM?=    ${DESTDIR}/usr/lib/libkstream.a  LIBKSTREAM?=    ${DESTDIR}/usr/lib/libkstream.a
Line 67  LIBROKEN?= ${DESTDIR}/usr/lib/libroken.a
Line 72  LIBROKEN?= ${DESTDIR}/usr/lib/libroken.a
 LIBRPCSVC?=     ${DESTDIR}/usr/lib/librpcsvc.a  LIBRPCSVC?=     ${DESTDIR}/usr/lib/librpcsvc.a
 LIBSKEY?=       ${DESTDIR}/usr/lib/libskey.a  LIBSKEY?=       ${DESTDIR}/usr/lib/libskey.a
 LIBSS?=         ${DESTDIR}/usr/lib/libss.a  LIBSS?=         ${DESTDIR}/usr/lib/libss.a
   LIBSSL?=        ${DESTDIR}/usr/lib/libssl.a
 LIBSL?=         ${DESTDIR}/usr/lib/libsl.a  LIBSL?=         ${DESTDIR}/usr/lib/libsl.a
 LIBTERMCAP?=    ${DESTDIR}/usr/lib/libtermcap.a  LIBTERMCAP?=    ${DESTDIR}/usr/lib/libtermcap.a
 LIBTELNET?=     ${DESTDIR}/usr/lib/libtelnet.a  LIBTELNET?=     ${DESTDIR}/usr/lib/libtelnet.a
Line 116  LOBJS+=  ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=
Line 122  LOBJS+=  ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=
 .if defined(DESTDIR)  .if defined(DESTDIR)
   
 ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}  ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
   .if !commands(${PROG})
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -Wl,-rpath-link,${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -L${DESTDIR}/usr/lib -lgcc -lc -lgcc ${LIBCRTEND}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} -nostdlib -Wl,-rpath-link,${DESTDIR}/usr/lib ${LIBCRT0} ${LIBCRTBEGIN} ${OBJS} ${LDADD} -L${DESTDIR}/usr/lib -lgcc -lc -lgcc ${LIBCRTEND}
   .endif
   
 .else  .else
   
 ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}  ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
   .if !commands(${PROG})
         ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}          ${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${OBJS} ${LDADD}
   .endif
   
 .endif  # defined(DESTDIR)  .endif  # defined(DESTDIR)
 .endif  # defined(OBJS) && !empty(OBJS)  .endif  # defined(OBJS) && !empty(OBJS)
Line 137  cleanprog:
Line 147  cleanprog:
         rm -f a.out [Ee]rrs mklog core *.core \          rm -f a.out [Ee]rrs mklog core *.core \
             ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}              ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}
   
 .if defined(SRCS)  .if defined(SRCS) && !target(afterdepend)
 afterdepend: .depend  afterdepend: .depend
         @(TMP=/tmp/_depend$$$$; \          @(TMP=/tmp/_depend$$$$; \
             sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.ln:/' \              sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.ln:/' \
Line 187  __scriptinstall: .USE
Line 197  __scriptinstall: .USE
             -m ${SCRIPTSMODE_${.ALLSRC:T}:U${SCRIPTSMODE}} \              -m ${SCRIPTSMODE_${.ALLSRC:T}:U${SCRIPTSMODE}} \
             ${.ALLSRC} ${.TARGET}              ${.ALLSRC} ${.TARGET}
   
 .for S in ${SCRIPTS}  .for S in ${SCRIPTS:O:u}
 .if !defined(BUILD) && !make(all) && !make(${S})  .if !defined(BUILD) && !make(all) && !make(${S})
 ${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}: .MADE  ${DESTDIR}${SCRIPTSDIR_${S}:U${SCRIPTSDIR}}/${SCRIPTSNAME_${S}:U${SCRIPTSNAME:U${S:T:R}}}: .MADE
 .endif  .endif

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.131

CVSweb <webmaster@jp.NetBSD.org>