1*89f0711fSBruce Richardson# BSD LICENSE 2*89f0711fSBruce Richardson# 3*89f0711fSBruce Richardson# Copyright(c) 2017 Intel Corporation. 4*89f0711fSBruce Richardson# All rights reserved. 5*89f0711fSBruce Richardson# 6*89f0711fSBruce Richardson# Redistribution and use in source and binary forms, with or without 7*89f0711fSBruce Richardson# modification, are permitted provided that the following conditions 8*89f0711fSBruce Richardson# are met: 9*89f0711fSBruce Richardson# 10*89f0711fSBruce Richardson# * Redistributions of source code must retain the above copyright 11*89f0711fSBruce Richardson# notice, this list of conditions and the following disclaimer. 12*89f0711fSBruce Richardson# * Redistributions in binary form must reproduce the above copyright 13*89f0711fSBruce Richardson# notice, this list of conditions and the following disclaimer in 14*89f0711fSBruce Richardson# the documentation and/or other materials provided with the 15*89f0711fSBruce Richardson# distribution. 16*89f0711fSBruce Richardson# * Neither the name of Intel Corporation nor the names of its 17*89f0711fSBruce Richardson# contributors may be used to endorse or promote products derived 18*89f0711fSBruce Richardson# from this software without specific prior written permission. 19*89f0711fSBruce Richardson# 20*89f0711fSBruce Richardson# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21*89f0711fSBruce Richardson# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22*89f0711fSBruce Richardson# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23*89f0711fSBruce Richardson# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24*89f0711fSBruce Richardson# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25*89f0711fSBruce Richardson# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26*89f0711fSBruce Richardson# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27*89f0711fSBruce Richardson# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28*89f0711fSBruce Richardson# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29*89f0711fSBruce Richardson# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30*89f0711fSBruce Richardson# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31*89f0711fSBruce Richardson 32*89f0711fSBruce Richardson# meson file, for building this example as part of a main DPDK build. 33*89f0711fSBruce Richardson# 34*89f0711fSBruce Richardson# To build this example as a standalone application with an already-installed 35*89f0711fSBruce Richardson# DPDK instance, use 'make' 36*89f0711fSBruce Richardson 37*89f0711fSBruce Richardsondeps += 'meter' 38*89f0711fSBruce Richardsonsources = files( 39*89f0711fSBruce Richardson 'main.c', 'rte_policer.c' 40*89f0711fSBruce Richardson) 41