View difference between Paste ID: f35b8b20e and
SHOW: | | - or go back to the newest paste.
1-
1+
# Makefile.in generated by automake 1.10.1 from Makefile.am.
2
# @configure_input@
3
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005, 2006, 2007, 2008  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.
9
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
13
# PARTICULAR PURPOSE.
14
15
@SET_MAKE@
16
17
# The top-level input Makefile for OpenCV
18
19
20
VPATH = @srcdir@
21
pkgdatadir = $(datadir)/@PACKAGE@
22
pkglibdir = $(libdir)/@PACKAGE@
23
pkgincludedir = $(includedir)/@PACKAGE@
24
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
install_sh_DATA = $(install_sh) -c -m 644
26
install_sh_PROGRAM = $(install_sh) -c
27
install_sh_SCRIPT = $(install_sh) -c
28
INSTALL_HEADER = $(INSTALL_DATA)
29
transform = $(program_transform_name)
30
NORMAL_INSTALL = :
31
PRE_INSTALL = :
32
POST_INSTALL = :
33
NORMAL_UNINSTALL = :
34
PRE_UNINSTALL = :
35
POST_UNINSTALL = :
36
build_triplet = @build@
37
host_triplet = @host@
38
target_triplet = @target@
39
subdir = .
40
DIST_COMMON = README $(am__configure_deps) $(libcvinclude_HEADERS) \
41
	$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42
	$(srcdir)/cvconfig.h.in $(srcdir)/opencv.pc.in \
43
	$(srcdir)/opencv.spec.in $(top_srcdir)/configure AUTHORS \
44
	COPYING ChangeLog INSTALL NEWS THANKS TODO \
45
	autotools/config.guess autotools/config.sub autotools/depcomp \
46
	autotools/install-sh autotools/ltmain.sh autotools/missing \
47
	autotools/mkinstalldirs autotools/py-compile
48
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49
am__aclocal_m4_deps = $(top_srcdir)/autotools/aclocal/az_python.m4 \
50
	$(top_srcdir)/autotools/aclocal/pkg.m4 \
51
	$(top_srcdir)/autotools/aclocal/swig_complete.m4 \
52
	$(top_srcdir)/autotools/aclocal/version_at_least.m4 \
53
	$(top_srcdir)/configure.in
54
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55
	$(ACLOCAL_M4)
56
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
57
 configure.lineno config.status.lineno
58
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
59
CONFIG_HEADER = cvconfig.h
60
CONFIG_CLEAN_FILES = opencv.pc opencv.spec
61
SOURCES =
62
DIST_SOURCES =
63
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
64
	html-recursive info-recursive install-data-recursive \
65
	install-dvi-recursive install-exec-recursive \
66
	install-html-recursive install-info-recursive \
67
	install-pdf-recursive install-ps-recursive install-recursive \
68
	installcheck-recursive installdirs-recursive pdf-recursive \
69
	ps-recursive uninstall-recursive
70
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
71
am__vpath_adj = case $$p in \
72
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
73
    *) f=$$p;; \
74
  esac;
75
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
76
am__installdirs = "$(DESTDIR)$(pkgconfigdir)" \
77
	"$(DESTDIR)$(libcvincludedir)"
78
pkgconfigDATA_INSTALL = $(INSTALL_DATA)
79
DATA = $(pkgconfig_DATA)
80
libcvincludeHEADERS_INSTALL = $(INSTALL_HEADER)
81
HEADERS = $(libcvinclude_HEADERS)
82
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
83
  distclean-recursive maintainer-clean-recursive
84
ETAGS = etags
85
CTAGS = ctags
86
DIST_SUBDIRS = cxcore cv cvaux ml otherlibs utils interfaces apps \
87
	tests samples data docs
88
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
89
distdir = $(PACKAGE)-$(VERSION)
90
top_distdir = $(distdir)
91
am__remove_distdir = \
92
  { test ! -d $(distdir) \
93
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
94
         && rm -fr $(distdir); }; }
