Makefile (1ee774f614e70c52baafdf8b7e9013b545d36f2b) | Makefile (c23e256eefa3a3fa4d991e28c9cad41c1bfef81b) |
---|---|
1# $FreeBSD$ | 1# $FreeBSD$ |
2# |
|
2 | 3 |
4SSHSRC= ${.CURDIR}/../../../crypto/openssh 5 |
|
3PROG= scp | 6PROG= scp |
7BINOWN= root 8BINMODE=555 9MAN1= scp.1 10 |
|
4SRCS= scp.c | 11SRCS= scp.c |
5CFLAGS+=-I${SSHDIR} -include ssh_namespace.h | |
6 | 12 |
7# required when linking with a dynamic libssh 8SRCS+= roaming_dummy.c 9 10DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} 11LDADD= -lssh -lcrypt -lcrypto -lz 12 | |
13.include <bsd.prog.mk> 14 | 13.include <bsd.prog.mk> 14 |
15.PATH: ${SSHDIR} | 15.PATH: ${SSHSRC} |
16 | 16 |
17${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h | 17LDADD+= -lcrypto -lutil -lz -L${.OBJDIR}/../../lib/libssh -lssh 18DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} 19.if defined(RSAREF) && ${RSAREF} == YES 20LDADD+= -lRSAglue 21DPADD+= ${LIBRSAGLUE} 22.endif |