Makefile revision 1.27
1# $NetBSD: Makefile,v 1.27 2004/06/06 01:37:41 christos Exp $ 2# from: @(#)Makefile 8.2 (Berkeley) 4/3/94 3 4PROG= ftp 5SRCS= 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) 13CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS 14.else 15LDADD+= -ledit -ltermcap 16DPADD+= ${LIBEDIT} ${LIBTERMCAP} 17.endif 18 19.if !defined(SMALLPROG) || defined(SMALLPROG_INET6) 20CPPFLAGS+= -DINET6 21.endif 22 23cmds.o fetch.o: version.h 24main.o: ftp_var.h 25 26.include <bsd.prog.mk> 27