95
DIST_ARCHIVES = $(distdir).tar.gz
96
GZIP_ENV = --best
97
distuninstallcheck_listfiles = find . -type f -print
98
distcleancheck_listfiles = find . -type f -print
99
ACLOCAL = @ACLOCAL@
100
ALLOCA = @ALLOCA@
101
AMTAR = @AMTAR@
102
AR = @AR@
103
AS = @AS@
104
AUTOCONF = @AUTOCONF@
105
AUTOHEADER = @AUTOHEADER@
106
AUTOMAKE = @AUTOMAKE@
107
AWK = @AWK@
108
CARBON_CFLAGS = @CARBON_CFLAGS@
109
CARBON_LIBS = @CARBON_LIBS@
110
CC = @CC@
111
CCDEPMODE = @CCDEPMODE@
112
CFLAGS = @CFLAGS@
113
CPP = @CPP@
114
CPPFLAGS = @CPPFLAGS@
115
CXX = @CXX@
116
CXXCPP = @CXXCPP@
117
CXXDEPMODE = @CXXDEPMODE@
118
CXXFLAGS = @CXXFLAGS@
119
CYGPATH_W = @CYGPATH_W@
120
DEBUG = @DEBUG@
121
DEFS = @DEFS@
122
DEF_CXXFLAGS = @DEF_CXXFLAGS@
123
DEPDIR = @DEPDIR@
124
DLLTOOL = @DLLTOOL@
125
DSYMUTIL = @DSYMUTIL@
126
ECHO = @ECHO@
127
ECHO_C = @ECHO_C@
128
ECHO_N = @ECHO_N@
129
ECHO_T = @ECHO_T@
130
EGREP = @EGREP@
131
EXEEXT = @EXEEXT@
132
F77 = @F77@
133
FFLAGS = @FFLAGS@
134
FFMPEGLIBS = @FFMPEGLIBS@
135
GREP = @GREP@
136
GSTREAMER_CFLAGS = @GSTREAMER_CFLAGS@
137
GSTREAMER_LIBS = @GSTREAMER_LIBS@
138
GTHREAD_CFLAGS = @GTHREAD_CFLAGS@
139
GTHREAD_LIBS = @GTHREAD_LIBS@
140
GTK_CFLAGS = @GTK_CFLAGS@
141
GTK_LIBS = @GTK_LIBS@
142
IEEE1394LIBS = @IEEE1394LIBS@
143
IMAGELIBS = @IMAGELIBS@
144
INSTALL = @INSTALL@
145
INSTALL_DATA = @INSTALL_DATA@
146
INSTALL_PROGRAM = @INSTALL_PROGRAM@
147
INSTALL_SCRIPT = @INSTALL_SCRIPT@
148
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
149
LDFLAGS = @LDFLAGS@
150
LIBOBJS = @LIBOBJS@
151
LIBS = @LIBS@
152
LIBTOOL = @LIBTOOL@
153
LN_S = @LN_S@
154
LTLIBOBJS = @LTLIBOBJS@
155
LT_VERSION = @LT_VERSION@
156
MAKEINFO = @MAKEINFO@
157
MKDIR_P = @MKDIR_P@
158
MKOCTFILE = @MKOCTFILE@
159
MMAJOR = @MMAJOR@
160
MMINOR = @MMINOR@
161
MSUBMINOR = @MSUBMINOR@
162
NMEDIT = @NMEDIT@
163
OBJDUMP = @OBJDUMP@
164
OBJEXT = @OBJEXT@
165
OCTAVE = @OCTAVE@
166
OCTAVE_ARCH = @OCTAVE_ARCH@
167
OCTAVE_INCFLAGS = @OCTAVE_INCFLAGS@
168
OCT_CXXFLAGS = @OCT_CXXFLAGS@
169
PACKAGE = @PACKAGE@
170
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
171
PACKAGE_NAME = @PACKAGE_NAME@
172
PACKAGE_STRING = @PACKAGE_STRING@
173
PACKAGE_TARNAME = @PACKAGE_TARNAME@
174
PACKAGE_VERSION = @PACKAGE_VERSION@
175
PATH_SEPARATOR = @PATH_SEPARATOR@
176
PKG_CONFIG = @PKG_CONFIG@
177
PYTHON = @PYTHON@
178
PYTHON_CSPEC = @PYTHON_CSPEC@
179
PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@
180
PYTHON_LSPEC = @PYTHON_LSPEC@
181
PYTHON_PLATFORM = @PYTHON_PLATFORM@
182
PYTHON_PREFIX = @PYTHON_PREFIX@
183
PYTHON_VERSION = @PYTHON_VERSION@
184
PY_CXXFLAGS = @PY_CXXFLAGS@
185
QUICKTIME_CFLAGS = @QUICKTIME_CFLAGS@
186
QUICKTIME_LIBS = @QUICKTIME_LIBS@
187
RANLIB = @RANLIB@
188
SED = @SED@
189
SET_MAKE = @SET_MAKE@
190
SHELL = @SHELL@
191
STRIP = @STRIP@
192
SWIG = @SWIG@
193
SWIG_OCTAVE_OPT = @SWIG_OCTAVE_OPT@
194
SWIG_PYTHON_LIBS = @SWIG_PYTHON_LIBS@
195
SWIG_PYTHON_OPT = @SWIG_PYTHON_OPT@
196
SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
197
SWIG_VERSION = @SWIG_VERSION@
198
UCIL_PACKAGE_CFLAGS = @UCIL_PACKAGE_CFLAGS@
199
UCIL_PACKAGE_LIBS = @UCIL_PACKAGE_LIBS@
200
UNICAP_PACKAGE_CFLAGS = @UNICAP_PACKAGE_CFLAGS@
201
UNICAP_PACKAGE_LIBS = @UNICAP_PACKAGE_LIBS@
202
VERSION = @VERSION@
203
XINE_LIBS = @XINE_LIBS@
204
abs_builddir = @abs_builddir@
205
abs_srcdir = @abs_srcdir@
206
abs_top_builddir = @abs_top_builddir@
207
abs_top_srcdir = @abs_top_srcdir@
208
ac_ct_CC = @ac_ct_CC@
209
ac_ct_CXX = @ac_ct_CXX@
210
ac_ct_F77 = @ac_ct_F77@
211
am__include = @am__include@
212
am__leading_dot = @am__leading_dot@
213
am__quote = @am__quote@
214
am__tar = @am__tar@
215
am__untar = @am__untar@
216
bindir = @bindir@
217
build = @build@
218
build_alias = @build_alias@
219
build_cpu = @build_cpu@
220
build_os = @build_os@
221
build_vendor = @build_vendor@
222
builddir = @builddir@
223
datadir = @datadir@
224
datarootdir = @datarootdir@
225
docdir = @docdir@
226
dvidir = @dvidir@
227
exec_prefix = @exec_prefix@
228
host = @host@
229
host_alias = @host_alias@
230
host_cpu = @host_cpu@
231
host_os = @host_os@
232
host_vendor = @host_vendor@
233
htmldir = @htmldir@
234
includedir = @includedir@
235
infodir = @infodir@
236
install_sh = @install_sh@
237
libdir = @libdir@
238
libexecdir = @libexecdir@
239
localedir = @localedir@
240
localstatedir = @localstatedir@
241
mandir = @mandir@
242
mkdir_p = @mkdir_p@
243
oldincludedir = @oldincludedir@
244
pdfdir = @pdfdir@
245
pkgpyexecdir = @pkgpyexecdir@
246
pkgpythondir = @pkgpythondir@
247
prefix = @prefix@
248
program_transform_name = @program_transform_name@
249
psdir = @psdir@
250
pyexecdir = @pyexecdir@
251
pythondir = @pythondir@
252
sbindir = @sbindir@
253
sharedstatedir = @sharedstatedir@
254
srcdir = @srcdir@
255
sysconfdir = @sysconfdir@
256
target = @target@
257
target_alias = @target_alias@
258
target_cpu = @target_cpu@
259
target_os = @target_os@
260
target_vendor = @target_vendor@
261
top_builddir = @top_builddir@
262
top_srcdir = @top_srcdir@
263
264
# use the default c++ flags
265
AM_CXXFLAGS = @DEF_CXXFLAGS@
266
267
# tell make where aclocal finds its files in Maintainer Mode 
268
ACLOCAL_AMFLAGS = -I ./autotools/aclocal
269
@BUILD_APPS_FALSE@APPS_DIR = 
270
@BUILD_APPS_TRUE@APPS_DIR = apps
271
SUBDIRS = cxcore cv cvaux ml otherlibs utils interfaces $(APPS_DIR) tests samples data docs
272
273
# All the rest of the distributed files
274
#EXTRA_DIST = THANKS COPYING INSTALL README NEWS ChangeLog \
275
#EXTRA_DIST = THANKS TODO \
276
#             opencv.spec opencv.spec.in opencv.pc.in opencv.pc \
277
#             _make apps filters make_frameworks.sh
278
pkgconfigdir = $(libdir)/pkgconfig
279
pkgconfig_DATA = opencv.pc
280
281
# The directory where the include files will be installed
282
libcvincludedir = $(includedir)/opencv
283
284
# Which header files to install
285
libcvinclude_HEADERS = 
286
287
# FRAMEWORK ###################################################################
288
#
289
# The following section is dedicated to Darwin / Mac OS X framework builds.
290
# It currently creates a private framework (see Apple documentation) that
291
# cannot be placed to the /Library/Framework locations but is intended to get
292
# copied into application bundles.
293
# 
294
# You should usually not invoke this target directly but use the shell script
295
# 'make_frameworks.sh' instead that will create the most sensible
296
# default installation (universal build).
297
# 
298
# See: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/
299
# 
300
301
# install path to be set in calling script
302
# FRAMEWORK_INSTALL_PATH = executable_path/../Frameworks
303
304
# architecture to be set in calling script
305
# FRAMEWORK_ARCH = i386
306
FRAMEWORK_INSTALL_NAME = $(FRAMEWORK_INSTALL_PATH)/$(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/$(FRAMEWORK_NAME)
307
FRAMEWORK_XHEADERS = \
308
  $(top_srcdir)/autotools/darwin/OpenCV.h     \
309
  $(top_srcdir)/cxcore/include/cxcore.h       \
310
  $(top_srcdir)/cxcore/include/cxerror.h      \
311
  $(top_srcdir)/cxcore/include/cxtypes.h      \
312
  $(top_srcdir)/cxcore/include/cxmisc.h       \
313
  $(top_srcdir)/cxcore/include/cxcore.hpp     \
314
  $(top_srcdir)/cxcore/include/cvver.h        \
315
  $(top_srcdir)/cv/include/cv.h               \
316
  $(top_srcdir)/cv/include/cvcompat.h         \
317
  $(top_srcdir)/cv/include/cvtypes.h          \
318
  $(top_srcdir)/cv/include/cv.hpp             \
319
  $(top_srcdir)/cvaux/include/cvaux.h         \
320
  $(top_srcdir)/cvaux/include/cvmat.hpp       \
321
  $(top_srcdir)/cvaux/include/cvaux.hpp       \
322
  $(top_srcdir)/cvaux/include/cvvidsurv.hpp   \
323
  $(top_srcdir)/ml/include/ml.h               \
324
  $(top_srcdir)/otherlibs/highgui/highgui.h
325
326
FRAMEWORK_OFILES = \
327
  $(top_builddir)/cxcore/src/.libs/lib_cxcore.a  \
328
  $(top_builddir)/cv/src/.libs/lib_cv.a          \
329
  $(top_builddir)/cvaux/src/.libs/lib_cvaux.a    \
330
  $(top_builddir)/ml/src/.libs/lib_ml.a          \
331
  $(top_builddir)/otherlibs/highgui/.libs/lib_highgui.a 
332
333
#FRAMEWORK_XLIBRARIES = -framework Carbon -framework QuickTime -framework QuartzCore
334
FRAMEWORK_DOCUMENTATION = \
335
  $(top_srcdir)/docs/license.txt \
336
  $(top_srcdir)/docs/index.htm   \
337
  $(top_srcdir)/docs/faq.htm     \
338
  $(top_srcdir)/docs/ref
339
340
FMWK_CC = $(CXX) $(LDFLAGS) -dynamiclib -all_load -Wl,-single_module -Wl,-Y,100 
341
all: cvconfig.h
342
	$(MAKE) $(AM_MAKEFLAGS) all-recursive
343
344
.SUFFIXES:
345
am--refresh:
346
	@:
347
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
348
	@for dep in $?; do \
349
	  case '$(am__configure_deps)' in \
350
	    *$$dep*) \
