]> git.proxmox.com Git - mirror_ovs.git/blob - datapath/Modules.mk
datapath: Remove checksum compat support
[mirror_ovs.git] / datapath / Modules.mk
1 # Some modules should be built and distributed, e.g. openvswitch.
2 #
3 # Some modules should be built but not distributed, e.g. third-party
4 # hwtable modules.
5 both_modules = openvswitch
6 build_modules = $(both_modules) # Modules to build
7 dist_modules = $(both_modules) # Modules to distribute
8
9 openvswitch_sources = \
10 actions.c \
11 datapath.c \
12 dp_notify.c \
13 flow.c \
14 vlan.c \
15 vport.c \
16 vport-gre.c \
17 vport-internal_dev.c \
18 vport-lisp.c \
19 vport-netdev.c \
20 vport-vxlan.c
21
22 openvswitch_headers = \
23 compat.h \
24 datapath.h \
25 flow.h \
26 vlan.h \
27 vport.h \
28 vport-internal_dev.h \
29 vport-netdev.h
30
31 openvswitch_extras = \
32 README
33
34 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
35 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
36 dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
37 build_sources = $(foreach module,$(build_modules),$($(module)_sources))
38 build_headers = $(foreach module,$(build_modules),$($(module)_headers))
39 build_links = $(notdir $(build_sources))
40 build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))