include: Install openflow/ and openvswitch/ headers.
[cascardo/ovs.git] / include / openflow / automake.mk
index 76a8f06..512991e 100644 (file)
@@ -1,9 +1,12 @@
-noinst_HEADERS += \
+openflowincludedir = $(includedir)/openflow
+openflowinclude_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-1.4.h \
+       include/openflow/openflow-1.5.h \
        include/openflow/openflow-common.h \
        include/openflow/openflow.h
 
@@ -11,7 +14,7 @@ if HAVE_PYTHON
 SUFFIXES += .h .hstamp
 
 .h.hstamp:
-       $(run_python) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $<
+       $(AM_V_GEN)$(run_python) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $< && \
        touch $@
 
 HSTAMP_FILES = \
@@ -20,6 +23,8 @@ HSTAMP_FILES = \
        include/openflow/openflow-1.1.hstamp \
        include/openflow/openflow-1.2.hstamp \
        include/openflow/openflow-1.3.hstamp \
+       include/openflow/openflow-1.4.hstamp \
+       include/openflow/openflow-1.5.hstamp \
        include/openflow/openflow-common.hstamp \
        include/openflow/openflow.hstamp
 CLEANFILES += $(HSTAMP_FILES)
@@ -37,6 +42,10 @@ include/openflow/openflow-1.3.hstamp: \
        include/openflow/openflow-common.h \
        include/openflow/openflow-1.1.h \
        include/openflow/openflow-1.2.h
+include/openflow/openflow-1.4.hstamp: \
+       include/openflow/openflow-1.4.h
+include/openflow/openflow-1.5.hstamp: \
+       include/openflow/openflow-1.5.h
 include/openflow/nicira-ext.hstamp: \
        include/openflow/openflow.h \
        include/openflow/openflow-common.h \