351
	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
352
	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
353
		&& exit 0; \
354
	      exit 1;; \
355
	  esac; \
356
	done; \
357
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
358
	cd $(top_srcdir) && \
359
	  $(AUTOMAKE) --gnu  Makefile
360
.PRECIOUS: Makefile
361
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
362
	@case '$?' in \
363
	  *config.status*) \
364
	    echo ' $(SHELL) ./config.status'; \
365
	    $(SHELL) ./config.status;; \
366
	  *) \
367
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
368
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
369
	esac;
370
371
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
372
	$(SHELL) ./config.status --recheck
373
374
$(top_srcdir)/configure:  $(am__configure_deps)
375
	cd $(srcdir) && $(AUTOCONF)
376
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
377
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
378
379
cvconfig.h: stamp-h1
380
	@if test ! -f $@; then \
381
	  rm -f stamp-h1; \
382
	  $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
383
	else :; fi
384
385
stamp-h1: $(srcdir)/cvconfig.h.in $(top_builddir)/config.status
386
	@rm -f stamp-h1
387
	cd $(top_builddir) && $(SHELL) ./config.status cvconfig.h
388
$(srcdir)/cvconfig.h.in:  $(am__configure_deps) 
389
	cd $(top_srcdir) && $(AUTOHEADER)
