NetBSD/usr.bin/ftp/Makefile

37 lines
898 B
Makefile
Raw Permalink Normal View History

# $NetBSD: Makefile,v 1.39 2021/06/03 10:23:33 lukem Exp $
1997-01-09 23:18:21 +03:00
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # network client
1993-03-21 12:45:37 +03:00
PROG= ftp
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
progressbar.c ruserpass.c util.c
SRCS+= ssl.c
# Uncomment the following to provide defaults for gate-ftp operation
#
1997-10-14 19:09:22 +04:00
#CPPFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
.if defined(SMALLPROG)
CPPFLAGS+=-DNO_EDITCOMPLETE -DNO_ABOUT -DNO_AUTH -DNO_HELP -DNO_STATUS -DNO_DEBUG -DNO_USAGE
.else
LDADD+= -ledit -lterminfo
DPADD+= ${LIBEDIT} ${LIBTERMINFO}
2012-12-21 22:07:36 +04:00
CPPFLAGS+= -DWITH_SSL
LDADD+= -lssl -lcrypto
DPADD+= ${LIBSSL} ${LIBCRYPTO}
.endif
.if (!defined(SMALLPROG) || defined(SMALLPROG_INET6)) && (${USE_INET6} != "no")
CPPFLAGS+= -DINET6
.endif
1999-12-12 05:14:53 +03:00
cmds.o fetch.o: version.h
main.o: ftp_var.h
CWARNFLAGS.gcc+= ${GCC_NO_FORMAT_OVERFLOW}
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>