1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
21 pkgdatadir = $(datadir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkglibexecdir = $(libexecdir)/@PACKAGE@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
37 build_triplet = @build@
40 DIST_COMMON = README $(am__configure_deps) $(nobase_include_HEADERS) \
41 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42 $(srcdir)/config.h.in $(srcdir)/gphoto2-port-config.in \
43 $(srcdir)/libgphoto2_port-uninstalled.pc.in \
44 $(srcdir)/libgphoto2_port.pc.in $(top_srcdir)/configure \
45 ABOUT-NLS AUTHORS COPYING.LIB ChangeLog INSTALL NEWS \
46 auto-aux/compile auto-aux/config.guess auto-aux/config.rpath \
47 auto-aux/config.sub auto-aux/depcomp auto-aux/install-sh \
48 auto-aux/ltmain.sh auto-aux/missing auto-aux/mkinstalldirs
49 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50 am__aclocal_m4_deps = $(top_srcdir)/m4/gp-check-library.m4 \
51 $(top_srcdir)/m4/gp-check-shell-environment.m4 \
52 $(top_srcdir)/m4/gp-config-msg.m4 \
53 $(top_srcdir)/m4/gp-documentation.m4 \
54 $(top_srcdir)/m4/gp-gettext-hack.m4 \
55 $(top_srcdir)/m4/gp-pkg-config.m4 \
56 $(top_srcdir)/m4/gp-references.m4 $(top_srcdir)/m4/gp-udev.m4 \
57 $(top_srcdir)/m4/gp-va-copy.m4 \
58 $(top_srcdir)/auto-m4/gettext.m4 \
59 $(top_srcdir)/auto-m4/iconv.m4 $(top_srcdir)/auto-m4/lib-ld.m4 \
60 $(top_srcdir)/auto-m4/lib-link.m4 \
61 $(top_srcdir)/auto-m4/lib-prefix.m4 \
62 $(top_srcdir)/auto-m4/libtool.m4 \
63 $(top_srcdir)/auto-m4/ltoptions.m4 \
64 $(top_srcdir)/auto-m4/ltsugar.m4 \
65 $(top_srcdir)/auto-m4/ltversion.m4 \
66 $(top_srcdir)/auto-m4/lt~obsolete.m4 \
67 $(top_srcdir)/auto-m4/nls.m4 $(top_srcdir)/auto-m4/po.m4 \
68 $(top_srcdir)/auto-m4/progtest.m4 $(top_srcdir)/configure.ac
69 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
71 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
72 configure.lineno config.status.lineno
73 mkinstalldirs = $(SHELL) $(top_srcdir)/auto-aux/mkinstalldirs
74 CONFIG_HEADER = config.h
75 CONFIG_CLEAN_FILES = libgphoto2_port.pc libgphoto2_port-uninstalled.pc \
77 CONFIG_CLEAN_VPATH_FILES =
78 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
79 am__vpath_adj = case $$p in \
80 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
83 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
85 am__nobase_strip_setup = \
86 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
88 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
89 am__nobase_list = $(am__nobase_strip_setup); \
90 for p in $$list; do echo "$$p $$p"; done | \
91 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
92 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
93 if (++n[$$2] == $(am__install_max)) \
94 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
95 END { for (dir in files) print dir, files[dir] }'
97 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
98 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
99 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" \
100 "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
101 SCRIPTS = $(bin_SCRIPTS)
104 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
105 html-recursive info-recursive install-data-recursive \
106 install-dvi-recursive install-exec-recursive \
107 install-html-recursive install-info-recursive \
108 install-pdf-recursive install-ps-recursive install-recursive \
109 installcheck-recursive installdirs-recursive pdf-recursive \
110 ps-recursive uninstall-recursive
111 DATA = $(doc_DATA) $(noinst_DATA) $(pkgconfig_DATA)
112 HEADERS = $(nobase_include_HEADERS)
113 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
114 distclean-recursive maintainer-clean-recursive
115 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
116 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
117 distdir dist dist-all distcheck
120 DIST_SUBDIRS = $(SUBDIRS)
121 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
122 distdir = $(PACKAGE)-$(VERSION)
123 top_distdir = $(distdir)
124 am__remove_distdir = \
125 { test ! -d "$(distdir)" \
126 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
127 && rm -fr "$(distdir)"; }; }
130 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
131 sed_rest='s,^[^/]*/*,,'; \
132 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
133 sed_butlast='s,/*[^/]*$$,,'; \
134 while test -n "$$dir1"; do \
135 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
136 if test "$$first" != "."; then \
137 if test "$$first" = ".."; then \
138 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
139 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
141 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
142 if test "$$first2" = "$$first"; then \
143 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
147 dir0="$$dir0"/"$$first"; \
150 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
153 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
155 distuninstallcheck_listfiles = find . -type f -print
156 distcleancheck_listfiles = find . -type f -print
159 AM_CFLAGS = @AM_CFLAGS@
160 AM_CPPFLAGS = -I@srcdir@ $(VERSION_FLAGS)
161 AM_CXXFLAGS = @AM_CXXFLAGS@
162 AM_LDFLAGS = @AM_LDFLAGS@
165 AUTOCONF = @AUTOCONF@
166 AUTOHEADER = @AUTOHEADER@
167 AUTOMAKE = @AUTOMAKE@
170 CCDEPMODE = @CCDEPMODE@
173 CPPFLAGS = @CPPFLAGS@
174 CYGPATH_W = @CYGPATH_W@
178 DSYMUTIL = @DSYMUTIL@
186 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
190 HAL_CFLAGS = @HAL_CFLAGS@
191 HAL_LIBS = @HAL_LIBS@
193 INSTALL_DATA = @INSTALL_DATA@
194 INSTALL_PROGRAM = @INSTALL_PROGRAM@
195 INSTALL_SCRIPT = @INSTALL_SCRIPT@
196 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
197 INTLLIBS = @INTLLIBS@
198 IOLIB_SUBDIRS = @IOLIB_SUBDIRS@
201 LIBGPHOTO2_PORT_AGE = @LIBGPHOTO2_PORT_AGE@
202 LIBGPHOTO2_PORT_CURRENT = @LIBGPHOTO2_PORT_CURRENT@
203 LIBGPHOTO2_PORT_CURRENT_MIN = @LIBGPHOTO2_PORT_CURRENT_MIN@
204 LIBGPHOTO2_PORT_REVISION = @LIBGPHOTO2_PORT_REVISION@
205 LIBGPHOTO2_PORT_VERSION_INFO = @LIBGPHOTO2_PORT_VERSION_INFO@
206 LIBICONV = @LIBICONV@
211 LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
212 LIBUSB_CONFIG_PROG = @LIBUSB_CONFIG_PROG@
213 LIBUSB_LIBS = @LIBUSB_LIBS@
216 LTLIBICONV = @LTLIBICONV@
217 LTLIBINTL = @LTLIBINTL@
218 LTLIBOBJS = @LTLIBOBJS@
219 MAIL_GPHOTO_DEVEL = @MAIL_GPHOTO_DEVEL@
220 MAIL_GPHOTO_TRANSLATION = @MAIL_GPHOTO_TRANSLATION@
221 MAIL_GPHOTO_USER = @MAIL_GPHOTO_USER@
222 MAKEINFO = @MAKEINFO@
223 MDNS_LIBS = @MDNS_LIBS@
225 MKINSTALLDIRS = @MKINSTALLDIRS@
227 MSGMERGE = @MSGMERGE@
235 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
236 PACKAGE_NAME = @PACKAGE_NAME@
237 PACKAGE_STRING = @PACKAGE_STRING@
238 PACKAGE_TARNAME = @PACKAGE_TARNAME@
239 PACKAGE_URL = @PACKAGE_URL@
240 PACKAGE_VERSION = @PACKAGE_VERSION@
241 PATH_SEPARATOR = @PATH_SEPARATOR@
242 PKG_CONFIG = @PKG_CONFIG@
243 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
244 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
247 REQUIREMENTS_FOR_LIBUSB = @REQUIREMENTS_FOR_LIBUSB@
249 SERIAL_LIBS = @SERIAL_LIBS@
250 SET_MAKE = @SET_MAKE@
253 URL_DIGICAM_LIST = @URL_DIGICAM_LIST@
254 URL_GPHOTO_HOME = @URL_GPHOTO_HOME@
255 URL_GPHOTO_PROJECT = @URL_GPHOTO_PROJECT@
256 URL_JPHOTO_HOME = @URL_JPHOTO_HOME@
257 URL_USB_MASSSTORAGE = @URL_USB_MASSSTORAGE@
260 XGETTEXT = @XGETTEXT@
261 abs_builddir = @abs_builddir@
262 abs_srcdir = @abs_srcdir@
263 abs_top_builddir = @abs_top_builddir@
264 abs_top_srcdir = @abs_top_srcdir@
265 ac_ct_CC = @ac_ct_CC@
266 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
267 am__include = @am__include@
268 am__leading_dot = @am__leading_dot@
269 am__quote = @am__quote@
271 am__untar = @am__untar@
272 apidocdir = @apidocdir@
275 build_alias = @build_alias@
276 build_cpu = @build_cpu@
277 build_os = @build_os@
278 build_vendor = @build_vendor@
279 builddir = @builddir@
281 datarootdir = @datarootdir@
284 exec_prefix = @exec_prefix@
286 host_alias = @host_alias@
287 host_cpu = @host_cpu@
289 host_vendor = @host_vendor@
291 includedir = @includedir@
293 install_sh = @install_sh@
294 iolibdir = @iolibdir@
296 libexecdir = @libexecdir@
297 localedir = @localedir@
298 localstatedir = @localstatedir@
302 oldincludedir = @oldincludedir@
304 pkgconfigdir = @pkgconfigdir@
306 program_transform_name = @program_transform_name@
309 sharedstatedir = @sharedstatedir@
311 sysconfdir = @sysconfdir@
312 target_alias = @target_alias@
313 top_build_prefix = @top_build_prefix@
314 top_builddir = @top_builddir@
315 top_srcdir = @top_srcdir@
316 udevscriptdir = @udevscriptdir@
317 VERSION_FLAGS = -DLIBGPPORT_VERSION=\"@LIBGPPORT_VERSION@\" -DHAVE_TERMIOS_H
318 bin_SCRIPTS = gphoto2-port-config
320 # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
321 SUBDIRS = po libgphoto2_port test @IOLIB_SUBDIRS@ doc m4
322 EXTRA_DIST = AUTHORS ChangeLog COPYING.LIB NEWS README iolib.sym \
323 gphoto2-port-config.in libgphoto2_port.pc.in \
324 libgphoto2_port-uninstalled.pc.in \
325 gphoto2/gphoto2-port-library.h
326 doc_DATA = AUTHORS README NEWS
327 ACLOCAL_AMFLAGS = -I auto-m4 -I m4
328 pkgconfig_DATA = libgphoto2_port.pc
329 noinst_DATA = libgphoto2_port-uninstalled.pc
332 nobase_include_HEADERS = \
333 gphoto2/gphoto2-port.h \
334 gphoto2/gphoto2-port-info-list.h \
335 gphoto2/gphoto2-port-log.h \
336 gphoto2/gphoto2-port-version.h \
337 gphoto2/gphoto2-port-portability.h \
338 gphoto2/gphoto2-port-result.h
341 $(MAKE) $(AM_MAKEFLAGS) all-recursive
346 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
348 case '$(am__configure_deps)' in \
350 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
351 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
356 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
357 $(am__cd) $(top_srcdir) && \
358 $(AUTOMAKE) --gnu Makefile
360 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
363 echo ' $(SHELL) ./config.status'; \
364 $(SHELL) ./config.status;; \
366 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
367 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
370 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
371 $(SHELL) ./config.status --recheck
373 $(top_srcdir)/configure: $(am__configure_deps)
374 $(am__cd) $(srcdir) && $(AUTOCONF)
375 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
376 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
377 $(am__aclocal_m4_deps):
380 @if test ! -f $@; then \
382 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
385 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
387 cd $(top_builddir) && $(SHELL) ./config.status config.h
388 $(srcdir)/config.h.in: $(am__configure_deps)
389 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
394 -rm -f config.h stamp-h1
395 libgphoto2_port.pc: $(top_builddir)/config.status $(srcdir)/libgphoto2_port.pc.in
396 cd $(top_builddir) && $(SHELL) ./config.status $@
397 libgphoto2_port-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libgphoto2_port-uninstalled.pc.in
398 cd $(top_builddir) && $(SHELL) ./config.status $@
399 gphoto2-port-config: $(top_builddir)/config.status $(srcdir)/gphoto2-port-config.in
400 cd $(top_builddir) && $(SHELL) ./config.status $@
401 install-binSCRIPTS: $(bin_SCRIPTS)
403 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
404 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
405 for p in $$list; do \
406 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
407 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
409 sed -e 'p;s,.*/,,;n' \
411 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
412 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
413 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
414 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
415 if (++n[d] == $(am__install_max)) { \
416 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
417 else { print "f", d "/" $$4, $$1 } } \
418 END { for (d in files) print "f", d, files[d] }' | \
419 while read type dir files; do \
420 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
421 test -z "$$files" || { \
422 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
423 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
427 uninstall-binSCRIPTS:
429 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
430 files=`for p in $$list; do echo "$$p"; done | \
431 sed -e 's,.*/,,;$(transform)'`; \
432 test -n "$$list" || exit 0; \
433 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
434 cd "$(DESTDIR)$(bindir)" && rm -f $$files
443 -rm -f libtool config.lt
444 install-docDATA: $(doc_DATA)
446 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
447 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
448 for p in $$list; do \
449 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
451 done | $(am__base_list) | \
452 while read files; do \
453 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
454 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
459 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
460 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
461 test -n "$$files" || exit 0; \
462 echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
463 cd "$(DESTDIR)$(docdir)" && rm -f $$files
464 install-pkgconfigDATA: $(pkgconfig_DATA)
466 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
467 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
468 for p in $$list; do \
469 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
471 done | $(am__base_list) | \
472 while read files; do \
473 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
474 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
477 uninstall-pkgconfigDATA:
479 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
480 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
481 test -n "$$files" || exit 0; \
482 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
483 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
484 install-nobase_includeHEADERS: $(nobase_include_HEADERS)
486 test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
487 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
488 $(am__nobase_list) | while read dir files; do \
489 xfiles=; for file in $$files; do \
490 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
491 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
492 test -z "$$xfiles" || { \
493 test "x$$dir" = x. || { \
494 echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \
495 $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \
496 echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \
497 $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \
500 uninstall-nobase_includeHEADERS:
502 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
503 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
504 test -n "$$files" || exit 0; \
505 echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
506 cd "$(DESTDIR)$(includedir)" && rm -f $$files
508 # This directory's subdirectories are mostly independent; you can cd
509 # into them and run `make' without going through this Makefile.
510 # To change the values of `make' variables: instead of editing Makefiles,
511 # (1) if the variable is set in `config.status', edit `config.status'
512 # (which will cause the Makefiles to be regenerated when you run `make');
513 # (2) otherwise, pass the desired values on the `make' command line.
514 $(RECURSIVE_TARGETS):
515 @fail= failcom='exit 1'; \
516 for f in x $$MAKEFLAGS; do \
519 *k*) failcom='fail=yes';; \
523 target=`echo $@ | sed s/-recursive//`; \
524 list='$(SUBDIRS)'; for subdir in $$list; do \
525 echo "Making $$target in $$subdir"; \
526 if test "$$subdir" = "."; then \
528 local_target="$$target-am"; \
530 local_target="$$target"; \
532 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
535 if test "$$dot_seen" = "no"; then \
536 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
539 $(RECURSIVE_CLEAN_TARGETS):
540 @fail= failcom='exit 1'; \
541 for f in x $$MAKEFLAGS; do \
544 *k*) failcom='fail=yes';; \
549 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
550 *) list='$(SUBDIRS)' ;; \
552 rev=''; for subdir in $$list; do \
553 if test "$$subdir" = "."; then :; else \
554 rev="$$subdir $$rev"; \
558 target=`echo $@ | sed s/-recursive//`; \
559 for subdir in $$rev; do \
560 echo "Making $$target in $$subdir"; \
561 if test "$$subdir" = "."; then \
562 local_target="$$target-am"; \
564 local_target="$$target"; \
566 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
568 done && test -z "$$fail"
570 list='$(SUBDIRS)'; for subdir in $$list; do \
571 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
574 list='$(SUBDIRS)'; for subdir in $$list; do \
575 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
578 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
579 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
580 unique=`for i in $$list; do \
581 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
583 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
584 END { if (nonempty) { for (i in files) print i; }; }'`; \
588 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
589 $(TAGS_FILES) $(LISP)
592 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
593 include_option=--etags-include; \
596 include_option=--include; \
599 list='$(SUBDIRS)'; for subdir in $$list; do \
600 if test "$$subdir" = .; then :; else \
601 test ! -f $$subdir/TAGS || \
602 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
605 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
606 unique=`for i in $$list; do \
607 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
609 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
610 END { if (nonempty) { for (i in files) print i; }; }'`; \
612 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
613 test -n "$$unique" || unique=$$empty_fix; \
614 if test $$# -gt 0; then \
615 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
618 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
623 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
624 $(TAGS_FILES) $(LISP)
625 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
626 unique=`for i in $$list; do \
627 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
629 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
630 END { if (nonempty) { for (i in files) print i; }; }'`; \
631 test -z "$(CTAGS_ARGS)$$unique" \
632 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
636 here=`$(am__cd) $(top_builddir) && pwd` \
637 && $(am__cd) $(top_srcdir) \
638 && gtags -i $(GTAGS_ARGS) "$$here"
641 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
643 distdir: $(DISTFILES)
644 @case `sed 15q $(srcdir)/NEWS` in \
645 *"$(VERSION)"*) : ;; \
647 echo "NEWS not updated; not releasing" 1>&2; \
650 $(am__remove_distdir)
651 test -d "$(distdir)" || mkdir "$(distdir)"
652 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
653 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
654 list='$(DISTFILES)'; \
655 dist_files=`for file in $$list; do echo $$file; done | \
656 sed -e "s|^$$srcdirstrip/||;t" \
657 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
658 case $$dist_files in \
659 */*) $(MKDIR_P) `echo "$$dist_files" | \
660 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
663 for file in $$dist_files; do \
664 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
665 if test -d $$d/$$file; then \
666 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
667 if test -d "$(distdir)/$$file"; then \
668 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
670 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
671 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
672 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
674 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
676 test -f "$(distdir)/$$file" \
677 || cp -p $$d/$$file "$(distdir)/$$file" \
681 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
682 if test "$$subdir" = .; then :; else \
683 test -d "$(distdir)/$$subdir" \
684 || $(MKDIR_P) "$(distdir)/$$subdir" \
688 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
689 if test "$$subdir" = .; then :; else \
690 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
692 new_distdir=$$reldir; \
693 dir1=$$subdir; dir2="$(top_distdir)"; \
695 new_top_distdir=$$reldir; \
696 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
697 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
698 ($(am__cd) $$subdir && \
699 $(MAKE) $(AM_MAKEFLAGS) \
700 top_distdir="$$new_top_distdir" \
701 distdir="$$new_distdir" \
702 am__remove_distdir=: \
703 am__skip_length_check=: \
704 am__skip_mode_fix=: \
709 -test -n "$(am__skip_mode_fix)" \
710 || find "$(distdir)" -type d ! -perm -755 \
711 -exec chmod u+rwx,go+rx {} \; -o \
712 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
713 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
714 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
715 || chmod -R a+r "$(distdir)"
717 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
718 $(am__remove_distdir)
720 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
721 $(am__remove_distdir)
724 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
725 $(am__remove_distdir)
728 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
729 $(am__remove_distdir)
732 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
733 $(am__remove_distdir)
736 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
737 $(am__remove_distdir)
740 -rm -f $(distdir).zip
741 zip -rq $(distdir).zip $(distdir)
742 $(am__remove_distdir)
744 dist dist-all: distdir
745 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
746 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
747 $(am__remove_distdir)
749 # This target untars the dist file and tries a VPATH configuration. Then
750 # it guarantees that the distribution is self-contained by making another
753 case '$(DIST_ARCHIVES)' in \
755 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
757 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
759 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
761 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
763 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
765 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
767 unzip $(distdir).zip ;;\
769 chmod -R a-w $(distdir); chmod a+w $(distdir)
770 mkdir $(distdir)/_build
771 mkdir $(distdir)/_inst
773 test -d $(distdir)/_build || exit 0; \
774 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
775 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
777 && $(am__cd) $(distdir)/_build \
778 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
779 $(DISTCHECK_CONFIGURE_FLAGS) \
780 && $(MAKE) $(AM_MAKEFLAGS) \
781 && $(MAKE) $(AM_MAKEFLAGS) dvi \
782 && $(MAKE) $(AM_MAKEFLAGS) check \
783 && $(MAKE) $(AM_MAKEFLAGS) install \
784 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
785 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
786 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
788 && chmod -R a-w "$$dc_install_base" \
790 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
791 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
792 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
793 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
794 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
795 } || { rm -rf "$$dc_destdir"; exit 1; }) \
796 && rm -rf "$$dc_destdir" \
797 && $(MAKE) $(AM_MAKEFLAGS) dist \
798 && rm -rf $(DIST_ARCHIVES) \
799 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
802 $(am__remove_distdir)
803 @(echo "$(distdir) archives ready for distribution: "; \
804 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
805 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
807 @$(am__cd) '$(distuninstallcheck_dir)' \
808 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
809 || { echo "ERROR: files left after uninstall:" ; \
810 if test -n "$(DESTDIR)"; then \
811 echo " (check DESTDIR support)"; \
813 $(distuninstallcheck_listfiles) ; \
815 distcleancheck: distclean
816 @if test '$(srcdir)' = . ; then \
817 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
820 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
821 || { echo "ERROR: files left in build directory after distclean:" ; \
822 $(distcleancheck_listfiles) ; \
825 check: check-recursive
826 all-am: Makefile $(SCRIPTS) $(DATA) $(HEADERS) config.h
827 installdirs: installdirs-recursive
829 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
830 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
832 install: install-recursive
833 install-exec: install-exec-recursive
834 install-data: install-data-recursive
835 uninstall: uninstall-recursive
838 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
840 installcheck: installcheck-recursive
842 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
843 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
844 `test -z '$(STRIP)' || \
845 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
851 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
852 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
854 maintainer-clean-generic:
855 @echo "This command is intended for maintainers to use"
856 @echo "it deletes files that may require special tools to rebuild."
857 clean: clean-recursive
859 clean-am: clean-generic clean-libtool mostlyclean-am
861 distclean: distclean-recursive
862 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
864 distclean-am: clean-am distclean-generic distclean-hdr \
865 distclean-libtool distclean-tags
879 install-data-am: install-data-local install-docDATA \
880 install-nobase_includeHEADERS install-pkgconfigDATA
882 install-dvi: install-dvi-recursive
886 install-exec-am: install-binSCRIPTS
888 install-html: install-html-recursive
892 install-info: install-info-recursive
898 install-pdf: install-pdf-recursive
902 install-ps: install-ps-recursive
908 maintainer-clean: maintainer-clean-recursive
909 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
910 -rm -rf $(top_srcdir)/autom4te.cache
912 maintainer-clean-am: distclean-am maintainer-clean-generic
914 mostlyclean: mostlyclean-recursive
916 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
926 uninstall-am: uninstall-binSCRIPTS uninstall-docDATA uninstall-local \
927 uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA
929 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
930 ctags-recursive install-am install-strip tags-recursive
932 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
933 all all-am am--refresh check check-am clean clean-generic \
934 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
935 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
936 distcheck distclean distclean-generic distclean-hdr \
937 distclean-libtool distclean-tags distcleancheck distdir \
938 distuninstallcheck dvi dvi-am html html-am info info-am \
939 install install-am install-binSCRIPTS install-data \
940 install-data-am install-data-local install-docDATA install-dvi \
941 install-dvi-am install-exec install-exec-am install-html \
942 install-html-am install-info install-info-am install-man \
943 install-nobase_includeHEADERS install-pdf install-pdf-am \
944 install-pkgconfigDATA install-ps install-ps-am install-strip \
945 installcheck installcheck-am installdirs installdirs-am \
946 maintainer-clean maintainer-clean-generic mostlyclean \
947 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
948 tags tags-recursive uninstall uninstall-am \
949 uninstall-binSCRIPTS uninstall-docDATA uninstall-local \
950 uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA
953 # Compatibility for header inclusions.
955 # - Old code has -I/usr/include/gphoto2
956 # #include <gphoto2-camera.h>
958 # - New code has -I/usr/include
959 # #include <gphoto2/gphoto2-camera.h>
962 rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2
963 $(INSTALL) -m 0755 -d $(DESTDIR)$(includedir)/gphoto2
964 $(LN_S) . $(DESTDIR)$(includedir)/gphoto2/gphoto2
967 rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2
969 # Tell versions [3.59,3.63) of GNU make to not export all variables.
970 # Otherwise a system limit (for SysV at least) may be exceeded.