mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-19 22:43:22 +01:00
cc361f6598
PR: bin/112288 bin/120256 bin/129014 bin/145528 MFC after: 1 month
34 lines
749 B
Makefile
34 lines
749 B
Makefile
# $FreeBSD$
|
|
# $NetBSD: Makefile,v 1.15 1997/10/18 15:31:20 lukem Exp $
|
|
# from: @(#)Makefile 8.2 (Berkeley) 4/3/94
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
# Uncomment the following to provide defaults for gate-ftp operation
|
|
#
|
|
#CFLAGS+=-DGATE_SERVER=\"ftp-gw.host\" # -DGATE_PORT=21
|
|
|
|
TNFTP= ${.CURDIR}/../../contrib/tnftp
|
|
.PATH: ${TNFTP}/src
|
|
|
|
PROG= ftp
|
|
SRCS= cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c \
|
|
progressbar.c ruserpass.c util.c
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
CFLAGS+= -DINET6
|
|
.endif
|
|
|
|
CFLAGS+= -I${.CURDIR} -I${TNFTP}
|
|
LDADD= -ledit -ltermcap -lutil
|
|
DPADD= ${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL}
|
|
|
|
WARNS?= 2
|
|
|
|
LINKS= ${BINDIR}/ftp ${BINDIR}/pftp \
|
|
${BINDIR}/ftp ${BINDIR}/gate-ftp
|
|
MLINKS= ftp.1 pftp.1 \
|
|
ftp.1 gate-ftp.1
|
|
|
|
.include <bsd.prog.mk>
|