freebsd-src/usr.bin/gcore/Makefile
John Baldwin 90b7047bcf MFC 269128:
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.
2015-06-02 13:07:22 +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>