From patchwork Tue Mar 15 14:42:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkatesh Vivekanandan X-Patchwork-Id: 63884 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp713704lbc; Tue, 15 Mar 2016 07:52:00 -0700 (PDT) X-Received: by 10.55.73.68 with SMTP id w65mr38156715qka.68.1458053520573; Tue, 15 Mar 2016 07:52:00 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w127si26737094qhw.1.2016.03.15.07.52.00; Tue, 15 Mar 2016 07:52:00 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1C04C62FD6; Tue, 15 Mar 2016 14:52:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 2721862FDC; Tue, 15 Mar 2016 14:50:24 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 51A8962FC5; Tue, 15 Mar 2016 14:49:32 +0000 (UTC) Received: from mail-gw1-out.broadcom.com (mail-gw1-out.broadcom.com [216.31.210.62]) by lists.linaro.org (Postfix) with ESMTP id 06FD462FD7 for ; Tue, 15 Mar 2016 14:43:24 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.24,339,1455004800"; d="scan'208";a="90397099" Received: from mail-irv-18.broadcom.com ([10.15.198.37]) by mail-gw1-out.broadcom.com with ESMTP; 15 Mar 2016 08:05:44 -0700 Received: from mail-irva-13.broadcom.com (mail-irva-13.broadcom.com [10.11.16.103]) by mail-irv-18.broadcom.com (Postfix) with ESMTP id B94E682025; Tue, 15 Mar 2016 07:43:06 -0700 (PDT) Received: from apslabuser-PowerEdge-T610.ban.broadcom.com (unknown [10.131.60.56]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 6823941044; Tue, 15 Mar 2016 07:41:50 -0700 (PDT) From: venkatesh.vivekanandan@linaro.org To: lng-odp@lists.linaro.org Date: Tue, 15 Mar 2016 20:12:10 +0530 Message-Id: <1458052930-28569-1-git-send-email-venkatesh.vivekanandan@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH v3 3/6] linux-generic: odp-ipfw: ipfw stub changes X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Venkatesh Vivekanandan Signed-off-by: Venkatesh Vivekanandan --- example/ipfw/ipfw/Makefile.am | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/example/ipfw/ipfw/Makefile.am b/example/ipfw/ipfw/Makefile.am index a6759e3..9083a56 100644 --- a/example/ipfw/ipfw/Makefile.am +++ b/example/ipfw/ipfw/Makefile.am @@ -1,11 +1,17 @@ #include $(top_srcdir)/example/Makefile.inc -OBJDIR=objs +OBJDIR=../objs/include_e # ipfw and uipfw are built in subdirs -INCDIRS = -I ../$(OBJDIR)/include_e -DEMULATE_SYSCTL +INCDIRS = -I $(OBJDIR) -DEMULATE_SYSCTL INCDIRS += -I ../sys -I ../extra/sys -I ../extra/sys/contrib/pf -OBJPATH = ./$(OBJDIR) +EDIR = ../objs $(OBJDIR) $(OBJDIR)/sys +EFILES = libutil.h timeconv.h +EFILES += sys/sockio.h + +include_e$(EXEEXT): + for i in $(EDIR); do mkdir -p $$i; done + for i in $(EFILES); do touch $(OBJDIR)/$$i; done E_CFLAGS = $(INCDIRS) E_CFLAGS += -include ../extra/glue.h # headers @@ -25,7 +31,7 @@ AM_CFLAGS = $(E_CFLAGS) AM_LDFLAGS += -lutil -bin_PROGRAMS = odp_ipfw$(EXEEXT) +bin_PROGRAMS = include_e$(EXEEXT) odp_ipfw$(EXEEXT) odp_ipfw_LDFLAGS = $(AM_LDFLAGS) -static odp_ipfw_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example