1 1.2 lukem # $NetBSD: Makefile,v 1.2 2023/06/03 09:09:14 lukem Exp $ 2 1.1 riastrad 3 1.1 riastrad .include "../Makefile.inc" 4 1.1 riastrad .include "../drmkms/Makefile.inc" 5 1.1 riastrad 6 1.1 riastrad KMOD= drmkms_ttm 7 1.1 riastrad 8 1.1 riastrad .PATH: ${S}/external/bsd/drm2/ttm 9 1.1 riastrad .PATH: ${S}/external/bsd/drm2/dist/drm/ttm 10 1.1 riastrad 11 1.1 riastrad CPPFLAGS+= -DCONFIG_AGP=1 12 1.1 riastrad 13 1.1 riastrad WARNS= 3 14 1.1 riastrad 15 1.2 lukem COPTS.ttm_bo.c+= ${CC_WNO_IMPLICIT_FALLTHROUGH} 16 1.1 riastrad 17 1.1 riastrad CWARNFLAGS+= -Wno-missing-field-initializers 18 1.1 riastrad CWARNFLAGS+= -Wno-shadow 19 1.1 riastrad 20 1.1 riastrad SRCS+= ttm_agp_backend.c 21 1.1 riastrad SRCS+= ttm_memory.c 22 1.1 riastrad SRCS+= ttm_tt.c 23 1.1 riastrad SRCS+= ttm_bo.c 24 1.1 riastrad SRCS+= ttm_bo_util.c 25 1.1 riastrad SRCS+= ttm_bo_vm.c 26 1.1 riastrad SRCS+= ttm_module.c 27 1.1 riastrad #SRCS+= ttm_object.c 28 1.1 riastrad #SRCS+= ttm_lock.c 29 1.1 riastrad SRCS+= ttm_execbuf_util.c 30 1.1 riastrad #SRCS+= ttm_page_alloc.c 31 1.1 riastrad SRCS+= ttm_bo_manager.c 32 1.1 riastrad #SRCS+= ttm_page_alloc_dma.c 33 1.1 riastrad SRCS+= ttm_bus_dma.c 34 1.1 riastrad 35 1.1 riastrad .include <bsd.kmodule.mk> 36