X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fopenflow%2Fautomake.mk;h=38e8eefd16613ca769d642b9ccbb6197dcbdfb30;hb=7c690f462fec1af60d76c67fac226fc648ea9149;hp=d4731550a3100dc2b58b030bf4e1422f2878327d;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=sliver-openvswitch.git diff --git a/include/openflow/automake.mk b/include/openflow/automake.mk index d4731550a..38e8eefd1 100644 --- a/include/openflow/automake.mk +++ b/include/openflow/automake.mk @@ -1,4 +1,37 @@ noinst_HEADERS += \ - include/openflow/openflow-mgmt.h \ 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-common.h \ include/openflow/openflow.h + +if HAVE_PYTHON +SUFFIXES += .h .hstamp + +.h.hstamp: + $(run_python) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $< + touch $@ + +HSTAMP_FILES = \ + include/openflow/nicira.hstamp \ + include/openflow/openflow-1.0.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-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 + +EXTRA_DIST += build-aux/check-structs +