Resync patch with contrib.
[dragonfly.git] / usr.bin / gcore / Makefile
blobcadde135f9351855f880a4658a8a1e0bac0c7a98
1 # @(#)Makefile 8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/gcore/Makefile,v 1.6 1999/11/14 13:54:43 marcel Exp $
3 # $DragonFly: src/usr.bin/gcore/Makefile,v 1.3 2007/08/27 16:50:54 pavalos Exp $
5 PROG= gcore
6 SRCS= elfcore.c gcore.c
7 DPADD= ${LIBKVM}
8 LDADD= -lkvm
9 WARNS?= 2
11 .if ${MACHINE_ARCH} != "sparc"
12 SRCS+= md-nop.c
13 .else
14 SRCS+= md-${MACHINE_ARCH}.c
15 .endif
17 .include <bsd.prog.mk>