2f6dd9290a
Summary: Add the necessary bits for taking 32-bit gcore coredumps on powerpc64. Reviewed by: luporl Differential Revision: https://reviews.freebsd.org/D21954
16 lines
269 B
Makefile
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>
|