summaryrefslogtreecommitdiff
path: root/lib/libdrm/mk/libdrm_radeon/Makefile
blob: cee956d499288501226724042c0c9a9a744a81f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#	$OpenBSD: Makefile,v 1.1 2021/02/11 10:34:51 jsg Exp $

LIB=	drm_radeon

SRCS=	radeon_bo.c \
	radeon_bo_gem.c \
	radeon_cs.c \
	radeon_cs_gem.c \
	radeon_cs_space.c \
	radeon_surface.c

.include "../Makefile.inc"

CPPFLAGS+=	-I${DRM_SRC}/radeon

LDADD+=	-L${.CURDIR}/../libdrm/${__objdir} -ldrm

obj: _xenocara_obj

beforeinstall:
	rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.la

.include <bsd.lib.mk>
.include <bsd.xorg.mk>

.PATH: ${DRM_SRC}/radeon