X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fautomake.mk;h=2cff64bc05e0bafe0d624a6844d8538865ff0ad8;hb=fb0d597fb64308c60001e3afc9b31eb295dedb6b;hp=a36d1ae5ed06ca8ac0ac9fc24f79556175b77890;hpb=7634353824f1631c3008dc43a4a1cc0aebff3caa;p=openvswitch diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index a36d1ae5..2cff64bc 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -18,25 +18,39 @@ vswitchd_ovs_vswitchd_SOURCES = \ vswitchd/xenserver.h vswitchd_ovs_vswitchd_LDADD = \ ofproto/libofproto.a \ + lib/libsflow.a \ lib/libopenvswitch.a \ - $(FAULT_LIBS) \ $(SSL_LIBS) vswitchd_ovs_brcompatd_SOURCES = \ - vswitchd/ovs-brcompatd.c + vswitchd/ovs-brcompatd.c \ + vswitchd/vswitch-idl.c \ + vswitchd/vswitch-idl.h -vswitchd_ovs_brcompatd_LDADD = \ - lib/libopenvswitch.a \ - $(FAULT_LIBS) +vswitchd_ovs_brcompatd_LDADD = lib/libopenvswitch.a $(SSL_LIBS) EXTRA_DIST += \ vswitchd/ovs-vswitchd.8.in \ vswitchd/ovs-brcompatd.8.in -EXTRA_DIST += vswitchd/vswitch-idl.ovsidl -BUILT_SOURCES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h -DISTCLEANFILES += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h -noinst_DATA += vswitchd/vswitch-idl.ovsschema -DISTCLEANFILES += vswitchd/vswitch-idl.ovsschema -vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema: \ - ovsdb/ovsdb-idlc.in +# vswitch schema and IDL +OVSIDL_BUILT += \ + vswitchd/vswitch-idl.c \ + vswitchd/vswitch-idl.h \ + vswitchd/vswitch-idl.ovsidl +VSWITCH_IDL_FILES = vswitchd/vswitch.ovsschema vswitchd/vswitch-idl.ann +EXTRA_DIST += $(VSWITCH_IDL_FILES) +vswitchd/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES) + $(OVSDB_IDLC) -C $(srcdir) annotate $(VSWITCH_IDL_FILES) > $@.tmp + mv $@.tmp $@ + +# vswitch schema documentation +EXTRA_DIST += vswitchd/vswitch.xml +dist_man_MANS += vswitchd/ovs-vswitchd.conf.db.5 +vswitchd/ovs-vswitchd.conf.db.5: \ + ovsdb/ovsdb-doc.in vswitchd/vswitch.xml vswitchd/vswitch.ovsschema + $(OVSDB_DOC) \ + --title="ovs-vswitchd.conf.db" \ + $(srcdir)/vswitchd/vswitch.ovsschema \ + $(srcdir)/vswitchd/vswitch.xml > $@.tmp + mv $@.tmp $@