Initial OpenFlow 1.3 support
[openvswitch] / include / openflow / automake.mk
index 70cd520d3f06a5b26b82c907a84a122a6745299c..f8910867ba7e03951bc5d681c7d1f56eb1c6399c 100644 (file)
@@ -1,25 +1,36 @@
 noinst_HEADERS += \
        include/openflow/nicira-ext.h \
        include/openflow/openflow-1.0.h \
+       include/openflow/openflow-1.1.h \
+       include/openflow/openflow-1.2.h \
+       include/openflow/openflow-1.3.h \
+       include/openflow/openflow-common.h \
        include/openflow/openflow.h
 
 if HAVE_PYTHON
 SUFFIXES += .h .hstamp
 
 .h.hstamp:
-       $(PYTHON) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $<
+       $(run_python) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $<
        touch $@
 
 HSTAMP_FILES = \
-       include/openflow/openflow.hstamp \
+       include/openflow/nicira.hstamp \
        include/openflow/openflow-1.0.hstamp \
-       include/openflow/nicira.hstamp
+       include/openflow/openflow-1.1.hstamp \
+       include/openflow/openflow-1.2.hstamp \
+       include/openflow/openflow.hstamp
+CLEANFILES += $(HSTAMP_FILES)
 ALL_LOCAL += $(HSTAMP_FILES)
 $(HSTAMP_FILES): build-aux/check-structs
 
-include/openflow/openflow-1.0.hstamp: include/openflow/openflow.h
+include/openflow/openflow-1.0.hstamp: include/openflow/openflow-common.h
+include/openflow/openflow-1.1.hstamp: include/openflow/openflow-common.h
 include/openflow/nicira-ext.hstamp: \
        include/openflow/openflow-1.0.h \
+       include/openflow/openflow-1.1.h \
+       include/openflow/openflow-1.2.h \
+       include/openflow/openflow-common.h \
        include/openflow/openflow.h
 endif