1*1e1db3e5Sbluhm# $OpenBSD: Makefile,v 1.2 2017/07/03 18:19:55 bluhm Exp $ 271ec8d3aScloder# $EOM: Makefile,v 1.8 2000/03/28 21:22:07 ho Exp $ 371ec8d3aScloder 471ec8d3aScloder# 571ec8d3aScloder# Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. 671ec8d3aScloder# 771ec8d3aScloder# Redistribution and use in source and binary forms, with or without 871ec8d3aScloder# modification, are permitted provided that the following conditions 971ec8d3aScloder# are met: 1071ec8d3aScloder# 1. Redistributions of source code must retain the above copyright 1171ec8d3aScloder# notice, this list of conditions and the following disclaimer. 1271ec8d3aScloder# 2. Redistributions in binary form must reproduce the above copyright 1371ec8d3aScloder# notice, this list of conditions and the following disclaimer in the 1471ec8d3aScloder# documentation and/or other materials provided with the distribution. 1571ec8d3aScloder# 1671ec8d3aScloder# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1771ec8d3aScloder# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1871ec8d3aScloder# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1971ec8d3aScloder# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2071ec8d3aScloder# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2171ec8d3aScloder# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2271ec8d3aScloder# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2371ec8d3aScloder# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2471ec8d3aScloder# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2571ec8d3aScloder# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2671ec8d3aScloder# 2771ec8d3aScloder 2871ec8d3aScloder# 2971ec8d3aScloder# This code was written under funding by Ericsson Radio Systems. 3071ec8d3aScloder# 3171ec8d3aScloder 3271ec8d3aScloderRUN= ${SUDO} env ISAKMPD=${TOPOBJ}/isakmpd sh ${.CURDIR}/run.sh 3371ec8d3aScloder 3471ec8d3aScloderTESTS= def 3571ec8d3aScloder 3671ec8d3aScloderREGRESS_TARGETS=${TESTS:S/^/test-/} 3771ec8d3aScloder 3871ec8d3aScloder.for TEST in ${TESTS} 3971ec8d3aSclodertest-${TEST}: 4071ec8d3aScloder @echo Testing "${TEST}" test as initiator 4171ec8d3aScloder @${RUN} ${RUNFLAGS} ${.CURDIR}/${TEST} 4271ec8d3aScloder# @echo Testing "${TEST}" test as responder 4371ec8d3aScloder# @${RUN} -r ${RUNFLAGS} ${.CURDIR}/${TEST} 4471ec8d3aScloder.endfor 4571ec8d3aScloder 4671ec8d3aScloder.PHONY: ${REGRESS_TARGETS} 4771ec8d3aScloder 4871ec8d3aScloder.include <bsd.regress.mk> 49