]>
Commit | Line | Data |
---|---|---|
f85f8ebb BP |
1 | # libovsdb |
2 | noinst_LIBRARIES += ovsdb/libovsdb.a | |
3 | ovsdb_libovsdb_a_SOURCES = \ | |
4 | ovsdb/column.c \ | |
5 | ovsdb/column.h \ | |
6 | ovsdb/condition.c \ | |
7 | ovsdb/condition.h \ | |
8 | ovsdb/execution.c \ | |
bd06962a BP |
9 | ovsdb/file.c \ |
10 | ovsdb/file.h \ | |
f85f8ebb BP |
11 | ovsdb/jsonrpc-server.c \ |
12 | ovsdb/jsonrpc-server.h \ | |
41709ccc BP |
13 | ovsdb/log.c \ |
14 | ovsdb/log.h \ | |
e9f8f936 BP |
15 | ovsdb/mutation.c \ |
16 | ovsdb/mutation.h \ | |
f85f8ebb BP |
17 | ovsdb/ovsdb-server.c \ |
18 | ovsdb/ovsdb.c \ | |
19 | ovsdb/ovsdb.h \ | |
20 | ovsdb/query.c \ | |
21 | ovsdb/query.h \ | |
22 | ovsdb/row.c \ | |
23 | ovsdb/row.h \ | |
24 | ovsdb/table.c \ | |
25 | ovsdb/table.h \ | |
26 | ovsdb/trigger.c \ | |
27 | ovsdb/trigger.h \ | |
28 | ovsdb/transaction.c \ | |
29 | ovsdb/transaction.h | |
9467fe62 BP |
30 | EXTRA_DIST += \ |
31 | ovsdb/remote-active.man \ | |
32 | ovsdb/remote-passive.man | |
f85f8ebb BP |
33 | |
34 | # ovsdb-tool | |
35 | bin_PROGRAMS += ovsdb/ovsdb-tool | |
36 | ovsdb_ovsdb_tool_SOURCES = ovsdb/ovsdb-tool.c | |
a26cc67c | 37 | ovsdb_ovsdb_tool_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a |
f7f62235 BP |
38 | # ovsdb-tool.1 |
39 | man_MANS += ovsdb/ovsdb-tool.1 | |
40 | DISTCLEANFILES += ovsdb/ovsdb-tool.1 | |
41 | EXTRA_DIST += ovsdb/ovsdb-tool.1.in | |
f85f8ebb | 42 | |
d0632593 BP |
43 | # ovsdb-client |
44 | bin_PROGRAMS += ovsdb/ovsdb-client | |
45 | ovsdb_ovsdb_client_SOURCES = ovsdb/ovsdb-client.c | |
a26cc67c | 46 | ovsdb_ovsdb_client_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS) |
d0632593 BP |
47 | # ovsdb-client.1 |
48 | man_MANS += ovsdb/ovsdb-client.1 | |
49 | DISTCLEANFILES += ovsdb/ovsdb-client.1 | |
50 | EXTRA_DIST += ovsdb/ovsdb-client.1.in | |
51 | ||
f85f8ebb BP |
52 | # ovsdb-server |
53 | sbin_PROGRAMS += ovsdb/ovsdb-server | |
54 | ovsdb_ovsdb_server_SOURCES = ovsdb/ovsdb-server.c | |
a26cc67c | 55 | ovsdb_ovsdb_server_LDADD = ovsdb/libovsdb.a lib/libopenvswitch.a $(SSL_LIBS) |
f7f62235 BP |
56 | # ovsdb-server.1 |
57 | man_MANS += ovsdb/ovsdb-server.1 | |
58 | DISTCLEANFILES += ovsdb/ovsdb-server.1 | |
59 | EXTRA_DIST += ovsdb/ovsdb-server.1.in | |
d879a707 BP |
60 | |
61 | # ovsdb-idlc | |
c5c7c7c5 EJ |
62 | EXTRA_DIST += ovsdb/SPECS |
63 | noinst_SCRIPTS += ovsdb/ovsdb-idlc | |
d879a707 BP |
64 | EXTRA_DIST += \ |
65 | ovsdb/ovsdb-idlc.in \ | |
66 | ovsdb/ovsdb-idlc.1 | |
67 | DISTCLEANFILES += ovsdb/ovsdb-idlc | |
89365653 | 68 | SUFFIXES += .ovsidl |
99155935 | 69 | OVSDB_IDLC = $(run_python) $(srcdir)/ovsdb/ovsdb-idlc.in |
c3bb4bd7 | 70 | .ovsidl.c: |
00732bf5 | 71 | $(OVSDB_IDLC) c-idl-source $< > $@.tmp |
c3bb4bd7 BP |
72 | mv $@.tmp $@ |
73 | .ovsidl.h: | |
00732bf5 | 74 | $(OVSDB_IDLC) c-idl-header $< > $@.tmp |
c3bb4bd7 | 75 | mv $@.tmp $@ |
00732bf5 BP |
76 | |
77 | EXTRA_DIST += $(OVSIDL_BUILT) | |
78 | BUILT_SOURCES += $(OVSIDL_BUILT) | |
79 | ||
80 | # This must be done late: macros in targets are expanded when the | |
81 | # target line is read, so if this file were to be included before some | |
82 | # other file that added to OVSIDL_BUILT, then those files wouldn't get | |
83 | # the dependency. | |
84 | # | |
85 | # However, current versions of Automake seem to output all variable | |
86 | # assignments before any targets, so it doesn't seem to be a problem, | |
87 | # at least for now. | |
88 | $(OVSIDL_BUILT): ovsdb/ovsdb-idlc.in | |
89365653 BP |
89 | |
90 | # ovsdb-doc | |
91 | EXTRA_DIST += ovsdb/ovsdb-doc.in | |
92 | noinst_SCRIPTS += ovsdb/ovsdb-doc | |
93 | DISTCLEANFILES += ovsdb/ovsdb-doc | |
99155935 | 94 | OVSDB_DOC = $(run_python) $(srcdir)/ovsdb/ovsdb-doc.in |
436f27dd | 95 | |
f8d739a9 | 96 | # ovsdb-dot |
be8df17a | 97 | EXTRA_DIST += ovsdb/ovsdb-dot.in ovsdb/dot2pic |
f8d739a9 BP |
98 | noinst_SCRIPTS += ovsdb/ovsdb-dot |
99 | DISTCLEANFILES += ovsdb/ovsdb-dot | |
99155935 | 100 | OVSDB_DOT = $(run_python) $(srcdir)/ovsdb/ovsdb-dot.in |
f8d739a9 | 101 | |
436f27dd | 102 | include ovsdb/ovsdbmonitor/automake.mk |