390
	rm -f stamp-h1
391
	touch $@
392
393
distclean-hdr:
394
	-rm -f cvconfig.h stamp-h1
395
opencv.pc: $(top_builddir)/config.status $(srcdir)/opencv.pc.in
396
	cd $(top_builddir) && $(SHELL) ./config.status $@
397
opencv.spec: $(top_builddir)/config.status $(srcdir)/opencv.spec.in
398
	cd $(top_builddir) && $(SHELL) ./config.status $@
399
400
mostlyclean-libtool:
401
	-rm -f *.lo
402
403
clean-libtool:
404
	-rm -rf .libs _libs
405
406
distclean-libtool:
407
	-rm -f libtool
408
install-pkgconfigDATA: $(pkgconfig_DATA)
409
	@$(NORMAL_INSTALL)
410
	test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
411
	@list='$(pkgconfig_DATA)'; for p in $$list; do \
412
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
413
	  f=$(am__strip_dir) \
414
	  echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
415
	  $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
416
	done
417
418
uninstall-pkgconfigDATA:
419
	@$(NORMAL_UNINSTALL)
420
	@list='$(pkgconfig_DATA)'; for p in $$list; do \
421
	  f=$(am__strip_dir) \
422
	  echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
423
	  rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
424
	done
425
install-libcvincludeHEADERS: $(libcvinclude_HEADERS)
426
	@$(NORMAL_INSTALL)
