acl: rework headers to enable out-of-tree usage
[vpp.git] / src / plugins / acl / CMakeLists.txt
index 2040522..1bb60d9 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_vpp_plugin(acl_plugin
-  acl.api
+add_vpp_plugin(acl
+  SOURCES
   acl.c
   hash_lookup.c
   lookup_context.c
   sess_mgmt_node.c
   dataplane_node.c
+  dataplane_node_nonip.c
+
+  MULTIARCH_SOURCES
+  dataplane_node.c
+  dataplane_node_nonip.c
+
+  API_FILES
+  acl.api
+  acl_types.api
+
+  API_TEST_SOURCES
+  acl_test.c
+
+  INSTALL_HEADERS
+  exports.h
+  exported_types.h
+  acl.h
+  fa_node.h
+  public_inlines.h
+  types.h
+  hash_lookup_types.h
+  lookup_context.h
+  hash_lookup_private.h
 )