1c175365cSMarcel Moolenaar#- 2c175365cSMarcel Moolenaar# Copyright (c) 2011 Google, Inc. 3c175365cSMarcel Moolenaar# All rights reserved. 4c175365cSMarcel Moolenaar# 5c175365cSMarcel Moolenaar# Redistribution and use in source and binary forms, with or without 6c175365cSMarcel Moolenaar# modification, are permitted provided that the following conditions 7c175365cSMarcel Moolenaar# are met: 8c175365cSMarcel Moolenaar# 1. Redistributions of source code must retain the above copyright 9c175365cSMarcel Moolenaar# notice, this list of conditions and the following disclaimer. 10c175365cSMarcel Moolenaar# 2. Redistributions in binary form must reproduce the above copyright 11c175365cSMarcel Moolenaar# notice, this list of conditions and the following disclaimer in the 12c175365cSMarcel Moolenaar# documentation and/or other materials provided with the distribution. 13c175365cSMarcel Moolenaar# 14c175365cSMarcel Moolenaar# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15c175365cSMarcel Moolenaar# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16c175365cSMarcel Moolenaar# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17c175365cSMarcel Moolenaar# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18c175365cSMarcel Moolenaar# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19c175365cSMarcel Moolenaar# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20c175365cSMarcel Moolenaar# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21c175365cSMarcel Moolenaar# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22c175365cSMarcel Moolenaar# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23c175365cSMarcel Moolenaar# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24c175365cSMarcel Moolenaar# SUCH DAMAGE. 25c175365cSMarcel Moolenaar# 26c175365cSMarcel Moolenaar 27c6063d0dSWarner Losh.include <src.opts.mk> 28c175365cSMarcel Moolenaar.include <bsd.init.mk> 29c175365cSMarcel Moolenaar 3092d317a9SEnji CooperATF= ${SRCTOP}/contrib/atf 31c175365cSMarcel Moolenaar.PATH: ${ATF}/atf-sh 32c175365cSMarcel Moolenaar 33066a8c69SEmmanuel VadotPACKAGE= tests 34c175365cSMarcel MoolenaarPROG_CXX= atf-check 35c175365cSMarcel MoolenaarSRCS= atf-check.cpp 36c175365cSMarcel MoolenaarMAN= atf-check.1 37c175365cSMarcel Moolenaar 38c175365cSMarcel MoolenaarCFLAGS+= -I${ATF} 390677dfd1SJulio MerinoCFLAGS+= -DATF_SHELL='"/bin/sh"' 40c175365cSMarcel Moolenaar 412c3f47a7SDimitry Andric# Silence warnings about usage of deprecated std::auto_ptr 422c3f47a7SDimitry AndricCXXWARNFLAGS+= -Wno-deprecated-declarations 43*42fb28ceSJohn BaldwinCXXSTD= c++11 442c3f47a7SDimitry Andric 45ee5a34ecSBaptiste DaroussinLIBADD= atf_cxx 46c175365cSMarcel Moolenaar 47d511b20aSEnji CooperHAS_TESTS= 484b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 49fba3cde9SJulio Merino 50c175365cSMarcel Moolenaar.include <bsd.prog.mk> 51