]> git.proxmox.com Git - mirror_ovs.git/blame - datapath/Modules.mk
userspace: Avoid dp_hash recirculation for balance-tcp bond mode.
[mirror_ovs.git] / datapath / Modules.mk
CommitLineData
064af421
BP
1# Some modules should be built and distributed, e.g. openvswitch.
2#
064af421
BP
3# Some modules should be built but not distributed, e.g. third-party
4# hwtable modules.
5a38795f
TG
5build_multi_modules = \
6 openvswitch
7both_modules = \
8 $(build_multi_modules) \
9 vport_geneve \
10 vport_gre \
11 vport_lisp \
4237026e 12 vport_stt \
5a38795f 13 vport_vxlan
f315ae4f
AW
14# When changing the name of 'build_modules', please also update the
15# print-build-modules in Makefile.am.
064af421
BP
16build_modules = $(both_modules) # Modules to build
17dist_modules = $(both_modules) # Modules to distribute
18
19openvswitch_sources = \
20 actions.c \
a94ebc39 21 conntrack.c \
064af421 22 datapath.c \
064af421
BP
23 dp_notify.c \
24 flow.c \
a097c0b2
PS
25 flow_netlink.c \
26 flow_table.c \
f2459fe7
JG
27 vport.c \
28 vport-internal_dev.c \
907c26a8 29 vport-netdev.c \
1cb57039
AZ
30 nsh.c \
31 meter.c
5a38795f
TG
32
33vport_geneve_sources = vport-geneve.c
34vport_vxlan_sources = vport-vxlan.c
35vport_gre_sources = vport-gre.c
36vport_lisp_sources = vport-lisp.c
4237026e 37vport_stt_sources = vport-stt.c
907c26a8 38nsh_sources = nsh.c
064af421
BP
39
40openvswitch_headers = \
9cb8d24d 41 compat.h \
a94ebc39 42 conntrack.h \
064af421 43 datapath.h \
f2459fe7 44 flow.h \
a097c0b2
PS
45 flow_netlink.h \
46 flow_table.h \
f2459fe7
JG
47 vport.h \
48 vport-internal_dev.h \
1cb57039
AZ
49 vport-netdev.h \
50 meter.h
064af421
BP
51
52dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
53dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
40a75177 54dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
064af421
BP
55build_sources = $(foreach module,$(build_modules),$($(module)_sources))
56build_headers = $(foreach module,$(build_modules),$($(module)_headers))
57build_links = $(notdir $(build_sources))
58build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))