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