1*c175365cSMarcel Moolenaar#- 2*c175365cSMarcel Moolenaar# Copyright (c) 2011 Google, Inc. 3*c175365cSMarcel Moolenaar# All rights reserved. 4*c175365cSMarcel Moolenaar# 5*c175365cSMarcel Moolenaar# Redistribution and use in source and binary forms, with or without 6*c175365cSMarcel Moolenaar# modification, are permitted provided that the following conditions 7*c175365cSMarcel Moolenaar# are met: 8*c175365cSMarcel Moolenaar# 1. Redistributions of source code must retain the above copyright 9*c175365cSMarcel Moolenaar# notice, this list of conditions and the following disclaimer. 10*c175365cSMarcel Moolenaar# 2. Redistributions in binary form must reproduce the above copyright 11*c175365cSMarcel Moolenaar# notice, this list of conditions and the following disclaimer in the 12*c175365cSMarcel Moolenaar# documentation and/or other materials provided with the distribution. 13*c175365cSMarcel Moolenaar# 14*c175365cSMarcel Moolenaar# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15*c175365cSMarcel Moolenaar# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16*c175365cSMarcel Moolenaar# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17*c175365cSMarcel Moolenaar# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18*c175365cSMarcel Moolenaar# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19*c175365cSMarcel Moolenaar# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20*c175365cSMarcel Moolenaar# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21*c175365cSMarcel Moolenaar# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22*c175365cSMarcel Moolenaar# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23*c175365cSMarcel Moolenaar# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24*c175365cSMarcel Moolenaar# SUCH DAMAGE. 25*c175365cSMarcel Moolenaar# 26*c175365cSMarcel Moolenaar# $FreeBSD$ 27*c175365cSMarcel Moolenaar 28*c175365cSMarcel Moolenaar.include <bsd.init.mk> 29*c175365cSMarcel Moolenaar 30*c175365cSMarcel Moolenaar.PATH: ${ATF}/atf-sh 31*c175365cSMarcel Moolenaar 32*c175365cSMarcel MoolenaarBINDIR= /usr/libexec 33*c175365cSMarcel MoolenaarPROG_CXX= atf-check 34*c175365cSMarcel MoolenaarSRCS= atf-check.cpp 35*c175365cSMarcel MoolenaarMAN= atf-check.1 36*c175365cSMarcel Moolenaar 37*c175365cSMarcel MoolenaarCFLAGS+= -I${ATF} 38*c175365cSMarcel Moolenaar 39*c175365cSMarcel MoolenaarDPADD+= ${LIBATF_CXX} ${LIBATF_C} 40*c175365cSMarcel Moolenaar 41*c175365cSMarcel MoolenaarLDFLAGS+= -L${.OBJDIR}/../../../lib/atf/libatf-c++ 42*c175365cSMarcel MoolenaarLDFLAGS+= -L${.OBJDIR}/../../../lib/atf/libatf-c 43*c175365cSMarcel MoolenaarLDADD+= -latf-c++ -latf-c 44*c175365cSMarcel Moolenaar 45*c175365cSMarcel Moolenaar.include <bsd.prog.mk> 46