MAP: Move MAP-E/T to a plugin.
[vpp.git] / src / plugins / map.am
diff --git a/src/plugins/map.am b/src/plugins/map.am
new file mode 100644 (file)
index 0000000..555d700
--- /dev/null
@@ -0,0 +1,39 @@
+
+# Copyright (c) <current-year> <your-organization>
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+vppapitestplugins_LTLIBRARIES += map_test_plugin.la
+vppplugins_LTLIBRARIES += map_plugin.la
+
+map_plugin_la_SOURCES =                                \
+       map/ip4_map.c                           \
+       map/ip4_map_t.c                         \
+       map/ip6_map.c                           \
+       map/ip6_map_t.c                         \
+       map/map_api.c                           \
+       map/map.c                               \
+       map/map_dpo.c
+
+API_FILES += map/map.api
+
+nobase_apiinclude_HEADERS +=                   \
+       map/map_all_api_h.h                     \
+       map/map_msg_enum.h                      \
+       map/map.api.h                           \
+       map/map_dpo.h                           \
+       map/map.h
+
+map_test_plugin_la_SOURCES =                   \
+       map/map_test.c
+
+# vi:syntax=automake