blob: 2ff9034a045c5407d6717c5dc224c63bdeb9b2b8 [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
21# Platform dependent configure flags
22vnet_configure_args += $(vnet_configure_args_$(PLATFORM))
23
Damjan Marion802c7fa2016-02-27 00:12:55 +010024ifneq ($($(PLATFORM)_uses_dpdk),no)
Damjan Marion28e3db92016-04-01 12:35:17 +020025ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
26vnet_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
27vnet_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
28else
Damjan Marione936bbe2016-02-25 23:17:38 +010029vnet_configure_depend += dpdk-install
30vnet_CPPFLAGS += $(call installed_includes_fn, dpdk)
31vnet_LDFLAGS += $(call installed_libs_fn, dpdk)
32endif
Damjan Marion28e3db92016-04-01 12:35:17 +020033endif