From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147]) by dpdk.org (Postfix) with ESMTP id 776DCF11 for ; Tue, 15 Jan 2019 04:30:52 +0100 (CET) Received: from vc1.ecl.ntt.co.jp (vc1.ecl.ntt.co.jp [129.60.86.153]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id x0F3UpVU029190; Tue, 15 Jan 2019 12:30:51 +0900 Received: from vc1.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 11DC7EA7CDF; Tue, 15 Jan 2019 12:30:51 +0900 (JST) Received: from localhost.localdomain (lobster.nslab.ecl.ntt.co.jp [129.60.13.95]) by vc1.ecl.ntt.co.jp (Postfix) with ESMTP id 0E54FEA7A9C; Tue, 15 Jan 2019 12:30:51 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: ferruh.yigit@intel.com, spp@dpdk.org, ogawa.yasufumi@lab.ntt.co.jp Date: Tue, 15 Jan 2019 12:28:38 +0900 Message-Id: <1547522918-10223-7-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547522918-10223-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> References: <1547522918-10223-1-git-send-email-ogawa.yasufumi@lab.ntt.co.jp> X-TM-AS-MML: disable Subject: [spp] [PATCH 6/6] spp_mirror: update makefile X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2019 03:30:53 -0000 From: Yasufumi Ogawa Add refactored common source and header files to makefile and root header file. Signed-off-by: Yasufumi Ogawa --- src/mirror/Makefile | 3 ++- src/mirror/spp_mirror.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mirror/Makefile b/src/mirror/Makefile index 073afbd..f1995fc 100644 --- a/src/mirror/Makefile +++ b/src/mirror/Makefile @@ -14,6 +14,7 @@ APP = spp_mirror # all source are stored in SRCS-y SRCS-y := spp_mirror.c SRCS-y += ../shared/common.c +SRCS-y += ../shared/secondary/utils.c ../shared/secondary/add_port.c SRCS-y += ../vf/common/spp_proc.c ../vf/common/spp_port.c SRCS-y += ../vf/common/command_conn.c ../vf/common/command_proc.c SRCS-y += ../vf/common/command_dec.c @@ -21,7 +22,7 @@ SRCS-y += ../vf/common/ringlatencystats.c ../vf/common/string_buffer.c CFLAGS += -DALLOW_EXPERIMENTAL_API CFLAGS += $(WERROR_FLAGS) -O3 -MMD -CFLAGS += -I$(SRCDIR)/../shared +CFLAGS += -I$(SRCDIR)/../ CFLAGS += -I$(SRCDIR)/../vf/common CFLAGS += -DSPP_MIRROR_MODULE CFLAGS += -DSPP_MIRROR_SHALLOWCOPY diff --git a/src/mirror/spp_mirror.c b/src/mirror/spp_mirror.c index fb9bcb1..4835d55 100644 --- a/src/mirror/spp_mirror.c +++ b/src/mirror/spp_mirror.c @@ -9,7 +9,9 @@ #include #include -#include "common.h" +#include "shared/common.h" +#include "shared/secondary/utils.h" + #include "spp_proc.h" #include "spp_mirror.h" #include "command_proc.h" -- 2.17.1