Home | History | Annotate | Line # | Download | only in libdrm_amdgpu
Makefile revision 1.2
      1 #      $NetBSD: Makefile,v 1.2 2016/08/18 13:46:58 christos Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 LIB=	drm_amdgpu
      6 .PATH: ${X11SRCDIR.drm}
      7 .PATH: ${X11SRCDIR.drm}/amdgpu
      8 
      9 SRCS= \
     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 
     18 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/libdrm
     19 CPPFLAGS+=	-I${DESTDIR}${X11INCDIR}/X11 -I${X11SRCDIR.drm} \
     20 		-DHAVE_SYS_SYSCTL_H
     21 
     22 LIBDPLIBS=	drm	${.CURDIR}/../libdrm
     23 
     24 PKGCONFIG=	libdrm_amdgpu
     25 PKGDIST=	drm
     26 
     27 COPTS.amdgpu_cs.c+= -Wno-stack-protector
     28 
     29 .include "../libdrm/Makefile.defines"
     30 
     31 .include <bsd.x11.mk>
     32 .include <bsd.lib.mk>
     33