summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-add/Makefile
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-12-10 19:37:58 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-12-10 19:37:58 +0000
commit555ebacf3850fe530e78a3a781d864e6264ffc8e (patch)
tree3a6ada6f8c837a4f1d1a8c527259ae88fd8d718a /usr.bin/ssh/ssh-add/Makefile
parentab838a682b92fbf8da9982f9ca8fbe974dfeadc3 (diff)
ssh/lib hasn't worked towards our code-sharing goals for a quit while,
perhaps it is too verbose? Change each */Makefile to specifying exactly what sources that program requires, compiling it seperate. Maybe we'll iterate by sorting those into seperatable chunks, splitting up files which contain common code + server/client specific code, or whatnot. But this isn't one step, or we'd have done it a long time ago.. ok dtucker markus djm
Diffstat (limited to 'usr.bin/ssh/ssh-add/Makefile')
-rw-r--r--usr.bin/ssh/ssh-add/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-add/Makefile b/usr.bin/ssh/ssh-add/Makefile
index a6b2c78a147..ee388ab3d5b 100644
--- a/usr.bin/ssh/ssh-add/Makefile
+++ b/usr.bin/ssh/ssh-add/Makefile
@@ -1,7 +1,15 @@
-# $OpenBSD: Makefile,v 1.21 2017/07/10 14:09:59 espie Exp $
+# $OpenBSD: Makefile,v 1.22 2017/12/10 19:37:57 deraadt Exp $
.PATH: ${.CURDIR}/..
+SRCS= ssh-add.c
+SRCS+= addrmatch.c atomicio.c authfd.c authfile.c bitmap.c blocks.c chacha.c \
+ cipher-chachapoly.c cipher.c cleanup.c digest-openssl.c ed25519.c \
+ fatal.c fe25519.c ge25519.c hash.c krl.c log.c match.c misc.c \
+ poly1305.c readpass.c sc25519.c ssh-dss.c ssh-ecdsa.c ssh-ed25519.c \
+ ssh-rsa.c sshbuf-getput-basic.c sshbuf-getput-crypto.c sshbuf-misc.c \
+ sshbuf.c ssherr.c sshkey.c uidswap.c verify.c xmalloc.c
+
PROG= ssh-add
BINOWN= root
@@ -11,5 +19,5 @@ BINDIR= /usr/bin
.include <bsd.prog.mk>
-LDADD+= -lcrypto
-DPADD+= ${LIBCRYPTO}
+LDADD+= -lcrypto -lutil
+DPADD+= ${LIBCRYPTO} ${LIBUTIL}