blob: 38edb5bc50a0d11011ffc07aebd19c4f490ebd0b [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001vpp-api-test_configure_depend = \
2 vppinfra-install \
Ed Warnickecb9cada2015-12-08 15:45:58 -07003 svm-install \
4 vlib-api-install \
5 vlib-install \
6 vnet-install \
7 vpp-install
8
Ed Warnickecb9cada2015-12-08 15:45:58 -07009vpp-api-test_CPPFLAGS = $(call installed_includes_fn, \
Dave Barach61efa142016-01-22 08:23:09 -050010 vppinfra \
Dave Barach61efa142016-01-22 08:23:09 -050011 svm \
12 vlib \
13 vlib-api \
14 vnet \
Ed Warnickecb9cada2015-12-08 15:45:58 -070015 vpp)
16
17vpp-api-test_LDFLAGS = $(call installed_libs_fn, \
Dave Barach61efa142016-01-22 08:23:09 -050018 vppinfra \
Dave Barach61efa142016-01-22 08:23:09 -050019 svm \
20 vlib \
21 vlib-api \
22 vnet \
Ed Warnickecb9cada2015-12-08 15:45:58 -070023 vpp)
24
Damjan Marion1d49c982016-03-25 21:20:03 +010025ifneq ($($(PLATFORM)_uses_dpdk),no)
26vpp-api-test_configure_args = --with-dpdk
Damjan Marion28e3db92016-04-01 12:35:17 +020027ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
28vpp-api-test_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
29vpp-api-test_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
30else
Damjan Marion1d49c982016-03-25 21:20:03 +010031vpp-api-test_configure_depend += dpdk-install
32vpp-api-test_CPPFLAGS += $(call installed_includes_fn, dpdk)
33vpp-api-test_LDFLAGS += $(call installed_libs_fn, dpdk)
34endif
Damjan Marion28e3db92016-04-01 12:35:17 +020035endif