From patchwork Fri Mar 11 13:26:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkatesh Vivekanandan X-Patchwork-Id: 63758 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp1034681lbc; Fri, 11 Mar 2016 05:30:23 -0800 (PST) X-Received: by 10.55.82.85 with SMTP id g82mr11538091qkb.107.1457703023217; Fri, 11 Mar 2016 05:30:23 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j60si8504871qge.116.2016.03.11.05.30.22; Fri, 11 Mar 2016 05:30:23 -0800 (PST) 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 C383766774; Fri, 11 Mar 2016 13:30:22 +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=-1.5 required=5.0 tests=BAYES_00, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, RCVD_IN_XBL, 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 07B31669E0; Fri, 11 Mar 2016 13:29:33 +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 AB4AF62F6A; Fri, 11 Mar 2016 13:28:49 +0000 (UTC) Received: from mail-irv-18.broadcom.com (5520-maca-inet1-outside.broadcom.com [216.31.211.11]) by lists.linaro.org (Postfix) with ESMTP id 98CDF66736 for ; Fri, 11 Mar 2016 13:26:28 +0000 (UTC) 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 5687085181; Fri, 11 Mar 2016 05:26:28 -0800 (PST) Received: from apslabuser-PowerEdge-T610.ban.broadcom.com (unknown [10.131.60.56]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 2AE3B40FE5; Fri, 11 Mar 2016 05:26:06 -0800 (PST) From: venkatesh.vivekanandan@linaro.org To: lng-odp@lists.linaro.org Date: Fri, 11 Mar 2016 18:56:24 +0530 Message-Id: <1457702784-24877-1-git-send-email-venkatesh.vivekanandan@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH v2 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 adcab97..dc21b24 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