Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 2016/08/17 03:10:23 mrg Exp $ 2 3.include <bsd.own.mk> 4 5LIB= drm_amdgpu 6.PATH: ${X11SRCDIR.drm} 7.PATH: ${X11SRCDIR.drm}/amdgpu 8 9SRCS= \ 10 amdgpu_bo.c \ 11 amdgpu_cs.c \ 12 amdgpu_device.c \ 13 amdgpu_gpu_info.c \ 14 amdgpu_vamgr.c \ 15 util_hash.c \ 16 util_hash_table.c 17 18CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/libdrm 19CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm} \ 20 -DHAVE_SYS_SYSCTL_H 21 22LIBDPLIBS= drm ${.CURDIR}/../libdrm 23 24PKGCONFIG= libdrm_amdgpu 25PKGDIST= drm 26 27.include "../libdrm/Makefile.defines" 28 29.include <bsd.x11.mk> 30.include <bsd.lib.mk> 31