1 # $NetBSD: Makefile,v 1.107 2013/02/16 11:25:32 wiz Exp $
3 .
include "Makefile.common"
7 COMMENT
= Like the XLock session-locker
/screensaver
, but with more
9 CONFIGURE_ARGS
+= --with-opengl
10 CONFIGURE_ARGS
+= --with-mesa
11 CONFIGURE_ARGS
+= --without-ttf
12 XPM_ENV
= no_xpm
= xpm_includes
=${BUILDLINK_PREFIX.libXpm
}/include xpm_libraries
=${BUILDLINK_PREFIX.libXpm
}/lib
13 CONFIGURE_ENV
+= ac_cv_path_xpm
=${XPM_ENV
:Q
}
14 OPENGL_ENV
= no_opengl
= ac_opengl_includes
=${BUILDLINK_PREFIX.MesaLib
}/include ac_opengl_libraries
=${BUILDLINK_PREFIX.MesaLib
}/lib
15 CONFIGURE_ENV
+= ac_cv_path_opengl
=${OPENGL_ENV
:Q
}
16 MESA_ENV
= no_mesa
= ac_mesa_includes
=${BUILDLINK_PREFIX.MesaLib
}/include ac_mesa_libraries
=${BUILDLINK_PREFIX.MesaLib
}/lib
17 CONFIGURE_ENV
+= ac_cv_path_mesa
=${MESA_ENV
:Q
}
18 #BUILDLINK_TRANSFORM+= l:MesaGL:GL
19 #BUILDLINK_TRANSFORM+= l:MesaGLU:GLU
20 XEXT_ENV
= no_ext
= ac_ext_includes
=${BUILDLINK_PREFIX.xextproto
}/include ac_ext_libraries
=${BUILDLINK_PREFIX.libXext
}/lib
21 CONFIGURE_ENV
+= ac_cv_path_ext
=${XEXT_ENV
:Q
}
25 USE_TOOLS
+= pkg-config
27 .
include "../../graphics/ImageMagick/buildlink3.mk"
28 .
include "../../graphics/MesaLib/buildlink3.mk"
29 .
include "../../graphics/glu/buildlink3.mk"
30 .
include "../../x11/libXpm/buildlink3.mk"
31 .
include "../../x11/gtk2/buildlink3.mk"
33 .
include "../../mk/bsd.pkg.mk"