diff options
Diffstat (limited to 'secure/usr.bin/scp/Makefile')
-rw-r--r-- | secure/usr.bin/scp/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/secure/usr.bin/scp/Makefile b/secure/usr.bin/scp/Makefile new file mode 100644 index 0000000..1d77d4f --- /dev/null +++ b/secure/usr.bin/scp/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +.include <src.opts.mk> + +PROG= scp +SRCS= scp.c +CFLAGS+=-I${SSHDIR} -include ssh_namespace.h + +.if !defined(NO_SHARED) +# required when linking with a dynamic libssh +SRCS+= roaming_dummy.c +.endif + +DPADD= ${LIBSSH} +LDADD= ${LDSSH} +USEPRIVATELIB= ssh + +.if ${MK_LDNS} != "no" +CFLAGS+= -DHAVE_LDNS=1 +#DPADD+= ${LIBLDNS} +#LDADD+= -lldns +#USEPRIVATELIB+= ldns +.endif + +DPADD+= ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ} +LDADD+= -lcrypt -lcrypto -lz + +.include <bsd.prog.mk> + +.PATH: ${SSHDIR} + +${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h |