218a5b12376a08b7278af843a196c0d3d87c9275
[sliver-openvswitch.git] / ofproto / automake.mk
1 # Copyright (C) 2009, 2010, 2011, 2012 Nicira, Inc.
2 #
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.
7
8 noinst_LIBRARIES += ofproto/libofproto.a
9 ofproto_libofproto_a_SOURCES = \
10         ofproto/bond.c \
11         ofproto/bond.h \
12         ofproto/collectors.c \
13         ofproto/collectors.h \
14         ofproto/connmgr.c \
15         ofproto/connmgr.h \
16         ofproto/fail-open.c \
17         ofproto/fail-open.h \
18         ofproto/in-band.c \
19         ofproto/in-band.h \
20         ofproto/names.c \
21         ofproto/netflow.c \
22         ofproto/netflow.h \
23         ofproto/ofproto.c \
24         ofproto/ofproto.h \
25         ofproto/ofproto-dpif.c \
26         ofproto/ofproto-dpif.h \
27         ofproto/ofproto-dpif-governor.c \
28         ofproto/ofproto-dpif-governor.h \
29         ofproto/ofproto-dpif-ipfix.c \
30         ofproto/ofproto-dpif-ipfix.h \
31         ofproto/ofproto-dpif-mirror.c \
32         ofproto/ofproto-dpif-mirror.h \
33         ofproto/ofproto-dpif-monitor.c \
34         ofproto/ofproto-dpif-monitor.h \
35         ofproto/ofproto-dpif-sflow.c \
36         ofproto/ofproto-dpif-sflow.h \
37         ofproto/ofproto-dpif-upcall.c \
38         ofproto/ofproto-dpif-upcall.h \
39         ofproto/ofproto-dpif-xlate.c \
40         ofproto/ofproto-dpif-xlate.h \
41         ofproto/ofproto-provider.h \
42         ofproto/pktbuf.c \
43         ofproto/pktbuf.h \
44         ofproto/pinsched.c \
45         ofproto/pinsched.h \
46         ofproto/tunnel.c \
47         ofproto/tunnel.h
48
49 # Distribute this generated file in order not to require Python at
50 # build time if ofproto/ipfix.xml is not modified.
51 ofproto_libofproto_a_SOURCES += ofproto/ipfix-entities.def
52
53 BUILT_SOURCES += ofproto/ipfix-entities.def
54
55 CLEANFILES += ofproto/ipfix-entities.def
56
57 MAN_FRAGMENTS += ofproto/ofproto-unixctl.man ofproto/ofproto-dpif-unixctl.man
58
59 # IPFIX entity definition macros generation from IANA's XML definition.
60 EXTRA_DIST += ofproto/ipfix.xml
61 dist_noinst_SCRIPTS = ofproto/ipfix-gen-entities
62 ofproto/ipfix-entities.def: ofproto/ipfix.xml ofproto/ipfix-gen-entities
63         $(run_python) $(srcdir)/ofproto/ipfix-gen-entities $< > $@