]> git.proxmox.com Git - ovs.git/blame - datapath/Modules.mk
ovs-hyperv: make kernel return values netlink socket like
[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 \
12 vport_vxlan
f315ae4f
AW
13# When changing the name of 'build_modules', please also update the
14# print-build-modules in Makefile.am.
064af421
BP
15build_modules = $(both_modules) # Modules to build
16dist_modules = $(both_modules) # Modules to distribute
17
18openvswitch_sources = \
19 actions.c \
20 datapath.c \
064af421
BP
21 dp_notify.c \
22 flow.c \
a097c0b2
PS
23 flow_netlink.c \
24 flow_table.c \
f2459fe7
JG
25 vport.c \
26 vport-internal_dev.c \
5a38795f
TG
27 vport-netdev.c
28
29vport_geneve_sources = vport-geneve.c
30vport_vxlan_sources = vport-vxlan.c
31vport_gre_sources = vport-gre.c
32vport_lisp_sources = vport-lisp.c
064af421
BP
33
34openvswitch_headers = \
9cb8d24d 35 compat.h \
064af421 36 datapath.h \
f2459fe7 37 flow.h \
a097c0b2
PS
38 flow_netlink.h \
39 flow_table.h \
6e0ce48e 40 vlan.h \
f2459fe7
JG
41 vport.h \
42 vport-internal_dev.h \
0c7930a3
TG
43 vport-netdev.h \
44 vport-vxlan.h
064af421 45
40a75177 46openvswitch_extras = \
542cc9bb 47 README.md
40a75177 48
064af421
BP
49dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
50dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
40a75177 51dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
064af421
BP
52build_sources = $(foreach module,$(build_modules),$($(module)_sources))
53build_headers = $(foreach module,$(build_modules),$($(module)_headers))
54build_links = $(notdir $(build_sources))
55build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))