Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | vnet_configure_depend = \ |
| 2 | vppinfra-install \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 3 | svm-install \ |
| 4 | vlib-api-install \ |
| 5 | vlib-install |
| 6 | |
| 7 | vnet_CPPFLAGS = $(call installed_includes_fn, \ |
| 8 | vppinfra \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 9 | svm \ |
| 10 | vlib \ |
| 11 | vlib-api) |
| 12 | |
| 13 | vnet_LDFLAGS = $(call installed_libs_fn, \ |
| 14 | vppinfra \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 15 | svm \ |
| 16 | vlib \ |
| 17 | vlib-api) |
| 18 | |
Filip Tehlar | 254b036 | 2016-04-07 10:04:34 +0200 | [diff] [blame] | 19 | ifeq ($($(PLATFORM)_enable_tests),yes) |
| 20 | vnet_configure_args += --enable-tests |
| 21 | endif |
| 22 | |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 23 | # Platform dependent configure flags |
| 24 | vnet_configure_args += $(vnet_configure_args_$(PLATFORM)) |
| 25 | |
Christophe Fontaine | fef15b4 | 2016-04-09 12:38:49 +0900 | [diff] [blame] | 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 | |
Damjan Marion | 802c7fa | 2016-02-27 00:12:55 +0100 | [diff] [blame] | 32 | ifneq ($($(PLATFORM)_uses_dpdk),no) |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 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 |
Damjan Marion | e936bbe | 2016-02-25 23:17:38 +0100 | [diff] [blame] | 37 | vnet_configure_depend += dpdk-install |
| 38 | vnet_CPPFLAGS += $(call installed_includes_fn, dpdk) |
| 39 | vnet_LDFLAGS += $(call installed_libs_fn, dpdk) |
| 40 | endif |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 41 | endif |