1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # The top-level input Makefile for OpenCV
21 top_srcdir = @top_srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkglibdir = $(libdir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
40 build_triplet = @build@
42 target_triplet = @target@
43 DIST_COMMON = README $(am__configure_deps) $(libcvinclude_HEADERS) \
44 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
45 $(srcdir)/cvconfig.h.in $(srcdir)/opencv.pc.in \
46 $(srcdir)/opencv.spec.in $(top_srcdir)/configure AUTHORS \
47 COPYING ChangeLog INSTALL NEWS THANKS TODO \
48 autotools/config.guess autotools/config.sub autotools/depcomp \
49 autotools/install-sh autotools/ltmain.sh autotools/missing \
50 autotools/mkinstalldirs autotools/py-compile
52 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
53 am__aclocal_m4_deps = $(top_srcdir)/autotools/aclocal/az_python.m4 \
54 $(top_srcdir)/autotools/aclocal/pkg.m4 \
55 $(top_srcdir)/autotools/aclocal/swig_complete.m4 \
56 $(top_srcdir)/autotools/aclocal/version_at_least.m4 \
57 $(top_srcdir)/configure.in
58 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
61 configure.lineno configure.status.lineno
62 mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
63 CONFIG_HEADER = cvconfig.h
64 CONFIG_CLEAN_FILES = opencv.pc opencv.spec
67 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
68 html-recursive info-recursive install-data-recursive \
69 install-exec-recursive install-info-recursive \
70 install-recursive installcheck-recursive installdirs-recursive \
71 pdf-recursive ps-recursive uninstall-info-recursive \
73 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
74 am__vpath_adj = case $$p in \
75 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
78 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
79 am__installdirs = "$(DESTDIR)$(pkgconfigdir)" \
80 "$(DESTDIR)$(libcvincludedir)"
81 pkgconfigDATA_INSTALL = $(INSTALL_DATA)
82 DATA = $(pkgconfig_DATA)
83 libcvincludeHEADERS_INSTALL = $(INSTALL_HEADER)
84 HEADERS = $(libcvinclude_HEADERS)
87 DIST_SUBDIRS = cxcore cv cvaux ml otherlibs utils interfaces apps \
88 tests samples data docs
89 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
90 distdir = $(PACKAGE)-$(VERSION)
91 top_distdir = $(distdir)
92 am__remove_distdir = \
93 { test ! -d $(distdir) \
94 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
95 && rm -fr $(distdir); }; }
96 DIST_ARCHIVES = $(distdir).tar.gz
98 distuninstallcheck_listfiles = find . -type f -print
99 distcleancheck_listfiles = find . -type f -print
102 AMDEP_FALSE = @AMDEP_FALSE@
103 AMDEP_TRUE = @AMDEP_TRUE@
107 AUTOCONF = @AUTOCONF@
108 AUTOHEADER = @AUTOHEADER@
109 AUTOMAKE = @AUTOMAKE@
111 BUILD_APPS_FALSE = @BUILD_APPS_FALSE@
112 BUILD_APPS_TRUE = @BUILD_APPS_TRUE@
113 BUILD_CARBON_FALSE = @BUILD_CARBON_FALSE@
114 BUILD_CARBON_TRUE = @BUILD_CARBON_TRUE@
115 BUILD_DC1394_FALSE = @BUILD_DC1394_FALSE@
116 BUILD_DC1394_TRUE = @BUILD_DC1394_TRUE@
117 BUILD_FFMPEG_FALSE = @BUILD_FFMPEG_FALSE@
118 BUILD_FFMPEG_TRUE = @BUILD_FFMPEG_TRUE@
119 BUILD_GSTREAMER_FALSE = @BUILD_GSTREAMER_FALSE@
120 BUILD_GSTREAMER_TRUE = @BUILD_GSTREAMER_TRUE@
121 BUILD_GTK_FALSE = @BUILD_GTK_FALSE@
122 BUILD_GTK_TRUE = @BUILD_GTK_TRUE@
123 BUILD_IMAGEIO_FALSE = @BUILD_IMAGEIO_FALSE@
124 BUILD_IMAGEIO_TRUE = @BUILD_IMAGEIO_TRUE@
125 BUILD_OCTAVE_WRAPPERS_FALSE = @BUILD_OCTAVE_WRAPPERS_FALSE@
126 BUILD_OCTAVE_WRAPPERS_TRUE = @BUILD_OCTAVE_WRAPPERS_TRUE@
127 BUILD_PYTHON_WRAPPERS_FALSE = @BUILD_PYTHON_WRAPPERS_FALSE@
128 BUILD_PYTHON_WRAPPERS_TRUE = @BUILD_PYTHON_WRAPPERS_TRUE@
129 BUILD_QUICKTIME_FALSE = @BUILD_QUICKTIME_FALSE@
130 BUILD_QUICKTIME_TRUE = @BUILD_QUICKTIME_TRUE@
131 BUILD_V4L_FALSE = @BUILD_V4L_FALSE@
132 BUILD_V4L_TRUE = @BUILD_V4L_TRUE@
133 BUILD_XINE_FALSE = @BUILD_XINE_FALSE@
134 BUILD_XINE_TRUE = @BUILD_XINE_TRUE@
135 CARBON_CFLAGS = @CARBON_CFLAGS@
136 CARBON_LIBS = @CARBON_LIBS@
138 CCDEPMODE = @CCDEPMODE@
141 CPPFLAGS = @CPPFLAGS@
144 CXXDEPMODE = @CXXDEPMODE@
145 CXXFLAGS = @CXXFLAGS@
146 CYGPATH_W = @CYGPATH_W@
149 DEF_CXXFLAGS = @DEF_CXXFLAGS@
152 DSYMUTIL = @DSYMUTIL@
161 FFMPEGLIBS = @FFMPEGLIBS@
163 GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@
164 GSTREAMER_LIBS = @GSTREAMER_LIBS@
165 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
166 GTHREAD_LIBS = @GTHREAD_LIBS@
167 GTK_CFLAGS = @GTK_CFLAGS@
168 GTK_LIBS = @GTK_LIBS@
169 IEEE1394LIBS = @IEEE1394LIBS@
170 IMAGELIBS = @IMAGELIBS@
171 INSTALL_DATA = @INSTALL_DATA@
172 INSTALL_PROGRAM = @INSTALL_PROGRAM@
173 INSTALL_SCRIPT = @INSTALL_SCRIPT@
174 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
180 LTLIBOBJS = @LTLIBOBJS@
181 LT_VERSION = @LT_VERSION@
182 MAKEINFO = @MAKEINFO@
183 MKOCTFILE = @MKOCTFILE@
186 MSUBMINOR = @MSUBMINOR@
191 OCTAVE_ARCH = @OCTAVE_ARCH@
192 OCT_CXXFLAGS = @OCT_CXXFLAGS@
194 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
195 PACKAGE_NAME = @PACKAGE_NAME@
196 PACKAGE_STRING = @PACKAGE_STRING@
197 PACKAGE_TARNAME = @PACKAGE_TARNAME@
198 PACKAGE_VERSION = @PACKAGE_VERSION@
199 PATH_SEPARATOR = @PATH_SEPARATOR@
200 PKG_CONFIG = @PKG_CONFIG@
202 PYTHON_CSPEC = @PYTHON_CSPEC@
203 PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
204 PYTHON_LSPEC = @PYTHON_LSPEC@
205 PYTHON_PLATFORM = @PYTHON_PLATFORM@
206 PYTHON_PREFIX = @PYTHON_PREFIX@
207 PYTHON_VERSION = @PYTHON_VERSION@
208 PY_CXXFLAGS = @PY_CXXFLAGS@
209 QUICKTIME_CFLAGS = @QUICKTIME_CFLAGS@
210 QUICKTIME_LIBS = @QUICKTIME_LIBS@
213 SET_MAKE = @SET_MAKE@
217 SWIG_OCTAVE_OPT = @SWIG_OCTAVE_OPT@
218 SWIG_PYTHON_LIBS = @SWIG_PYTHON_LIBS@
219 SWIG_PYTHON_OPT = @SWIG_PYTHON_OPT@
220 SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
221 SWIG_VERSION = @SWIG_VERSION@
222 UPDATE_SWIG_WRAPPERS_FALSE = @UPDATE_SWIG_WRAPPERS_FALSE@
223 UPDATE_SWIG_WRAPPERS_TRUE = @UPDATE_SWIG_WRAPPERS_TRUE@
225 XINE_LIBS = @XINE_LIBS@
226 ac_ct_CC = @ac_ct_CC@
227 ac_ct_CXX = @ac_ct_CXX@
228 ac_ct_F77 = @ac_ct_F77@
229 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
230 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
231 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
232 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
233 am__include = @am__include@
234 am__leading_dot = @am__leading_dot@
235 am__quote = @am__quote@
237 am__untar = @am__untar@
240 build_alias = @build_alias@
241 build_cpu = @build_cpu@
242 build_os = @build_os@
243 build_vendor = @build_vendor@
245 datarootdir = @datarootdir@
248 exec_prefix = @exec_prefix@
250 host_alias = @host_alias@
251 host_cpu = @host_cpu@
253 host_vendor = @host_vendor@
255 includedir = @includedir@
257 install_sh = @install_sh@
259 libexecdir = @libexecdir@
260 localedir = @localedir@
261 localstatedir = @localstatedir@
264 oldincludedir = @oldincludedir@
266 pkgpyexecdir = @pkgpyexecdir@
267 pkgpythondir = @pkgpythondir@
269 program_transform_name = @program_transform_name@
271 pyexecdir = @pyexecdir@
272 pythondir = @pythondir@
274 sharedstatedir = @sharedstatedir@
275 sysconfdir = @sysconfdir@
277 target_alias = @target_alias@
278 target_cpu = @target_cpu@
279 target_os = @target_os@
280 target_vendor = @target_vendor@
282 # use the default c++ flags
283 AM_CXXFLAGS = @DEF_CXXFLAGS@
285 # tell make where aclocal finds its files in Maintainer Mode
286 ACLOCAL_AMFLAGS = -I ./autotools/aclocal
287 @BUILD_APPS_FALSE@APPS_DIR =
288 @BUILD_APPS_TRUE@APPS_DIR = apps
289 SUBDIRS = cxcore cv cvaux ml otherlibs utils interfaces $(APPS_DIR) tests samples data docs
291 # All the rest of the distributed files
292 #EXTRA_DIST = THANKS COPYING INSTALL README NEWS ChangeLog \
293 #EXTRA_DIST = THANKS TODO \
294 # opencv.spec opencv.spec.in opencv.pc.in opencv.pc \
295 # _make apps filters make_frameworks.sh
296 pkgconfigdir = $(libdir)/pkgconfig
297 pkgconfig_DATA = opencv.pc
299 # The directory where the include files will be installed
300 libcvincludedir = $(includedir)/opencv
302 # Which header files to install
303 libcvinclude_HEADERS =
305 # FRAMEWORK ###################################################################
307 # The following section is dedicated to Darwin / Mac OS X framework builds.
308 # It currently creates a private framework (see Apple documentation) that
309 # cannot be placed to the /Library/Framework locations but is intended to get
310 # copied into application bundles.
312 # You should usually not invoke this target directly but use the shell script
313 # 'make_frameworks.sh' instead that will create the most sensible
314 # default installation (universal build).
316 # See: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/
318 FRAMEWORK_NAME = OpenCV
319 FRAMEWORK_VERSION = A
320 FRAMEWORK_CURRENT_VERSION = 1
321 FRAMEWORK_COMPAT_VERSION = 1
323 # install path to be set in calling script
324 # FRAMEWORK_INSTALL_PATH = executable_path/../Frameworks
326 # architecture to be set in calling script
327 # FRAMEWORK_ARCH = i386
328 FRAMEWORK_INSTALL_NAME = $(FRAMEWORK_INSTALL_PATH)/$(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/$(FRAMEWORK_NAME)
329 FRAMEWORK_XHEADERS = \
330 $(top_srcdir)/autotools/darwin/OpenCV.h \
331 $(top_srcdir)/cxcore/include/cxcore.h \
332 $(top_srcdir)/cxcore/include/cxerror.h \
333 $(top_srcdir)/cxcore/include/cxtypes.h \
334 $(top_srcdir)/cxcore/include/cxmisc.h \
335 $(top_srcdir)/cxcore/include/cxcore.hpp \
336 $(top_srcdir)/cxcore/include/cvver.h \
337 $(top_srcdir)/cv/include/cv.h \
338 $(top_srcdir)/cv/include/cvcompat.h \
339 $(top_srcdir)/cv/include/cvtypes.h \
340 $(top_srcdir)/cv/include/cv.hpp \
341 $(top_srcdir)/cvaux/include/cvaux.h \
342 $(top_srcdir)/cvaux/include/cvmat.hpp \
343 $(top_srcdir)/cvaux/include/cvaux.hpp \
344 $(top_srcdir)/cvaux/include/cvvidsurv.hpp \
345 $(top_srcdir)/ml/include/ml.h \
346 $(top_srcdir)/otherlibs/highgui/highgui.h
349 $(top_builddir)/cxcore/src/.libs/lib_cxcore.a \
350 $(top_builddir)/cv/src/.libs/lib_cv.a \
351 $(top_builddir)/cvaux/src/.libs/lib_cvaux.a \
352 $(top_builddir)/ml/src/.libs/lib_ml.a \
353 $(top_builddir)/otherlibs/highgui/.libs/lib_highgui.a
355 FRAMEWORK_XLIBRARIES = -framework Carbon -framework QuickTime -framework QuartzCore
356 FRAMEWORK_DOCUMENTATION = \
357 $(top_srcdir)/docs/license.txt \
358 $(top_srcdir)/docs/index.htm \
359 $(top_srcdir)/docs/faq.htm \
360 $(top_srcdir)/docs/ref
362 FMWK_CC = g++ -dynamiclib -all_load -Wl,-single_module -Wl,-Y,100
364 $(MAKE) $(AM_MAKEFLAGS) all-recursive
369 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
371 case '$(am__configure_deps)' in \
373 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
374 cd $(srcdir) && $(AUTOMAKE) --gnu \
379 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
380 cd $(top_srcdir) && \
381 $(AUTOMAKE) --gnu Makefile
383 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
386 echo ' $(SHELL) ./config.status'; \
387 $(SHELL) ./config.status;; \
389 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
390 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
393 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
394 $(SHELL) ./config.status --recheck
396 $(top_srcdir)/configure: $(am__configure_deps)
397 cd $(srcdir) && $(AUTOCONF)
398 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
399 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
402 @if test ! -f $@; then \
407 stamp-h1: $(srcdir)/cvconfig.h.in $(top_builddir)/config.status
409 cd $(top_builddir) && $(SHELL) ./config.status cvconfig.h
410 $(srcdir)/cvconfig.h.in: $(am__configure_deps)
411 cd $(top_srcdir) && $(AUTOHEADER)
416 -rm -f cvconfig.h stamp-h1
417 opencv.pc: $(top_builddir)/config.status $(srcdir)/opencv.pc.in
418 cd $(top_builddir) && $(SHELL) ./config.status $@
419 opencv.spec: $(top_builddir)/config.status $(srcdir)/opencv.spec.in
420 cd $(top_builddir) && $(SHELL) ./config.status $@
431 install-pkgconfigDATA: $(pkgconfig_DATA)
433 test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
434 @list='$(pkgconfig_DATA)'; for p in $$list; do \
435 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
437 echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
438 $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
441 uninstall-pkgconfigDATA:
443 @list='$(pkgconfig_DATA)'; for p in $$list; do \
445 echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
446 rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
448 install-libcvincludeHEADERS: $(libcvinclude_HEADERS)
450 test -z "$(libcvincludedir)" || $(mkdir_p) "$(DESTDIR)$(libcvincludedir)"
451 @list='$(libcvinclude_HEADERS)'; for p in $$list; do \
452 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
454 echo " $(libcvincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libcvincludedir)/$$f'"; \
455 $(libcvincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libcvincludedir)/$$f"; \
458 uninstall-libcvincludeHEADERS:
460 @list='$(libcvinclude_HEADERS)'; for p in $$list; do \
462 echo " rm -f '$(DESTDIR)$(libcvincludedir)/$$f'"; \
463 rm -f "$(DESTDIR)$(libcvincludedir)/$$f"; \
466 # This directory's subdirectories are mostly independent; you can cd
467 # into them and run `make' without going through this Makefile.
468 # To change the values of `make' variables: instead of editing Makefiles,
469 # (1) if the variable is set in `config.status', edit `config.status'
470 # (which will cause the Makefiles to be regenerated when you run `make');
471 # (2) otherwise, pass the desired values on the `make' command line.
472 $(RECURSIVE_TARGETS):
474 for f in x $$MAKEFLAGS; do \
477 *k*) failcom='fail=yes';; \
481 target=`echo $@ | sed s/-recursive//`; \
482 list='$(SUBDIRS)'; for subdir in $$list; do \
483 echo "Making $$target in $$subdir"; \
484 if test "$$subdir" = "."; then \
486 local_target="$$target-am"; \
488 local_target="$$target"; \
490 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
493 if test "$$dot_seen" = "no"; then \
494 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
497 mostlyclean-recursive clean-recursive distclean-recursive \
498 maintainer-clean-recursive:
500 for f in x $$MAKEFLAGS; do \
503 *k*) failcom='fail=yes';; \
508 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
509 *) list='$(SUBDIRS)' ;; \
511 rev=''; for subdir in $$list; do \
512 if test "$$subdir" = "."; then :; else \
513 rev="$$subdir $$rev"; \
517 target=`echo $@ | sed s/-recursive//`; \
518 for subdir in $$rev; do \
519 echo "Making $$target in $$subdir"; \
520 if test "$$subdir" = "."; then \
521 local_target="$$target-am"; \
523 local_target="$$target"; \
525 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
527 done && test -z "$$fail"
529 list='$(SUBDIRS)'; for subdir in $$list; do \
530 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
533 list='$(SUBDIRS)'; for subdir in $$list; do \
534 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
537 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
538 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
539 unique=`for i in $$list; do \
540 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
542 $(AWK) ' { files[$$0] = 1; } \
543 END { for (i in files) print i; }'`; \
547 TAGS: tags-recursive $(HEADERS) $(SOURCES) cvconfig.h.in $(TAGS_DEPENDENCIES) \
548 $(TAGS_FILES) $(LISP)
551 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
552 include_option=--etags-include; \
555 include_option=--include; \
558 list='$(SUBDIRS)'; for subdir in $$list; do \
559 if test "$$subdir" = .; then :; else \
560 test ! -f $$subdir/TAGS || \
561 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
564 list='$(SOURCES) $(HEADERS) cvconfig.h.in $(LISP) $(TAGS_FILES)'; \
565 unique=`for i in $$list; do \
566 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
568 $(AWK) ' { files[$$0] = 1; } \
569 END { for (i in files) print i; }'`; \
570 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
571 test -n "$$unique" || unique=$$empty_fix; \
572 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
576 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) cvconfig.h.in $(TAGS_DEPENDENCIES) \
577 $(TAGS_FILES) $(LISP)
580 list='$(SOURCES) $(HEADERS) cvconfig.h.in $(LISP) $(TAGS_FILES)'; \
581 unique=`for i in $$list; do \
582 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
584 $(AWK) ' { files[$$0] = 1; } \
585 END { for (i in files) print i; }'`; \
586 test -z "$(CTAGS_ARGS)$$tags$$unique" \
587 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
591 here=`$(am__cd) $(top_builddir) && pwd` \
592 && cd $(top_srcdir) \
593 && gtags -i $(GTAGS_ARGS) $$here
596 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
598 distdir: $(DISTFILES)
599 $(am__remove_distdir)
601 $(mkdir_p) $(distdir)/. $(distdir)/autotools $(distdir)/autotools/aclocal
602 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
603 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
604 list='$(DISTFILES)'; for file in $$list; do \
606 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
607 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
609 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
610 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
611 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
613 $(mkdir_p) "$(distdir)$$dir"; \
617 if test -d $$d/$$file; then \
618 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
619 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
621 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
623 test -f $(distdir)/$$file \
624 || cp -p $$d/$$file $(distdir)/$$file \
628 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
629 if test "$$subdir" = .; then :; else \
630 test -d "$(distdir)/$$subdir" \
631 || $(mkdir_p) "$(distdir)/$$subdir" \
633 distdir=`$(am__cd) $(distdir) && pwd`; \
634 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
636 $(MAKE) $(AM_MAKEFLAGS) \
637 top_distdir="$$top_distdir" \
638 distdir="$$distdir/$$subdir" \
643 $(MAKE) $(AM_MAKEFLAGS) \
644 top_distdir="$(top_distdir)" distdir="$(distdir)" \
646 -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
647 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
648 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
649 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
650 || chmod -R a+r $(distdir)
652 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
653 $(am__remove_distdir)
656 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
657 $(am__remove_distdir)
660 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
661 $(am__remove_distdir)
664 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
665 $(am__remove_distdir)
668 -rm -f $(distdir).zip
669 zip -rq $(distdir).zip $(distdir)
670 $(am__remove_distdir)
672 dist dist-all: distdir
673 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
674 $(am__remove_distdir)
676 # This target untars the dist file and tries a VPATH configuration. Then
677 # it guarantees that the distribution is self-contained by making another
680 case '$(DIST_ARCHIVES)' in \
682 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
684 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
686 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
688 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
690 unzip $(distdir).zip ;;\
692 chmod -R a-w $(distdir); chmod a+w $(distdir)
693 mkdir $(distdir)/_build
694 mkdir $(distdir)/_inst
696 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
697 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
698 && cd $(distdir)/_build \
699 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
700 $(DISTCHECK_CONFIGURE_FLAGS) \
701 && $(MAKE) $(AM_MAKEFLAGS) \
702 && $(MAKE) $(AM_MAKEFLAGS) dvi \
703 && $(MAKE) $(AM_MAKEFLAGS) check \
704 && $(MAKE) $(AM_MAKEFLAGS) install \
705 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
706 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
707 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
709 && chmod -R a-w "$$dc_install_base" \
711 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
712 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
713 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
714 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
715 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
716 } || { rm -rf "$$dc_destdir"; exit 1; }) \
717 && rm -rf "$$dc_destdir" \
718 && $(MAKE) $(AM_MAKEFLAGS) dist \
719 && rm -rf $(DIST_ARCHIVES) \
720 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
721 $(am__remove_distdir)
722 @(echo "$(distdir) archives ready for distribution: "; \
723 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
724 sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
726 @cd $(distuninstallcheck_dir) \
727 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
728 || { echo "ERROR: files left after uninstall:" ; \
729 if test -n "$(DESTDIR)"; then \
730 echo " (check DESTDIR support)"; \
732 $(distuninstallcheck_listfiles) ; \
734 distcleancheck: distclean
735 @if test '$(srcdir)' = . ; then \
736 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
739 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
740 || { echo "ERROR: files left in build directory after distclean:" ; \
741 $(distcleancheck_listfiles) ; \
744 check: check-recursive
745 all-am: Makefile $(DATA) $(HEADERS) cvconfig.h
746 installdirs: installdirs-recursive
748 for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libcvincludedir)"; do \
749 test -z "$$dir" || $(mkdir_p) "$$dir"; \
751 install: install-recursive
752 install-exec: install-exec-recursive
753 install-data: install-data-recursive
754 uninstall: uninstall-recursive
757 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
759 installcheck: installcheck-recursive
761 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
762 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
763 `test -z '$(STRIP)' || \
764 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
770 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
772 maintainer-clean-generic:
773 @echo "This command is intended for maintainers to use"
774 @echo "it deletes files that may require special tools to rebuild."
775 clean: clean-recursive
777 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
779 distclean: distclean-recursive
780 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
782 distclean-am: clean-am distclean-generic distclean-hdr \
783 distclean-libtool distclean-tags
795 install-data-am: install-libcvincludeHEADERS install-pkgconfigDATA
799 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
801 install-info: install-info-recursive
807 maintainer-clean: maintainer-clean-recursive
808 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
809 -rm -rf $(top_srcdir)/autom4te.cache
811 maintainer-clean-am: distclean-am maintainer-clean-generic
813 mostlyclean: mostlyclean-recursive
815 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
825 uninstall-am: uninstall-info-am uninstall-libcvincludeHEADERS \
826 uninstall-pkgconfigDATA
828 uninstall-info: uninstall-info-recursive
830 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
831 check-am clean clean-generic clean-libtool clean-local \
832 clean-recursive ctags ctags-recursive dist dist-all dist-bzip2 \
833 dist-gzip dist-hook dist-shar dist-tarZ dist-zip distcheck \
834 distclean distclean-generic distclean-hdr distclean-libtool \
835 distclean-recursive distclean-tags distcleancheck distdir \
836 distuninstallcheck dvi dvi-am html html-am info info-am \
837 install install-am install-data install-data-am install-exec \
838 install-exec-am install-exec-hook install-info install-info-am \
839 install-libcvincludeHEADERS install-man install-pkgconfigDATA \
840 install-strip installcheck installcheck-am installdirs \
841 installdirs-am maintainer-clean maintainer-clean-generic \
842 maintainer-clean-recursive mostlyclean mostlyclean-generic \
843 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
844 tags tags-recursive uninstall uninstall-am uninstall-info-am \
845 uninstall-libcvincludeHEADERS uninstall-pkgconfigDATA
848 # Rule to build tar-gzipped distribution package
849 $(PACKAGE)-$(VERSION).tar.gz: dist
852 rm -rf `find $(distdir) -name CVS`
853 chmod u+x $(srcdir)/utils/unix2dos.py
854 find $(distdir) -name *.dsw -exec $(srcdir)/utils/unix2dos.py {} \;
855 find $(distdir) -name *.dsp -exec $(srcdir)/utils/unix2dos.py {} \;
857 # Rule to build RPM distribution package
858 rpm: $(PACKAGE)-$(VERSION).tar.gz
859 rpm -ta $(PACKAGE)-$(VERSION).tar.gz
861 # Rule to force automake to rebuild the library
863 @echo "This build target is no longer necessary"
865 # Rule to install the libraries only - prevent rebuilding apps
867 cd src && $(MAKE) install-libLTLIBRARIES
869 # Run ldconfig after installing the library:
873 # rule that gets added to the clean target by Automake
874 clean-local: clean-framework
876 framework: all clean-framework
877 @echo "Setting up framework directories..."
878 mkdir -p $(FRAMEWORK_NAME).framework
879 mkdir -p $(FRAMEWORK_NAME).framework/Versions
880 mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)
881 mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/Resources
882 mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/Headers
883 mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/Documentation
884 @echo "Creating framework symlinks..."
885 ln -s $(FRAMEWORK_VERSION) $(FRAMEWORK_NAME).framework/Versions/Current
886 ln -s Versions/Current/Headers $(FRAMEWORK_NAME).framework/Headers
887 ln -s Versions/Current/Resources $(FRAMEWORK_NAME).framework/Resources
888 ln -s Versions/Current/Documentation $(FRAMEWORK_NAME).framework/Documentation
889 ln -s Versions/Current/$(FRAMEWORK_NAME) $(FRAMEWORK_NAME).framework/$(FRAMEWORK_NAME)
890 @echo "Building framework data..."
892 -arch $(FRAMEWORK_ARCH) \
893 -compatibility_version $(FRAMEWORK_COMPAT_VERSION) \
894 -current_version $(FRAMEWORK_CURRENT_VERSION) \
895 -install_name $(FRAMEWORK_INSTALL_NAME) \
896 -o $(FRAMEWORK_NAME).framework/Versions/Current/$(FRAMEWORK_NAME) \
897 $(FRAMEWORK_OFILES) $(FRAMEWORK_XLIBRARIES)
898 strip -x $(FRAMEWORK_NAME).framework/Versions/Current/$(FRAMEWORK_NAME)
899 cp $(FRAMEWORK_XHEADERS) $(FRAMEWORK_NAME).framework/Headers/
900 cp -r $(FRAMEWORK_DOCUMENTATION) $(FRAMEWORK_NAME).framework/Documentation/
901 cp $(top_srcdir)/autotools/darwin/Info.plist $(FRAMEWORK_NAME).framework/Resources/
904 rm -rf $(FRAMEWORK_NAME).framework
905 # Tell versions [3.59,3.63) of GNU make to not export all variables.
906 # Otherwise a system limit (for SysV at least) may be exceeded.