1 # Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc.
3 # Copying and distribution of this file, with or without modification,
4 # are permitted in any medium without royalty provided the copyright
5 # notice and this notice are preserved. This file is offered as-is,
6 # without warranty of any kind.
8 noinst_LIBRARIES += ofproto/libofproto.a
9 ofproto_libofproto_a_SOURCES = \
10 ofproto/collectors.c \
11 ofproto/collectors.h \
23 ofproto/ofproto-dpif.c \
24 ofproto/ofproto-dpif.h \
25 ofproto/ofproto-dpif-governor.c \
26 ofproto/ofproto-dpif-governor.h \
27 ofproto/ofproto-dpif-ipfix.c \
28 ofproto/ofproto-dpif-ipfix.h \
29 ofproto/ofproto-dpif-mirror.c \
30 ofproto/ofproto-dpif-mirror.h \
31 ofproto/ofproto-dpif-monitor.c \
32 ofproto/ofproto-dpif-monitor.h \
33 ofproto/ofproto-dpif-sflow.c \
34 ofproto/ofproto-dpif-sflow.h \
35 ofproto/ofproto-dpif-upcall.c \
36 ofproto/ofproto-dpif-upcall.h \
37 ofproto/ofproto-dpif-xlate.c \
38 ofproto/ofproto-dpif-xlate.h \
39 ofproto/ofproto-provider.h \
47 # Distribute this generated file in order not to require Python at
48 # build time if ofproto/ipfix.xml is not modified.
49 ofproto_libofproto_a_SOURCES += ofproto/ipfix-entities.def
51 BUILT_SOURCES += ofproto/ipfix-entities.def
53 CLEANFILES += ofproto/ipfix-entities.def
55 MAN_FRAGMENTS += ofproto/ofproto-unixctl.man ofproto/ofproto-dpif-unixctl.man
57 # IPFIX entity definition macros generation from IANA's XML definition.
58 EXTRA_DIST += ofproto/ipfix.xml
59 dist_noinst_SCRIPTS = ofproto/ipfix-gen-entities
60 ofproto/ipfix-entities.def: ofproto/ipfix.xml ofproto/ipfix-gen-entities
61 $(run_python) $(srcdir)/ofproto/ipfix-gen-entities $< > $@