xref: /freebsd/usr.bin/gcore/Makefile (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1PROG=	gcore
2SRCS=	elfcore.c gcore.c
3LIBADD=	sbuf util
4
5.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
6    ${MACHINE_ARCH} == "powerpc64"
7SRCS+=	elf32core.c
8.endif
9
10WARNS?=	1
11
12.include <bsd.prog.mk>
13