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