]> git.proxmox.com Git - mirror_ovs.git/blame - datapath/Modules.mk
ofp-actions: export OVSINST_OFPIT11_xxx
[mirror_ovs.git] / datapath / Modules.mk
CommitLineData
064af421
BP
1# Some modules should be built and distributed, e.g. openvswitch.
2#
3# Some modules should be distributed but not built, e.g. we do not build
d8965755 4# brcompat if configured without it
064af421
BP
5#
6# Some modules should be built but not distributed, e.g. third-party
7# hwtable modules.
8both_modules = openvswitch
9build_modules = $(both_modules) # Modules to build
10dist_modules = $(both_modules) # Modules to distribute
11
12openvswitch_sources = \
13 actions.c \
dd8d6b8c 14 checksum.c \
064af421 15 datapath.c \
064af421 16 dp_notify.c \
2ba9026e
BP
17 dp_sysfs_dp.c \
18 dp_sysfs_if.c \
064af421 19 flow.c \
b9c15df9 20 genl_exec.c \
d1eb60cc 21 tunnel.c \
6e0ce48e 22 vlan.c \
f2459fe7 23 vport.c \
e90b1cf9 24 vport-capwap.c \
b19e8815 25 vport-generic.c \
2736b84e 26 vport-gre.c \
f2459fe7 27 vport-internal_dev.c \
4fe64886
JG
28 vport-netdev.c \
29 vport-patch.c
064af421
BP
30
31openvswitch_headers = \
dd8d6b8c 32 checksum.h \
9cb8d24d 33 compat.h \
064af421 34 datapath.h \
2ba9026e 35 dp_sysfs.h \
f2459fe7 36 flow.h \
b9c15df9 37 genl_exec.h \
d1eb60cc 38 tunnel.h \
6e0ce48e 39 vlan.h \
f2459fe7 40 vport.h \
2a4999f3 41 vport-capwap.h \
b19e8815 42 vport-generic.h \
f2459fe7
JG
43 vport-internal_dev.h \
44 vport-netdev.h
064af421 45
40a75177 46openvswitch_extras = \
fea393b1 47 README \
40a75177
VG
48 CAPWAP.txt
49
064af421
BP
50dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
51dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
40a75177 52dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
064af421
BP
53build_sources = $(foreach module,$(build_modules),$($(module)_sources))
54build_headers = $(foreach module,$(build_modules),$($(module)_headers))
55build_links = $(notdir $(build_sources))
56build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))