Initial commit of vpp code.
[vpp.git] / build-data / packages / sample-plugin.mk
1 sample-plugin_configure_depend =                \
2         vppinfra-install                        \
3         dpdk-install                            \
4         svm-install                             \
5         vlib-api-install                        \
6         vlib-install                            \
7         vnet-install                            \
8         vpp-install                             \
9         vpp-api-test-install
10
11
12 sample-plugin_configure_args = --with-q-platform=$(PLATFORM) --with-dpdk
13
14 sample-plugin_CPPFLAGS = $(call installed_includes_fn,  \
15         vppinfra                                        \
16         dpdk                                            \
17         openssl                                         \
18         svm                                             \
19         vlib                                            \
20         vlib-api                                        \
21         vnet                                            \
22         vpp                                             \
23         vpp-api-test)
24
25 sample-plugin_LDFLAGS = $(call installed_libs_fn,       \
26         vppinfra                                        \
27         dpdk                                            \
28         openssl                                         \
29         svm                                             \
30         vlib                                            \
31         vlib-api                                        \
32         vnet                                            \
33         vpp                                             \
34         vpp-api-test)
35
36 sample-plugin_post_install = \
37         mkdir -p $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/vlib_plugins ;  \
38         cp $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/*.so                  \
39           $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/vlib_plugins
40
41 sample-plugin_image_include = echo $(arch_lib_dir)/vlib_plugins