]>
Commit | Line | Data |
---|---|---|
4d73b2c4 | 1 | # Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 Nicira, Inc. |
a14bc59f BP |
2 | # |
3 | # Copying and distribution of this file, with or without modification, | |
4 | # are permitted in any medium without royalty provided the copyright | |
5 | # notice and this notice are preserved. This file is offered as-is, | |
6 | # without warranty of any kind. | |
7 | ||
38b7a52b | 8 | lib_LTLIBRARIES += lib/libopenvswitch.la |
064af421 | 9 | |
38b7a52b | 10 | lib_libopenvswitch_la_LIBADD = $(SSL_LIBS) |
1bbebfb7 | 11 | lib_libopenvswitch_la_LIBADD += $(CAPNG_LDADD) |
94887cf4 GS |
12 | |
13 | if WIN32 | |
14 | lib_libopenvswitch_la_LIBADD += ${PTHREAD_LIBS} | |
15 | endif | |
16 | ||
7f2f24e3 | 17 | lib_libopenvswitch_la_LDFLAGS = \ |
cb991590 | 18 | $(OVS_LTINFO) \ |
a4353e20 TG |
19 | -Wl,--version-script=$(top_builddir)/lib/libopenvswitch.sym \ |
20 | $(AM_LDFLAGS) | |
38b7a52b HS |
21 | |
22 | lib_libopenvswitch_la_SOURCES = \ | |
d918d9d1 BP |
23 | lib/aes128.c \ |
24 | lib/aes128.h \ | |
97eba8fc | 25 | lib/async-append.h \ |
064af421 BP |
26 | lib/backtrace.c \ |
27 | lib/backtrace.h \ | |
ccc09689 EJ |
28 | lib/bfd.c \ |
29 | lib/bfd.h \ | |
064af421 | 30 | lib/bitmap.h \ |
daff3353 EJ |
31 | lib/bundle.c \ |
32 | lib/bundle.h \ | |
10a24935 | 33 | lib/byte-order.h \ |
1c617a49 BP |
34 | lib/byteq.c \ |
35 | lib/byteq.h \ | |
b31bcf60 EJ |
36 | lib/cfm.c \ |
37 | lib/cfm.h \ | |
064af421 BP |
38 | lib/classifier.c \ |
39 | lib/classifier.h \ | |
38c449e0 | 40 | lib/classifier-private.h \ |
1c4dd424 JR |
41 | lib/ccmap.c \ |
42 | lib/ccmap.h \ | |
0e666160 BP |
43 | lib/cmap.c \ |
44 | lib/cmap.h \ | |
ef7b593b QM |
45 | lib/colors.c \ |
46 | lib/colors.h \ | |
064af421 BP |
47 | lib/command-line.c \ |
48 | lib/command-line.h \ | |
49 | lib/compiler.h \ | |
da4a6191 JS |
50 | lib/connectivity.c \ |
51 | lib/connectivity.h \ | |
b269a122 | 52 | lib/conntrack-icmp.c \ |
a489b168 DDP |
53 | lib/conntrack-private.h \ |
54 | lib/conntrack-tcp.c \ | |
55 | lib/conntrack-other.c \ | |
56 | lib/conntrack.c \ | |
57 | lib/conntrack.h \ | |
064af421 BP |
58 | lib/coverage.c \ |
59 | lib/coverage.h \ | |
97025b23 JS |
60 | lib/crc32c.c \ |
61 | lib/crc32c.h \ | |
064af421 BP |
62 | lib/csum.c \ |
63 | lib/csum.h \ | |
3948eb54 DDP |
64 | lib/ct-dpif.c \ |
65 | lib/ct-dpif.h \ | |
d6bc33f3 | 66 | lib/daemon.c \ |
064af421 | 67 | lib/daemon.h \ |
3834bcf2 | 68 | lib/daemon-private.h \ |
07ff77cc AW |
69 | lib/db-ctl-base.c \ |
70 | lib/db-ctl-base.h \ | |
195c8086 | 71 | lib/dhcp.h \ |
614c4892 BP |
72 | lib/dummy.c \ |
73 | lib/dummy.h \ | |
064af421 | 74 | lib/dhparams.h \ |
064af421 | 75 | lib/dirs.h \ |
fceef209 DDP |
76 | lib/dpctl.c \ |
77 | lib/dpctl.h \ | |
e14deea0 PS |
78 | lib/dp-packet.h \ |
79 | lib/dp-packet.c \ | |
01961bbd | 80 | lib/dpdk.h \ |
72865317 | 81 | lib/dpif-netdev.c \ |
df1e5a3b | 82 | lib/dpif-netdev.h \ |
96fba48f BP |
83 | lib/dpif-provider.h \ |
84 | lib/dpif.c \ | |
85 | lib/dpif.h \ | |
95974447 BP |
86 | lib/heap.c \ |
87 | lib/heap.h \ | |
064af421 | 88 | lib/dynamic-string.c \ |
e251c8d0 BP |
89 | lib/entropy.c \ |
90 | lib/entropy.h \ | |
b8e67377 BP |
91 | lib/fat-rwlock.c \ |
92 | lib/fat-rwlock.h \ | |
064af421 BP |
93 | lib/fatal-signal.c \ |
94 | lib/fatal-signal.h \ | |
064af421 BP |
95 | lib/flow.c \ |
96 | lib/flow.h \ | |
05067881 BP |
97 | lib/guarded-list.c \ |
98 | lib/guarded-list.h \ | |
064af421 BP |
99 | lib/hash.c \ |
100 | lib/hash.h \ | |
822b7f52 BP |
101 | lib/hindex.c \ |
102 | lib/hindex.h \ | |
064af421 | 103 | lib/hmap.c \ |
f4ac3fc1 BP |
104 | lib/hmapx.c \ |
105 | lib/hmapx.h \ | |
c3bd4bfc SH |
106 | lib/id-pool.c \ |
107 | lib/id-pool.h \ | |
c49d1dd1 BP |
108 | lib/jhash.c \ |
109 | lib/jhash.h \ | |
f38b84ea | 110 | lib/json.c \ |
f2129093 BP |
111 | lib/jsonrpc.c \ |
112 | lib/jsonrpc.h \ | |
6aa74308 EJ |
113 | lib/lacp.c \ |
114 | lib/lacp.h \ | |
aad84c8e | 115 | lib/latch.h \ |
75a75043 BP |
116 | lib/learn.c \ |
117 | lib/learn.h \ | |
064af421 BP |
118 | lib/learning-switch.c \ |
119 | lib/learning-switch.h \ | |
ac718c9d BP |
120 | lib/lockfile.c \ |
121 | lib/lockfile.h \ | |
064af421 BP |
122 | lib/mac-learning.c \ |
123 | lib/mac-learning.h \ | |
81a76618 | 124 | lib/match.c \ |
4a95091d FL |
125 | lib/mcast-snooping.c \ |
126 | lib/mcast-snooping.h \ | |
0d085684 BP |
127 | lib/memory.c \ |
128 | lib/memory.h \ | |
6a885fd0 | 129 | lib/meta-flow.c \ |
53ddd40a BP |
130 | lib/multipath.c \ |
131 | lib/multipath.h \ | |
01961bbd | 132 | lib/netdev-dpdk.h \ |
614c4892 | 133 | lib/netdev-dummy.c \ |
5146acb1 | 134 | lib/netdev-provider.h \ |
c060c4cf EJ |
135 | lib/netdev-vport.c \ |
136 | lib/netdev-vport.h \ | |
6b241d64 | 137 | lib/netdev-vport-private.h \ |
064af421 BP |
138 | lib/netdev.c \ |
139 | lib/netdev.h \ | |
9c8e276e | 140 | lib/netflow.h \ |
2fe27d5a BP |
141 | lib/netlink.c \ |
142 | lib/netlink.h \ | |
09246b99 BP |
143 | lib/nx-match.c \ |
144 | lib/nx-match.h \ | |
fe59694b JR |
145 | lib/object-collection.c \ |
146 | lib/object-collection.h \ | |
f094af7b SH |
147 | lib/odp-execute.c \ |
148 | lib/odp-execute.h \ | |
064af421 BP |
149 | lib/odp-util.c \ |
150 | lib/odp-util.h \ | |
f25d0cf3 | 151 | lib/ofp-actions.c \ |
dc4762ed | 152 | lib/ofp-errors.c \ |
982697a4 | 153 | lib/ofp-msgs.c \ |
f22716dc | 154 | lib/ofp-parse.c \ |
064af421 | 155 | lib/ofp-print.c \ |
c5562271 | 156 | lib/ofp-prop.c \ |
fa37b408 | 157 | lib/ofp-util.c \ |
020c9387 SH |
158 | lib/ofp-version-opt.h \ |
159 | lib/ofp-version-opt.c \ | |
064af421 | 160 | lib/ofpbuf.c \ |
31a3fc6e | 161 | lib/ovs-atomic-c11.h \ |
29ab0cf7 BP |
162 | lib/ovs-atomic-clang.h \ |
163 | lib/ovs-atomic-flag-gcc4.7+.h \ | |
31a3fc6e BP |
164 | lib/ovs-atomic-gcc4+.h \ |
165 | lib/ovs-atomic-gcc4.7+.h \ | |
105a9298 | 166 | lib/ovs-atomic-i586.h \ |
1bd2c9ed BP |
167 | lib/ovs-atomic-locked.c \ |
168 | lib/ovs-atomic-locked.h \ | |
ec2d2b5f | 169 | lib/ovs-atomic-msvc.h \ |
31a3fc6e | 170 | lib/ovs-atomic-pthreads.h \ |
f31841d5 | 171 | lib/ovs-atomic-x86_64.h \ |
31a3fc6e | 172 | lib/ovs-atomic.h \ |
be53a5c4 DF |
173 | lib/ovs-lldp.c \ |
174 | lib/ovs-lldp.h \ | |
93ce5762 DDP |
175 | lib/ovs-numa.c \ |
176 | lib/ovs-numa.h \ | |
0f2ea848 BP |
177 | lib/ovs-rcu.c \ |
178 | lib/ovs-rcu.h \ | |
2d2b28d5 | 179 | lib/ovs-router.h \ |
88ffdc93 | 180 | lib/ovs-router.c \ |
ec68790f BP |
181 | lib/ovs-thread.c \ |
182 | lib/ovs-thread.h \ | |
f85f8ebb BP |
183 | lib/ovsdb-data.c \ |
184 | lib/ovsdb-data.h \ | |
185 | lib/ovsdb-error.c \ | |
186 | lib/ovsdb-error.h \ | |
c3bb4bd7 BP |
187 | lib/ovsdb-idl-provider.h \ |
188 | lib/ovsdb-idl.c \ | |
189 | lib/ovsdb-idl.h \ | |
f199df26 EA |
190 | lib/ovsdb-map-op.c \ |
191 | lib/ovsdb-map-op.h \ | |
f1ab6e06 RM |
192 | lib/ovsdb-set-op.c \ |
193 | lib/ovsdb-set-op.h \ | |
16ebb90e LS |
194 | lib/ovsdb-condition.h \ |
195 | lib/ovsdb-condition.c \ | |
f85f8ebb BP |
196 | lib/ovsdb-parser.c \ |
197 | lib/ovsdb-parser.h \ | |
198 | lib/ovsdb-types.c \ | |
199 | lib/ovsdb-types.h \ | |
b9e8b45a | 200 | lib/packets.c \ |
064af421 | 201 | lib/packets.h \ |
2c78a3e6 SS |
202 | lib/pcap-file.c \ |
203 | lib/pcap-file.h \ | |
619c3a42 AZ |
204 | lib/perf-counter.h \ |
205 | lib/perf-counter.c \ | |
064af421 BP |
206 | lib/poll-loop.c \ |
207 | lib/poll-loop.h \ | |
064af421 BP |
208 | lib/process.c \ |
209 | lib/process.h \ | |
fe7cfa5c JR |
210 | lib/pvector.c \ |
211 | lib/pvector.h \ | |
064af421 BP |
212 | lib/random.c \ |
213 | lib/random.h \ | |
214 | lib/rconn.c \ | |
215 | lib/rconn.h \ | |
9f22b0cf | 216 | lib/rculist.h \ |
3ed497fc BP |
217 | lib/reconnect.c \ |
218 | lib/reconnect.h \ | |
9efd308e DV |
219 | lib/rstp.c \ |
220 | lib/rstp.h \ | |
221 | lib/rstp-common.h \ | |
222 | lib/rstp-state-machines.c \ | |
223 | lib/rstp-state-machines.h \ | |
064af421 | 224 | lib/sat-math.h \ |
55b40355 BP |
225 | lib/seq.c \ |
226 | lib/seq.h \ | |
064af421 BP |
227 | lib/sha1.c \ |
228 | lib/sha1.h \ | |
229 | lib/shash.c \ | |
44bac24b BP |
230 | lib/simap.c \ |
231 | lib/simap.h \ | |
79f1cbe9 EJ |
232 | lib/smap.c \ |
233 | lib/smap.h \ | |
064af421 BP |
234 | lib/socket-util.c \ |
235 | lib/socket-util.h \ | |
f85f8ebb BP |
236 | lib/sort.c \ |
237 | lib/sort.h \ | |
f391294f BP |
238 | lib/sset.c \ |
239 | lib/sset.h \ | |
829a7d02 JP |
240 | lib/stp.c \ |
241 | lib/stp.h \ | |
c48f691f | 242 | lib/stream-fd.c \ |
c34b65c7 BP |
243 | lib/stream-fd.h \ |
244 | lib/stream-provider.h \ | |
9467fe62 | 245 | lib/stream-ssl.h \ |
c34b65c7 | 246 | lib/stream-tcp.c \ |
c34b65c7 BP |
247 | lib/stream.c \ |
248 | lib/stream.h \ | |
cde1c287 | 249 | lib/stdio.c \ |
71d7c22f | 250 | lib/string.c \ |
064af421 BP |
251 | lib/svec.c \ |
252 | lib/svec.h \ | |
fe089c0d AA |
253 | lib/syslog-direct.c \ |
254 | lib/syslog-direct.h \ | |
255 | lib/syslog-libc.c \ | |
256 | lib/syslog-libc.h \ | |
257 | lib/syslog-provider.h \ | |
3a3eb9da BP |
258 | lib/table.c \ |
259 | lib/table.h \ | |
8650b075 EJ |
260 | lib/timer.c \ |
261 | lib/timer.h \ | |
064af421 BP |
262 | lib/timeval.c \ |
263 | lib/timeval.h \ | |
53902038 TLSC |
264 | lib/tnl-neigh-cache.c \ |
265 | lib/tnl-neigh-cache.h \ | |
a36de779 PS |
266 | lib/tnl-ports.c \ |
267 | lib/tnl-ports.h \ | |
6b241d64 PS |
268 | lib/netdev-native-tnl.c \ |
269 | lib/netdev-native-tnl.h \ | |
648f4f1f | 270 | lib/token-bucket.c \ |
9558d2a5 | 271 | lib/tun-metadata.c \ |
6159c531 | 272 | lib/tun-metadata.h \ |
afa3a931 | 273 | lib/unaligned.h \ |
f38b84ea BP |
274 | lib/unicode.c \ |
275 | lib/unicode.h \ | |
fa0361b7 GG |
276 | lib/unixctl.c \ |
277 | lib/unixctl.h \ | |
064af421 BP |
278 | lib/util.c \ |
279 | lib/util.h \ | |
fa0361b7 GG |
280 | lib/uuid.c \ |
281 | lib/uuid.h \ | |
064af421 BP |
282 | lib/valgrind.h \ |
283 | lib/vconn-provider.h \ | |
064af421 | 284 | lib/vconn-stream.c \ |
064af421 | 285 | lib/vconn.c \ |
44e0c35d | 286 | lib/versions.h \ |
aafee638 | 287 | lib/vl-mff-map.h \ |
0fb7b915 BP |
288 | lib/vlan-bitmap.c \ |
289 | lib/vlan-bitmap.h \ | |
064af421 | 290 | lib/vlog.c \ |
be53a5c4 DF |
291 | lib/lldp/aa-structs.h \ |
292 | lib/lldp/lldp.c \ | |
293 | lib/lldp/lldp-const.h \ | |
294 | lib/lldp/lldp-tlv.h \ | |
295 | lib/lldp/lldpd.c \ | |
296 | lib/lldp/lldpd.h \ | |
297 | lib/lldp/lldpd-structs.c \ | |
298 | lib/lldp/lldpd-structs.h | |
9d0581fd | 299 | |
4ca828d7 | 300 | if WIN32 |
9d0581fd | 301 | lib_libopenvswitch_la_SOURCES += \ |
fda546bd | 302 | lib/daemon-windows.c \ |
9d0581fd | 303 | lib/getopt_long.c \ |
1680d3d7 | 304 | lib/getrusage-windows.c \ |
6500157f | 305 | lib/latch-windows.c \ |
7482ddda | 306 | lib/route-table-stub.c \ |
e21c6643 | 307 | lib/if-notifier-stub.c \ |
922247c6 | 308 | lib/stream-windows.c \ |
c48f691f | 309 | lib/strsep.c |
4ca828d7 | 310 | else |
9d0581fd | 311 | lib_libopenvswitch_la_SOURCES += \ |
a91dc444 | 312 | lib/daemon-unix.c \ |
6500157f | 313 | lib/latch-unix.c \ |
60567113 GS |
314 | lib/signals.c \ |
315 | lib/signals.h \ | |
7f1e1c7f | 316 | lib/socket-util-unix.c \ |
7ff04d92 | 317 | lib/stream-unix.c |
4ca828d7 LS |
318 | endif |
319 | ||
cde1c287 BP |
320 | EXTRA_DIST += \ |
321 | lib/stdio.h.in \ | |
322 | lib/string.h.in | |
6e037e3c | 323 | |
38b7a52b | 324 | nodist_lib_libopenvswitch_la_SOURCES = \ |
90ffd534 BP |
325 | lib/dirs.c \ |
326 | lib/vswitch-idl.c \ | |
327 | lib/vswitch-idl.h | |
38b7a52b | 328 | CLEANFILES += $(nodist_lib_libopenvswitch_la_SOURCES) |
064af421 | 329 | |
38b7a52b | 330 | lib_LTLIBRARIES += lib/libsflow.la |
7f2f24e3 | 331 | lib_libsflow_la_LDFLAGS = \ |
cb991590 | 332 | $(OVS_LTINFO) \ |
a4353e20 TG |
333 | -Wl,--version-script=$(top_builddir)/lib/libsflow.sym \ |
334 | $(AM_LDFLAGS) | |
38b7a52b | 335 | lib_libsflow_la_SOURCES = \ |
c72e245a BP |
336 | lib/sflow_api.h \ |
337 | lib/sflow.h \ | |
338 | lib/sflow_agent.c \ | |
339 | lib/sflow_sampler.c \ | |
340 | lib/sflow_poller.c \ | |
341 | lib/sflow_receiver.c | |
38b7a52b HS |
342 | lib_libsflow_la_CPPFLAGS = $(AM_CPPFLAGS) |
343 | lib_libsflow_la_CFLAGS = $(AM_CFLAGS) | |
c72e245a | 344 | if HAVE_WNO_UNUSED |
38b7a52b | 345 | lib_libsflow_la_CFLAGS += -Wno-unused |
c72e245a | 346 | endif |
52af5b99 | 347 | if HAVE_WNO_UNUSED_PARAMETER |
38b7a52b | 348 | lib_libsflow_la_CFLAGS += -Wno-unused-parameter |
52af5b99 | 349 | endif |
c72e245a | 350 | |
5020f5f0 | 351 | if LINUX |
38b7a52b | 352 | lib_libopenvswitch_la_SOURCES += \ |
93451a0a AS |
353 | lib/dpif-netlink.c \ |
354 | lib/dpif-netlink.h \ | |
e21c6643 TLSC |
355 | lib/if-notifier.c \ |
356 | lib/if-notifier.h \ | |
c83cdd30 | 357 | lib/netdev-linux.c \ |
d3980822 | 358 | lib/netdev-linux.h \ |
6830a0c0 DDP |
359 | lib/netlink-conntrack.c \ |
360 | lib/netlink-conntrack.h \ | |
45c8d3a1 EJ |
361 | lib/netlink-notifier.c \ |
362 | lib/netlink-notifier.h \ | |
064af421 | 363 | lib/netlink-protocol.h \ |
2fe27d5a BP |
364 | lib/netlink-socket.c \ |
365 | lib/netlink-socket.h \ | |
7e9dcc0f AW |
366 | lib/rtnetlink.c \ |
367 | lib/rtnetlink.h \ | |
a132aa96 EJ |
368 | lib/route-table.c \ |
369 | lib/route-table.h | |
064af421 BP |
370 | endif |
371 | ||
8a9562d2 PS |
372 | if DPDK_NETDEV |
373 | lib_libopenvswitch_la_SOURCES += \ | |
01961bbd DDP |
374 | lib/dpdk.c \ |
375 | lib/netdev-dpdk.c | |
bab69409 AC |
376 | else |
377 | lib_libopenvswitch_la_SOURCES += \ | |
01961bbd | 378 | lib/dpdk-stub.c |
8a9562d2 PS |
379 | endif |
380 | ||
d5e27716 AS |
381 | if WIN32 |
382 | lib_libopenvswitch_la_SOURCES += \ | |
93451a0a AS |
383 | lib/dpif-netlink.c \ |
384 | lib/dpif-netlink.h \ | |
078eedf4 | 385 | lib/netdev-windows.c \ |
e0467f6d SV |
386 | lib/netlink-conntrack.c \ |
387 | lib/netlink-conntrack.h \ | |
d5e27716 AS |
388 | lib/netlink-notifier.c \ |
389 | lib/netlink-notifier.h \ | |
390 | lib/netlink-protocol.h \ | |
391 | lib/netlink-socket.c \ | |
da467899 AS |
392 | lib/netlink-socket.h \ |
393 | lib/wmi.c \ | |
394 | lib/wmi.h | |
d5e27716 AS |
395 | endif |
396 | ||
97eba8fc | 397 | if HAVE_POSIX_AIO |
38b7a52b | 398 | lib_libopenvswitch_la_SOURCES += lib/async-append-aio.c |
97eba8fc | 399 | else |
38b7a52b | 400 | lib_libopenvswitch_la_SOURCES += lib/async-append-null.c |
97eba8fc BP |
401 | endif |
402 | ||
361906b1 | 403 | if ESX |
38b7a52b | 404 | lib_libopenvswitch_la_SOURCES += \ |
e21c6643 TLSC |
405 | lib/route-table-stub.c \ |
406 | lib/if-notifier-stub.c | |
361906b1 EJ |
407 | endif |
408 | ||
9360d9b7 | 409 | if HAVE_IF_DL |
38b7a52b | 410 | lib_libopenvswitch_la_SOURCES += \ |
e21c6643 | 411 | lib/if-notifier-bsd.c \ |
f6eb6b20 GL |
412 | lib/netdev-bsd.c \ |
413 | lib/rtbsd.c \ | |
414 | lib/rtbsd.h \ | |
9360d9b7 EM |
415 | lib/route-table-bsd.c |
416 | endif | |
417 | ||
064af421 | 418 | if HAVE_OPENSSL |
38b7a52b HS |
419 | lib_libopenvswitch_la_SOURCES += lib/stream-ssl.c |
420 | nodist_lib_libopenvswitch_la_SOURCES += lib/dhparams.c | |
064af421 | 421 | lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem |
ef44aa50 | 422 | $(AM_V_GEN)(echo '#include "lib/dhparams.h"' && \ |
064af421 BP |
423 | openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \ |
424 | openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \ | |
425 | openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \ | |
ef44aa50 | 426 | | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp && \ |
064af421 | 427 | mv lib/dhparams.c.tmp lib/dhparams.c |
bf8f2167 | 428 | else |
38b7a52b | 429 | lib_libopenvswitch_la_SOURCES += lib/stream-nossl.c |
064af421 BP |
430 | endif |
431 | ||
81696de0 | 432 | pkgconfig_DATA += \ |
1e78e308 AC |
433 | lib/libopenvswitch.pc \ |
434 | lib/libsflow.pc | |
81696de0 | 435 | |
064af421 BP |
436 | EXTRA_DIST += \ |
437 | lib/dh1024.pem \ | |
438 | lib/dh2048.pem \ | |
b43c6fe2 | 439 | lib/dh4096.pem \ |
0fdc4312 | 440 | lib/common.xml \ |
4acd1e87 | 441 | lib/daemon.xml \ |
7ba0c32f | 442 | lib/dirs.c.in \ |
0fdc4312 BP |
443 | lib/db-ctl-base.xml \ |
444 | lib/ssl.xml \ | |
cfdaff25 | 445 | lib/ssl-bootstrap.xml \ |
0fdc4312 | 446 | lib/vlog.xml |
064af421 | 447 | |
0027492d | 448 | MAN_FRAGMENTS += \ |
e7019d99 | 449 | lib/colors.man \ |
064af421 | 450 | lib/common.man \ |
f7f62235 | 451 | lib/common-syn.man \ |
a5f607bc | 452 | lib/coverage-unixctl.man \ |
064af421 | 453 | lib/daemon.man \ |
f7f62235 | 454 | lib/daemon-syn.man \ |
f6a2e156 | 455 | lib/db-ctl-base.man \ |
fceef209 | 456 | lib/dpctl.man \ |
149ff68a | 457 | lib/memory-unixctl.man \ |
020c9387 | 458 | lib/ofp-version.man \ |
23edef9e | 459 | lib/ovs.tmac \ |
fda546bd GS |
460 | lib/service.man \ |
461 | lib/service-syn.man \ | |
84ee7bcf | 462 | lib/ssl-bootstrap.man \ |
9467fe62 | 463 | lib/ssl-bootstrap-syn.man \ |
84ee7bcf | 464 | lib/ssl-peer-ca-cert.man \ |
5bf6cbd6 | 465 | lib/ssl-peer-ca-cert-syn.man \ |
84ee7bcf | 466 | lib/ssl.man \ |
9467fe62 | 467 | lib/ssl-syn.man \ |
e18a1d08 ER |
468 | lib/ssl-connect.man \ |
469 | lib/ssl-connect-syn.man \ | |
3a3eb9da | 470 | lib/table.man \ |
7b38bdc8 BP |
471 | lib/unixctl.man \ |
472 | lib/unixctl-syn.man \ | |
84ee7bcf BP |
473 | lib/vconn-active.man \ |
474 | lib/vconn-passive.man \ | |
b16fdafe | 475 | lib/vlog-unixctl.man \ |
f7f62235 | 476 | lib/vlog-syn.man \ |
064af421 BP |
477 | lib/vlog.man |
478 | ||
6e037e3c | 479 | # vswitch IDL |
ab70cd30 | 480 | OVSIDL_BUILT += lib/vswitch-idl.c lib/vswitch-idl.h lib/vswitch-idl.ovsidl |
6e037e3c | 481 | |
ab70cd30 | 482 | EXTRA_DIST += lib/vswitch-idl.ann |
1f7d1459 | 483 | lib/vswitch-idl.ovsidl: vswitchd/vswitch.ovsschema lib/vswitch-idl.ann |
ab70cd30 | 484 | $(AM_V_GEN)$(OVSDB_IDLC) annotate $(srcdir)/vswitchd/vswitch.ovsschema $(srcdir)/lib/vswitch-idl.ann > $@.tmp && mv $@.tmp $@ |
6e037e3c | 485 | |
b43c6fe2 | 486 | lib/dirs.c: lib/dirs.c.in Makefile |
ef44aa50 | 487 | $(AM_V_GEN)($(ro_c) && sed < $(srcdir)/lib/dirs.c.in \ |
b43c6fe2 BP |
488 | -e 's,[@]srcdir[@],$(srcdir),g' \ |
489 | -e 's,[@]LOGDIR[@],"$(LOGDIR)",g' \ | |
490 | -e 's,[@]RUNDIR[@],"$(RUNDIR)",g' \ | |
f973f2af | 491 | -e 's,[@]DBDIR[@],"$(DBDIR)",g' \ |
b43c6fe2 | 492 | -e 's,[@]bindir[@],"$(bindir)",g' \ |
2fad9ebd | 493 | -e 's,[@]sysconfdir[@],"$(sysconfdir)",g' \ |
b43c6fe2 | 494 | -e 's,[@]pkgdatadir[@],"$(pkgdatadir)",g') \ |
ef44aa50 | 495 | > lib/dirs.c.tmp && \ |
064af421 BP |
496 | mv lib/dirs.c.tmp lib/dirs.c |
497 | ||
064d7f84 | 498 | lib/meta-flow.inc: $(srcdir)/build-aux/extract-ofp-fields include/openvswitch/meta-flow.h |
96fee5e0 BP |
499 | $(AM_V_GEN)$(run_python) $< meta-flow $(srcdir)/include/openvswitch/meta-flow.h > $@.tmp |
500 | $(AM_V_at)mv $@.tmp $@ | |
a4ce8b25 | 501 | lib/meta-flow.lo: lib/meta-flow.inc |
96fee5e0 BP |
502 | lib/nx-match.inc: $(srcdir)/build-aux/extract-ofp-fields include/openvswitch/meta-flow.h |
503 | $(AM_V_GEN)$(run_python) $< nx-match $(srcdir)/include/openvswitch/meta-flow.h > $@.tmp | |
504 | $(AM_V_at)mv $@.tmp $@ | |
178742f9 BP |
505 | lib/nx-match.lo: lib/nx-match.inc |
506 | CLEANFILES += lib/meta-flow.inc lib/nx-match.inc | |
a4ce8b25 BP |
507 | EXTRA_DIST += build-aux/extract-ofp-fields |
508 | ||
c2d936a4 | 509 | lib/ofp-actions.inc1: $(srcdir)/build-aux/extract-ofp-actions lib/ofp-actions.c |
ef44aa50 | 510 | $(AM_V_GEN)$(run_python) $^ --prototypes > $@.tmp && mv $@.tmp $@ |
c2d936a4 | 511 | lib/ofp-actions.inc2: $(srcdir)/build-aux/extract-ofp-actions lib/ofp-actions.c |
ef44aa50 | 512 | $(AM_V_GEN)$(run_python) $^ --definitions > $@.tmp && mv $@.tmp $@ |
c2d936a4 | 513 | lib/ofp-actions.lo: lib/ofp-actions.inc1 lib/ofp-actions.inc2 |
07ba3dbd | 514 | CLEANFILES += lib/ofp-actions.inc1 lib/ofp-actions.inc2 |
a4ce8b25 | 515 | EXTRA_DIST += build-aux/extract-ofp-actions |
c2d936a4 | 516 | |
e03c096d | 517 | lib/ofp-errors.inc: include/openvswitch/ofp-errors.h include/openflow/openflow-common.h \ |
514887ee | 518 | $(srcdir)/build-aux/extract-ofp-errors |
ef44aa50 | 519 | $(AM_V_GEN)$(run_python) $(srcdir)/build-aux/extract-ofp-errors \ |
e03c096d | 520 | $(srcdir)/include/openvswitch/ofp-errors.h \ |
ef44aa50 | 521 | $(srcdir)/include/openflow/openflow-common.h > $@.tmp && \ |
514887ee | 522 | mv $@.tmp $@ |
5b3c194f | 523 | lib/ofp-errors.lo: lib/ofp-errors.inc |
1f7d1459 | 524 | CLEANFILES += lib/ofp-errors.inc |
ab70cd30 | 525 | EXTRA_DIST += build-aux/extract-ofp-errors |
dc4762ed | 526 | |
d271907f | 527 | lib/ofp-msgs.inc: include/openvswitch/ofp-msgs.h $(srcdir)/build-aux/extract-ofp-msgs |
ef44aa50 | 528 | $(AM_V_GEN)$(run_python) $(srcdir)/build-aux/extract-ofp-msgs \ |
d271907f | 529 | $(srcdir)/include/openvswitch/ofp-msgs.h $@ > $@.tmp && mv $@.tmp $@ |
5b3c194f | 530 | lib/ofp-msgs.lo: lib/ofp-msgs.inc |
1f7d1459 | 531 | CLEANFILES += lib/ofp-msgs.inc |
ab70cd30 | 532 | EXTRA_DIST += build-aux/extract-ofp-msgs |
982697a4 | 533 | |
b2df0225 | 534 | INSTALL_DATA_LOCAL += lib-install-data-local |
99155935 | 535 | lib-install-data-local: |
064af421 BP |
536 | $(MKDIR_P) $(DESTDIR)$(RUNDIR) |
537 | $(MKDIR_P) $(DESTDIR)$(PKIDIR) | |
538 | $(MKDIR_P) $(DESTDIR)$(LOGDIR) | |
f973f2af | 539 | $(MKDIR_P) $(DESTDIR)$(DBDIR) |
26a7a70c | 540 | $(MKDIR_P) $(DESTDIR)$(sysconfdir)/openvswitch |
96fee5e0 BP |
541 | |
542 | man_MANS += lib/ovs-fields.7 | |
4d73b2c4 | 543 | CLEANFILES += lib/ovs-fields.7 |
96fee5e0 BP |
544 | lib/ovs-fields.7: $(srcdir)/build-aux/extract-ofp-fields include/openvswitch/meta-flow.h lib/meta-flow.xml |
545 | $(AM_V_GEN)PYTHONIOENCODING=utf8 $(run_python) $< \ | |
546 | --ovs-version=$(VERSION) ovs-fields \ | |
547 | $(srcdir)/include/openvswitch/meta-flow.h \ | |
3e45560f | 548 | $(srcdir)/lib/meta-flow.xml | preconv -e utf-8 > $@.tmp |
96fee5e0 BP |
549 | $(AM_V_at)mv $@.tmp $@ |
550 | EXTRA_DIST += lib/meta-flow.xml |