blob: f96235f4f0c27bac643c49afe036821687064c19 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001vpp_configure_depend = \
2 vppinfra-install \
Ed Warnickecb9cada2015-12-08 15:45:58 -07003 svm-install \
4 vlib-api-install \
5 vlib-install \
6 vnet-install \
7
8#
Damjan Marion28e3db92016-04-01 12:35:17 +02009ifeq ($($(PLATFORM)_dpdk_shared_lib),yes)
10vpp_configure_args = --enable-dpdk-shared
11else
12vpp_configure_args =
13endif
Ed Warnickecb9cada2015-12-08 15:45:58 -070014
15# Platform dependent configure flags
16vpp_configure_args += $(vpp_configure_args_$(PLATFORM))
17
18
19vpp_CPPFLAGS = $(call installed_includes_fn, \
20 vppinfra \
Ed Warnickecb9cada2015-12-08 15:45:58 -070021 openssl \
22 svm \
23 vlib \
24 vlib-api \
25 vnet)
26
27vpp_LDFLAGS = $(call installed_libs_fn, \
28 vppinfra \
Ed Warnickecb9cada2015-12-08 15:45:58 -070029 openssl \
30 svm \
31 vlib \
32 vlib-api \
33 vnet)
Damjan Marione936bbe2016-02-25 23:17:38 +010034
Damjan Marion802c7fa2016-02-27 00:12:55 +010035ifneq ($($(PLATFORM)_uses_dpdk),no)
Damjan Marion28e3db92016-04-01 12:35:17 +020036ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
37vpp_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
38vpp_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
39else
Damjan Marione936bbe2016-02-25 23:17:38 +010040vpp_configure_depend += dpdk-install
41vpp_CPPFLAGS += $(call installed_includes_fn, dpdk)
42vpp_LDFLAGS += $(call installed_libs_fn, dpdk)
43endif
Damjan Marion28e3db92016-04-01 12:35:17 +020044endif