427
	test -z "$(libcvincludedir)" || $(MKDIR_P) "$(DESTDIR)$(libcvincludedir)"
428
	@list='$(libcvinclude_HEADERS)'; for p in $$list; do \
429
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
430
	  f=$(am__strip_dir) \
431
	  echo " $(libcvincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libcvincludedir)/$$f'"; \
432
	  $(libcvincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libcvincludedir)/$$f"; \
433
	done
434
435
uninstall-libcvincludeHEADERS:
436
	@$(NORMAL_UNINSTALL)
437
	@list='$(libcvinclude_HEADERS)'; for p in $$list; do \
438
	  f=$(am__strip_dir) \
439
	  echo " rm -f '$(DESTDIR)$(libcvincludedir)/$$f'"; \
440
	  rm -f "$(DESTDIR)$(libcvincludedir)/$$f"; \
441
	done
442
443
# This directory's subdirectories are mostly independent; you can cd
444
# into them and run `make' without going through this Makefile.
445
# To change the values of `make' variables: instead of editing Makefiles,
446
# (1) if the variable is set in `config.status', edit `config.status'
447
#     (which will cause the Makefiles to be regenerated when you run `make');
448
# (2) otherwise, pass the desired values on the `make' command line.
449
$(RECURSIVE_TARGETS):
450
	@failcom='exit 1'; \
451
	for f in x $$MAKEFLAGS; do \
452
	  case $$f in \
453
	    *=* | --[!k]*);; \
454
	    *k*) failcom='fail=yes';; \
455
	  esac; \
456
	done; \
457
	dot_seen=no; \
458
	target=`echo $@ | sed s/-recursive//`; \
459
	list='$(SUBDIRS)'; for subdir in $$list; do \
460
	  echo "Making $$target in $$subdir"; \
461
	  if test "$$subdir" = "."; then \
462
	    dot_seen=yes; \
463
	    local_target="$$target-am"; \
464
	  else \
465
	    local_target="$$target"; \
466
	  fi; \
467
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
468
	  || eval $$failcom; \
469
	done; \
470
	if test "$$dot_seen" = "no"; then \
471
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
472
	fi; test -z "$$fail"
473
474
$(RECURSIVE_CLEAN_TARGETS):
475
	@failcom='exit 1'; \
476
	for f in x $$MAKEFLAGS; do \
477
	  case $$f in \
478
	    *=* | --[!k]*);; \
479
	    *k*) failcom='fail=yes';; \
480
	  esac; \
481
	done; \
482
	dot_seen=no; \
483
	case "$@" in \
484
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
485
	  *) list='$(SUBDIRS)' ;; \
486
	esac; \
487
	rev=''; for subdir in $$list; do \
488
	  if test "$$subdir" = "."; then :; else \
489
	    rev="$$subdir $$rev"; \
490
	  fi; \
491
	done; \
492
	rev="$$rev ."; \
493
	target=`echo $@ | sed s/-recursive//`; \
494
	for subdir in $$rev; do \
495
	  echo "Making $$target in $$subdir"; \
496
	  if test "$$subdir" = "."; then \
497
	    local_target="$$target-am"; \
498
	  else \
499
	    local_target="$$target"; \
500
	  fi; \
501
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
502
	  || eval $$failcom; \
503
	done && test -z "$$fail"
504
tags-recursive:
505
	list='$(SUBDIRS)'; for subdir in $$list; do \
506
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
507
	done
