xref: /freebsd/usr.bin/ftp/Makefile (revision 3f0164abf32b9b761e0a2cb4bdca3a8b84f156d4)
1# $FreeBSD$
2#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
3#	from: @(#)Makefile	8.2 (Berkeley) 4/3/94
4
5.include <bsd.own.mk>
6
7# Uncomment the following to provide defaults for gate-ftp operation
8#
9#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
10
11TNFTP=	${.CURDIR}/../../contrib/tnftp
12.PATH: ${TNFTP}/src
13
14PROG=	ftp
15SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
16	progressbar.c ruserpass.c util.c
17
18.if ${MK_INET6_SUPPORT} != "no"
19CFLAGS+= -DINET6
20.endif
21
22CFLAGS+= -I${.CURDIR} -I${TNFTP}
23LDADD=	-ledit -ltermcap -lutil
24DPADD=	${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL}
25
26WARNS?=	2
27
28LINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
29	${BINDIR}/ftp ${BINDIR}/gate-ftp
30MLINKS=	ftp.1 pftp.1 \
31	ftp.1 gate-ftp.1
32
33.include <bsd.prog.mk>
34