xenocara/lib/libdrm/Makefile
mpi ad95eb8c9f Update to libdrm 2.4.31 and add the non-yet-linked libkms, prodded by jsg@
Tested by jsg@, ajacoutot@, shadchin@ and matthieu@, ok matthieu@
2012-11-27 14:37:08 +00:00

36 lines
612 B
Makefile

# $OpenBSD: Makefile,v 1.8 2012/11/27 14:37:08 mpi Exp $
.include <bsd.xconf.mk>
.include "${.CURDIR}/Makefile.inc"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SUBDIR=intel radeon
.elif ${MACHINE} == "macppc"
SUBDIR=radeon
.endif
LIB= drm
INCSDIR= ${X11BASE}/include/
CPPFLAGS+= -I${.CURDIR} \
-I${X11BASE}/include \
-I/usr/include/dev/pci/drm \
-DX_PRIVSEP
INCS= xf86drm.h \
xf86drmMode.h
SRCS= xf86drm.c \
xf86drmHash.c \
xf86drmMode.c \
xf86drmRandom.c \
xf86drmSL.c
NOPROFILE=
PKGCONFIG= libdrm.pc
obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>