1# $OpenBSD: Makefile,v 1.25 2009/05/05 19:35:30 martynas Exp $ 2 3# Define SMALL to disable command line editing and https support 4#CFLAGS+=-DSMALL 5 6# Uncomment the following to provide defaults for gate-ftp operation 7#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21 8 9.if (defined(USE_SOCKS) && ${USE_SOCKS:L} == "yes") 10CFLAGS += -DSOCKS -I/usr/local/include 11LDADD += -L/usr/local/lib -lsocks 12.endif 13 14PROG= ftp 15SRCS= cmds.c cmdtab.c complete.c cookie.c domacro.c fetch.c ftp.c \ 16 list.c main.c ruserpass.c small.c stringlist.c util.c 17 18CPPFLAGS+= -DINET6 19 20LDADD+= -ledit -lcurses -lutil -lssl -lcrypto 21DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBUTIL} 22LDSTATIC= ${STATIC} 23 24#COPTS+= -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes 25 26.include <bsd.prog.mk> 27