1 # $NetBSD: Makefile,v 1.31 2005/06/29 02:31:19 christos Exp $ 2 # from: @(#)Makefile 8.2 (Berkeley) 4/3/94 3 4 .include <bsd.own.mk> 5 6 PROG= ftp 7 SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \ 8 progressbar.c ruserpass.c util.c 9 10 # Uncomment the following to provide defaults for gate-ftp operation 11 # 12 #CPPFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21 13 14 .if defined(SMALLPROG) 15 CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS -DNO_DEBUG -DNO_USAGE 16 .else 17 LDADD+= -ledit -ltermcap 18 DPADD+= ${LIBEDIT} ${LIBTERMCAP} 19 .endif 20 21 .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no") 22 CPPFLAGS+= -DINET6 23 .endif 24 25 cmds.o fetch.o: version.h 26 main.o: ftp_var.h 27 28 .include <bsd.prog.mk> 29