eb59ee5d12
Changes from xorg-announce@: Delete extra libdrm_lists.h line after libdrm_la_SOURCES in libdrm/Makefile.am Use C99 versions of __FUNCTION__ & __volatile__ when not building with gcc nouveau: store bo handle in public struct in bo_ref_handle nouveau: write posting got lost somewhere, bring it back Add new drm_intel_get_pipe_from_crtc_id function. nouveau: fix ppc for swab changes in Linux 2.6.29 libdrm/mode: align subpixel results intel: NULL fake bo block when freeing in evict_all libdrm/intel: assert that clients are using bo refcounting correctly libdrm/intel: add drm_intel_bo_disable_reuse api Bump to version 2.4.10 to mark addition of drm_intel_bo_disable_reuse libdrm/intel: Make get_pipe_from_crtc_id per-bufmgr. Return -1 on failure. nouveau: backlight compat fix
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2009/05/22 19:30:47 tnn Exp $
|
|
#
|
|
|
|
DISTNAME= libdrm-2.4.11
|
|
CATEGORIES= x11 graphics
|
|
MASTER_SITES= http://dri.freedesktop.org/libdrm/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= http://dri.freedesktop.org/wiki/DRM
|
|
COMMENT= Userspace interface to kernel DRM services
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_LIBTOOL= yes
|
|
PKGCONFIG_OVERRIDE+= libdrm.pc.in
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
ATOMIC_OPS_CHECK?= 0
|
|
|
|
SUBST_CLASSES+= atomic
|
|
SUBST_FILES.atomic= libdrm/xf86drm.h
|
|
SUBST_MESSAGE.atomic= Configuring xf86drm.h's atomic operations.
|
|
SUBST_STAGE.atomic= pre-configure
|
|
SUBST_VARS.atomic= ATOMIC_OPS_CHECK
|
|
|
|
.if ${OPSYS} == "NetBSD" && !target(netbsd-atomic-ops-check)
|
|
netbsd-atomic-ops-check:
|
|
ATOMIC_OPS_CHECK!=\
|
|
if ( ${NM} /usr/lib/libc.so | ${GREP} -q atomic_cas_uint ); then \
|
|
${ECHO} "1"; \
|
|
else \
|
|
${ECHO} "0"; \
|
|
fi
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= PTHREADSTUBS_CFLAGS=-I${PREFIX}/include \
|
|
PTHREADSTUBS_LIBS=-L${PREFIX}/lib
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|