Fix "make distcleancheck" by deleting the nicira-ext.h stamp file too.
[sliver-openvswitch.git] / include / openflow / automake.mk
1 noinst_HEADERS += \
2         include/openflow/openflow-mgmt.h \
3         include/openflow/nicira-ext.h \
4         include/openflow/openflow.h
5
6 if HAVE_PYTHON
7 all-local: include/openflow/openflow.h.stamp
8 include/openflow/openflow.h.stamp: \
9         include/openflow/openflow.h build-aux/check-structs
10         $(PYTHON) $(srcdir)/build-aux/check-structs $(srcdir)/include/openflow/openflow.h
11         touch $@
12 DISTCLEANFILES += include/openflow/openflow.h.stamp
13
14 all-local: include/openflow/nicira-ext.h.stamp
15 include/openflow/nicira-ext.h.stamp: include/openflow/openflow.h include/openflow/nicira-ext.h build-aux/check-structs
16         $(PYTHON) $(srcdir)/build-aux/check-structs $(srcdir)/include/openflow/openflow.h $(srcdir)/include/openflow/nicira-ext.h
17         touch $@
18 DISTCLEANFILES += include/openflow/nicira-ext.h.stamp
19 endif
20
21 EXTRA_DIST += build-aux/check-structs
22