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