xenocara/lib/libdrm/Makefile

36 lines
656 B
Makefile
Raw Normal View History

2015-02-06 18:34:35 -07:00
# $OpenBSD: Makefile,v 1.11 2015/02/07 01:34:35 jsg Exp $
.include <bsd.xconf.mk>
.include "${.CURDIR}/Makefile.inc"
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
SUBDIR=intel radeon
.elif ${MACHINE} == "macppc" || ${MACHINE_ARCH} == "sparc64"
SUBDIR=radeon
.endif
LIB= drm
INCSDIR= ${X11BASE}/include/
CPPFLAGS+= -I${.CURDIR} \
-I${X11BASE}/include \
-I/usr/include/dev/pci/drm \
2015-02-06 18:34:35 -07:00
-DX_PRIVSEP \
-DHAVE_VISIBILITY
INCS= xf86drm.h \
xf86drmMode.h
SRCS= xf86drm.c \
xf86drmHash.c \
xf86drmMode.c \
xf86drmRandom.c \
xf86drmSL.c
PKGCONFIG= libdrm.pc
obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>