summaryrefslogtreecommitdiffstats
path: root/src/vnet.am
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-02-23 12:09:41 -0500
committerDave Barach <dave@barachs.net>2018-02-23 12:12:04 -0500
commita0cc5ab6d4873164bcb6cdae02b928e49553d13a (patch)
treece34f8dfb715a3b42f7ef380e645b0d721deea35 /src/vnet.am
parent1355fcd36f9ad63bbdc7ebd300c1c18b9520498b (diff)
Convert a pcap file to a set of C initializers
Change-Id: Ieb6b7a75fa23c8142ae15f42cd3a703253f39e10 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet.am')
-rw-r--r--src/vnet.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vnet.am b/src/vnet.am
index a5fb061c5d6..204c3c2c358 100644
--- a/src/vnet.am
+++ b/src/vnet.am
@@ -1236,6 +1236,13 @@ pcap2pg_SOURCES = \
pcap2pg_LDFLAGS = -static
pcap2pg_LDADD = libvnet.la libvppinfra.la -lpthread libvlibmemory.la -lm -ldl
-noinst_PROGRAMS += pcap2pg
+pcap2cinit_SOURCES = \
+ vnet/unix/pcap2cinit.c \
+ vnet/unix/pcap.h
+
+pcap2cinit_LDFLAGS = -static
+pcap2cinit_LDADD = libvnet.la libvppinfra.la -lpthread libvlibmemory.la -lm -ldl
+
+noinst_PROGRAMS += pcap2pg pcap2cinit
# vi:syntax=automake