Deleted Added
full compact
Makefile (287466) Makefile (291941)
1# $FreeBSD: head/secure/libexec/sftp-server/Makefile 287466 2015-09-04 16:13:25Z bapt $
1# $FreeBSD: head/secure/libexec/sftp-server/Makefile 291941 2015-12-07 16:08:09Z bdrewery $
2
3.include <src.opts.mk>
4
5PROG= sftp-server
6SRCS= sftp-server.c sftp-common.c sftp-server-main.c
7MAN= sftp-server.8
8CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
2
3.include <src.opts.mk>
4
5PROG= sftp-server
6SRCS= sftp-server.c sftp-common.c sftp-server-main.c
7MAN= sftp-server.8
8CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
9SRCS+= ssh_namespace.h
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}
10
11.if !defined(NO_SHARED)
12# required when linking with a dynamic libssh
13SRCS+= roaming_dummy.c
14.endif
15
16LIBADD= ssh
17
18.if ${MK_LDNS} != "no"
19CFLAGS+= -DHAVE_LDNS=1
20#DPADD+= ${LIBLDNS}
21#LDADD+= -lldns
22.endif
23
24.include <bsd.prog.mk>
25
26.PATH: ${SSHDIR}
26
27${OBJS} ${POBJS} ${SOBJS}: ssh_namespace.h