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