# $NetBSD: buildlink2.mk,v 1.7 2002/10/16 03:14:41 rh Exp $ .if !defined(GLIB2_BUILDLINK2_MK) GLIB2_BUILDLINK2_MK= # defined BUILDLINK_PACKAGES+= glib2 BUILDLINK_DEPENDS.glib2?= glib2>=2.0.6nb2 BUILDLINK_PKGSRCDIR.glib2?= ../../devel/glib2 EVAL_PREFIX+= BUILDLINK_PREFIX.glib2=glib2 BUILDLINK_PREFIX.glib2_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.glib2= include/glib/glib-2.0/*/* BUILDLINK_FILES.glib2+= include/glib/glib-2.0/* BUILDLINK_FILES.glib2+= lib/glib-2.0/*/* BUILDLINK_FILES.glib2+= lib/libglib-2.0.* BUILDLINK_FILES.glib2+= lib/libgmodule-2.0.* BUILDLINK_FILES.glib2+= lib/libgobject-2.0.* BUILDLINK_FILES.glib2+= lib/libgthread-2.0.* .include "../../converters/libiconv/buildlink2.mk" .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/pkgconfig/buildlink2.mk" .include "../../mk/bsd.prefs.mk" .if defined(USE_PTL2) PTHREAD_OPTS+= native .endif .include "../../mk/pthread.buildlink2.mk" .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") . include "../../devel/ptl2/buildlink2.mk" CPPFLAGS+= ${BUILDLINK_CPPFLAGS.ptl2} .endif BUILDLINK_TARGETS+= glib2-buildlink glib2-buildlink: _BUILDLINK_USE .endif # GLIB2_BUILDLINK2_MK