]> git.proxmox.com Git - mirror_ovs.git/blob - datapath/Modules.mk
datapath: Move generic tunnel functions to lisp module.
[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 vlan.c \
16 vport.c \
17 vport-gre.c \
18 vport-internal_dev.c \
19 vport-lisp.c \
20 vport-netdev.c \
21 vport-vxlan.c
22
23 openvswitch_headers = \
24 checksum.h \
25 compat.h \
26 datapath.h \
27 flow.h \
28 vlan.h \
29 vport.h \
30 vport-internal_dev.h \
31 vport-netdev.h
32
33 openvswitch_extras = \
34 README
35
36 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
37 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
38 dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
39 build_sources = $(foreach module,$(build_modules),$($(module)_sources))
40 build_headers = $(foreach module,$(build_modules),$($(module)_headers))
41 build_links = $(notdir $(build_sources))
42 build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))