HardenedBSD/usr.bin/gcore/Makefile
Peter Wemm e0491636b5 Use a crowbar to move the a.out code out of gcore.c and into its own
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.
2002-09-13 16:33:35 +00:00

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>