]>
Commit | Line | Data |
---|---|---|
b8e67377 | 1 | # Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014 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) |
94887cf4 GS |
11 | |
12 | if WIN32 | |
13 | lib_libopenvswitch_la_LIBADD += ${PTHREAD_LIBS} | |
14 | endif | |
15 | ||
38b7a52b HS |
16 | lib_libopenvswitch_la_LDFLAGS = -release $(VERSION) |
17 | ||
18 | lib_libopenvswitch_la_SOURCES = \ | |
d918d9d1 BP |
19 | lib/aes128.c \ |
20 | lib/aes128.h \ | |
97eba8fc | 21 | lib/async-append.h \ |
064af421 BP |
22 | lib/backtrace.c \ |
23 | lib/backtrace.h \ | |
ccc09689 EJ |
24 | lib/bfd.c \ |
25 | lib/bfd.h \ | |
064af421 BP |
26 | lib/bitmap.c \ |
27 | lib/bitmap.h \ | |
daff3353 EJ |
28 | lib/bundle.c \ |
29 | lib/bundle.h \ | |
10a24935 | 30 | lib/byte-order.h \ |
1c617a49 BP |
31 | lib/byteq.c \ |
32 | lib/byteq.h \ | |
b31bcf60 EJ |
33 | lib/cfm.c \ |
34 | lib/cfm.h \ | |
064af421 BP |
35 | lib/classifier.c \ |
36 | lib/classifier.h \ | |
0e666160 BP |
37 | lib/cmap.c \ |
38 | lib/cmap.h \ | |
064af421 BP |
39 | lib/command-line.c \ |
40 | lib/command-line.h \ | |
41 | lib/compiler.h \ | |
da4a6191 JS |
42 | lib/connectivity.c \ |
43 | lib/connectivity.h \ | |
064af421 BP |
44 | lib/coverage.c \ |
45 | lib/coverage.h \ | |
97025b23 JS |
46 | lib/crc32c.c \ |
47 | lib/crc32c.h \ | |
064af421 BP |
48 | lib/csum.c \ |
49 | lib/csum.h \ | |
d6bc33f3 | 50 | lib/daemon.c \ |
064af421 | 51 | lib/daemon.h \ |
3834bcf2 | 52 | lib/daemon-private.h \ |
195c8086 | 53 | lib/dhcp.h \ |
614c4892 BP |
54 | lib/dummy.c \ |
55 | lib/dummy.h \ | |
064af421 | 56 | lib/dhparams.h \ |
064af421 | 57 | lib/dirs.h \ |
72865317 | 58 | lib/dpif-netdev.c \ |
df1e5a3b | 59 | lib/dpif-netdev.h \ |
96fba48f BP |
60 | lib/dpif-provider.h \ |
61 | lib/dpif.c \ | |
62 | lib/dpif.h \ | |
95974447 BP |
63 | lib/heap.c \ |
64 | lib/heap.h \ | |
064af421 BP |
65 | lib/dynamic-string.c \ |
66 | lib/dynamic-string.h \ | |
e251c8d0 BP |
67 | lib/entropy.c \ |
68 | lib/entropy.h \ | |
b8e67377 BP |
69 | lib/fat-rwlock.c \ |
70 | lib/fat-rwlock.h \ | |
064af421 BP |
71 | lib/fatal-signal.c \ |
72 | lib/fatal-signal.h \ | |
064af421 BP |
73 | lib/flow.c \ |
74 | lib/flow.h \ | |
05067881 BP |
75 | lib/guarded-list.c \ |
76 | lib/guarded-list.h \ | |
064af421 BP |
77 | lib/hash.c \ |
78 | lib/hash.h \ | |
822b7f52 BP |
79 | lib/hindex.c \ |
80 | lib/hindex.h \ | |
064af421 BP |
81 | lib/hmap.c \ |
82 | lib/hmap.h \ | |
f4ac3fc1 BP |
83 | lib/hmapx.c \ |
84 | lib/hmapx.h \ | |
c49d1dd1 BP |
85 | lib/jhash.c \ |
86 | lib/jhash.h \ | |
f38b84ea BP |
87 | lib/json.c \ |
88 | lib/json.h \ | |
f2129093 BP |
89 | lib/jsonrpc.c \ |
90 | lib/jsonrpc.h \ | |
6aa74308 EJ |
91 | lib/lacp.c \ |
92 | lib/lacp.h \ | |
aad84c8e | 93 | lib/latch.h \ |
75a75043 BP |
94 | lib/learn.c \ |
95 | lib/learn.h \ | |
064af421 BP |
96 | lib/learning-switch.c \ |
97 | lib/learning-switch.h \ | |
98 | lib/list.c \ | |
99 | lib/list.h \ | |
ac718c9d BP |
100 | lib/lockfile.c \ |
101 | lib/lockfile.h \ | |
064af421 BP |
102 | lib/mac-learning.c \ |
103 | lib/mac-learning.h \ | |
81a76618 BP |
104 | lib/match.c \ |
105 | lib/match.h \ | |
4a95091d FL |
106 | lib/mcast-snooping.c \ |
107 | lib/mcast-snooping.h \ | |
0d085684 BP |
108 | lib/memory.c \ |
109 | lib/memory.h \ | |
6a885fd0 BP |
110 | lib/meta-flow.c \ |
111 | lib/meta-flow.h \ | |
53ddd40a BP |
112 | lib/multipath.c \ |
113 | lib/multipath.h \ | |
614c4892 | 114 | lib/netdev-dummy.c \ |
5146acb1 | 115 | lib/netdev-provider.h \ |
c060c4cf EJ |
116 | lib/netdev-vport.c \ |
117 | lib/netdev-vport.h \ | |
064af421 BP |
118 | lib/netdev.c \ |
119 | lib/netdev.h \ | |
9c8e276e | 120 | lib/netflow.h \ |
2fe27d5a BP |
121 | lib/netlink.c \ |
122 | lib/netlink.h \ | |
09246b99 BP |
123 | lib/nx-match.c \ |
124 | lib/nx-match.h \ | |
f094af7b SH |
125 | lib/odp-execute.c \ |
126 | lib/odp-execute.h \ | |
064af421 BP |
127 | lib/odp-util.c \ |
128 | lib/odp-util.h \ | |
f25d0cf3 BP |
129 | lib/ofp-actions.c \ |
130 | lib/ofp-actions.h \ | |
dc4762ed BP |
131 | lib/ofp-errors.c \ |
132 | lib/ofp-errors.h \ | |
982697a4 BP |
133 | lib/ofp-msgs.c \ |
134 | lib/ofp-msgs.h \ | |
f22716dc JP |
135 | lib/ofp-parse.c \ |
136 | lib/ofp-parse.h \ | |
064af421 BP |
137 | lib/ofp-print.c \ |
138 | lib/ofp-print.h \ | |
fa37b408 | 139 | lib/ofp-util.c \ |
e23ae585 | 140 | lib/ofp-util.def \ |
fa37b408 | 141 | lib/ofp-util.h \ |
020c9387 SH |
142 | lib/ofp-version-opt.h \ |
143 | lib/ofp-version-opt.c \ | |
064af421 BP |
144 | lib/ofpbuf.c \ |
145 | lib/ofpbuf.h \ | |
31a3fc6e | 146 | lib/ovs-atomic-c11.h \ |
29ab0cf7 BP |
147 | lib/ovs-atomic-clang.h \ |
148 | lib/ovs-atomic-flag-gcc4.7+.h \ | |
31a3fc6e BP |
149 | lib/ovs-atomic-gcc4+.h \ |
150 | lib/ovs-atomic-gcc4.7+.h \ | |
1bd2c9ed BP |
151 | lib/ovs-atomic-locked.c \ |
152 | lib/ovs-atomic-locked.h \ | |
31a3fc6e BP |
153 | lib/ovs-atomic-pthreads.h \ |
154 | lib/ovs-atomic.h \ | |
0f2ea848 BP |
155 | lib/ovs-rcu.c \ |
156 | lib/ovs-rcu.h \ | |
ec68790f BP |
157 | lib/ovs-thread.c \ |
158 | lib/ovs-thread.h \ | |
f85f8ebb BP |
159 | lib/ovsdb-data.c \ |
160 | lib/ovsdb-data.h \ | |
161 | lib/ovsdb-error.c \ | |
162 | lib/ovsdb-error.h \ | |
c3bb4bd7 BP |
163 | lib/ovsdb-idl-provider.h \ |
164 | lib/ovsdb-idl.c \ | |
165 | lib/ovsdb-idl.h \ | |
f85f8ebb BP |
166 | lib/ovsdb-parser.c \ |
167 | lib/ovsdb-parser.h \ | |
168 | lib/ovsdb-types.c \ | |
169 | lib/ovsdb-types.h \ | |
91088554 DDP |
170 | lib/packet-dpif.c \ |
171 | lib/packet-dpif.h \ | |
b9e8b45a | 172 | lib/packets.c \ |
064af421 | 173 | lib/packets.h \ |
2c78a3e6 SS |
174 | lib/pcap-file.c \ |
175 | lib/pcap-file.h \ | |
064af421 BP |
176 | lib/poll-loop.c \ |
177 | lib/poll-loop.h \ | |
064af421 BP |
178 | lib/process.c \ |
179 | lib/process.h \ | |
fe7cfa5c JR |
180 | lib/pvector.c \ |
181 | lib/pvector.h \ | |
064af421 BP |
182 | lib/random.c \ |
183 | lib/random.h \ | |
184 | lib/rconn.c \ | |
185 | lib/rconn.h \ | |
3ed497fc BP |
186 | lib/reconnect.c \ |
187 | lib/reconnect.h \ | |
064af421 | 188 | lib/sat-math.h \ |
55b40355 BP |
189 | lib/seq.c \ |
190 | lib/seq.h \ | |
064af421 BP |
191 | lib/sha1.c \ |
192 | lib/sha1.h \ | |
193 | lib/shash.c \ | |
194 | lib/shash.h \ | |
44bac24b BP |
195 | lib/simap.c \ |
196 | lib/simap.h \ | |
79f1cbe9 EJ |
197 | lib/smap.c \ |
198 | lib/smap.h \ | |
064af421 BP |
199 | lib/socket-util.c \ |
200 | lib/socket-util.h \ | |
f85f8ebb BP |
201 | lib/sort.c \ |
202 | lib/sort.h \ | |
f391294f BP |
203 | lib/sset.c \ |
204 | lib/sset.h \ | |
829a7d02 JP |
205 | lib/stp.c \ |
206 | lib/stp.h \ | |
c34b65c7 BP |
207 | lib/stream-fd.h \ |
208 | lib/stream-provider.h \ | |
9467fe62 | 209 | lib/stream-ssl.h \ |
c34b65c7 | 210 | lib/stream-tcp.c \ |
c34b65c7 BP |
211 | lib/stream.c \ |
212 | lib/stream.h \ | |
cde1c287 | 213 | lib/stdio.c \ |
71d7c22f | 214 | lib/string.c \ |
064af421 BP |
215 | lib/svec.c \ |
216 | lib/svec.h \ | |
3a3eb9da BP |
217 | lib/table.c \ |
218 | lib/table.h \ | |
b63e3bbc BP |
219 | lib/tag.c \ |
220 | lib/tag.h \ | |
8650b075 EJ |
221 | lib/timer.c \ |
222 | lib/timer.h \ | |
064af421 BP |
223 | lib/timeval.c \ |
224 | lib/timeval.h \ | |
648f4f1f BP |
225 | lib/token-bucket.c \ |
226 | lib/token-bucket.h \ | |
064af421 | 227 | lib/type-props.h \ |
afa3a931 | 228 | lib/unaligned.h \ |
f38b84ea BP |
229 | lib/unicode.c \ |
230 | lib/unicode.h \ | |
fa0361b7 GG |
231 | lib/unixctl.c \ |
232 | lib/unixctl.h \ | |
064af421 BP |
233 | lib/util.c \ |
234 | lib/util.h \ | |
fa0361b7 GG |
235 | lib/uuid.c \ |
236 | lib/uuid.h \ | |
064af421 BP |
237 | lib/valgrind.h \ |
238 | lib/vconn-provider.h \ | |
064af421 | 239 | lib/vconn-stream.c \ |
064af421 BP |
240 | lib/vconn.c \ |
241 | lib/vconn.h \ | |
0fb7b915 BP |
242 | lib/vlan-bitmap.c \ |
243 | lib/vlan-bitmap.h \ | |
025e874a BP |
244 | lib/vlandev.c \ |
245 | lib/vlandev.h \ | |
064af421 | 246 | lib/vlog.c \ |
6e037e3c EJ |
247 | lib/vlog.h \ |
248 | lib/vswitch-idl.c \ | |
add17b69 BD |
249 | lib/vswitch-idl.h \ |
250 | lib/vtep-idl.c \ | |
251 | lib/vtep-idl.h | |
9d0581fd | 252 | |
4ca828d7 | 253 | if WIN32 |
9d0581fd | 254 | lib_libopenvswitch_la_SOURCES += \ |
fda546bd | 255 | lib/daemon-windows.c \ |
9d0581fd | 256 | lib/getopt_long.c \ |
1680d3d7 | 257 | lib/getrusage-windows.c \ |
6500157f | 258 | lib/latch-windows.c \ |
7482ddda | 259 | lib/route-table-stub.c \ |
f062911f | 260 | lib/strsep.c \ |
6500157f | 261 | lib/stream-fd-windows.c |
4ca828d7 | 262 | else |
9d0581fd | 263 | lib_libopenvswitch_la_SOURCES += \ |
a91dc444 | 264 | lib/daemon-unix.c \ |
6500157f | 265 | lib/latch-unix.c \ |
60567113 GS |
266 | lib/signals.c \ |
267 | lib/signals.h \ | |
7f1e1c7f | 268 | lib/socket-util-unix.c \ |
6500157f | 269 | lib/stream-fd-unix.c \ |
7ff04d92 | 270 | lib/stream-unix.c |
4ca828d7 LS |
271 | endif |
272 | ||
cde1c287 BP |
273 | EXTRA_DIST += \ |
274 | lib/stdio.h.in \ | |
275 | lib/string.h.in | |
6e037e3c | 276 | |
38b7a52b | 277 | nodist_lib_libopenvswitch_la_SOURCES = \ |
424d1282 | 278 | lib/dirs.c |
38b7a52b | 279 | CLEANFILES += $(nodist_lib_libopenvswitch_la_SOURCES) |
064af421 | 280 | |
38b7a52b HS |
281 | lib_LTLIBRARIES += lib/libsflow.la |
282 | lib_libsflow_la_LDFLAGS = -release $(VERSION) | |
283 | lib_libsflow_la_SOURCES = \ | |
c72e245a BP |
284 | lib/sflow_api.h \ |
285 | lib/sflow.h \ | |
286 | lib/sflow_agent.c \ | |
287 | lib/sflow_sampler.c \ | |
288 | lib/sflow_poller.c \ | |
289 | lib/sflow_receiver.c | |
38b7a52b HS |
290 | lib_libsflow_la_CPPFLAGS = $(AM_CPPFLAGS) |
291 | lib_libsflow_la_CFLAGS = $(AM_CFLAGS) | |
c72e245a | 292 | if HAVE_WNO_UNUSED |
38b7a52b | 293 | lib_libsflow_la_CFLAGS += -Wno-unused |
c72e245a | 294 | endif |
52af5b99 | 295 | if HAVE_WNO_UNUSED_PARAMETER |
38b7a52b | 296 | lib_libsflow_la_CFLAGS += -Wno-unused-parameter |
52af5b99 | 297 | endif |
c72e245a | 298 | |
5020f5f0 | 299 | if LINUX |
38b7a52b | 300 | lib_libopenvswitch_la_SOURCES += \ |
c83cdd30 | 301 | lib/dpif-linux.c \ |
9fe3b9a2 | 302 | lib/dpif-linux.h \ |
c83cdd30 | 303 | lib/netdev-linux.c \ |
d3980822 | 304 | lib/netdev-linux.h \ |
45c8d3a1 EJ |
305 | lib/netlink-notifier.c \ |
306 | lib/netlink-notifier.h \ | |
064af421 | 307 | lib/netlink-protocol.h \ |
2fe27d5a BP |
308 | lib/netlink-socket.c \ |
309 | lib/netlink-socket.h \ | |
21d6e22e | 310 | lib/rtnetlink-link.c \ |
ea83a2fc | 311 | lib/rtnetlink-link.h \ |
a132aa96 EJ |
312 | lib/route-table.c \ |
313 | lib/route-table.h | |
064af421 BP |
314 | endif |
315 | ||
8a9562d2 PS |
316 | if DPDK_NETDEV |
317 | lib_libopenvswitch_la_SOURCES += \ | |
318 | lib/netdev-dpdk.c \ | |
319 | lib/netdev-dpdk.h | |
320 | endif | |
321 | ||
97eba8fc | 322 | if HAVE_POSIX_AIO |
38b7a52b | 323 | lib_libopenvswitch_la_SOURCES += lib/async-append-aio.c |
97eba8fc | 324 | else |
38b7a52b | 325 | lib_libopenvswitch_la_SOURCES += lib/async-append-null.c |
97eba8fc BP |
326 | endif |
327 | ||
361906b1 | 328 | if ESX |
38b7a52b | 329 | lib_libopenvswitch_la_SOURCES += \ |
361906b1 EJ |
330 | lib/route-table-stub.c |
331 | endif | |
332 | ||
9360d9b7 | 333 | if HAVE_IF_DL |
38b7a52b | 334 | lib_libopenvswitch_la_SOURCES += \ |
f6eb6b20 GL |
335 | lib/netdev-bsd.c \ |
336 | lib/rtbsd.c \ | |
337 | lib/rtbsd.h \ | |
9360d9b7 EM |
338 | lib/route-table-bsd.c |
339 | endif | |
340 | ||
064af421 | 341 | if HAVE_OPENSSL |
38b7a52b HS |
342 | lib_libopenvswitch_la_SOURCES += lib/stream-ssl.c |
343 | nodist_lib_libopenvswitch_la_SOURCES += lib/dhparams.c | |
064af421 BP |
344 | lib/dhparams.c: lib/dh1024.pem lib/dh2048.pem lib/dh4096.pem |
345 | (echo '#include "lib/dhparams.h"' && \ | |
346 | openssl dhparam -C -in $(srcdir)/lib/dh1024.pem -noout && \ | |
347 | openssl dhparam -C -in $(srcdir)/lib/dh2048.pem -noout && \ | |
348 | openssl dhparam -C -in $(srcdir)/lib/dh4096.pem -noout) \ | |
349 | | sed 's/\(get_dh[0-9]*\)()/\1(void)/' > lib/dhparams.c.tmp | |
350 | mv lib/dhparams.c.tmp lib/dhparams.c | |
bf8f2167 | 351 | else |
38b7a52b | 352 | lib_libopenvswitch_la_SOURCES += lib/stream-nossl.c |
064af421 BP |
353 | endif |
354 | ||
355 | EXTRA_DIST += \ | |
356 | lib/dh1024.pem \ | |
357 | lib/dh2048.pem \ | |
b43c6fe2 BP |
358 | lib/dh4096.pem \ |
359 | lib/dirs.c.in | |
064af421 | 360 | |
0027492d | 361 | MAN_FRAGMENTS += \ |
064af421 | 362 | lib/common.man \ |
f7f62235 | 363 | lib/common-syn.man \ |
a5f607bc | 364 | lib/coverage-unixctl.man \ |
064af421 | 365 | lib/daemon.man \ |
f7f62235 | 366 | lib/daemon-syn.man \ |
149ff68a | 367 | lib/memory-unixctl.man \ |
020c9387 | 368 | lib/ofp-version.man \ |
23edef9e | 369 | lib/ovs.tmac \ |
fda546bd GS |
370 | lib/service.man \ |
371 | lib/service-syn.man \ | |
84ee7bcf | 372 | lib/ssl-bootstrap.man \ |
9467fe62 | 373 | lib/ssl-bootstrap-syn.man \ |
84ee7bcf BP |
374 | lib/ssl-peer-ca-cert.man \ |
375 | lib/ssl.man \ | |
9467fe62 | 376 | lib/ssl-syn.man \ |
3a3eb9da | 377 | lib/table.man \ |
7b38bdc8 BP |
378 | lib/unixctl.man \ |
379 | lib/unixctl-syn.man \ | |
84ee7bcf BP |
380 | lib/vconn-active.man \ |
381 | lib/vconn-passive.man \ | |
b16fdafe | 382 | lib/vlog-unixctl.man \ |
f7f62235 | 383 | lib/vlog-syn.man \ |
064af421 BP |
384 | lib/vlog.man |
385 | ||
6e037e3c EJ |
386 | # vswitch IDL |
387 | OVSIDL_BUILT += \ | |
e3a88027 EJ |
388 | $(srcdir)/lib/vswitch-idl.c \ |
389 | $(srcdir)/lib/vswitch-idl.h \ | |
add17b69 BD |
390 | $(srcdir)/lib/vswitch-idl.ovsidl \ |
391 | $(srcdir)/lib/vtep-idl.c \ | |
392 | $(srcdir)/lib/vtep-idl.h \ | |
393 | $(srcdir)/lib/vtep-idl.ovsidl | |
6e037e3c | 394 | |
e3a88027 | 395 | EXTRA_DIST += $(srcdir)/lib/vswitch-idl.ann |
8c8c0f3a BP |
396 | VSWITCH_IDL_FILES = \ |
397 | $(srcdir)/vswitchd/vswitch.ovsschema \ | |
398 | $(srcdir)/lib/vswitch-idl.ann | |
e3a88027 | 399 | $(srcdir)/lib/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES) |
8c8c0f3a | 400 | $(OVSDB_IDLC) annotate $(VSWITCH_IDL_FILES) > $@.tmp |
6e037e3c EJ |
401 | mv $@.tmp $@ |
402 | ||
add17b69 BD |
403 | EXTRA_DIST += $(srcdir)/lib/vtep-idl.ann |
404 | VTEP_IDL_FILES = \ | |
405 | $(srcdir)/vtep/vtep.ovsschema \ | |
406 | $(srcdir)/lib/vtep-idl.ann | |
407 | $(srcdir)/lib/vtep-idl.ovsidl: $(VTEP_IDL_FILES) | |
408 | $(OVSDB_IDLC) annotate $(VTEP_IDL_FILES) > $@.tmp | |
409 | mv $@.tmp $@ | |
410 | ||
b43c6fe2 BP |
411 | lib/dirs.c: lib/dirs.c.in Makefile |
412 | ($(ro_c) && sed < $(srcdir)/lib/dirs.c.in \ | |
413 | -e 's,[@]srcdir[@],$(srcdir),g' \ | |
414 | -e 's,[@]LOGDIR[@],"$(LOGDIR)",g' \ | |
415 | -e 's,[@]RUNDIR[@],"$(RUNDIR)",g' \ | |
f973f2af | 416 | -e 's,[@]DBDIR[@],"$(DBDIR)",g' \ |
b43c6fe2 | 417 | -e 's,[@]bindir[@],"$(bindir)",g' \ |
2fad9ebd | 418 | -e 's,[@]sysconfdir[@],"$(sysconfdir)",g' \ |
b43c6fe2 BP |
419 | -e 's,[@]pkgdatadir[@],"$(pkgdatadir)",g') \ |
420 | > lib/dirs.c.tmp | |
064af421 BP |
421 | mv lib/dirs.c.tmp lib/dirs.c |
422 | ||
90bf1e07 | 423 | $(srcdir)/lib/ofp-errors.inc: \ |
514887ee BP |
424 | lib/ofp-errors.h include/openflow/openflow-common.h \ |
425 | $(srcdir)/build-aux/extract-ofp-errors | |
853d1083 | 426 | $(run_python) $(srcdir)/build-aux/extract-ofp-errors \ |
514887ee BP |
427 | $(srcdir)/lib/ofp-errors.h \ |
428 | $(srcdir)/include/openflow/openflow-common.h > $@.tmp | |
429 | mv $@.tmp $@ | |
a082dd9b | 430 | $(srcdir)/lib/ofp-errors.c: $(srcdir)/lib/ofp-errors.inc |
90bf1e07 | 431 | EXTRA_DIST += build-aux/extract-ofp-errors lib/ofp-errors.inc |
dc4762ed | 432 | |
982697a4 BP |
433 | $(srcdir)/lib/ofp-msgs.inc: \ |
434 | lib/ofp-msgs.h $(srcdir)/build-aux/extract-ofp-msgs | |
435 | $(run_python) $(srcdir)/build-aux/extract-ofp-msgs \ | |
436 | $(srcdir)/lib/ofp-msgs.h $@ > $@.tmp && mv $@.tmp $@ | |
437 | $(srcdir)/lib/ofp-msgs.c: $(srcdir)/lib/ofp-msgs.inc | |
438 | EXTRA_DIST += build-aux/extract-ofp-msgs lib/ofp-msgs.inc | |
439 | ||
b2df0225 | 440 | INSTALL_DATA_LOCAL += lib-install-data-local |
99155935 | 441 | lib-install-data-local: |
064af421 BP |
442 | $(MKDIR_P) $(DESTDIR)$(RUNDIR) |
443 | $(MKDIR_P) $(DESTDIR)$(PKIDIR) | |
444 | $(MKDIR_P) $(DESTDIR)$(LOGDIR) | |
f973f2af | 445 | $(MKDIR_P) $(DESTDIR)$(DBDIR) |
064af421 | 446 |