Initial import of binutils 2.22 on the new vendor branch
[dragonfly.git] / usr.bin / gcore / Makefile
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 $
4
5 PROG=   gcore
6 SRCS=   elfcore.c gcore.c
7 DPADD=  ${LIBKVM}
8 LDADD=  -lkvm
9 WARNS?= 2
10
11 .if     ${MACHINE_ARCH} != "sparc"
12 SRCS+=  md-nop.c
13 .else
14 SRCS+=  md-${MACHINE_ARCH}.c
15 .endif
16
17 .include <bsd.prog.mk>