2009-07-08 13:19:16 -07:00
|
|
|
# Some modules should be built and distributed, e.g. openvswitch.
|
|
|
|
#
|
|
|
|
# Some modules should be distributed but not built, e.g. we do not build
|
2012-03-13 16:21:55 -07:00
|
|
|
# brcompat if configured without it
|
2009-07-08 13:19:16 -07:00
|
|
|
#
|
|
|
|
# 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 \
|
2010-11-22 14:17:24 -08:00
|
|
|
checksum.c \
|
2009-07-08 13:19:16 -07:00
|
|
|
datapath.c \
|
|
|
|
dp_notify.c \
|
2009-08-05 12:56:23 -07:00
|
|
|
dp_sysfs_dp.c \
|
|
|
|
dp_sysfs_if.c \
|
2009-07-08 13:19:16 -07:00
|
|
|
flow.c \
|
2012-01-04 17:20:08 -08:00
|
|
|
genl_exec.c \
|
2010-08-10 20:11:48 -04:00
|
|
|
tunnel.c \
|
2010-12-30 20:48:38 -08:00
|
|
|
vlan.c \
|
2010-04-12 15:53:39 -04:00
|
|
|
vport.c \
|
2010-08-11 20:55:58 -04:00
|
|
|
vport-capwap.c \
|
2010-05-10 17:40:22 -07:00
|
|
|
vport-generic.c \
|
2010-04-17 15:23:31 -04:00
|
|
|
vport-gre.c \
|
2010-04-12 15:53:39 -04:00
|
|
|
vport-internal_dev.c \
|
2010-05-10 13:07:28 -07:00
|
|
|
vport-netdev.c \
|
|
|
|
vport-patch.c
|
2009-07-08 13:19:16 -07:00
|
|
|
|
|
|
|
openvswitch_headers = \
|
2010-11-22 14:17:24 -08:00
|
|
|
checksum.h \
|
2011-03-11 14:58:18 -08:00
|
|
|
compat.h \
|
2009-07-08 13:19:16 -07:00
|
|
|
datapath.h \
|
2009-08-05 12:56:23 -07:00
|
|
|
dp_sysfs.h \
|
2010-04-12 15:53:39 -04:00
|
|
|
flow.h \
|
2012-01-04 17:20:08 -08:00
|
|
|
genl_exec.h \
|
2010-08-10 20:11:48 -04:00
|
|
|
tunnel.h \
|
2010-12-30 20:48:38 -08:00
|
|
|
vlan.h \
|
2010-04-12 15:53:39 -04:00
|
|
|
vport.h \
|
2012-01-30 06:56:54 -08:00
|
|
|
vport-capwap.h \
|
2010-05-10 17:40:22 -07:00
|
|
|
vport-generic.h \
|
2010-04-12 15:53:39 -04:00
|
|
|
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 = \
|
2011-11-14 15:56:43 -08:00
|
|
|
README \
|
2011-08-24 15:12:06 +09:00
|
|
|
CAPWAP.txt
|
|
|
|
|
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)))
|