Makefile revision 1.28
1# $NetBSD: Makefile,v 1.28 2005/01/10 02:58:59 lukem Exp $ 2# from: @(#)Makefile 8.2 (Berkeley) 4/3/94 3 4.include <bsd.own.mk> 5 6PROG= ftp 7SRCS= 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) 15CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS 16.else 17LDADD+= -ledit -ltermcap 18DPADD+= ${LIBEDIT} ${LIBTERMCAP} 19.endif 20 21.if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no") 22CPPFLAGS+= -DINET6 23.endif 24 25cmds.o fetch.o: version.h 26main.o: ftp_var.h 27 28.include <bsd.prog.mk> 29