dpdk: be a plugin
[vpp.git] / src / plugins / Makefile.am
index 987310b..c887789 100644 (file)
@@ -16,6 +16,7 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
 
 AM_CFLAGS = -Wall -I${top_srcdir} -I${top_builddir}
 AM_LDFLAGS = -module -shared -avoid-version
+AM_LIBTOOLFLAGS = --quiet
 SUFFIXES = .api.h .api .api.json
 API_FILES =
 BUILT_SOURCES =
@@ -23,6 +24,7 @@ vppplugins_LTLIBRARIES =
 vppapitestplugins_LTLIBRARIES =
 noinst_HEADERS =
 nobase_apiinclude_HEADERS =
+nobase_include_HEADERS =
 
 vppapitestpluginsdir = ${libdir}/vpp_api_test_plugins
 vpppluginsdir = ${libdir}/vpp_plugins
@@ -31,6 +33,10 @@ if ENABLE_ACL_PLUGIN
 include acl.am
 endif
 
+if WITH_DPDK
+include dpdk.am
+endif
+
 if ENABLE_FLOWPERPKT_PLUGIN
 include flowperpkt.am
 endif
@@ -73,6 +79,6 @@ api_DATA = \
        $(patsubst %.api,%.api.json,$(API_FILES))
 
 BUILT_SOURCES += \
-       $(patsubst %.api,%.api.json,$(API_FILES)) \
        $(patsubst %.api,%.api.h,$(API_FILES))
 
+CLEANFILES = $(BUILT_SOURCES) $(api_DATA)