diff mbox

[04/13] Add IPsec example app to build environment

Message ID 1408624238-12430-5-git-send-email-robking@cisco.com
State New
Headers show

Commit Message

Robbie King Aug. 21, 2014, 12:30 p.m. UTC
Signed-off-by: Robbie King <robking@cisco.com>
---
 .gitignore                |    2 ++
 configure.ac              |    1 +
 example/Makefile.am       |    2 +-
 example/ipsec/Makefile.am |   12 ++++++++++++
 4 files changed, 16 insertions(+), 1 deletions(-)
 create mode 100644 example/ipsec/Makefile.am

Comments

Alexandru Badicioiu Aug. 22, 2014, 7:33 a.m. UTC | #1
On 21 August 2014 15:30, Robbie King <robking@cisco.com> wrote:

> Signed-off-by: Robbie King <robking@cisco.com>
>
    Tested-by: Alexandru Badicioiu <alexandru.badicioiu@linaro.org>

> ---
>  .gitignore                |    2 ++
>  configure.ac              |    1 +
>  example/Makefile.am       |    2 +-
>  example/ipsec/Makefile.am |   12 ++++++++++++
>  4 files changed, 16 insertions(+), 1 deletions(-)
>  create mode 100644 example/ipsec/Makefile.am
>
> diff --git a/.gitignore b/.gitignore
> index 39c8d77..b0d51c8 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -5,6 +5,7 @@
>  *.patch
>  *~
>  *.lo
> +ID
>  Makefile
>  Makefile.in
>  aclocal.m4
> @@ -42,4 +43,5 @@ odp_pktio
>  odp_timer_test
>  odp_generator
>  odp_l2fwd
> +odp_ipsec
>  doxygen-doc
> diff --git a/configure.ac b/configure.ac
> index 74713a7..cdbc3ba 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -142,6 +142,7 @@ AC_CONFIG_FILES([Makefile
>                  example/packet/Makefile
>                  example/packet_netmap/Makefile
>                  example/timer/Makefile
> +                example/ipsec/Makefile
>                  test/Makefile
>                  test/api_test/Makefile
>                  pkgconfig/libodp.pc])
> diff --git a/example/Makefile.am b/example/Makefile.am
> index 01a3305..b3baa56 100644
> --- a/example/Makefile.am
> +++ b/example/Makefile.am
> @@ -1 +1 @@
> -SUBDIRS = generator l2fwd odp_example packet packet_netmap timer
> +SUBDIRS = generator l2fwd odp_example packet packet_netmap timer ipsec
> diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am
> new file mode 100644
> index 0000000..ac0949e
> --- /dev/null
> +++ b/example/ipsec/Makefile.am
> @@ -0,0 +1,12 @@
> +include $(top_srcdir)/example/Makefile.inc
> +
> +bin_PROGRAMS = odp_ipsec
> +odp_ipsec_LDFLAGS = $(AM_LDFLAGS) -static
> +
> +dist_odp_ipsec_SOURCES = odp_ipsec.c \
> +                        odp_ipsec_sa_db.c \
> +                        odp_ipsec_sp_db.c \
> +                        odp_ipsec_fwd_db.c \
> +                        odp_ipsec_loop_db.c \
> +                        odp_ipsec_cache.c \
> +                        odp_ipsec_stream.c
> --
> 1.7.7.6
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/.gitignore b/.gitignore
index 39c8d77..b0d51c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ 
 *.patch
 *~
 *.lo
+ID
 Makefile
 Makefile.in
 aclocal.m4
@@ -42,4 +43,5 @@  odp_pktio
 odp_timer_test
 odp_generator
 odp_l2fwd
+odp_ipsec
 doxygen-doc
diff --git a/configure.ac b/configure.ac
index 74713a7..cdbc3ba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,7 @@  AC_CONFIG_FILES([Makefile
 		 example/packet/Makefile
 		 example/packet_netmap/Makefile
 		 example/timer/Makefile
+		 example/ipsec/Makefile
 		 test/Makefile
 		 test/api_test/Makefile
 		 pkgconfig/libodp.pc])
diff --git a/example/Makefile.am b/example/Makefile.am
index 01a3305..b3baa56 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1 +1 @@ 
-SUBDIRS = generator l2fwd odp_example packet packet_netmap timer
+SUBDIRS = generator l2fwd odp_example packet packet_netmap timer ipsec
diff --git a/example/ipsec/Makefile.am b/example/ipsec/Makefile.am
new file mode 100644
index 0000000..ac0949e
--- /dev/null
+++ b/example/ipsec/Makefile.am
@@ -0,0 +1,12 @@ 
+include $(top_srcdir)/example/Makefile.inc
+
+bin_PROGRAMS = odp_ipsec
+odp_ipsec_LDFLAGS = $(AM_LDFLAGS) -static
+
+dist_odp_ipsec_SOURCES = odp_ipsec.c \
+			 odp_ipsec_sa_db.c \
+			 odp_ipsec_sp_db.c \
+			 odp_ipsec_fwd_db.c \
+			 odp_ipsec_loop_db.c \
+			 odp_ipsec_cache.c \
+			 odp_ipsec_stream.c