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