summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-03-21 20:59:31 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-03-21 20:59:31 +0000
commitde8fc656a0c2333ca26ef58be6bca4df52f04997 (patch)
tree7db8ae9f234db473edbaab17321cce6c47df0466 /usr.bin/ftp/Makefile
parentc1f038b9831779bb245ab82b038f418d974b98c6 (diff)
Add in recent NetBSD changes we didn't already have:
Always compile complete.c but ifdef out the bits if -DSMALL (christos) reset interactive mode correctly in auto_fetch() mget mode (lukem)
Diffstat (limited to 'usr.bin/ftp/Makefile')
-rw-r--r--usr.bin/ftp/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/usr.bin/ftp/Makefile b/usr.bin/ftp/Makefile
index e4ad344a9bb..2df00ea7eab 100644
--- a/usr.bin/ftp/Makefile
+++ b/usr.bin/ftp/Makefile
@@ -1,19 +1,14 @@
-# $OpenBSD: Makefile,v 1.6 1997/02/03 01:05:31 millert Exp $
-# $NetBSD: Makefile,v 1.8 1997/01/19 14:19:02 lukem Exp $
+# $OpenBSD: Makefile,v 1.7 1997/03/21 20:59:26 millert Exp $
+# $NetBSD: Makefile,v 1.10 1997/03/14 01:39:31 christos Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
-# define SMALLFTP if editing is to be disabled
-#SMALLFTP=yes
+# define SMALL to disable command line editing
+#CFLAGS+=-DSMALL
PROG= ftp
-SRCS= cmds.c cmdtab.c domacro.c fetch.c ftp.c main.c ruserpass.c \
+SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
stringlist.c util.c
-.if defined(SMALLFTP)
-CFLAGS+=-DSMALLFTP
-.else
-SRCS+= complete.c
LDADD+= -ledit -ltermcap
-.endif
.include <bsd.prog.mk>