2009-07-08 13:19:16 -07:00
|
|
|
# Some modules should be built and distributed, e.g. openvswitch.
|
|
|
|
#
|
|
|
|
# Some modules should be built but not distributed, e.g. third-party
|
|
|
|
# hwtable modules.
|
|
|
|
both_modules = openvswitch
|
|
|
|
build_modules = $(both_modules) # Modules to build
|
|
|
|
dist_modules = $(both_modules) # Modules to distribute
|
|
|
|
|
|
|
|
openvswitch_sources = \
|
|
|
|
actions.c \
|
|
|
|
datapath.c \
|
|
|
|
dp_notify.c \
|
|
|
|
flow.c \
|
2013-09-11 20:26:11 -07:00
|
|
|
flow_netlink.c \
|
|
|
|
flow_table.c \
|
2010-04-12 15:53:39 -04:00
|
|
|
vport.c \
|
2014-06-05 19:07:32 -07:00
|
|
|
vport-geneve.c \
|
2010-04-17 15:23:31 -04:00
|
|
|
vport-gre.c \
|
2010-04-12 15:53:39 -04:00
|
|
|
vport-internal_dev.c \
|
2013-02-21 21:52:04 -08:00
|
|
|
vport-lisp.c \
|
2010-05-10 13:07:28 -07:00
|
|
|
vport-netdev.c \
|
2012-12-05 16:06:46 -05:00
|
|
|
vport-vxlan.c
|
2009-07-08 13:19:16 -07:00
|
|
|
|
|
|
|
openvswitch_headers = \
|
2011-03-11 14:58:18 -08:00
|
|
|
compat.h \
|
2009-07-08 13:19:16 -07:00
|
|
|
datapath.h \
|
2010-04-12 15:53:39 -04:00
|
|
|
flow.h \
|
2013-09-11 20:26:11 -07:00
|
|
|
flow_netlink.h \
|
|
|
|
flow_table.h \
|
2014-06-24 20:56:57 +09:00
|
|
|
mpls.h \
|
2010-12-30 20:48:38 -08:00
|
|
|
vlan.h \
|
2010-04-12 15:53:39 -04:00
|
|
|
vport.h \
|
|
|
|
vport-internal_dev.h \
|
|
|
|
vport-netdev.h
|
2009-07-08 13:19:16 -07:00
|
|
|
|
2011-08-24 15:12:06 +09:00
|
|
|
openvswitch_extras = \
|
2013-02-19 12:45:57 -08:00
|
|
|
README
|
2011-08-24 15:12:06 +09:00
|
|
|
|
2009-07-08 13:19:16 -07:00
|
|
|
dist_sources = $(foreach module,$(dist_modules),$($(module)_sources))
|
|
|
|
dist_headers = $(foreach module,$(dist_modules),$($(module)_headers))
|
2011-08-24 15:12:06 +09:00
|
|
|
dist_extras = $(foreach module,$(dist_modules),$($(module)_extras))
|
2009-07-08 13:19:16 -07:00
|
|
|
build_sources = $(foreach module,$(build_modules),$($(module)_sources))
|
|
|
|
build_headers = $(foreach module,$(build_modules),$($(module)_headers))
|
|
|
|
build_links = $(notdir $(build_sources))
|
|
|
|
build_objects = $(notdir $(patsubst %.c,%.o,$(build_sources)))
|