1# $NetBSD: bsd.gcc.mk,v 1.2 2003/06/27 17:13:27 drochner Exp $ 2 3.if !defined(_BSD_GCC_MK_) 4_BSD_GCC_MK_=1 5 6.if defined(EXTERNAL_TOOLCHAIN) 7_GCC_CRTBEGIN!= ${CC} --print-file-name=crtbegin.o 8_GCC_CRTBEGINS!= ${CC} --print-file-name=crtbeginS.o 9_GCC_CRTEND!= ${CC} --print-file-name=crtend.o 10_GCC_CRTENDS!= ${CC} --print-file-name=crtendS.o 11_GCC_CRTDIR!= dirname ${_GCC_CRTBEGIN} 12_GCC_LIBGCCDIR!= dirname `${CC} --print-libgcc-file-name` 13.else 14_GCC_CRTBEGIN?= ${DESTDIR}/usr/lib/crtbegin.o 15_GCC_CRTBEGINS?= ${DESTDIR}/usr/lib/crtbeginS.o 16_GCC_CRTEND?= ${DESTDIR}/usr/lib/crtend.o 17_GCC_CRTENDS?= ${DESTDIR}/usr/lib/crtendS.o 18_GCC_CRTDIR?= ${DESTDIR}/usr/lib 19_GCC_LIBGCCDIR?= ${DESTDIR}/usr/lib 20.endif 21 22.endif # ! defined(_BSD_GCC_MK_) 23