Home | History | Annotate | Line # | Download | only in coredump
Makefile revision 1.6
      1 #	$NetBSD: Makefile,v 1.6 2019/11/20 19:37:54 pgoyette Exp $
      2 
      3 .include "../Makefile.inc"
      4 
      5 KMOD=	coredump
      6 
      7 .PATH:	${S}/kern
      8 SRCS=	kern_core.c core_netbsd.c 
      9 
     10 .PATH:	${S}/uvm
     11 SRCS+=	uvm_coredump.c
     12 
     13 .PATH:	${S}/arch/${MACHINE}/${MACHINE}
     14 .PATH:	${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
     15 .PATH:	${S}/arch/${MACHINE_CPU}/${MACHINE_CPU}
     16 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
     17 .PATH:	${S}/arch/x86/x86
     18 .endif
     19 .if ${MACHINE_ARCH} == "powerpc64"
     20 .PATH:	${S}/arch/powerpc/powerpc
     21 .endif
     22 SRCS+=	core_machdep.c
     23 
     24 WARNS=	3
     25 
     26 COPTS.kern_core.c+=	${GCC_NO_CAST_FUNCTION_TYPE}
     27 
     28 .include <bsd.kmodule.mk>
     29