regress/unit-tests/url_parse/Makefile
author Sunil Nimmagadda <sunil@nimmagadda.net>
Tue, 06 Dec 2022 13:51:55 +0000
changeset 0 1d0ce1ebbc72
permissions -rw-r--r--
An HTTP(S), FTP client. Found a copy of some old OpenBSD days hacking stashed somewhere in the backups. This version saw the light of the day as official OpenBSD ftp(1) for a grand total of 1 day :-)

FTPREL=	../../../
.PATH: ${.CURDIR}/${FTPREL}

PROG=test_url_parse
SRCS=test_url_parse.c
SRCS+=file.c ftp.c http.c progressmeter.c url.c util.c xmalloc.c

CFLAGS+=-I ${.CURDIR}/${FTPREL}
LDADD+=	-lutil -ltls -lssl -lcrypto
DPADD+=	${LIBUTIL} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO}

REGRESS_TARGETS=run-regress-${PROG}

run-regress-${PROG}: ${PROG}
	env ${TEST_ENV} ./${PROG}

.include <bsd.regress.mk>