Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | sample-plugin_configure_depend = \ |
| 2 | vppinfra-install \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 3 | svm-install \ |
| 4 | vlib-api-install \ |
| 5 | vlib-install \ |
| 6 | vnet-install \ |
| 7 | vpp-install \ |
| 8 | vpp-api-test-install |
| 9 | |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 10 | sample-plugin_CPPFLAGS = $(call installed_includes_fn, \ |
| 11 | vppinfra \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 12 | openssl \ |
| 13 | svm \ |
| 14 | vlib \ |
| 15 | vlib-api \ |
| 16 | vnet \ |
| 17 | vpp \ |
| 18 | vpp-api-test) |
| 19 | |
| 20 | sample-plugin_LDFLAGS = $(call installed_libs_fn, \ |
| 21 | vppinfra \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 22 | openssl \ |
| 23 | svm \ |
| 24 | vlib \ |
| 25 | vlib-api \ |
| 26 | vnet \ |
| 27 | vpp \ |
| 28 | vpp-api-test) |
| 29 | |
| 30 | sample-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 | |
| 35 | sample-plugin_image_include = echo $(arch_lib_dir)/vlib_plugins |
Damjan Marion | 1d49c98 | 2016-03-25 21:20:03 +0100 | [diff] [blame] | 36 | |
| 37 | ifneq ($($(PLATFORM)_uses_dpdk),no) |
| 38 | sample-plugin_configure_args = --with-dpdk |
| 39 | sample-plugin_configure_depend += dpdk-install |
| 40 | sample-plugin_CPPFLAGS += $(call installed_includes_fn, dpdk) |
| 41 | sample-plugin_LDFLAGS += $(call installed_libs_fn, dpdk) |
| 42 | endif |