Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 1 | vpp-api-test_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 | vnet-install \ |
| 7 | vpp-install |
| 8 | |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 9 | vpp-api-test_CPPFLAGS = $(call installed_includes_fn, \ |
Dave Barach | 61efa14 | 2016-01-22 08:23:09 -0500 | [diff] [blame] | 10 | vppinfra \ |
Dave Barach | 61efa14 | 2016-01-22 08:23:09 -0500 | [diff] [blame] | 11 | svm \ |
| 12 | vlib \ |
| 13 | vlib-api \ |
| 14 | vnet \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 15 | vpp) |
| 16 | |
| 17 | vpp-api-test_LDFLAGS = $(call installed_libs_fn, \ |
Dave Barach | 61efa14 | 2016-01-22 08:23:09 -0500 | [diff] [blame] | 18 | vppinfra \ |
Dave Barach | 61efa14 | 2016-01-22 08:23:09 -0500 | [diff] [blame] | 19 | svm \ |
| 20 | vlib \ |
| 21 | vlib-api \ |
| 22 | vnet \ |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 23 | vpp) |
| 24 | |
Damjan Marion | 1d49c98 | 2016-03-25 21:20:03 +0100 | [diff] [blame] | 25 | ifneq ($($(PLATFORM)_uses_dpdk),no) |
| 26 | vpp-api-test_configure_args = --with-dpdk |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 27 | ifeq ($($(PLATFORM)_uses_external_dpdk),yes) |
| 28 | vpp-api-test_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir) |
| 29 | vpp-api-test_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir) |
| 30 | else |
Damjan Marion | 1d49c98 | 2016-03-25 21:20:03 +0100 | [diff] [blame] | 31 | vpp-api-test_configure_depend += dpdk-install |
| 32 | vpp-api-test_CPPFLAGS += $(call installed_includes_fn, dpdk) |
| 33 | vpp-api-test_LDFLAGS += $(call installed_libs_fn, dpdk) |
| 34 | endif |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 35 | endif |