diff options
-rw-r--r-- | graphics/gdk-pixbuf/buildlink.mk | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/gdk-pixbuf/buildlink.mk b/graphics/gdk-pixbuf/buildlink.mk new file mode 100644 index 00000000000..e87caf221b9 --- /dev/null +++ b/graphics/gdk-pixbuf/buildlink.mk @@ -0,0 +1,37 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/06/15 09:00:58 jlam Exp $ +# +# This Makefile fragment is included by packages that use gdk-pixbuf. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define GDK_PIXBUF_REQD to the version of gdk-pixbuf desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(GDK_PIXBUF_BUILDLINK_MK) +GDK_PIXBUF_BUILDLINK_MK= # defined + +GDK_PIXBUF_REQD?= 0.8.0nb1 +DEPENDS+= gdk-pixbuf>=${GDK_PIXBUF_REQD}:../../graphics/gdk-pixbuf + +BUILDLINK_PREFIX.gdk-pixbuf= ${X11PREFIX} +BUILDLINK_FILES.gdk-pixbuf= include/gdk-pixbuf/* +BUILDLINK_FILES.gdk-pixbuf+= lib/libgdk_pixbuf.* +BUILDLINK_FILES.gdk-pixbuf+= lib/libgdk_pixbuf_xlib.* + +.include "../../graphics/jpeg/buildlink.mk" +.include "../../graphics/png/buildlink.mk" +.include "../../graphics/tiff/buildlink.mk" + +BUILDLINK_TARGETS.gdk-pixbuf= gdk-pixbuf-buildlink +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gdk-pixbuf} + +pre-configure: ${BUILDLINK_TARGETS.gdk-pixbuf} +gdk-pixbuf-buildlink: _BUILDLINK_USE + +.include "../../mk/bsd.buildlink.mk" + +.endif # GDK_PIXBUF_BUILDLINK_MK |