xenocara/lib/libdrm/radeon/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
613 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/11/27 14:37:08 mpi Exp $
.include <bsd.xconf.mk>
LIB= drm_radeon
INCSDIR= ${X11BASE}/include/
CPPFLAGS+= -I${.CURDIR} \
-I${.CURDIR}/.. \
-I${X11BASE}/include \
-I/usr/include/dev/pci/drm
INCS= radeon_bo.h \
radeon_cs.h \
radeon_bo_gem.h \
radeon_cs_gem.h \
radeon_bo_int.h \
radeon_cs_int.h \
r600_pci_ids.h
SRCS= radeon_bo_gem.c \
radeon_cs_gem.c \
radeon_cs_space.c \
radeon_bo.c \
radeon_cs.c \
radeon_surface.c \
bof.c
PKGCONFIG= libdrm_radeon.pc
LDADD+= -L${X11BASE}/lib -lX11
.include <bsd.lib.mk>
.include <bsd.xorg.mk>