xref: /freebsd/usr.bin/ftp/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
2#	from: @(#)Makefile	8.2 (Berkeley) 4/3/94
3
4.include <src.opts.mk>
5
6# Uncomment the following to provide defaults for gate-ftp operation
7#
8#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
9
10PACKAGE=	ftp
11
12TNFTP=	${SRCTOP}/contrib/tnftp
13.PATH: ${TNFTP}/src
14
15PROG=	ftp
16SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
17	progressbar.c ruserpass.c util.c
18
19.if ${MK_INET6_SUPPORT} != "no"
20CFLAGS+= -DINET6
21.endif
22
23CFLAGS+= -I${.CURDIR} -I${TNFTP}
24LIBADD=	edit
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