Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.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         flow_netlink.c \
15         flow_table.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         compat.h \
25         datapath.h \
26         flow.h \
27         flow_netlink.h \
28         flow_table.h \
29         vlan.h \
30         vport.h \
31         vport-internal_dev.h \
32         vport-netdev.h
33
34 openvswitch_extras = \
35         README
36
37 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
38 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
39 dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
40 build_sources = $(foreach module,$(build_modules),$($(module)_sources))
41 build_headers = $(foreach module,$(build_modules),$($(module)_headers))
42 build_links = $(notdir $(build_sources))
43 build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))