blob: 53040194b89e5a9e24ef8b5fc1241238b00de0d4 [file] [log] [blame]
Ole Troan3b3688f2016-06-15 14:29:08 +02001plugins_configure_depend = \
2 vppinfra-install \
3 vlib-api-install \
Shwetha355cf682016-06-21 05:02:32 +01004 vpp-api-test-install \
5 vnet-install \
Ole Troan3b3688f2016-06-15 14:29:08 +02006 vlib-install
7
8plugins_CPPFLAGS = $(call installed_includes_fn, \
9 vppinfra \
10 vlib \
Shwetha355cf682016-06-21 05:02:32 +010011 vnet \
12 svm \
13 vpp-api-test \
Marek Gradzki4c42e912016-08-09 13:23:08 +020014 vlib-api \
15 vpp-api)
Ole Troan3b3688f2016-06-15 14:29:08 +020016
17plugins_LDFLAGS = $(call installed_libs_fn, \
18 vppinfra \
19 vlib \
20 vlib-api)
21
22ifeq ($($(PLATFORM)_enable_tests),yes)
23plugins_configure_args += --enable-tests
24endif
25
26# Platform dependent configure flags
27plugins_configure_args += $(plugins_configure_args_$(PLATFORM))
28
29# include & link with openssl only if needed
30ifneq ($($(PLATFORM)_uses_openssl),no)
31plugins_CPPFLAGS += $(call installed_includes_fn, openssl)
32plugins_LDFLAGS += $(call installed_libs_fn, openssl)
33endif
34
35ifneq ($($(PLATFORM)_uses_dpdk),no)
36ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
37plugins_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
38plugins_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
39else
40plugins_configure_depend += dpdk-install
41plugins_CPPFLAGS += $(call installed_includes_fn, dpdk)
42plugins_LDFLAGS += $(call installed_libs_fn, dpdk)
43endif
44endif