| version 1.310, 2010/12/08 01:57:22 |
version 1.310.2.2, 2011/02/17 11:59:27 |
| Line 64 DPADD+= ${LIBDO.${_lib}}/lib${_lib}.so |
|
| Line 64 DPADD+= ${LIBDO.${_lib}}/lib${_lib}.so |
|
| MKDEP_SUFFIXES?= .o .po .pico .go .ln |
MKDEP_SUFFIXES?= .o .po .pico .go .ln |
| |
|
| # Use purely kernel private headers in rump builds |
# Use purely kernel private headers in rump builds |
| .if !defined(RUMPKERNEL) |
# Skip NetBSD headers for the toolchain builds |
| |
.if !defined(RUMPKERNEL) && !defined(HOSTLIB) |
| .if empty(CPPFLAGS:M-nostdinc) |
.if empty(CPPFLAGS:M-nostdinc) |
| CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include} |
CPPFLAGS+= ${DESTDIR:D-nostdinc ${CPPFLAG_ISYSTEM} ${DESTDIR}/usr/include} |
| .endif |
.endif |
| Line 535 _LIBLDOPTS+= -Wl,-rpath-link,${DESTDIR}$ |
|
| Line 536 _LIBLDOPTS+= -Wl,-rpath-link,${DESTDIR}$ |
|
| # -Xl,-nostdlib is not enough because we want to tell the compiler-driver not |
# -Xl,-nostdlib is not enough because we want to tell the compiler-driver not |
| # to add standard libraries, not the linker. |
# to add standard libraries, not the linker. |
| .if !defined(LIB) |
.if !defined(LIB) |
| |
.if !empty(LIBC_SO) |
| DPLIBC ?= ${DESTDIR}${LIBC_SO} |
DPLIBC ?= ${DESTDIR}${LIBC_SO} |
| |
.endif |
| .else |
.else |
| .if ${LIB} != "c" && ${LIB:Mgcc*} == "" |
.if ${LIB} != "c" && ${LIB:Mgcc*} == "" |
| |
.if !empty(LIBC_SO) |
| DPLIBC ?= ${DESTDIR}${LIBC_SO} |
DPLIBC ?= ${DESTDIR}${LIBC_SO} |
| |
.endif |
| .else |
.else |
| LDLIBC ?= -nodefaultlibs |
LDLIBC ?= -nodefaultlibs |
| .if ${LIB} == "c" |
.if ${LIB} == "c" |