Home | History | Annotate | Line # | Download | only in savagedrm
Makefile revision 1.1.54.1
      1  1.1.54.1  christos # $NetBSD: Makefile,v 1.1.54.1 2019/06/10 22:09:37 christos 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.1.54.1  christos WARNS=	3
     19  1.1.54.1  christos 
     20  1.1.54.1  christos .if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
     21  1.1.54.1  christos COPTS.savage_state.c+=	-Wno-error=implicit-fallthrough
     22  1.1.54.1  christos .endif
     23  1.1.54.1  christos 
     24       1.1  jmcneill .include <bsd.kmodule.mk>
     25