From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id C4781DE0 for ; Tue, 14 Jan 2014 12:37:19 +0100 (CET) Received: by mail-wg0-f41.google.com with SMTP id n12so3817982wgh.0 for ; Tue, 14 Jan 2014 03:38:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=cx3/va2BNfIq78q85hVuLgEUzHKDFFHAVnaY8RWqZfU=; b=Yxxx4OiEPfEVi1XYeFYXwpt6fu7fyLuMvQNIj2DQuAVY5JUVF8UE+yKoFggFUtJsoR nbdw1rf0gb+GzJwNqntxAjq2iH7O3Ro3rhxMY7lkoBNFJTRYT2uqmLsHgThK8CC+5Rlw DicuXLfhz0fjclbMNegxGR8MGY6fgUTwPhwswa1Ch/AfyYLGfnGPdXDKQEs0wZQ+mGe1 3hY1mR8N5n9tKyPDPvPjafRMo0KvVDWMlJhFoyuuEpPbjRwcfea0Ig1SGZ9BH8n8mBBV cZnKeb37kYNb12c9umOrGNBW7Xtfi3SOp9HkaU9V3J+WIazZMr02HxuxeD0+1kqELOc9 Yi5Q== X-Gm-Message-State: ALoCoQmcnLZOWD8WmuSBqhYkc15lvXtJDPQOLUT+Wnwrn31avZEfDaxlgOs/82Ju/IV+ITBhsP9R X-Received: by 10.180.12.70 with SMTP id w6mr2477692wib.4.1389699513050; Tue, 14 Jan 2014 03:38:33 -0800 (PST) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ux5sm281795wjc.6.2014.01.14.03.38.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jan 2014 03:38:32 -0800 (PST) From: Thomas Monjalon Organization: 6WIND To: Daniel Kan Date: Tue, 14 Jan 2014 12:38:29 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <8A452F53-AD44-4C3C-8AB0-AD3342206D46@nyansa.com> In-Reply-To: <8A452F53-AD44-4C3C-8AB0-AD3342206D46@nyansa.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201401141238.30056.thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Any benefit of using DPDK's makefiles instead of using your own and linking against DPDK library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 11:37:20 -0000 Hello, 14/01/2014 08:02, Daniel Kan: > I already have existing makefiles for my current application. I would like > to integrate dpdk into the application. =E2=80=99m wondering if there is= any > benefit to use dpdk=E2=80=99s makefiles instead of using your own makefil= e and > linking against the library (e.g. libintel_dpdk.a). Thanks. DPDK makefiles have 2 benefits: =2D provide a framework =2D automatically set CFLAGS and LDFLAGS according to your configuration If you don't need a framework, I think it's better to extract compilation=20 flags with something like pkg-config. http://freedesktop.org/wiki/Software/pkg-config A patch for a such feature would be welcome :) =2D-=20 Thomas