blob: 58d46325441f30d0584a412cb1feaba8fd16c630 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001sample-plugin_configure_depend = \
2 vppinfra-install \
Ed Warnickecb9cada2015-12-08 15:45:58 -07003 svm-install \
4 vlib-api-install \
5 vlib-install \
6 vnet-install \
7 vpp-install \
8 vpp-api-test-install
9
Ed Warnickecb9cada2015-12-08 15:45:58 -070010sample-plugin_CPPFLAGS = $(call installed_includes_fn, \
11 vppinfra \
Ed Warnickecb9cada2015-12-08 15:45:58 -070012 openssl \
13 svm \
14 vlib \
15 vlib-api \
16 vnet \
17 vpp \
18 vpp-api-test)
19
20sample-plugin_LDFLAGS = $(call installed_libs_fn, \
21 vppinfra \
Ed Warnickecb9cada2015-12-08 15:45:58 -070022 openssl \
23 svm \
24 vlib \
25 vlib-api \
26 vnet \
27 vpp \
28 vpp-api-test)
29
30sample-plugin_post_install = \
31 mkdir -p $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/vlib_plugins ; \
32 cp $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/*.so \
33 $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/vlib_plugins
34
35sample-plugin_image_include = echo $(arch_lib_dir)/vlib_plugins
Damjan Marion1d49c982016-03-25 21:20:03 +010036
37ifneq ($($(PLATFORM)_uses_dpdk),no)
38sample-plugin_configure_args = --with-dpdk
39sample-plugin_configure_depend += dpdk-install
40sample-plugin_CPPFLAGS += $(call installed_includes_fn, dpdk)
41sample-plugin_LDFLAGS += $(call installed_libs_fn, dpdk)
42endif