ofproto-dpif: Pull xlate_actions() into its own file.
[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/collectors.c \
11         ofproto/collectors.h \
12         ofproto/connmgr.c \
13         ofproto/connmgr.h \
14         ofproto/fail-open.c \
15         ofproto/fail-open.h \
16         ofproto/in-band.c \
17         ofproto/in-band.h \
18         ofproto/names.c \
19         ofproto/netflow.c \
20         ofproto/netflow.h \
21         ofproto/ofproto.c \
22         ofproto/ofproto.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-sflow.c \
30         ofproto/ofproto-dpif-sflow.h \
31         ofproto/ofproto-dpif-xlate.c \
32         ofproto/ofproto-dpif-xlate.h \
33         ofproto/ofproto-provider.h \
34         ofproto/pktbuf.c \
35         ofproto/pktbuf.h \
36         ofproto/pinsched.c \
37         ofproto/pinsched.h \
38         ofproto/tunnel.c \
39         ofproto/tunnel.h
40
41 # Distribute this generated file in order not to require Python at
42 # build time if ofproto/ipfix.xml is not modified.
43 ofproto_libofproto_a_SOURCES += ofproto/ipfix-entities.def
44
45 BUILT_SOURCES += ofproto/ipfix-entities.def
46
47 CLEANFILES += ofproto/ipfix-entities.def
48
49 MAN_FRAGMENTS += ofproto/ofproto-unixctl.man ofproto/ofproto-dpif-unixctl.man
50
51 # IPFIX entity definition macros generation from IANA's XML definition.
52 EXTRA_DIST += ofproto/ipfix.xml
53 dist_noinst_SCRIPTS = ofproto/ipfix-gen-entities
54 ofproto/ipfix-entities.def: ofproto/ipfix.xml ofproto/ipfix-gen-entities
55         $(run_python) $(srcdir)/ofproto/ipfix-gen-entities $< > $@