508
ctags-recursive:
509
	list='$(SUBDIRS)'; for subdir in $$list; do \
510
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
511
	done
512
513
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
514
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
515
	unique=`for i in $$list; do \
516
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
517
	  done | \
518
	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
519
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
520
	mkid -fID $$unique
521
tags: TAGS
522
523
TAGS: tags-recursive $(HEADERS) $(SOURCES) cvconfig.h.in $(TAGS_DEPENDENCIES) \
524
		$(TAGS_FILES) $(LISP)
525
	tags=; \
526
	here=`pwd`; \
527
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
528
	  include_option=--etags-include; \
529
	  empty_fix=.; \
530
	else \
531
	  include_option=--include; \
532
	  empty_fix=; \
533
	fi; \
534
	list='$(SUBDIRS)'; for subdir in $$list; do \
535
	  if test "$$subdir" = .; then :; else \
536
	    test ! -f $$subdir/TAGS || \
537
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
538
	  fi; \
539
	done; \
540
	list='$(SOURCES) $(HEADERS) cvconfig.h.in $(LISP) $(TAGS_FILES)'; \
541
	unique=`for i in $$list; do \
542
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
543
	  done | \
544
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
545
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
546
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
547
	  test -n "$$unique" || unique=$$empty_fix; \
548
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
549
	    $$tags $$unique; \
550
	fi
551
ctags: CTAGS
552
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) cvconfig.h.in $(TAGS_DEPENDENCIES) \
553
		$(TAGS_FILES) $(LISP)
554
	tags=; \
555
	list='$(SOURCES) $(HEADERS) cvconfig.h.in $(LISP) $(TAGS_FILES)'; \
556
	unique=`for i in $$list; do \
557
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
558
	  done | \
559
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
560
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
561
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
562
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
563
	     $$tags $$unique
564
565
GTAGS:
566
	here=`$(am__cd) $(top_builddir) && pwd` \
567
	  && cd $(top_srcdir) \
568
	  && gtags -i $(GTAGS_ARGS) $$here
569
570
distclean-tags:
571
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
572
573
distdir: $(DISTFILES)
574
	$(am__remove_distdir)
575
	test -d $(distdir) || mkdir $(distdir)
576
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
577
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
578
	list='$(DISTFILES)'; \
579
	  dist_files=`for file in $$list; do echo $$file; done | \
580
	  sed -e "s|^$$srcdirstrip/||;t" \
581
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
582
	case $$dist_files in \
