mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
e0491636b5
file so that we have a chance of using gcore on non-i386 platforms. Use linker sets to reduce the registration glue. Remove md-sparc.c, we do not have an a.out sparc32 port. aoutcore.c was repocopied from gcore.c.
14 lines
194 B
Makefile
14 lines
194 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
PROG= gcore
|
|
SRCS= elfcore.c gcore.c
|
|
|
|
.if ${MACHINE_ARCH} == i386
|
|
SRCS+= aoutcore.c
|
|
DPADD= ${LIBKVM}
|
|
LDADD= -lkvm
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|