freebsd-dev/usr.bin/gcore/Makefile
Justin Hibbits 942aefd567 gcore: Add powerpc64 32-bit gcore support
Summary: Add the necessary bits for taking 32-bit gcore coredumps on powerpc64.

Reviewed by:	luporl
Differential Revision:	https://reviews.freebsd.org/D21954
2019-10-11 14:17:31 +00:00

16 lines
269 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= gcore
SRCS= elfcore.c gcore.c
LIBADD= sbuf util
.if ${MACHINE_ARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "powerpc64"
SRCS+= elf32core.c
.endif
WARNS?= 1
.include <bsd.prog.mk>