aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/gcore/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gcore/Makefile')
-rw-r--r--usr.bin/gcore/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr.bin/gcore/Makefile b/usr.bin/gcore/Makefile
new file mode 100644
index 000000000000..ff0e7bbf2bd4
--- /dev/null
+++ b/usr.bin/gcore/Makefile
@@ -0,0 +1,13 @@
+# @(#)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>