xref: /freebsd/usr.bin/ftp/Makefile (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
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 <src.opts.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
11PACKAGE=	ftp
12
13TNFTP=	${SRCTOP}/contrib/tnftp
14.PATH: ${TNFTP}/src
15
16PROG=	ftp
17SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
18	progressbar.c ruserpass.c util.c
19
20.if ${MK_INET6_SUPPORT} != "no"
21CFLAGS+= -DINET6
22.endif
23
24CFLAGS+= -I${.CURDIR} -I${TNFTP}
25LIBADD=	edit
26
27WARNS?=	2
28
29LINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
30	${BINDIR}/ftp ${BINDIR}/gate-ftp
31MLINKS=	ftp.1 pftp.1 \
32	ftp.1 gate-ftp.1
33
34.include <bsd.prog.mk>
35