aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/add/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/add/Makefile')
-rw-r--r--usr.sbin/pkg_install/add/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/add/Makefile b/usr.sbin/pkg_install/add/Makefile
index 03a43f068b76..89988e78b220 100644
--- a/usr.sbin/pkg_install/add/Makefile
+++ b/usr.sbin/pkg_install/add/Makefile
@@ -1,11 +1,14 @@
# $FreeBSD$
-.include <bsd.own.mk>
-
PROG= pkg_add
SRCS= main.c perform.c futil.c extract.c
+CFLAGS+= -I${.CURDIR}/../lib
+
WARNS?= 3
WFORMAT?= 1
+DPADD= ${LIBINSTALL} ${LIBFETCH} ${LIBMD}
+LDADD= ${LIBINSTALL} -lfetch -lmd
+
.include <bsd.prog.mk>