1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1997-12-13 20:38:21 +00:00
|
|
|
# $NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
|
1997-06-25 08:56:46 +00:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
|
1994-05-27 12:33:43 +00:00
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-07-27 14:20:14 +00:00
|
|
|
|
1997-12-13 20:38:21 +00:00
|
|
|
# Uncomment the following to provide defaults for gate-ftp operation
|
|
|
|
#
|
|
|
|
#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
|
|
|
|
|
2017-03-12 18:58:44 +00:00
|
|
|
TNFTP= ${SRCTOP}/contrib/tnftp
|
2011-06-20 08:00:32 +00:00
|
|
|
.PATH: ${TNFTP}/src
|
2001-12-13 23:46:44 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
PROG= ftp
|
2011-06-20 08:00:32 +00:00
|
|
|
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
|
|
|
|
progressbar.c ruserpass.c util.c
|
1997-06-25 08:56:46 +00:00
|
|
|
|
2006-07-27 14:20:14 +00:00
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
CFLAGS+= -DINET6
|
|
|
|
.endif
|
|
|
|
|
2011-06-20 08:00:32 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${TNFTP}
|
2014-11-25 14:29:10 +00:00
|
|
|
LIBADD= edit
|
1997-06-25 08:56:46 +00:00
|
|
|
|
2010-01-02 10:27:05 +00:00
|
|
|
WARNS?= 2
|
|
|
|
|
1997-12-13 20:38:21 +00:00
|
|
|
LINKS= ${BINDIR}/ftp ${BINDIR}/pftp \
|
|
|
|
${BINDIR}/ftp ${BINDIR}/gate-ftp
|
|
|
|
MLINKS= ftp.1 pftp.1 \
|
|
|
|
ftp.1 gate-ftp.1
|
1996-04-23 05:18:43 +00:00
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
.include <bsd.prog.mk>
|