Fixed vxlan link status.
[vpp.git] / vnet / Makefile.am
index 81cc012..cf1fb1e 100644 (file)
@@ -16,7 +16,6 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
 AM_CFLAGS = -Wall @DPDK@ @VIRL@ @IPSEC@ @VCGN@ @IPV6SR@
 
 libvnet_la_SOURCES =
-libvnetplugin_la_SOURCES =
 nobase_include_HEADERS =
 noinst_PROGRAMS =
 
@@ -42,6 +41,7 @@ nobase_include_HEADERS +=                     \
   vnet/interface_funcs.h                       \
   vnet/l3_types.h                              \
   vnet/pipeline.h                              \
+  vnet/plugin/plugin.h                         \
   vnet/replication.h                           \
   vnet/rewrite.h                               \
   vnet/vnet.h
@@ -59,6 +59,18 @@ nobase_include_HEADERS +=                    \
   vnet/policer/police.h                                \
   vnet/policer/xlate.h
 
+########################################
+# Cop - junk filter
+########################################
+
+libvnet_la_SOURCES +=                          \
+  vnet/cop/cop.c                               \
+  vnet/cop/node1.c                             \
+  vnet/cop/ip4_whitelist.c                     \
+  vnet/cop/ip6_whitelist.c     
+
+nobase_include_HEADERS +=                      \
+  vnet/cop/cop.h
 
 ########################################
 # Layer 2 protocols go here
@@ -191,9 +203,20 @@ libvnet_la_SOURCES +=                              \
 
 nobase_include_HEADERS +=                      \
   vnet/vxlan/vxlan.h                           \
-  vnet/vxlan/vxlan_packet.h         \
+  vnet/vxlan/vxlan_packet.h                    \
   vnet/vxlan/vxlan_error.def
 
+########################################
+# Layer 2 / CDP
+########################################
+libvnet_la_SOURCES +=                          \
+  vnet/cdp/cdp_input.c                         \
+  vnet/cdp/cdp_node.c                          \
+  vnet/cdp/cdp_periodic.c      
+
+nobase_include_HEADERS +=                      \
+  vnet/cdp/cdp_protocol.h
+
 ########################################
 # Layer 2/3 "classify"
 ########################################
@@ -211,12 +234,6 @@ nobase_include_HEADERS +=                  \
 # Layer 3 protocols go here
 ########################################
 
-# vnet/ip/tcp.c                                        \
-# vnet/ip/tcp_format.c                         \
-# vnet/ip/tcp_init.c                           \
-# vnet/ip/tcp_pg.c                             
-
-
 ########################################
 # Layer 3 protocol: IP v4/v6
 ########################################
@@ -269,7 +286,6 @@ nobase_include_HEADERS +=                   \
  vnet/ip/ip_packet.h                           \
  vnet/ip/ports.def                             \
  vnet/ip/protocols.def                         \
- vnet/ip/tcp.h                                 \
  vnet/ip/tcp_packet.h                          \
  vnet/ip/udp.h                                 \
  vnet/ip/udp_error.def                         \
@@ -283,7 +299,6 @@ libvnet_la_SOURCES +=                               \
  vnet/ipsec/ipsec.c                            \
  vnet/ipsec/ipsec_cli.c                        \
  vnet/ipsec/ipsec_format.c                     \
- vnet/ipsec/ipsec_output.c                     \
  vnet/ipsec/ipsec_input.c                      \
  vnet/ipsec/ipsec_if.c                         \
  vnet/ipsec/ipsec_if_in.c                      \
@@ -297,6 +312,9 @@ libvnet_la_SOURCES +=                               \
  vnet/ipsec/ikev2_format.c
 endif 
 
+libvnet_la_SOURCES +=                          \
+ vnet/ipsec/ipsec_output.c
+
 nobase_include_HEADERS +=                      \
  vnet/ipsec/ipsec.h                             \
  vnet/ipsec/esp.h                              \
@@ -554,6 +572,7 @@ if WITH_DPDK
 libvnet_la_SOURCES +=                          \
   vnet/devices/dpdk/dpdk_priv.h                \
   vnet/devices/dpdk/device.c           \
+  vnet/devices/dpdk/format.c           \
   vnet/devices/dpdk/init.c                     \
   vnet/devices/dpdk/node.c                     \
   vnet/devices/dpdk/threads.c       \
@@ -604,17 +623,7 @@ nobase_include_HEADERS +=                  \
   vnet/unix/tuntap.h                           \
   vnet/unix/tapcli.h
 
-########################################
-# Plugin client library
-########################################
-
-libvnetplugin_la_SOURCES +=                    \
-  vnet/plugin/p1.c
-
-nobase_include_HEADERS +=                      \
-  vnet/plugin/plugin.h
-
-lib_LTLIBRARIES = libvnet.la libvnetplugin.la
+lib_LTLIBRARIES = libvnet.la 
 
 dpdk_libs =