[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / ftp

File: [local] / src / usr.bin / ftp / Makefile (download)

Revision 1.36, Wed Jun 28 17:35:06 2023 UTC (11 months, 1 week ago) by op
Branch: MAIN
Changes since 1.35: +2 -1 lines

drop needless strcspn in the header parsing

since fetch.c revision 1.211, ftp removes trailingwhitespaces early so
there's no need to re-do that when parsing a header.

while here, remove an unused variable too.

ok tb, millert

#	$OpenBSD: Makefile,v 1.36 2023/06/28 17:35:06 op Exp $

# Define SMALL to disable command line editing and some other features,
# NOSSL to disable https support.
#CFLAGS+=-DSMALL

PROG=	ftp
SRCS=	cmds.c cmdtab.c complete.c cookie.c domacro.c fetch.c ftp.c \
	list.c main.c ruserpass.c small.c stringlist.c util.c

LDADD+=	-ledit -lcurses -ltls -lssl -lcrypto
DPADD+=	${LIBEDIT} ${LIBCURSES} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}

#COPTS+= -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes
COPTS+= -Wall -Wstrict-prototypes -Wmissing-prototypes

.include <bsd.prog.mk>