xref: /freebsd/usr.bin/gcore/Makefile (revision 56b17de1e8360fe131d425de20b5e75ff3ea897c)
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