ovsdb-idl: Make IDL-generated files depend on ovsdb-idlc.
[cascardo/ovs.git] / vswitchd / automake.mk
1 sbin_PROGRAMS += vswitchd/ovs-vswitchd vswitchd/ovs-brcompatd
2 man_MANS += \
3         vswitchd/ovs-vswitchd.conf.5 \
4         vswitchd/ovs-vswitchd.8 \
5         vswitchd/ovs-brcompatd.8
6 DISTCLEANFILES += \
7         vswitchd/ovs-vswitchd.conf.5 \
8         vswitchd/ovs-vswitchd.8 \
9         vswitchd/ovs-brcompatd.8
10
11 vswitchd_ovs_vswitchd_SOURCES = \
12         vswitchd/bridge.c \
13         vswitchd/bridge.h \
14         vswitchd/mgmt.c \
15         vswitchd/mgmt.h \
16         vswitchd/proc-net-compat.c \
17         vswitchd/proc-net-compat.h \
18         vswitchd/ovs-vswitchd.c \
19         vswitchd/ovs-vswitchd.h \
20         vswitchd/vswitch-idl.c \
21         vswitchd/vswitch-idl.h \
22         vswitchd/xenserver.c \
23         vswitchd/xenserver.h
24 vswitchd_ovs_vswitchd_LDADD = \
25         ofproto/libofproto.a \
26         lib/libopenvswitch.a \
27         $(FAULT_LIBS) \
28         $(SSL_LIBS)
29
30 vswitchd_ovs_brcompatd_SOURCES = \
31         vswitchd/ovs-brcompatd.c
32
33 vswitchd_ovs_brcompatd_LDADD = \
34         lib/libopenvswitch.a \
35         $(FAULT_LIBS) 
36
37 EXTRA_DIST += \
38         vswitchd/ovs-vswitchd.conf.5.in \
39         vswitchd/ovs-vswitchd.8.in \
40         vswitchd/ovs-brcompatd.8.in
41
42 EXTRA_DIST += vswitchd/vswitch-idl.ovsidl
43 BUILT_SOURCES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h
44 DISTCLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h
45 noinst_DATA += vswitchd/vswitch-idl.ovsschema
46 DISTCLEANFILES += vswitchd/vswitch-idl.ovsschema
47 vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema: \
48         ovsdb/ovsdb-idlc.in