1 # Some modules should be built and distributed, e.g. openvswitch.
3 # Some modules should be built but not distributed, e.g. third-party
5 build_multi_modules = \
8 $(build_multi_modules) \
14 # When changing the name of 'build_modules', please also update the
15 # print-build-modules in Makefile.am.
16 build_modules = $(both_modules) # Modules to build
17 dist_modules = $(both_modules) # Modules to distribute
19 openvswitch_sources = \
27 vport-internal_dev.c \
30 vport_geneve_sources = vport-geneve.c
31 vport_vxlan_sources = vport-vxlan.c
32 vport_gre_sources = vport-gre.c
33 vport_lisp_sources = vport-lisp.c
34 vport_stt_sources = vport-stt.c
36 openvswitch_headers = \
44 vport-internal_dev.h \
48 openvswitch_extras = \
51 dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
52 dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
53 dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
54 build_sources = $(foreach module,$(build_modules),$($(module)_sources))
55 build_headers = $(foreach module,$(build_modules),$($(module)_headers))
56 build_links = $(notdir $(build_sources))
57 build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))