1# $FreeBSD: head/Makefile.libcompat 297997 2016-04-14 21:06:10Z bdrewery $
2
3.if !targets(__<${_this:T}>__)
4__<${_this:T}>__:
5
6# Makefile for the compatibility libraries.
7# - 32-bit compat libraries on PowerPC and AMD64.
8# could also be for mips, but that doesn't work today.
9
--- 73 unchanged lines hidden (view full) ---
83
84# Yes, the flags are redundant.
85LIBCOMPATWMAKEENV+= MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTREE} \
86 INSTALL="sh ${.CURDIR}/tools/install.sh" \
87 PATH=${TMPPATH} \
88 LIBDIR=/usr/lib${libcompat} \
89 SHLIBDIR=/usr/lib${libcompat} \
90 DTRACE="${LIB$COMPATDTRACE:U${DTRACE}}"
91.if ${MK_META_MODE} != "no"
92# Don't rebuild build-tools targets during normal build.
93LIBCOMPATWMAKEENV+= BUILD_TOOLS_META=.NOMETA_CMP
94.endif
95LIBCOMPATWMAKEFLAGS+= CC="${XCC} ${LIBCOMPATCFLAGS}" \
96 CXX="${XCXX} ${LIBCOMPATCFLAGS} ${LIBCOMPATCXXFLAGS}" \
97 DESTDIR=${LIBCOMPATTMP} \
98 -DNO_CPU_CFLAGS \
99 MK_CTF=no \
100 -DNO_LINT \
101 MK_TESTS=no
102LIBCOMPATWMAKE+= ${LIBCOMPATWMAKEENV} ${MAKE} ${LIBCOMPATWMAKEFLAGS} \
--- 73 unchanged lines hidden ---
2
3.if !targets(__<${_this:T}>__)
4__<${_this:T}>__:
5
6# Makefile for the compatibility libraries.
7# - 32-bit compat libraries on PowerPC and AMD64.
8# could also be for mips, but that doesn't work today.
9
--- 73 unchanged lines hidden (view full) ---
83
84# Yes, the flags are redundant.
85LIBCOMPATWMAKEENV+= MAKEOBJDIRPREFIX=${LIBCOMPAT_OBJTREE} \
86 INSTALL="sh ${.CURDIR}/tools/install.sh" \
87 PATH=${TMPPATH} \
88 LIBDIR=/usr/lib${libcompat} \
89 SHLIBDIR=/usr/lib${libcompat} \
90 DTRACE="${LIB$COMPATDTRACE:U${DTRACE}}"
91.if ${MK_META_MODE} != "no"
92# Don't rebuild build-tools targets during normal build.
93LIBCOMPATWMAKEENV+= BUILD_TOOLS_META=.NOMETA_CMP
94.endif
95LIBCOMPATWMAKEFLAGS+= CC="${XCC} ${LIBCOMPATCFLAGS}" \
96 CXX="${XCXX} ${LIBCOMPATCFLAGS} ${LIBCOMPATCXXFLAGS}" \
97 DESTDIR=${LIBCOMPATTMP} \
98 -DNO_CPU_CFLAGS \
99 MK_CTF=no \
100 -DNO_LINT \
101 MK_TESTS=no
102LIBCOMPATWMAKE+= ${LIBCOMPATWMAKEENV} ${MAKE} ${LIBCOMPATWMAKEFLAGS} \
--- 73 unchanged lines hidden ---