X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fopenflow%2Fautomake.mk;h=76a8f062c0bef018adbdc683fff3ffa4cc7cb1ca;hb=ac923e910e15e934137b9f12997d153c83292edf;hp=b8dbc71b3ba8c498c1f498c47ae89f048b561827;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=sliver-openvswitch.git diff --git a/include/openflow/automake.mk b/include/openflow/automake.mk index b8dbc71b3..76a8f062c 100644 --- a/include/openflow/automake.mk +++ b/include/openflow/automake.mk @@ -1,20 +1,49 @@ 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 -all-local: include/openflow/openflow.h.stamp -include/openflow/openflow.h.stamp: \ - include/openflow/openflow.h build-aux/check-structs - $(PYTHON) $(srcdir)/build-aux/check-structs $(srcdir)/include/openflow/openflow.h - touch $@ -DISTCLEANFILES += include/openflow/openflow.h.stamp +SUFFIXES += .h .hstamp -all-local: include/openflow/nicira-ext.h.stamp -include/openflow/nicira-ext.h.stamp: include/openflow/openflow.h include/openflow/nicira-ext.h build-aux/check-structs - $(PYTHON) $(srcdir)/build-aux/check-structs $(srcdir)/include/openflow/openflow.h $(srcdir)/include/openflow/nicira-ext.h +.h.hstamp: + $(run_python) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $< touch $@ -DISTCLEANFILES += include/openflow/nicira-ext.h.stamp + +HSTAMP_FILES = \ + include/openflow/nicira-ext.hstamp \ + include/openflow/openflow-1.0.hstamp \ + include/openflow/openflow-1.1.hstamp \ + include/openflow/openflow-1.2.hstamp \ + include/openflow/openflow-1.3.hstamp \ + include/openflow/openflow-common.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/openflow-1.2.hstamp: \ + include/openflow/openflow-common.h \ + include/openflow/openflow-1.1.h +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/nicira-ext.hstamp: \ + include/openflow/openflow.h \ + include/openflow/openflow-common.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 endif EXTRA_DIST += build-aux/check-structs