1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1999-11-14 13:54:44 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
PROG= gcore
|
1998-10-19 19:42:18 +00:00
|
|
|
SRCS= elfcore.c gcore.c
|
2014-11-25 14:29:10 +00:00
|
|
|
LIBADD= sbuf util
|
2002-09-13 16:33:35 +00:00
|
|
|
|
2020-09-14 16:12:28 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
|
2019-10-11 14:17:31 +00:00
|
|
|
${MACHINE_ARCH} == "powerpc64"
|
2014-07-26 16:45:11 +00:00
|
|
|
SRCS+= elf32core.c
|
|
|
|
.endif
|
|
|
|
|
2010-01-02 10:27:05 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|