LISP mapping timers
[vpp.git] / build-data / packages / vnet.mk
1 vnet_configure_depend =                         \
2     vppinfra-install                            \
3     svm-install                                 \
4     vlib-api-install                            \
5     vlib-install 
6
7 vnet_CPPFLAGS = $(call installed_includes_fn,   \
8     vppinfra                                    \
9     svm                                         \
10     vlib                                        \
11     vlib-api)
12
13 vnet_LDFLAGS = $(call installed_libs_fn,        \
14     vppinfra                                    \
15     svm                                         \
16     vlib                                        \
17     vlib-api)
18
19 ifeq ($($(PLATFORM)_enable_tests),yes)
20 vnet_configure_args += --enable-tests
21 endif
22
23 # Platform dependent configure flags
24 vnet_configure_args += $(vnet_configure_args_$(PLATFORM))
25
26 # include & link with openssl only if needed
27 ifneq ($($(PLATFORM)_uses_openssl),no)
28 vnet_CPPFLAGS += $(call installed_includes_fn, openssl)
29 vnet_LDFLAGS += $(call installed_libs_fn, openssl)
30 endif
31
32 ifneq ($($(PLATFORM)_uses_dpdk),no)
33 ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
34 vnet_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
35 vnet_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
36 else
37 vnet_configure_depend += dpdk-install
38 vnet_CPPFLAGS += $(call installed_includes_fn, dpdk)
39 vnet_LDFLAGS += $(call installed_libs_fn, dpdk)
40 endif
41 ifeq ($($(PLATFORM)_uses_dpdk_cryptodev),yes)
42 vnet_configure_args += --with-dpdk-crypto
43 endif
44 endif