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