Begin breaking openflow-1.0.h into common and version-specific definitions.
[openvswitch] / include / openflow / automake.mk
1 noinst_HEADERS += \
2         include/openflow/nicira-ext.h \
3         include/openflow/openflow-1.0.h \
4         include/openflow/openflow-1.1.h \
5         include/openflow/openflow-common.h \
6         include/openflow/openflow.h
7
8 if HAVE_PYTHON
9 SUFFIXES += .h .hstamp
10
11 .h.hstamp:
12         $(PYTHON) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $<
13         touch $@
14
15 HSTAMP_FILES = \
16         include/openflow/nicira.hstamp \
17         include/openflow/openflow-1.0.hstamp \
18         include/openflow/openflow-1.1.hstamp \
19         include/openflow/openflow.hstamp
20 ALL_LOCAL += $(HSTAMP_FILES)
21 $(HSTAMP_FILES): build-aux/check-structs
22
23 include/openflow/openflow-1.0.hstamp: include/openflow/openflow-common.h
24 include/openflow/openflow-1.1.hstamp: include/openflow/openflow-common.h
25 include/openflow/nicira-ext.hstamp: \
26         include/openflow/openflow-1.0.h \
27         include/openflow/openflow-1.1.h \
28         include/openflow/openflow-common.h \
29         include/openflow/openflow.h
30 endif
31
32 EXTRA_DIST += build-aux/check-structs
33