xref: /openbsd/usr.bin/ftp/Makefile (revision e7c4842a)
1#	$OpenBSD: Makefile,v 1.22 2007/06/13 13:52:26 pyr 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 += -lsocks5
12.endif
13
14PROG=	ftp
15SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
16	cookie.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