xref: /freebsd/usr.bin/ftp/Makefile (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
2
3.include <src.opts.mk>
4
5# Uncomment the following to provide defaults for gate-ftp operation
6#
7#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
8
9PACKAGE=	ftp
10
11TNFTP=	${SRCTOP}/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}
23LIBADD=	edit
24
25WARNS?=	2
26
27LINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
28	${BINDIR}/ftp ${BINDIR}/gate-ftp
29MLINKS=	ftp.1 pftp.1 \
30	ftp.1 gate-ftp.1
31
32.include <bsd.prog.mk>
33