70cd520d3f06a5b26b82c907a84a122a6745299c
[sliver-openvswitch.git] / include / openflow / automake.mk
1 noinst_HEADERS += \
2         include/openflow/nicira-ext.h \
3         include/openflow/openflow-1.0.h \
4         include/openflow/openflow.h
5
6 if HAVE_PYTHON
7 SUFFIXES += .h .hstamp
8
9 .h.hstamp:
10         $(PYTHON) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $<
11         touch $@
12
13 HSTAMP_FILES = \
14         include/openflow/openflow.hstamp \
15         include/openflow/openflow-1.0.hstamp \
16         include/openflow/nicira.hstamp
17 ALL_LOCAL += $(HSTAMP_FILES)
18 $(HSTAMP_FILES): build-aux/check-structs
19
20 include/openflow/openflow-1.0.hstamp: include/openflow/openflow.h
21 include/openflow/nicira-ext.hstamp: \
22         include/openflow/openflow-1.0.h \
23         include/openflow/openflow.h
24 endif
25
26 EXTRA_DIST += build-aux/check-structs
27