openssh-portable/regress/unittests/misc/Makefile

27 lines
488 B
Makefile

# $OpenBSD: Makefile,v 1.4 2021/01/09 12:24:31 dtucker Exp $
PROG=test_misc
SRCS=tests.c
# From usr.bin/ssh/Makefile.inc
SRCS+= sshbuf.c
SRCS+= sshbuf-getput-basic.c
SRCS+= sshbuf-misc.c
SRCS+= ssherr.c
SRCS+= log.c
SRCS+= xmalloc.c
SRCS+= misc.c
SRCS+= match.c
SRCS+= addr.c
SRCS+= addrmatch.c
# From usr.bin/ssh/sshd/Makefile
SRCS+= atomicio.c cleanup.c fatal.c
REGRESS_TARGETS=run-regress-${PROG}
run-regress-${PROG}: ${PROG}
env ${TEST_ENV} ./${PROG}
.include <bsd.regress.mk>