blob: 44a8e2bd141122365727b2039293bd4803a937ba [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 \
Andrew Yourtchenkobeb1a8d2016-11-25 12:54:04 +00006 vlib-install \
7 vpp-api-install
Ole Troan3b3688f2016-06-15 14:29:08 +02008
9plugins_CPPFLAGS = $(call installed_includes_fn, \
10 vppinfra \
11 vlib \
Shwetha355cf682016-06-21 05:02:32 +010012 vnet \
13 svm \
14 vpp-api-test \
Marek Gradzki4c42e912016-08-09 13:23:08 +020015 vlib-api \
16 vpp-api)
Ole Troan3b3688f2016-06-15 14:29:08 +020017
18plugins_LDFLAGS = $(call installed_libs_fn, \
19 vppinfra \
20 vlib \
21 vlib-api)
22
23ifeq ($($(PLATFORM)_enable_tests),yes)
24plugins_configure_args += --enable-tests
25endif
26
27# Platform dependent configure flags
28plugins_configure_args += $(plugins_configure_args_$(PLATFORM))
29
30# include & link with openssl only if needed
31ifneq ($($(PLATFORM)_uses_openssl),no)
32plugins_CPPFLAGS += $(call installed_includes_fn, openssl)
33plugins_LDFLAGS += $(call installed_libs_fn, openssl)
34endif
35
36ifneq ($($(PLATFORM)_uses_dpdk),no)
37ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
38plugins_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
39plugins_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
40else
41plugins_configure_depend += dpdk-install
42plugins_CPPFLAGS += $(call installed_includes_fn, dpdk)
43plugins_LDFLAGS += $(call installed_libs_fn, dpdk)
44endif
45endif