X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fautomake.mk;h=e4ea41d0109460e1f2d6408a96838d113de1a924;hb=4816a18f33380a33d381b77d41df39113c94500d;hp=ab889af17555ad35eed8329c4d8fd0a95a871682;hpb=8706009e555bb9fa04a5679e4be2c7c67506802b;p=sliver-openvswitch.git diff --git a/ofproto/automake.mk b/ofproto/automake.mk index ab889af17..e4ea41d01 100644 --- a/ofproto/automake.mk +++ b/ofproto/automake.mk @@ -23,12 +23,30 @@ ofproto_libofproto_a_SOURCES = \ ofproto/ofproto-dpif.c \ ofproto/ofproto-dpif-governor.c \ ofproto/ofproto-dpif-governor.h \ + ofproto/ofproto-dpif-ipfix.c \ + ofproto/ofproto-dpif-ipfix.h \ ofproto/ofproto-dpif-sflow.c \ ofproto/ofproto-dpif-sflow.h \ ofproto/ofproto-provider.h \ ofproto/pktbuf.c \ ofproto/pktbuf.h \ ofproto/pinsched.c \ - ofproto/pinsched.h + ofproto/pinsched.h \ + ofproto/tunnel.c \ + ofproto/tunnel.h -MAN_FRAGMENTS += ofproto/ofproto-unixctl.man +# Distribute this generated file in order not to require Python at +# build time if ofproto/ipfix.xml is not modified. +ofproto_libofproto_a_SOURCES += ofproto/ipfix-entities.def + +BUILT_SOURCES += ofproto/ipfix-entities.def + +CLEANFILES += ofproto/ipfix-entities.def + +MAN_FRAGMENTS += ofproto/ofproto-unixctl.man ofproto/ofproto-dpif-unixctl.man + +# IPFIX entity definition macros generation from IANA's XML definition. +EXTRA_DIST += ofproto/ipfix.xml +dist_noinst_SCRIPTS = ofproto/ipfix-gen-entities +ofproto/ipfix-entities.def: ofproto/ipfix.xml ofproto/ipfix-gen-entities + $(run_python) $(srcdir)/ofproto/ipfix-gen-entities $< > $@