xref: /freebsd/secure/usr.bin/scp/Makefile (revision f94594b37a145b9b3e9ff31af2cd1dc3de8aa4d4)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5PROG=	scp
6SRCS=	scp.c
7CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
8PACKAGE=	ssh
9
10.if !defined(NO_SHARED)
11# required when linking with a dynamic libssh
12SRCS+=	roaming_dummy.c
13.endif
14
15LIBADD=	ssh
16
17.if ${MK_LDNS} != "no"
18CFLAGS+=	-DHAVE_LDNS=1
19#DPADD+=	${LIBLDNS}
20#LDADD+=	-lldns
21.endif
22
23.include <bsd.prog.mk>
24
25.PATH:	${SSHDIR}
26
27${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h
28