[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.285 and 1.289

version 1.285, 2013/09/29 14:36:25 version 1.289, 2014/03/09 18:00:51
Line 65  MKDEP_SUFFIXES?= .o .ln
Line 65  MKDEP_SUFFIXES?= .o .ln
 .if defined(MKDTRACE) && (${MKDTRACE} != "no") && (${CFLAGS:M-g} != "")  .if defined(MKDTRACE) && (${MKDTRACE} != "no") && (${CFLAGS:M-g} != "")
 CTFFLAGS+= -g  CTFFLAGS+= -g
 CTFMFLAGS+= -g  CTFMFLAGS+= -g
   .if defined(HAVE_GCC) && ${HAVE_GCC} >= 48
   #CFLAGS+=-gdwarf-2
   .endif
 .endif  .endif
   
 # ELF platforms depend on crti.o, crtbegin.o, crtend.o, and crtn.o  # ELF platforms depend on crti.o, crtbegin.o, crtend.o, and crtn.o
Line 83  LIBCRT0= ${DESTDIR}/usr/lib/crt0.o
Line 86  LIBCRT0= ${DESTDIR}/usr/lib/crt0.o
 .MADE: ${LIBCRT0}  .MADE: ${LIBCRT0}
 .endif  .endif
   
   .ifndef LIBCRTI
   LIBCRTI=        ${DESTDIR}/usr/lib/crti.o
   .MADE: ${LIBCRTI}
   .endif
   
 ##### Installed system library definitions  ##### Installed system library definitions
 #  #
 #       E.g.  #       E.g.
Line 104  LIBCRT0= ${DESTDIR}/usr/lib/crt0.o
Line 112  LIBCRT0= ${DESTDIR}/usr/lib/crt0.o
         c_pic \          c_pic \
         com_err \          com_err \
         compat \          compat \
         crt0 \  
         crypt \          crypt \
         crypto \          crypto \
         crypto_idea \          crypto_idea \
Line 476  NODPSRCS+= ${f}
Line 483  NODPSRCS+= ${f}
 .endif  .endif
 .endfor  .endfor
   
 ${_P}: .gdbinit ${LIBCRT0} ${XOBJS.${_P}} ${SRCS.${_P}} ${DPSRCS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${_DPADD.${_P}}  ${_P}: .gdbinit ${LIBCRT0} ${LIBCRTI} ${XOBJS.${_P}} ${SRCS.${_P}} \
       ${DPSRCS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${_DPADD.${_P}}
         ${_MKTARGET_LINK}          ${_MKTARGET_LINK}
 .if defined(DESTDIR)  .if defined(DESTDIR)
         ${_CCLINK.${_P}} -Wl,-nostdlib \          ${_CCLINK.${_P}} -Wl,-nostdlib \
Line 509  CLEANFILES+= ${_P}.d
Line 517  CLEANFILES+= ${_P}.d
   
 ${OBJS.${_P}} ${LOBJS.${_P}}: ${DPSRCS}  ${OBJS.${_P}} ${LOBJS.${_P}}: ${DPSRCS}
   
 ${_P}: .gdbinit ${LIBCRT0} ${OBJS.${_P}} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${_DPADD.${_P}}  ${_P}: .gdbinit ${LIBCRT0} ${LIBCRTI} ${OBJS.${_P}} ${LIBC} ${LIBCRTBEGIN} \
       ${LIBCRTEND} ${_DPADD.${_P}}
 .if !commands(${_P})  .if !commands(${_P})
         ${_MKTARGET_LINK}          ${_MKTARGET_LINK}
         ${_CCLINK.${_P}} \          ${_CCLINK.${_P}} \
Line 529  ${_P}: .gdbinit ${LIBCRT0} ${OBJS.${_P}}
Line 538  ${_P}: .gdbinit ${LIBCRT0} ${OBJS.${_P}}
   
 ${_P}.ro: ${OBJS.${_P}} ${_DPADD.${_P}}  ${_P}.ro: ${OBJS.${_P}} ${_DPADD.${_P}}
         ${_MKTARGET_LINK}          ${_MKTARGET_LINK}
         ${CC} ${LDFLAGS} -nostdlib -r -Wl,-dc -o ${.TARGET} ${OBJS.${_P}}          ${CC} ${LDFLAGS:N-Wl,-pie} -nostdlib -r -Wl,-dc -o ${.TARGET} ${OBJS.${_P}}
   
 .if defined(_PROGDEBUG.${_P})  .if defined(_PROGDEBUG.${_P})
 ${_PROGDEBUG.${_P}}: ${_P}  ${_PROGDEBUG.${_P}}: ${_P}

Legend:
Removed from v.1.285  
changed lines
  Added in v.1.289

CVSweb <webmaster@jp.NetBSD.org>