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