Module Name: src
Committed By: mrg
Date: Thu Aug 18 07:49:09 UTC 2016
Added Files:
src/external/mit/xorg/server/drivers/xf86-video-amdgpu: Makefile
Log Message:
build glue for xf86-video-amdgpu
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile
diff -u /dev/null src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile:1.1
--- /dev/null Thu Aug 18 07:49:09 2016
+++ src/external/mit/xorg/server/drivers/xf86-video-amdgpu/Makefile Thu Aug 18 07:49:09 2016
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2016/08/18 07:49:09 mrg Exp $
+
+.include <bsd.own.mk>
+
+DRIVER= xf86-video-amdgpu
+DRIVER_NAME= amdgpu_drv
+
+LIBDPLIBS+= drm_amdgpu ${.CURDIR}/../../../lib/libdrm_amdgpu
+
+SRCS.KMS= amdgpu_bo_helper.c amdgpu_dri2.c amdgpu_dri3.c \
+ amdgpu_drm_queue.c amdgpu_kms.c amdgpu_present.c \
+ amdgpu_sync.c drmmode_display.c
+SRCS.GLAMOR= amdgpu_glamor.c amdgpu_glamor_wrappers.c amdgpu_pixmap.c
+
+SRCS= amdgpu_video.c amdgpu_misc.c amdgpu_probe.c \
+ $(SRCS.KMS) $(SRCS.GLAMOR)
+
+MAN= amdgpu.4
+
+CPPFLAGS+= -DHAVE_CONFIG_H
+CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 \
+ -I${DESTDIR}${X11INCDIR}/X11/dri \
+ -I${DESTDIR}${X11INCDIR}/libdrm \
+ -I${DESTDIR}${X11INCDIR}/pixman-1 \
+ -I${X11SRCDIR.${DRIVER}}/../include
+
+# XXX
+COPTS+= -Wno-error
+
+.include "../Makefile.xf86-driver"