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