[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.262 and 1.263

version 1.262, 2011/03/08 07:53:43 version 1.263, 2011/04/10 16:52:36
 .endif  .endif
 ##### Default values  
 .if !defined(HOSTLIB)  
 .if empty(CPPFLAGS:M-nostdinc)  
 CPPFLAGS+=      ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include}  
 .if empty(CXXFLAGS:M-nostdinc++)  
 CXXFLAGS+=      ${DESTDIR:D-nostdinc++ ${CPPFLAG_ISYSTEMXX} ${DESTDIR}/usr/include/g++}  
 CFLAGS+=        ${COPTS}  CFLAGS+=        ${COPTS}
 MKDEP_SUFFIXES?=        .o .ln  MKDEP_SUFFIXES?=        .o .ln
Line 172  _PROGLDOPTS=
Line 162  _PROGLDOPTS=
 _PROGLDOPTS+=   -Wl,-dynamic-linker=${_SHLINKER}  _PROGLDOPTS+=   -Wl,-dynamic-linker=${_SHLINKER}
 .endif  .endif
 .if ${SHLIBDIR} != "/usr/lib"  .if ${SHLIBDIR} != "/usr/lib"
 _PROGLDOPTS+=   -Wl,-rpath-link,${DESTDIR}${SHLIBDIR} \  _PROGLDOPTS+=   -Wl,-rpath-link,=${SHLIBDIR} \
                 -Wl,-rpath,${SHLIBDIR} \                  -Wl,-rpath,=${SHLIBDIR} \
                 -L${DESTDIR}${SHLIBDIR}                  -L=${SHLIBDIR}
 .elif ${SHLIBINSTALLDIR} != "/usr/lib"  .elif ${SHLIBINSTALLDIR} != "/usr/lib"
 _PROGLDOPTS+=   -Wl,-rpath-link,${DESTDIR}${SHLIBINSTALLDIR} \  _PROGLDOPTS+=   -Wl,-rpath-link,=${SHLIBINSTALLDIR} \
                 -L${DESTDIR}${SHLIBINSTALLDIR}                  -L=${SHLIBINSTALLDIR}
 .endif  .endif
 _PROGLDOPTS+=   -Wl,-rpath-link,${DESTDIR}/usr/lib \  
 __proginstall: .USE  __proginstall: .USE
Line 208  _APPEND_MANS=yes
Line 196  _APPEND_MANS=yes
 .if defined(DESTDIR)  
 _CCLINKFLAGS+=  -B${_GCC_CRTDIR}/ -B${DESTDIR}/usr/lib/  
 .if defined(PROG_CXX)  .if defined(PROG_CXX)
 PROG=           ${PROG_CXX}  PROG=           ${PROG_CXX}
Line 327  ${_P}: .gdbinit ${LIBCRT0} ${OBJS.${_P}}
Line 312  ${_P}: .gdbinit ${LIBCRT0} ${OBJS.${_P}}
 .if !commands(${_P})  .if !commands(${_P})
         ${_MKTARGET_LINK}          ${_MKTARGET_LINK}
         ${_CCLINK.${_P}} \          ${_CCLINK.${_P}} \
             ${DESTDIR:D-Wl,-nostdlib} \  
             ${_LDFLAGS.${_P}} ${_LDSTATIC.${_P}} -o ${.TARGET} \              ${_LDFLAGS.${_P}} ${_LDSTATIC.${_P}} -o ${.TARGET} \
             ${OBJS.${_P}} ${_LDADD.${_P}} \              ${OBJS.${_P}} ${_LDADD.${_P}} \
             ${DESTDIR:D-L${_GCC_LIBGCCDIR}} \  
             ${_PROGLDOPTS}              ${_PROGLDOPTS}
 .if defined(CTFMERGE)  .if defined(CTFMERGE)
         ${CTFMERGE} ${CTFMFLAGS} -o ${.TARGET} ${OBJS.${_P}}          ${CTFMERGE} ${CTFMFLAGS} -o ${.TARGET} ${OBJS.${_P}}

Removed from v.1.262  
changed lines
  Added in v.1.263

CVSweb <webmaster@jp.NetBSD.org>