Ole Troan | 3b3688f | 2016-06-15 14:29:08 +0200 | [diff] [blame] | 1 | plugins_configure_depend = \ |
| 2 | vppinfra-install \ |
| 3 | vlib-api-install \ |
Shwetha | 355cf68 | 2016-06-21 05:02:32 +0100 | [diff] [blame] | 4 | vpp-api-test-install \ |
| 5 | vnet-install \ |
Ole Troan | 3b3688f | 2016-06-15 14:29:08 +0200 | [diff] [blame] | 6 | vlib-install |
| 7 | |
| 8 | plugins_CPPFLAGS = $(call installed_includes_fn, \ |
| 9 | vppinfra \ |
| 10 | vlib \ |
Shwetha | 355cf68 | 2016-06-21 05:02:32 +0100 | [diff] [blame] | 11 | vnet \ |
| 12 | svm \ |
| 13 | vpp-api-test \ |
Ole Troan | 3b3688f | 2016-06-15 14:29:08 +0200 | [diff] [blame] | 14 | vlib-api) |
| 15 | |
| 16 | plugins_LDFLAGS = $(call installed_libs_fn, \ |
| 17 | vppinfra \ |
| 18 | vlib \ |
| 19 | vlib-api) |
| 20 | |
| 21 | ifeq ($($(PLATFORM)_enable_tests),yes) |
| 22 | plugins_configure_args += --enable-tests |
| 23 | endif |
| 24 | |
| 25 | # Platform dependent configure flags |
| 26 | plugins_configure_args += $(plugins_configure_args_$(PLATFORM)) |
| 27 | |
| 28 | # include & link with openssl only if needed |
| 29 | ifneq ($($(PLATFORM)_uses_openssl),no) |
| 30 | plugins_CPPFLAGS += $(call installed_includes_fn, openssl) |
| 31 | plugins_LDFLAGS += $(call installed_libs_fn, openssl) |
| 32 | endif |
| 33 | |
| 34 | ifneq ($($(PLATFORM)_uses_dpdk),no) |
| 35 | ifeq ($($(PLATFORM)_uses_external_dpdk),yes) |
| 36 | plugins_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir) |
| 37 | plugins_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir) |
| 38 | else |
| 39 | plugins_configure_depend += dpdk-install |
| 40 | plugins_CPPFLAGS += $(call installed_includes_fn, dpdk) |
| 41 | plugins_LDFLAGS += $(call installed_libs_fn, dpdk) |
| 42 | endif |
| 43 | endif |