1 # $NetBSD: Makefile,v 1.24 2002/10/17 06:16:48 lukem 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 ruserpass.c \ 6 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 LDADD+= -lutil 13 DPADD+= ${LIBUTIL} 14 15 .if defined(SMALLPROG) 16 CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT 17 .else 18 LDADD+= -ledit -ltermcap 19 DPADD+= ${LIBEDIT} ${LIBTERMCAP} 20 .endif 21 22 .if !defined(SMALLPROG) || defined(SMALLPROG_INET6) 23 CPPFLAGS+= -DINET6 24 .endif 25 26 cmds.o fetch.o: version.h 27 main.o: ftp_var.h 28 29 .include <bsd.prog.mk> 30