]>
Commit | Line | Data |
---|---|---|
730b985b | 1 | # Copyright (C) 2009, 2010, 2011, 2012, 2014, 2016 Nicira, Inc. |
8cd4882f BP |
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 | ||
38b7a52b | 8 | lib_LTLIBRARIES += ofproto/libofproto.la |
7f2f24e3 | 9 | ofproto_libofproto_la_LDFLAGS = \ |
cb991590 | 10 | $(OVS_LTINFO) \ |
a4353e20 TG |
11 | -Wl,--version-script=$(top_builddir)/ofproto/libofproto.sym \ |
12 | $(AM_LDFLAGS) | |
38b7a52b | 13 | ofproto_libofproto_la_SOURCES = \ |
9a54394a AZ |
14 | ofproto/bond.c \ |
15 | ofproto/bond.h \ | |
6bab3798 BP |
16 | ofproto/collectors.c \ |
17 | ofproto/collectors.h \ | |
19a87e36 BP |
18 | ofproto/connmgr.c \ |
19 | ofproto/connmgr.h \ | |
8cd4882f BP |
20 | ofproto/fail-open.c \ |
21 | ofproto/fail-open.h \ | |
22 | ofproto/in-band.c \ | |
23 | ofproto/in-band.h \ | |
63d347ce | 24 | ofproto/names.c \ |
8cd4882f BP |
25 | ofproto/netflow.c \ |
26 | ofproto/netflow.h \ | |
27 | ofproto/ofproto.c \ | |
28 | ofproto/ofproto.h \ | |
abe529af | 29 | ofproto/ofproto-dpif.c \ |
9583bc14 | 30 | ofproto/ofproto-dpif.h \ |
29089a54 RL |
31 | ofproto/ofproto-dpif-ipfix.c \ |
32 | ofproto/ofproto-dpif-ipfix.h \ | |
ec7ceaed EJ |
33 | ofproto/ofproto-dpif-mirror.c \ |
34 | ofproto/ofproto-dpif-mirror.h \ | |
635c5db9 AW |
35 | ofproto/ofproto-dpif-monitor.c \ |
36 | ofproto/ofproto-dpif-monitor.h \ | |
f5374617 AZ |
37 | ofproto/ofproto-dpif-rid.c \ |
38 | ofproto/ofproto-dpif-rid.h \ | |
bae473fe JP |
39 | ofproto/ofproto-dpif-sflow.c \ |
40 | ofproto/ofproto-dpif-sflow.h \ | |
d13ee228 BP |
41 | ofproto/ofproto-dpif-trace.c \ |
42 | ofproto/ofproto-dpif-trace.h \ | |
e1ec7dd4 EJ |
43 | ofproto/ofproto-dpif-upcall.c \ |
44 | ofproto/ofproto-dpif-upcall.h \ | |
9583bc14 EJ |
45 | ofproto/ofproto-dpif-xlate.c \ |
46 | ofproto/ofproto-dpif-xlate.h \ | |
5bee6e26 | 47 | ofproto/ofproto-provider.h \ |
901a517e JR |
48 | ofproto/ofproto-dpif-xlate-cache.c \ |
49 | ofproto/ofproto-dpif-xlate-cache.h \ | |
8cd4882f | 50 | ofproto/pinsched.c \ |
7d1a8e7a JG |
51 | ofproto/pinsched.h \ |
52 | ofproto/tunnel.c \ | |
777af88d AC |
53 | ofproto/tunnel.h \ |
54 | ofproto/bundles.c \ | |
55 | ofproto/bundles.h | |
56 | ||
38b7a52b HS |
57 | ofproto_libofproto_la_CPPFLAGS = $(AM_CPPFLAGS) |
58 | ofproto_libofproto_la_CFLAGS = $(AM_CFLAGS) | |
59 | ofproto_libofproto_la_LIBADD = lib/libsflow.la | |
94887cf4 GS |
60 | if WIN32 |
61 | ofproto_libofproto_la_LIBADD += ${PTHREAD_LIBS} | |
62 | endif | |
63 | ||
b82b1573 | 64 | pkgconfig_DATA += \ |
1e78e308 | 65 | ofproto/libofproto.pc |
7aa697dd | 66 | |
29089a54 RL |
67 | # Distribute this generated file in order not to require Python at |
68 | # build time if ofproto/ipfix.xml is not modified. | |
38b7a52b | 69 | ofproto_libofproto_la_SOURCES += ofproto/ipfix-entities.def |
29089a54 RL |
70 | |
71 | BUILT_SOURCES += ofproto/ipfix-entities.def | |
72 | ||
73 | CLEANFILES += ofproto/ipfix-entities.def | |
74 | ||
a36de779 PS |
75 | MAN_FRAGMENTS += ofproto/ofproto-unixctl.man ofproto/ofproto-dpif-unixctl.man \ |
76 | ofproto/ofproto-tnl-unixctl.man | |
29089a54 RL |
77 | |
78 | # IPFIX entity definition macros generation from IANA's XML definition. | |
79 | EXTRA_DIST += ofproto/ipfix.xml | |
80 | dist_noinst_SCRIPTS = ofproto/ipfix-gen-entities | |
81 | ofproto/ipfix-entities.def: ofproto/ipfix.xml ofproto/ipfix-gen-entities | |
ef44aa50 | 82 | $(AM_V_GEN)$(run_python) $(srcdir)/ofproto/ipfix-gen-entities $< > $@.tmp && \ |
bc3dcab9 | 83 | mv $@.tmp $@ |
8b7ea2d4 WZ |
84 | |
85 | # IPFIX enterprise entity definition macros. | |
86 | EXTRA_DIST += ofproto/ipfix-enterprise-entities.def | |
115d8719 RB |
87 | |
88 | FLAKE8_PYFILES += ofproto/ipfix-gen-entities |