#	$OpenBSD: Makefile,v 1.14 1997/10/02 04:22:39 imp Exp $

# Define SMALL to disable command line editing
CFLAGS+=-DSMALL

# Uncomment the following to provide defaults for gate-ftp operation
#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21

#.if (defined(USE_SOCKS) && ${USE_SOCKS} == "YES")
#CFLAGS += -DSOCKS -I/usr/local/include
#LDADD += -lsocks5
#.endif
CFLAGS+=-DSIGINFO=SIGUSR1

PROG=	ftp
SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
	stringlist.c util.c

LDADD+=	-ltermcap
DPADD+=	${LIBEDIT} ${LIBTERMCAP}

#COPTS+= -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes

include ../Make.prog
