]>
git.proxmox.com Git - mirror_ovs.git/blob - datapath/Modules.mk
1 # Some modules should be built and distributed, e.g. openvswitch.
3 # Some modules should be distributed but not built, e.g. we do not build
4 # brcompat if configured without it
6 # Some modules should be built but not distributed, e.g. third-party
8 both_modules
= openvswitch
9 build_modules
= $(both_modules
) # Modules to build
10 dist_modules
= $(both_modules
) # Modules to distribute
12 openvswitch_sources
= \
27 vport-internal_dev.c \
31 openvswitch_headers
= \
43 vport-internal_dev.h \
46 openvswitch_extras
= \
50 dist_sources
= $(foreach module
,$(dist_modules
),$($(module
)_sources
))
51 dist_headers
= $(foreach module
,$(dist_modules
),$($(module
)_headers
))
52 dist_extras
= $(foreach module
,$(dist_modules
),$($(module
)_extras
))
53 build_sources
= $(foreach module
,$(build_modules
),$($(module
)_sources
))
54 build_headers
= $(foreach module
,$(build_modules
),$($(module
)_headers
))
55 build_links
= $(notdir $(build_sources
))
56 build_objects
= $(notdir $(patsubst %.c
,%.o
,$(build_sources
)))