1 # $NetBSD: bsd.gcc.mk,v 1.11 2015/06/07 15:04:28 matt Exp $
3 .if
!defined
(_BSD_GCC_MK_
)
6 .if defined
(EXTERNAL_TOOLCHAIN
)
7 _GCC_CRTBEGIN
!= ${CC} --print-file-name
=crtbegin.o
9 _GCC_CRTBEGINS
!= ${CC} --print-file-name
=crtbeginS.o
11 _GCC_CRTEND
!= ${CC} --print-file-name
=crtend.o
13 _GCC_CRTENDS
!= ${CC} --print-file-name
=crtendS.o
16 _GCC_CRTI
!= ${CC} --print-file-name
=crti.o
19 _GCC_CRTN
!= ${CC} --print-file-name
=crtn.o
21 _GCC_CRTDIR
!= dirname
${_GCC_CRTBEGIN}
22 _GCC_LIBGCCDIR
!= dirname
`${CC} --print-libgcc-file-name`
24 _GCC_CRTBEGIN?
= ${DESTDIR}/usr
/lib
/${MLIBDIR
:D
${MLIBDIR}/}crtbegin.o
25 _GCC_CRTBEGINS?
= ${DESTDIR}/usr
/lib
/${MLIBDIR
:D
${MLIBDIR}/}crtbeginS.o
26 _GCC_CRTEND?
= ${DESTDIR}/usr
/lib
/${MLIBDIR
:D
${MLIBDIR}/}crtend.o
27 _GCC_CRTENDS?
= ${DESTDIR}/usr
/lib
/${MLIBDIR
:D
${MLIBDIR}/}crtendS.o
28 _GCC_CRTI?
= ${DESTDIR}/usr
/lib
/${MLIBDIR
:D
${MLIBDIR}/}crti.o
29 _GCC_CRTN?
= ${DESTDIR}/usr
/lib
/${MLIBDIR
:D
${MLIBDIR}/}crtn.o
30 _GCC_CRTDIR?
= ${DESTDIR}/usr
/lib
${MLIBDIR
:D
/${MLIBDIR}}
31 _GCC_LIBGCCDIR?
= ${DESTDIR}/usr
/lib
${MLIBDIR
:D
/${MLIBDIR}}
34 .
endif # ! defined(_BSD_GCC_MK_)