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 | openssl \ |
| 10 | svm \ |
| 11 | vlib \ |
| 12 | vlib-api) |
| 13 | |
| 14 | vnet_LDFLAGS = $(call installed_libs_fn, \ |
| 15 | vppinfra \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 16 | openssl \ |
| 17 | svm \ |
| 18 | vlib \ |
| 19 | vlib-api) |
| 20 | |
| 21 | # Platform dependent configure flags |
| 22 | vnet_configure_args += $(vnet_configure_args_$(PLATFORM)) |
| 23 | |
Damjan Marion | 802c7fa | 2016-02-27 00:12:55 +0100 | [diff] [blame] | 24 | ifneq ($($(PLATFORM)_uses_dpdk),no) |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 25 | ifeq ($($(PLATFORM)_uses_external_dpdk),yes) |
| 26 | vnet_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir) |
| 27 | vnet_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir) |
| 28 | else |
Damjan Marion | e936bbe | 2016-02-25 23:17:38 +0100 | [diff] [blame] | 29 | vnet_configure_depend += dpdk-install |
| 30 | vnet_CPPFLAGS += $(call installed_includes_fn, dpdk) |
| 31 | vnet_LDFLAGS += $(call installed_libs_fn, dpdk) |
| 32 | endif |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 33 | endif |