1# $FreeBSD: src/usr.bin/ftp/Makefile,v 1.11.2.1 2000/05/16 04:25:19 cpiazza Exp $ 2# $NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $ 3# from: @(#)Makefile 8.2 (Berkeley) 4/3/94 4 5# Uncomment the following to provide defaults for gate-ftp operation 6# 7#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21 8 9CONTRIBDIR= ${.CURDIR}/../../contrib/tnftp 10.PATH: ${CONTRIBDIR}/src 11 12PROG= ftp 13SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \ 14 progressbar.c ruserpass.c util.c 15 16CFLAGS+=-I${.CURDIR} -I${.OBJDIR} -I${CONTRIBDIR} \ 17 -I${.CURDIR}/../../lib/libc/stdtime \ 18 -D__dead=__dead2 -DUSE_GLOB_H 19LDADD= -lprivate_edit -lprivate_ncurses -lutil 20DPADD= ${LIBEDIT} ${LIBNCURSES} ${LIBUTIL} 21LDFLAGS+= -rpath /lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv 22 23.if !defined(NO_OPENSSL) 24SRCS+= ssl.c 25CFLAGS+=-DWITH_SSL 26LDADD+= -lssl -lcrypto 27DPADD+= ${LIBSSL} ${LIBCRYPTO} 28.endif 29 30LINKS= ${BINDIR}/ftp ${BINDIR}/pftp \ 31 ${BINDIR}/ftp ${BINDIR}/gate-ftp 32MLINKS= ftp.1 pftp.1 \ 33 ftp.1 gate-ftp.1 34 35WARNS?= 3 36 37.include <bsd.prog.mk> 38