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