Add build checks for portable OpenFlow structure padding and alignment.
[sliver-openvswitch.git] / include / openflow / automake.mk
1 noinst_HEADERS += \
2         include/openflow/openflow-mgmt.h \
3         include/openflow/nicira-ext.h \
4         include/openflow/openflow.h
5
6 if HAVE_PYTHON
7 all-local: include/openflow/openflow.h.stamp
8 include/openflow/openflow.h.stamp: \
9         include/openflow/openflow.h build-aux/check-structs
10         $(PYTHON) $(srcdir)/build-aux/check-structs $(srcdir)/include/openflow/openflow.h
11         touch $@
12
13 all-local: include/openflow/nicira-ext.h.stamp
14 include/openflow/nicira-ext.h.stamp: include/openflow/openflow.h include/openflow/nicira-ext.h build-aux/check-structs
15         $(PYTHON) $(srcdir)/build-aux/check-structs $(srcdir)/include/openflow/openflow.h $(srcdir)/include/openflow/nicira-ext.h
16         touch $@
17 endif
18
19 EXTRA_DIST += build-aux/check-structs
20 DISTCLEANFILES += include/openflow/openflow.h.stamp