Home | History | Annotate | Line # | Download | only in radeondrm
Makefile revision 1.14.16.1
      1  1.14.16.1      cjep # $NetBSD: Makefile,v 1.14.16.1 2021/06/06 20:30:53 cjep Exp $
      2        1.1  jmcneill 
      3        1.5     pooka .include "../Makefile.inc"
      4        1.5     pooka 
      5        1.6      tron .PATH:	${S}/external/bsd/drm/dist/bsd-core
      6        1.6      tron .PATH:	${S}/external/bsd/drm/dist/shared-core
      7        1.1  jmcneill 
      8        1.1  jmcneill KMOD=   radeondrm
      9        1.9  jmcneill IOCONF=	radeondrm.ioconf
     10        1.1  jmcneill 
     11        1.7       mrg SRCS=	radeon_drv.c
     12        1.1  jmcneill SRCS+=	r300_cmdbuf.c
     13        1.7       mrg SRCS+=	r600_cp.c
     14        1.8       mrg SRCS+=	r600_blit.c
     15        1.1  jmcneill SRCS+=	radeon_cp.c
     16        1.8       mrg SRCS+=	radeon_cs.c
     17        1.1  jmcneill SRCS+=	radeon_irq.c
     18        1.1  jmcneill SRCS+=	radeon_mem.c
     19        1.1  jmcneill SRCS+=	radeon_state.c
     20        1.1  jmcneill 
     21  1.14.16.1      cjep # Code imported from Linux - expects signed overflow to be OK.
     22  1.14.16.1      cjep COPTS+=	-fwrapv
     23  1.14.16.1      cjep 
     24        1.6      tron CPPFLAGS+=	-I${S}/external/bsd/drm/dist/bsd-core \
     25        1.6      tron 		-I${S}/external/bsd/drm/dist/shared-core
     26        1.5     pooka 
     27       1.12       rin WARNS=	3
     28       1.12       rin 
     29       1.13       mrg .if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
     30       1.11       mrg COPTS.radeon_cs.c+=	-Wno-error=implicit-fallthrough
     31       1.11       mrg .endif
     32       1.11       mrg 
     33       1.14     joerg CWARNFLAGS.clang+=	-Wno-error=bool-operation
     34       1.14     joerg 
     35        1.1  jmcneill .include <bsd.kmodule.mk>
     36