Home | History | Annotate | Line # | Download | only in savagedrm
Makefile revision 1.3
      1  1.3       rin # $NetBSD: Makefile,v 1.3 2019/02/17 04:05:57 rin Exp $
      2  1.1  jmcneill 
      3  1.1  jmcneill .include "../Makefile.inc"
      4  1.1  jmcneill 
      5  1.1  jmcneill .PATH:	${S}/external/bsd/drm/dist/bsd-core
      6  1.1  jmcneill .PATH:	${S}/external/bsd/drm/dist/shared-core
      7  1.1  jmcneill 
      8  1.1  jmcneill KMOD=   savagedrm
      9  1.1  jmcneill IOCONF=	savagedrm.ioconf
     10  1.1  jmcneill 
     11  1.1  jmcneill SRCS=	savage_drv.c
     12  1.1  jmcneill SRCS+=	savage_bci.c
     13  1.1  jmcneill SRCS+=	savage_state.c
     14  1.1  jmcneill 
     15  1.1  jmcneill CPPFLAGS+=	-I${S}/external/bsd/drm/dist/bsd-core \
     16  1.1  jmcneill 		-I${S}/external/bsd/drm/dist/shared-core
     17  1.1  jmcneill 
     18  1.3       rin WARNS=	3
     19  1.3       rin 
     20  1.2       mrg .if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
     21  1.2       mrg COPTS.savage_state.c+=	-Wno-error=implicit-fallthrough
     22  1.2       mrg .endif
     23  1.2       mrg 
     24  1.1  jmcneill .include <bsd.kmodule.mk>
     25