c6063d0da8
from the latter.
33 lines
524 B
Makefile
33 lines
524 B
Makefile
# $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= -lssh
|
|
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
|