No empty .Rs/.Re
[netbsd-mini2440.git] / share / mk / bsd.gcc.mk
blob20afea8a2bf6887af28ecef2b41b54cc8b184adc
1 # $NetBSD: bsd.gcc.mk,v 1.2 2003/06/27 17:13:27 drochner Exp $
3 .if !defined(_BSD_GCC_MK_)
4 _BSD_GCC_MK_=1
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
22 .endif # ! defined(_BSD_GCC_MK_)