583
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
584
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
585
			   sort -u` ;; \
586
	esac; \
587
	for file in $$dist_files; do \
588
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
589
	  if test -d $$d/$$file; then \
590
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
591
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
592
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
593
	    fi; \
594
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
595
	  else \
596
	    test -f $(distdir)/$$file \
597
	    || cp -p $$d/$$file $(distdir)/$$file \
598
	    || exit 1; \
599
	  fi; \
600
	done
601
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
602
	  if test "$$subdir" = .; then :; else \
603
	    test -d "$(distdir)/$$subdir" \
604
	    || $(MKDIR_P) "$(distdir)/$$subdir" \
605
	    || exit 1; \
606
	    distdir=`$(am__cd) $(distdir) && pwd`; \
607
	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
608
	    (cd $$subdir && \
609
	      $(MAKE) $(AM_MAKEFLAGS) \
610
	        top_distdir="$$top_distdir" \
611
	        distdir="$$distdir/$$subdir" \
612
		am__remove_distdir=: \
613
		am__skip_length_check=: \
614
	        distdir) \
615
	      || exit 1; \
616
	  fi; \
617
	done
618
	$(MAKE) $(AM_MAKEFLAGS) \
619
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
620
	  dist-hook
621
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
622
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
623
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
624
	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
625
	|| chmod -R a+r $(distdir)
626
dist-gzip: distdir
627
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
628
	$(am__remove_distdir)
629
630
dist-bzip2: distdir
631
	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
632
	$(am__remove_distdir)
633
634
dist-lzma: distdir
635
	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
636
	$(am__remove_distdir)
637
638
dist-tarZ: distdir
639
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
640
	$(am__remove_distdir)
641
642
dist-shar: distdir
643
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
644
	$(am__remove_distdir)
645
646
dist-zip: distdir
647
	-rm -f $(distdir).zip
648
	zip -rq $(distdir).zip $(distdir)
649
	$(am__remove_distdir)
650
651
dist dist-all: distdir
652
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
653
	$(am__remove_distdir)
654
655
# This target untars the dist file and tries a VPATH configuration.  Then
656
# it guarantees that the distribution is self-contained by making another
657
# tarfile.
658
distcheck: dist
659
	case '$(DIST_ARCHIVES)' in \
660
	*.tar.gz*) \
661
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
662
	*.tar.bz2*) \
663
	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
664
	*.tar.lzma*) \
665
	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
666
	*.tar.Z*) \
667
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
668
	*.shar.gz*) \
669
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
670
	*.zip*) \
671
	  unzip $(distdir).zip ;;\
672
	esac
673
	chmod -R a-w $(distdir); chmod a+w $(distdir)
674
	mkdir $(distdir)/_build
675
	mkdir $(distdir)/_inst
676
	chmod a-w $(distdir)
677
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
678
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
679
	  && cd $(distdir)/_build \
680
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
681
	    $(DISTCHECK_CONFIGURE_FLAGS) \
682
	  && $(MAKE) $(AM_MAKEFLAGS) \
683
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
684
	  && $(MAKE) $(AM_MAKEFLAGS) check \
685
	  && $(MAKE) $(AM_MAKEFLAGS) install \
686
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
687
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
688
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
689
	        distuninstallcheck \
690
	  && chmod -R a-w "$$dc_install_base" \
691
	  && ({ \
692
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
693
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
694
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
695
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
696
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
697
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
698
	  && rm -rf "$$dc_destdir" \
699
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
700
	  && rm -rf $(DIST_ARCHIVES) \
701
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
702
	$(am__remove_distdir)
703
	@(echo "$(distdir) archives ready for distribution: "; \
704
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
705
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
706
distuninstallcheck:
707
	@cd $(distuninstallcheck_dir) \
708
	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
709
	   || { echo "ERROR: files left after uninstall:" ; \
710
	        if test -n "$(DESTDIR)"; then \
711
	          echo "  (check DESTDIR support)"; \
712
	        fi ; \
713
	        $(distuninstallcheck_listfiles) ; \
714
	        exit 1; } >&2
715
distcleancheck: distclean
716
	@if test '$(srcdir)' = . ; then \
717
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
718
	  exit 1 ; \
719
	fi
720
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
721
	  || { echo "ERROR: files left in build directory after distclean:" ; \
722
	       $(distcleancheck_listfiles) ; \
723
	       exit 1; } >&2
724
check-am: all-am
725
check: check-recursive
726
all-am: Makefile $(DATA) $(HEADERS) cvconfig.h
727
installdirs: installdirs-recursive
728
installdirs-am:
729
	for dir in "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libcvincludedir)"; do \
730
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
731
	done
732
install: install-recursive
733
install-exec: install-exec-recursive
734
install-data: install-data-recursive
735
uninstall: uninstall-recursive
736
737
install-am: all-am
738
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
739
740
installcheck: installcheck-recursive
741
install-strip:
742
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
743
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
744
	  `test -z '$(STRIP)' || \
745
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
746
mostlyclean-generic:
747
748
clean-generic:
749
750
distclean-generic:
751
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
752
753
maintainer-clean-generic:
754
	@echo "This command is intended for maintainers to use"
755
	@echo "it deletes files that may require special tools to rebuild."
756
clean: clean-recursive
757
758
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
759
760
distclean: distclean-recursive
761
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
762
	-rm -f Makefile
763
distclean-am: clean-am distclean-generic distclean-hdr \
764
	distclean-libtool distclean-tags
765
766
dvi: dvi-recursive
767
768
dvi-am:
769
770
html: html-recursive
771
772
info: info-recursive
773
774
info-am:
775
776
install-data-am: install-libcvincludeHEADERS install-pkgconfigDATA
777
778
install-dvi: install-dvi-recursive
779
780
install-exec-am:
781
	@$(NORMAL_INSTALL)
782
	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
783
784
install-html: install-html-recursive
785
786
install-info: install-info-recursive
787
788
install-man:
789
790
install-pdf: install-pdf-recursive
791
792
install-ps: install-ps-recursive
793
794
installcheck-am:
795
796
maintainer-clean: maintainer-clean-recursive
797
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
798
	-rm -rf $(top_srcdir)/autom4te.cache
799
	-rm -f Makefile
800
maintainer-clean-am: distclean-am maintainer-clean-generic
801
802
mostlyclean: mostlyclean-recursive
803
804
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
805
806
pdf: pdf-recursive
807
808
pdf-am:
809
810
ps: ps-recursive
811
812
ps-am:
813
814
uninstall-am: uninstall-libcvincludeHEADERS uninstall-pkgconfigDATA
815
816
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
817
	install-exec-am install-strip
