blob: 46d3c1d42dc7a4dd141371ddcc1056a8e1d1223e [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001vnet_configure_depend = \
2 vppinfra-install \
Ed Warnickecb9cada2015-12-08 15:45:58 -07003 svm-install \
4 vlib-api-install \
5 vlib-install
6
7vnet_CPPFLAGS = $(call installed_includes_fn, \
8 vppinfra \
Ed Warnickecb9cada2015-12-08 15:45:58 -07009 openssl \
10 svm \
11 vlib \
12 vlib-api)
13
14vnet_LDFLAGS = $(call installed_libs_fn, \
15 vppinfra \
Ed Warnickecb9cada2015-12-08 15:45:58 -070016 openssl \
17 svm \
18 vlib \
19 vlib-api)
20
Filip Tehlar254b0362016-04-07 10:04:34 +020021ifeq ($($(PLATFORM)_enable_tests),yes)
22vnet_configure_args += --enable-tests
23endif
24
Ed Warnickecb9cada2015-12-08 15:45:58 -070025# Platform dependent configure flags
26vnet_configure_args += $(vnet_configure_args_$(PLATFORM))
27
Damjan Marion802c7fa2016-02-27 00:12:55 +010028ifneq ($($(PLATFORM)_uses_dpdk),no)
Damjan Marion28e3db92016-04-01 12:35:17 +020029ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
30vnet_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
31vnet_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
32else
Damjan Marione936bbe2016-02-25 23:17:38 +010033vnet_configure_depend += dpdk-install
34vnet_CPPFLAGS += $(call installed_includes_fn, dpdk)
35vnet_LDFLAGS += $(call installed_libs_fn, dpdk)
36endif
Damjan Marion28e3db92016-04-01 12:35:17 +020037endif