]>
Commit | Line | Data |
---|---|---|
064af421 BP |
1 | # Some modules should be built and distributed, e.g. openvswitch. |
2 | # | |
3 | # Some modules should be distributed but not built, e.g. we do not build | |
d8965755 | 4 | # brcompat if configured without it |
064af421 BP |
5 | # |
6 | # Some modules should be built but not distributed, e.g. third-party | |
7 | # hwtable modules. | |
8 | both_modules = openvswitch | |
9 | build_modules = $(both_modules) # Modules to build | |
10 | dist_modules = $(both_modules) # Modules to distribute | |
11 | ||
12 | openvswitch_sources = \ | |
13 | actions.c \ | |
dd8d6b8c | 14 | checksum.c \ |
064af421 | 15 | datapath.c \ |
064af421 | 16 | dp_notify.c \ |
2ba9026e BP |
17 | dp_sysfs_dp.c \ |
18 | dp_sysfs_if.c \ | |
064af421 | 19 | flow.c \ |
b9c15df9 | 20 | genl_exec.c \ |
d1eb60cc | 21 | tunnel.c \ |
6e0ce48e | 22 | vlan.c \ |
f2459fe7 | 23 | vport.c \ |
e90b1cf9 | 24 | vport-capwap.c \ |
b19e8815 | 25 | vport-generic.c \ |
2736b84e | 26 | vport-gre.c \ |
f2459fe7 | 27 | vport-internal_dev.c \ |
4fe64886 JG |
28 | vport-netdev.c \ |
29 | vport-patch.c | |
064af421 BP |
30 | |
31 | openvswitch_headers = \ | |
dd8d6b8c | 32 | checksum.h \ |
9cb8d24d | 33 | compat.h \ |
064af421 | 34 | datapath.h \ |
2ba9026e | 35 | dp_sysfs.h \ |
f2459fe7 | 36 | flow.h \ |
b9c15df9 | 37 | genl_exec.h \ |
d1eb60cc | 38 | tunnel.h \ |
6e0ce48e | 39 | vlan.h \ |
f2459fe7 | 40 | vport.h \ |
2a4999f3 | 41 | vport-capwap.h \ |
b19e8815 | 42 | vport-generic.h \ |
f2459fe7 JG |
43 | vport-internal_dev.h \ |
44 | vport-netdev.h | |
064af421 | 45 | |
40a75177 | 46 | openvswitch_extras = \ |
fea393b1 | 47 | README \ |
40a75177 VG |
48 | CAPWAP.txt |
49 | ||
064af421 BP |
50 | dist_sources = $(foreach module,$(dist_modules),$($(module)_sources)) |
51 | dist_headers = $(foreach module,$(dist_modules),$($(module)_headers)) | |
40a75177 | 52 | dist_extras = $(foreach module,$(dist_modules),$($(module)_extras)) |
064af421 BP |
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))) |