NetBSD/usr.bin/ftp/Makefile
lukem 7a7fa80740 New features:
* Command line editing via editline(3) library.
* Context sensitive command and file completion, including remote files.

Enhancements to auto-fetch feature:
* Support for http:// URLs using the http protocol, including proxy HTTP
  support via $htty_proxy if it's defined.
* The connection is kept open between successive files on the same host.
  (obviously, this does not count for http requests.)
* Return value of ftp is 0 on no error, or the offset in argv[] of the file
  which failed (i.e., argv[x] failed, ftp returns x).
* If the path in an ftp URL or classic format line has a trailing '/',
  cd to the path and enter interactive mode. Fixes [bin/3011], albiet
  requiring the user to help ftp in determining the operation.

Other changes:
* '-P port' works for normal ftp, and is the default for all classic style
  auto-fetch transfers and for ftp URLs that don't specify the port.
  (previously it would just work for the first xfer.)
* Some code moved into separated files along logical divisions.
* Editing and completion can be compiled out with -DSMALLFTP.
1997-01-19 14:19:02 +00:00

18 lines
368 B
Makefile

# $NetBSD: Makefile,v 1.8 1997/01/19 14:19:02 lukem Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
# define SMALLFTP if editing is to be disabled
#SMALLFTP=yes
PROG= ftp
SRCS= cmds.c cmdtab.c domacro.c fetch.c ftp.c main.c ruserpass.c util.c
.if defined(SMALLFTP)
CFLAGS+=-DSMALLFTP
.else
SRCS+= complete.c
LDADD+= -ledit -ltermcap
.endif
.include <bsd.prog.mk>