Move the sources to trunk
[opencv] / interfaces / swig / general / Makefile.am
1 # depending on the Automake conditionals set by configure, we will build the various
2 # script language interfaces that SWIG is capable of generating wrappers for
3
4 BUILT_SOURCES = cvmacros.i
5
6 EXTRA_DIST = \
7   cv.i \
8   cvarr_operators.i \
9   cvmacros.i \
10   doublepointers.i \
11   extensions.i \
12   highgui.i \
13   memory.i \
14   sizeof.i \
15   typemaps.i
16
17 # the following rules keep wrappers up to date, if SWIG is present
18 if UPDATE_SWIG_WRAPPERS
19
20 CV_HEADER_FILES = \
21   $(top_srcdir)/cxcore/include/cxtypes.h \
22   $(top_srcdir)/cxcore/include/cxcore.h  \
23   $(top_srcdir)/cv/include/cvtypes.h \
24   $(top_srcdir)/cv/include/cv.h          
25
26 cvmacros.i: $(CV_HEADER_FILES) Makefile.in
27         $(PYTHON) $(top_srcdir)/utils/extract_macros.py $(CV_HEADER_FILES) > $@
28
29 endif