X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fautomake.mk;h=d5f9056f50daf289c0e3ba37ea533422a582fa0e;hb=b123cc3ce4972378a5e564a89b8945473f561578;hp=d26092062d52e77d5e163f00008076a0beb3c40b;hpb=b0fc010acb340f51a0517c36fbcdedd4f40f800e;p=openvswitch diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index d2609206..d5f9056f 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -18,27 +18,31 @@ vswitchd_ovs_vswitchd_SOURCES = \ vswitchd/xenserver.h vswitchd_ovs_vswitchd_LDADD = \ ofproto/libofproto.a \ + lib/libsflow.a \ lib/libopenvswitch.a \ - $(FAULT_LIBS) \ - $(SSL_LIBS) + $(SSL_LIBS) \ + $(PCRE_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) $(PCRE_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 -vswitchd/vswitch-idl.c: vswitchd/vswitch-idl.h -EXTRA_DIST += vswitchd/vswitch-idl.c vswitchd/vswitch-idl.h vswitchd/vswitch-idl.ovsschema + +# 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 +noinst_DATA += vswitchd/vswitch-idl.txt +EXTRA_DIST += $(VSWITCH_IDL_FILES) vswitchd/vswitch-idl.txt +vswitchd/vswitch-idl.ovsidl: $(VSWITCH_IDL_FILES) + $(OVSDB_IDLC) -C $(srcdir) annotate $(VSWITCH_IDL_FILES) > $@.tmp + mv $@.tmp $@