numam-dpdk/examples
Bruce Richardson 1842d194c9 examples: enable linking both static and shared
Since the DPDK build now includes both static and shared libraries, we need
a new way to enable building the examples using either method from the one
installation. To do this, we add in a default "shared" target, and a
separate "static" target which links in the DPDK static libraries. In both
cases, the final application name is symlinked to the last-built static or
shared target, with both binaries able to co-exist in the build directory.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
2018-01-30 21:58:59 +01:00
..
bbdev_app examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
bond examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
cmdline examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
distributor examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
ethtool examples/ethtool: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
eventdev_pipeline examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
exception_path examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
flow_classify examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
flow_filtering examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
helloworld examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
ip_fragmentation examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
ip_pipeline examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
ip_reassembly examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
ipsec-secgw examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
ipv4_multicast examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
kni examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l2fwd examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l2fwd-cat examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l2fwd-crypto examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l2fwd-jobstats examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l2fwd-keepalive examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l3fwd examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l3fwd-acl examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l3fwd-power examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
l3fwd-vf examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
link_status_interrupt examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
load_balancer examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
multi_process examples: put app name and sources at top of makefiles 2018-01-30 21:58:59 +01:00
netmap_compat examples/netmap_compat: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
packet_ordering examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
performance-thread examples/performance-thread: convert to new offloads API 2018-01-16 18:47:49 +01:00
ptpclient examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
qos_meter examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
qos_sched examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
quota_watermark examples/quota_watermark: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
rxtx_callbacks examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
server_node_efd examples/server_node_efd: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
service_cores examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
skeleton examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
tep_termination examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
timer examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
vhost examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
vhost_scsi examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
vm_power_manager examples: use pkg-config in makefiles 2018-01-30 21:58:59 +01:00
vmdq examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
vmdq_dcb examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
Makefile examples/eventdev: rename example 2018-01-19 16:09:56 +01:00
meson.build build: build as both static and shared libs 2018-01-30 21:58:59 +01:00