1
2PROG=	gcore
3SRCS=	elfcore.c gcore.c
4LIBADD=	sbuf util
5
6.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
7    ${MACHINE_ARCH} == "powerpc64"
8SRCS+=	elf32core.c
9.endif
10
11WARNS?=	1
12
13.include <bsd.prog.mk>
14