0ea9576a4d
the threading libraries is built. This simplifies the logic in makefiles that need to check if the pthreads support is present. It also fixes a bug where we would build a threading library that we shouldn't have built: for example, building with WITHOUT_LIBTHR and the default value of DEFAULT_THREADING_LIB (libthr) would mistakenly build the libthr library, but not install it. Approved by: re (kensmith)
15 lines
198 B
Makefile
15 lines
198 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= ${_ggatec} \
|
|
${_ggated} \
|
|
ggatel
|
|
|
|
.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no"
|
|
_ggatec= ggatec
|
|
_ggated= ggated
|
|
.endif
|
|
|
|
.include <bsd.subdir.mk>
|