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