1 # $FreeBSD: src/usr.bin/ftp/Makefile,v 1.11.2.1 2000/05/16 04:25:19 cpiazza Exp $
2 # $DragonFly: src/usr.bin/ftp/Makefile,v 1.5 2008/05/17 22:01:12 pavalos Exp $
3 # $NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
4 # from: @(#)Makefile 8.2 (Berkeley) 4/3/94
6 # Uncomment the following to provide defaults for gate-ftp operation
8 #CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
10 CONTRIBDIR
= ${.CURDIR
}/..
/..
/contrib
/tnftp
14 SRCS
= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
15 progressbar.c ruserpass.c util.c
17 CFLAGS
+=-DINET6
-I
${.OBJDIR
} -I
${CONTRIBDIR} -I
${.CURDIR
}/..
/..
/lib
/libc
/stdtime
18 CFLAGS
+=-D__dead
=__dead2
19 LDADD
= -ledit
-ltermcap
-lutil
20 DPADD
= ${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL}
22 .if
!defined
(NO_OPENSSL
)
25 LDADD
+= -lssl
-lcrypto
26 DPADD
+= ${LIBSSL} ${LIBCRYPTO}
29 LINKS
= ${BINDIR}/ftp
${BINDIR}/pftp \
30 ${BINDIR}/ftp
${BINDIR}/gate-ftp
31 MLINKS
= ftp
.1 pftp
.1 \
36 .
include <bsd.prog.mk
>