]>
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 built but not distributed, e.g. third-party
5 both_modules
= openvswitch
6 build_modules
= $(both_modules
) # Modules to build
7 dist_modules
= $(both_modules
) # Modules to distribute
9 openvswitch_sources
= \
19 vport-internal_dev.c \
24 openvswitch_headers
= \
32 vport-internal_dev.h \
35 openvswitch_extras
= \
38 dist_sources
= $(foreach module
,$(dist_modules
),$($(module
)_sources
))
39 dist_headers
= $(foreach module
,$(dist_modules
),$($(module
)_headers
))
40 dist_extras
= $(foreach module
,$(dist_modules
),$($(module
)_extras
))
41 build_sources
= $(foreach module
,$(build_modules
),$($(module
)_sources
))
42 build_headers
= $(foreach module
,$(build_modules
),$($(module
)_headers
))
43 build_links
= $(notdir $(build_sources
))
44 build_objects
= $(notdir $(patsubst %.c
,%.o
,$(build_sources
)))