818
819
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
820
	all all-am am--refresh check check-am clean clean-generic \
821
	clean-libtool clean-local ctags ctags-recursive dist dist-all \
822
	dist-bzip2 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ \
823
	dist-zip distcheck distclean distclean-generic distclean-hdr \
824
	distclean-libtool distclean-tags distcleancheck distdir \
825
	distuninstallcheck dvi dvi-am html html-am info info-am \
826
	install install-am install-data install-data-am install-dvi \
827
	install-dvi-am install-exec install-exec-am install-exec-hook \
828
	install-html install-html-am install-info install-info-am \
829
	install-libcvincludeHEADERS install-man install-pdf \
830
	install-pdf-am install-pkgconfigDATA install-ps install-ps-am \
831
	install-strip installcheck installcheck-am installdirs \
832
	installdirs-am maintainer-clean maintainer-clean-generic \
833
	mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
834
	ps ps-am tags tags-recursive uninstall uninstall-am \
835
	uninstall-libcvincludeHEADERS uninstall-pkgconfigDATA
836
837
838
# Rule to build tar-gzipped distribution package
839
$(PACKAGE)-$(VERSION).tar.gz: dist
840
841
dist-hook:
842
	rm -rf `find $(distdir) -name CVS`
843
	chmod u+x $(srcdir)/utils/unix2dos.py
844
	find $(distdir) -name *.dsw -exec $(srcdir)/utils/unix2dos.py {} \;
845
	find $(distdir) -name *.dsp -exec $(srcdir)/utils/unix2dos.py {} \;
846
847
# Rule to build RPM distribution package
848
rpm: $(PACKAGE)-$(VERSION).tar.gz
849
	rpm -ta $(PACKAGE)-$(VERSION).tar.gz
850
851
# Rule to force automake to rebuild the library
852
changed:
853
	@echo "This build target is no longer necessary"
854
855
# Rule to install the libraries only - prevent rebuilding apps
856
install-lib:
857
	cd src && $(MAKE) install-libLTLIBRARIES
858
859
# Run ldconfig after installing the library:
860
install-exec-hook:
861
	-ldconfig
862
863
# rule that gets added to the clean target by Automake
864
clean-local: clean-framework
865
866
framework: all clean-framework
867
	@echo "Setting up framework directories..."
868
	mkdir -p $(FRAMEWORK_NAME).framework
869
	mkdir -p $(FRAMEWORK_NAME).framework/Versions
870
	mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)
871
	mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/Resources
872
	mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/Headers
873
	mkdir -p $(FRAMEWORK_NAME).framework/Versions/$(FRAMEWORK_VERSION)/Documentation
874
	@echo "Creating framework symlinks..."
875
	ln -s $(FRAMEWORK_VERSION)               $(FRAMEWORK_NAME).framework/Versions/Current
876
	ln -s Versions/Current/Headers           $(FRAMEWORK_NAME).framework/Headers
877
	ln -s Versions/Current/Resources         $(FRAMEWORK_NAME).framework/Resources
878
	ln -s Versions/Current/Documentation     $(FRAMEWORK_NAME).framework/Documentation
879
	ln -s Versions/Current/$(FRAMEWORK_NAME) $(FRAMEWORK_NAME).framework/$(FRAMEWORK_NAME)
880
	@echo "Building framework data..."
881
	$(FMWK_CC) \
882
		-arch $(FRAMEWORK_ARCH) \
883
		-compatibility_version $(FRAMEWORK_COMPAT_VERSION) \
884
		-current_version $(FRAMEWORK_CURRENT_VERSION) \
885
		-install_name $(FRAMEWORK_INSTALL_NAME) \
886
		-o $(FRAMEWORK_NAME).framework/Versions/Current/$(FRAMEWORK_NAME) \
887
		$(FRAMEWORK_OFILES) $(FRAMEWORK_XLIBRARIES)
888
	strip -x $(FRAMEWORK_NAME).framework/Versions/Current/$(FRAMEWORK_NAME)
889
	cp $(FRAMEWORK_XHEADERS) $(FRAMEWORK_NAME).framework/Headers/
890
	cp -r $(FRAMEWORK_DOCUMENTATION) $(FRAMEWORK_NAME).framework/Documentation/
891
	cp $(top_srcdir)/autotools/darwin/Info.plist $(FRAMEWORK_NAME).framework/Resources/
892
893
clean-framework:
894
	rm -rf $(FRAMEWORK_NAME).framework
895
# Tell versions [3.59,3.63) of GNU make to not export all variables.
896
# Otherwise a system limit (for SysV at least) may be exceeded.
897
.NOEXPORT: