Remove building with NOCRYPTO option
[minix3.git] / usr.bin / ftp / Makefile
bloba8aab2c418096dcd0735c5360e441a635402e498
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 .if defined(__MINIX)
13 .if !empty(DBG:M-Og) || !empty(CFLAGS:M-Og) || \
14 !empty(DBG:M-g) || !empty(CFLAGS:M-g)
15 #LSC: -Wno-maybe-uninitialized while compiling with -DNDEBUG -Og
16 CWARNFLAGS.gcc+= -Wno-maybe-uninitialized -Wno-clobbered
17 .endif
18 .endif # defined(__MINIX)
20 # Uncomment the following to provide defaults for gate-ftp operation
22 #CPPFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
24 .if defined(SMALLPROG)
25 CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS -DNO_DEBUG -DNO_USAGE
26 .else
27 LDADD+= -ledit -lterminfo
28 DPADD+= ${LIBEDIT} ${LIBTERMINFO}
29 .if (${MKCRYPTO} != "no")
30 CPPFLAGS+= -DWITH_SSL
31 SRCS+=ssl.c
32 LDADD+= -lssl -lcrypto
33 DPADD+= ${LIBSSL} ${LIBCRYPTO}
34 .endif
35 .endif
37 .if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")
38 CPPFLAGS+= -DINET6
39 .endif
41 cmds.o fetch.o: version.h
42 main.o: ftp_var.h
44 .include <bsd.prog.mk>