Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.git] / include / openflow / automake.mk
1 noinst_HEADERS += \
2         include/openflow/nicira-ext.h \
3         include/openflow/openflow-1.0.h \
4         include/openflow/openflow-1.1.h \
5         include/openflow/openflow-1.2.h \
6         include/openflow/openflow-1.3.h \
7         include/openflow/openflow-1.4.h \
8         include/openflow/openflow-common.h \
9         include/openflow/openflow.h
10
11 if HAVE_PYTHON
12 SUFFIXES += .h .hstamp
13
14 .h.hstamp:
15         $(run_python) $(srcdir)/build-aux/check-structs -I$(srcdir)/include $<
16         touch $@
17
18 HSTAMP_FILES = \
19         include/openflow/nicira-ext.hstamp \
20         include/openflow/openflow-1.0.hstamp \
21         include/openflow/openflow-1.1.hstamp \
22         include/openflow/openflow-1.2.hstamp \
23         include/openflow/openflow-1.3.hstamp \
24         include/openflow/openflow-1.4.hstamp \
25         include/openflow/openflow-common.hstamp \
26         include/openflow/openflow.hstamp
27 CLEANFILES += $(HSTAMP_FILES)
28 ALL_LOCAL += $(HSTAMP_FILES)
29 $(HSTAMP_FILES): build-aux/check-structs
30
31 include/openflow/openflow-1.0.hstamp: \
32         include/openflow/openflow-common.h
33 include/openflow/openflow-1.1.hstamp: \
34         include/openflow/openflow-common.h
35 include/openflow/openflow-1.2.hstamp: \
36         include/openflow/openflow-common.h \
37         include/openflow/openflow-1.1.h
38 include/openflow/openflow-1.3.hstamp: \
39         include/openflow/openflow-common.h \
40         include/openflow/openflow-1.1.h \
41         include/openflow/openflow-1.2.h
42 include/openflow/openflow-1.4.hstamp: \
43         include/openflow/openflow-1.4.h
44 include/openflow/nicira-ext.hstamp: \
45         include/openflow/openflow.h \
46         include/openflow/openflow-common.h \
47         include/openflow/openflow-1.0.h \
48         include/openflow/openflow-1.1.h \
49         include/openflow/openflow-1.2.h \
50         include/openflow/openflow-1.3.h
51 endif
52
53 EXTRA_DIST += build-aux/check-structs
54