1 # $NetBSD: Makefile,v 1.36 2012/12/21 18:07:36 christos Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 4/3/94
6 USE_FORT?
= yes
# network client
9 SRCS
= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
10 progressbar.c ruserpass.c util.c
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
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
27 LDADD
+= -ledit
-lterminfo
28 DPADD
+= ${LIBEDIT} ${LIBTERMINFO}
29 .if
(${MKCRYPTO} != "no")
32 LDADD
+= -lssl
-lcrypto
33 DPADD
+= ${LIBSSL} ${LIBCRYPTO}
37 .if
(!defined
(SMALLPROG
) || defined
(SMALLPROG_INET6
)) && (${USE_INET6} != "no")
41 cmds.o fetch.o
: version.h
44 .
include <bsd.prog.mk
>