tools/llvm: Do not build with symbols
[minix3.git] / usr.bin / ftp / Makefile
blobfd33069668de9323cf8486e68d04a22af2a0fed9
1 # $NetBSD: Makefile,v 1.36 2012/12/21 18:07:36 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 -lterminfo
20 DPADD+= ${LIBEDIT} ${LIBTERMINFO}
21 .if (${MKCRYPTO} != "no")
22 CPPFLAGS+= -DWITH_SSL
23 SRCS+=ssl.c
24 LDADD+= -lssl -lcrypto
25 DPADD+= ${LIBSSL} ${LIBCRYPTO}
26 .endif
27 .endif
29 .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")
30 CPPFLAGS+= -DINET6
31 .endif
33 cmds.o fetch.o: version.h
34 main.o: ftp_var.h
36 .include <bsd.prog.mk>