]> git.proxmox.com Git - mirror_ovs.git/blob - datapath/Modules.mk
openvswitch: Remove Linux bridge compatibility.
[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 checksum.c \
12 datapath.c \
13 dp_notify.c \
14 flow.c \
15 genl_exec.c \
16 tunnel.c \
17 vlan.c \
18 vport.c \
19 vport-capwap.c \
20 vport-gre.c \
21 vport-internal_dev.c \
22 vport-netdev.c \
23 vport-patch.c \
24 vport-vxlan.c
25
26 openvswitch_headers = \
27 checksum.h \
28 compat.h \
29 datapath.h \
30 flow.h \
31 genl_exec.h \
32 tunnel.h \
33 vlan.h \
34 vport.h \
35 vport-capwap.h \
36 vport-internal_dev.h \
37 vport-netdev.h
38
39 openvswitch_extras = \
40 README \
41 CAPWAP.txt
42
43 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
44 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
45 dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
46 build_sources = $(foreach module,$(build_modules),$($(module)_sources))
47 build_headers = $(foreach module,$(build_modules),$($(module)_headers))
48 build_links = $(notdir $(build_sources))
49 build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))