1994-05-27 12:33:43 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1999-11-14 13:54:44 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 12:33:43 +00:00
|
|
|
|
|
|
|
PROG= gcore
|
1998-10-19 19:42:18 +00:00
|
|
|
SRCS= elfcore.c gcore.c
|
|
|
|
CFLAGS+=-Wall
|
1994-08-28 18:49:06 +00:00
|
|
|
DPADD= ${LIBKVM}
|
1994-05-27 12:33:43 +00:00
|
|
|
LDADD= -lkvm
|
|
|
|
|
1999-11-14 13:54:44 +00:00
|
|
|
.if ${MACHINE_ARCH} != "sparc"
|
1994-05-29 12:44:36 +00:00
|
|
|
SRCS+= md-nop.c
|
|
|
|
.else
|
1999-11-14 13:54:44 +00:00
|
|
|
SRCS+= md-${MACHINE_ARCH}.c
|
1994-05-29 12:44:36 +00:00
|
|
|
.endif
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|