diff options
author | Ben Pfaff <blp@nicira.com> | 2014-10-07 15:24:11 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2014-10-07 15:25:26 -0700 |
commit | a4ce8b2582e79e16c9ea4ef4565a125620826848 (patch) | |
tree | 8449cc8f6e9d36b4b95094a76f5e6b55242b954d /lib/automake.mk | |
parent | 795b3288aa5cb869da4fd50f5ebd09cdcc6d0c5c (diff) | |
download | openvswitch-a4ce8b2582e79e16c9ea4ef4565a125620826848.tar.gz |
meta-flow: Autogenerate mf_field data structures.
This is a first step toward improving the abstraction of OXM and NXM in the
tree. As an immediate improvement, this commit removes all of the
definitions of the OXM and NXM constants from the top-level header files,
because they are no longer used anywhere.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'lib/automake.mk')
-rw-r--r-- | lib/automake.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/automake.mk b/lib/automake.mk index 6c1db9a7e..329eca7b8 100644 --- a/lib/automake.mk +++ b/lib/automake.mk @@ -443,13 +443,19 @@ lib/dirs.c: lib/dirs.c.in Makefile > lib/dirs.c.tmp && \ mv lib/dirs.c.tmp lib/dirs.c +lib/meta-flow.inc: $(srcdir)/build-aux/extract-ofp-fields lib/meta-flow.h + $(AM_V_GEN)$(run_python) $^ > $@.tmp && mv $@.tmp $@ +lib/meta-flow.lo: lib/meta-flow.inc +CLEANFILES += lib/meta-flow.inc +EXTRA_DIST += build-aux/extract-ofp-fields + lib/ofp-actions.inc1: $(srcdir)/build-aux/extract-ofp-actions lib/ofp-actions.c $(AM_V_GEN)$(run_python) $^ --prototypes > $@.tmp && mv $@.tmp $@ lib/ofp-actions.inc2: $(srcdir)/build-aux/extract-ofp-actions lib/ofp-actions.c $(AM_V_GEN)$(run_python) $^ --definitions > $@.tmp && mv $@.tmp $@ lib/ofp-actions.lo: lib/ofp-actions.inc1 lib/ofp-actions.inc2 CLEANFILES += lib/ofp-actions.inc1 lib/ofp-actions.inc2 -EXTRA_DIST += build-aux/extract-ofp-actions lib/ofp-errors.inc +EXTRA_DIST += build-aux/extract-ofp-actions $(srcdir)/lib/ofp-errors.inc: \ lib/ofp-errors.h include/openflow/openflow-common.h \ |