summaryrefslogtreecommitdiff
path: root/usr.bin/gcore/Makefile
blob: 398f7d2a36d64ab7dace2c058efef08bfdbb0dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
PROG=	gcore
SRCS=	elfcore.c gcore.c
LIBADD=	sbuf util

.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
    ${MACHINE_ARCH} == "powerpc64"
SRCS+=	elf32core.c
.endif

WARNS?=	1

.include <bsd.prog.mk>