xref: /dragonfly/usr.bin/ftp/Makefile (revision 3641b7ca)
1# $FreeBSD: src/usr.bin/ftp/Makefile,v 1.11.2.1 2000/05/16 04:25:19 cpiazza Exp $
2# $DragonFly: src/usr.bin/ftp/Makefile,v 1.5 2008/05/17 22:01:12 pavalos Exp $
3#	$NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
4#	from: @(#)Makefile	8.2 (Berkeley) 4/3/94
5
6# Uncomment the following to provide defaults for gate-ftp operation
7#
8#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
9
10CONTRIBDIR= ${.CURDIR}/../../contrib/tnftp
11.PATH:	${CONTRIBDIR}
12
13PROG=	ftp
14SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
15	progressbar.c ruserpass.c util.c
16
17CFLAGS+=-DINET6 -I${.OBJDIR} -I${CONTRIBDIR} -I${.CURDIR}/../../lib/libc/stdtime
18LDADD+=	-ledit -ltermcap -lutil
19DPADD+=	${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL}
20
21LINKS=	${BINDIR}/ftp ${BINDIR}/pftp \
22	${BINDIR}/ftp ${BINDIR}/gate-ftp
23MLINKS=	ftp.1 pftp.1 \
24	ftp.1 gate-ftp.1
25
26WARNS?=	2
27
28.include <bsd.prog.mk>
29