vswitch: Generate text file documenting the vswitch schema.
[sliver-openvswitch.git] / 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/libopenvswitch.a \
22         $(FAULT_LIBS) \
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 = \
31         lib/libopenvswitch.a \
32         $(FAULT_LIBS) 
33
34 EXTRA_DIST += \
35         vswitchd/ovs-vswitchd.8.in \
36         vswitchd/ovs-brcompatd.8.in
37
38 EXTRA_DIST += vswitchd/vswitch-idl.ovsidl
39 BUILT_SOURCES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h
40 DISTCLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h
41 noinst_DATA += vswitchd/vswitch-idl.ovsschema vswitchd/vswitch-idl.txt
42 DISTCLEANFILES += vswitchd/vswitch-idl.ovsschema vswitchd/vswitch-idl.txt
43 vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h \
44 vswitchd/vswitch-idl.ovsschema vswitchd/vswitch-idl.txt: \
45         ovsdb/ovsdb-idlc.in
46 vswitchd/vswitch-idl.c: vswitchd/vswitch-idl.h
47 EXTRA_DIST += \
48         vswitchd/vswitch-idl.c \
49         vswitchd/vswitch-idl.h \
50         vswitchd/vswitch-idl.ovsschema \
51         vswitchd/vswitch-idl.txt
52