freebsd-nq/sbin/ggate/Makefile
Ruslan Ermilov 295c5dea2c libc_r is no longer provided, and on alpha and sparc64, libthr
is (sym)linked to libpthread.  Account for this change and
check for MK_LIBTHR instead of MK_LIBC_R where appropriate.
2006-04-12 19:52:34 +00:00

20 lines
303 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= ${_ggatec} \
${_ggated} \
ggatel
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
.if ${MK_LIBTHR} != "no"
_ggatec= ggatec
_ggated= ggated
.endif
.elif ${MK_LIBPTHREAD} != "no"
_ggatec= ggatec
_ggated= ggated
.endif
.include <bsd.subdir.mk>