2efd9305d0
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>
|