socket-util: Move get_mtime() here from stream-ssl.
[openvswitch] / vswitchd / automake.mk
1 sbin_PROGRAMS += vswitchd/ovs-vswitchd vswitchd/ovs-brcompatd
2 man_MANS += \
3         vswitchd/ovs-vswitchd.8 \
4         vswitchd/ovs-brcompatd.8
5 DISTCLEANFILES += \
6         vswitchd/ovs-vswitchd.8 \
7         vswitchd/ovs-brcompatd.8
8
9 vswitchd_ovs_vswitchd_SOURCES = \
10         vswitchd/bridge.c \
11         vswitchd/bridge.h \
12         vswitchd/proc-net-compat.c \
13         vswitchd/proc-net-compat.h \
14         vswitchd/ovs-vswitchd.c \
15         vswitchd/vswitch-idl.c \
16         vswitchd/vswitch-idl.h \
17         vswitchd/xenserver.c \
18         vswitchd/xenserver.h
19 vswitchd_ovs_vswitchd_LDADD = \
20         ofproto/libofproto.a \
21         lib/libsflow.a \
22         lib/libopenvswitch.a \
23         $(SSL_LIBS)
24
25 vswitchd_ovs_brcompatd_SOURCES = \
26         vswitchd/ovs-brcompatd.c \
27         vswitchd/vswitch-idl.c \
28         vswitchd/vswitch-idl.h
29
30 vswitchd_ovs_brcompatd_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
31
32 EXTRA_DIST += \
33         vswitchd/ovs-vswitchd.8.in \
34         vswitchd/ovs-brcompatd.8.in
35
36 # vswitch schema and IDL
37 OVSIDL_BUILT += \
38         vswitchd/vswitch-idl.c \
39         vswitchd/vswitch-idl.h \
40         vswitchd/vswitch-idl.ovsidl
41 VSWITCH_IDL_FILES = vswitchd/vswitch.ovsschema vswitchd/vswitch-idl.ann
42 EXTRA_DIST += $(VSWITCH_IDL_FILES)
43 vswitchd/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES)
44         $(OVSDB_IDLC) -C $(srcdir) annotate $(VSWITCH_IDL_FILES) > $@.tmp
45         mv $@.tmp $@
46
47 # vswitch schema documentation
48 EXTRA_DIST += vswitchd/vswitch.xml
49 dist_man_MANS += vswitchd/ovs-vswitchd.conf.db.5
50 vswitchd/ovs-vswitchd.conf.db.5: \
51         ovsdb/ovsdb-doc.in vswitchd/vswitch.xml vswitchd/vswitch.ovsschema
52         $(OVSDB_DOC) \
53                 --title="ovs-vswitchd.conf.db" \
54                 $(srcdir)/vswitchd/vswitch.ovsschema \
55                 $(srcdir)/vswitchd/vswitch.xml > $@.tmp
56         mv $@.tmp $@