mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 21:18:59 +00:00
90b7047bcf
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.
16 lines
229 B
Makefile
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>
|