freebsd-skq/usr.bin/gcore/Makefile
Marcel Moolenaar 31d743df76 Create 32-bit core files for 32-bit processes on 64-bit machines.
The 64-bit machine supported right now is amd64, but it's not too
hard to add powerpc64.

Obtained from:	Juniper Networks, Inc.
2014-07-26 16:45:11 +00:00

16 lines
229 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= gcore
SRCS= elfcore.c gcore.c
DPADD= ${LIBSBUF} ${LIBUTIL}
LDADD= -lsbuf -lutil
.if ${MACHINE_ARCH} == "amd64"
SRCS+= elf32core.c
.endif
WARNS?= 1
.include <bsd.prog.mk>