aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ftp/Makefile')
-rw-r--r--usr.bin/ftp/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/usr.bin/ftp/Makefile b/usr.bin/ftp/Makefile
new file mode 100644
index 000000000000..48aae3466dbe
--- /dev/null
+++ b/usr.bin/ftp/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
+
+.include <src.opts.mk>
+
+# Uncomment the following to provide defaults for gate-ftp operation
+#
+#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
+
+PACKAGE= ftp
+
+TNFTP= ${SRCTOP}/contrib/tnftp
+.PATH: ${TNFTP}/src
+
+PROG= ftp
+SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
+ progressbar.c ruserpass.c util.c
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
+
+CFLAGS+= -I${.CURDIR} -I${TNFTP}
+LIBADD= edit
+
+WARNS?= 2
+
+LINKS= ${BINDIR}/ftp ${BINDIR}/pftp \
+ ${BINDIR}/ftp ${BINDIR}/gate-ftp
+MLINKS= ftp.1 pftp.1 \
+ ftp.1 gate-ftp.1
+
+.include <bsd.prog.mk>