X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fopenflow%2Fautomake.mk;h=4b7bc07fdc53612303ec0a36b4be1e7ee00ff32f;hb=ae0e7009320a4aceff41c53e0ce004cfc18b5f27;hp=146f9c4aac6a031b863dc184605943b246d10351;hpb=7c6a5f146742506a7a15cceface63ec3ba1e3076;p=openvswitch diff --git a/include/openflow/automake.mk b/include/openflow/automake.mk index 146f9c4a..4b7bc07f 100644 --- a/include/openflow/automake.mk +++ b/include/openflow/automake.mk @@ -1,21 +1,36 @@ 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 -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: + $(PYTHON) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $< touch $@ -DISTCLEANFILES += include/openflow/nicira-ext.h.stamp + +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