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
18 # Process this file with automake to generate a GNU Makefile
20 ########################################################################
21 # put file lists and special compile rules here
26 pkgdatadir = $(datadir)/@PACKAGE@
27 pkgincludedir = $(includedir)/@PACKAGE@
28 pkglibdir = $(libdir)/@PACKAGE@
29 pkglibexecdir = $(libexecdir)/@PACKAGE@
30 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31 install_sh_DATA = $(install_sh) -c -m 644
32 install_sh_PROGRAM = $(install_sh) -c
33 install_sh_SCRIPT = $(install_sh) -c
34 INSTALL_HEADER = $(INSTALL_DATA)
35 transform = $(program_transform_name)
42 build_triplet = @build@
45 DIST_COMMON = README $(am__configure_deps) $(nobase_include_HEADERS) \
46 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
47 $(srcdir)/README.in $(srcdir)/config.h.in \
48 $(srcdir)/gphoto2-config.in \
49 $(srcdir)/libgphoto2-uninstalled.pc.in \
50 $(srcdir)/libgphoto2.pc.in $(top_srcdir)/configure ABOUT-NLS \
51 AUTHORS COPYING ChangeLog INSTALL NEWS auto-aux/compile \
52 auto-aux/config.guess auto-aux/config.rpath \
53 auto-aux/config.sub auto-aux/depcomp auto-aux/install-sh \
54 auto-aux/ltmain.sh auto-aux/missing auto-aux/mkinstalldirs
55 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
56 am__aclocal_m4_deps = $(top_srcdir)/m4m/gp-byteorder.m4 \
57 $(top_srcdir)/m4m/gp-camlibs.m4 \
58 $(top_srcdir)/m4m/gp-check-doxygen.m4 \
59 $(top_srcdir)/m4m/gp-check-library.m4 \
60 $(top_srcdir)/m4m/gp-check-shell-environment.m4 \
61 $(top_srcdir)/m4m/gp-config-msg.m4 \
62 $(top_srcdir)/m4m/gp-documentation.m4 \
63 $(top_srcdir)/m4m/gp-gettext-hack.m4 \
64 $(top_srcdir)/m4m/gp-packaging.m4 \
65 $(top_srcdir)/m4m/gp-pkg-config.m4 \
66 $(top_srcdir)/m4m/gp-references.m4 \
67 $(top_srcdir)/m4m/gp-stdint.m4 $(top_srcdir)/m4m/gp-udev.m4 \
68 $(top_srcdir)/auto-m4/gettext.m4 \
69 $(top_srcdir)/auto-m4/iconv.m4 $(top_srcdir)/auto-m4/lib-ld.m4 \
70 $(top_srcdir)/auto-m4/lib-link.m4 \
71 $(top_srcdir)/auto-m4/lib-prefix.m4 \
72 $(top_srcdir)/auto-m4/libtool.m4 \
73 $(top_srcdir)/auto-m4/ltoptions.m4 \
74 $(top_srcdir)/auto-m4/ltsugar.m4 \
75 $(top_srcdir)/auto-m4/ltversion.m4 \
76 $(top_srcdir)/auto-m4/lt~obsolete.m4 \
77 $(top_srcdir)/auto-m4/nls.m4 $(top_srcdir)/auto-m4/po.m4 \
78 $(top_srcdir)/auto-m4/progtest.m4 $(top_srcdir)/configure.ac
79 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
81 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
82 configure.lineno config.status.lineno
83 mkinstalldirs = $(SHELL) $(top_srcdir)/auto-aux/mkinstalldirs
84 CONFIG_HEADER = config.h
85 CONFIG_CLEAN_FILES = README gphoto2-config libgphoto2.pc \
86 libgphoto2-uninstalled.pc
87 CONFIG_CLEAN_VPATH_FILES =
88 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
89 am__vpath_adj = case $$p in \
90 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
93 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
95 am__nobase_strip_setup = \
96 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
98 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
99 am__nobase_list = $(am__nobase_strip_setup); \
100 for p in $$list; do echo "$$p $$p"; done | \
101 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
102 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
103 if (++n[$$2] == $(am__install_max)) \
104 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
105 END { for (dir in files) print dir, files[dir] }'
107 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
108 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
109 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" \
110 "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
111 SCRIPTS = $(bin_SCRIPTS)
114 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
115 html-recursive info-recursive install-data-recursive \
116 install-dvi-recursive install-exec-recursive \
117 install-html-recursive install-info-recursive \
118 install-pdf-recursive install-ps-recursive install-recursive \
119 installcheck-recursive installdirs-recursive pdf-recursive \
120 ps-recursive uninstall-recursive
121 DATA = $(doc_DATA) $(noinst_DATA) $(pkgconfig_DATA)
122 HEADERS = $(nobase_include_HEADERS)
123 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
124 distclean-recursive maintainer-clean-recursive
125 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
126 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
127 distdir dist dist-all distcheck
130 DIST_SUBDIRS = $(SUBDIRS)
131 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
132 distdir = $(PACKAGE)-$(VERSION)
133 top_distdir = $(distdir)
134 am__remove_distdir = \
135 { test ! -d "$(distdir)" \
136 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
137 && rm -fr "$(distdir)"; }; }
140 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
141 sed_rest='s,^[^/]*/*,,'; \
142 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
143 sed_butlast='s,/*[^/]*$$,,'; \
144 while test -n "$$dir1"; do \
145 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
146 if test "$$first" != "."; then \
147 if test "$$first" = ".."; then \
148 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
149 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
151 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
152 if test "$$first2" = "$$first"; then \
153 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
157 dir0="$$dir0"/"$$first"; \
160 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
163 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
165 distuninstallcheck_listfiles = find . -type f -print
166 distcleancheck_listfiles = find . -type f -print
168 ALL_CURRENT_CAMLIBS = @ALL_CURRENT_CAMLIBS@
169 ALL_DEFINED_CAMLIBS = @ALL_DEFINED_CAMLIBS@
171 AM_CFLAGS = @AM_CFLAGS@
172 AM_CPPFLAGS = @AM_CPPFLAGS@
173 AM_CXXFLAGS = @AM_CXXFLAGS@
174 AM_LDFLAGS = @AM_LDFLAGS@
177 AUTOCONF = @AUTOCONF@
178 AUTOHEADER = @AUTOHEADER@
179 AUTOMAKE = @AUTOMAKE@
182 BUILD_THESE_CAMLIBS = @BUILD_THESE_CAMLIBS@
183 CAMLIB_LDFLAGS = @CAMLIB_LDFLAGS@
184 CAMLIB_LIBS = @CAMLIB_LIBS@
186 CCDEPMODE = @CCDEPMODE@
189 CPPFLAGS = @CPPFLAGS@
192 CXXDEPMODE = @CXXDEPMODE@
193 CXXFLAGS = @CXXFLAGS@
194 CYGPATH_W = @CYGPATH_W@
200 DOXYGEN_OUTPUT_DIR = @DOXYGEN_OUTPUT_DIR@
201 DSYMUTIL = @DSYMUTIL@
210 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
214 HAVE_DOT = @HAVE_DOT@
215 HTML_APIDOC_DIR = @HTML_APIDOC_DIR@
216 HTML_APIDOC_INTERNALS_DIR = @HTML_APIDOC_INTERNALS_DIR@
218 INSTALL_DATA = @INSTALL_DATA@
219 INSTALL_PROGRAM = @INSTALL_PROGRAM@
220 INSTALL_SCRIPT = @INSTALL_SCRIPT@
221 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
222 INTLLIBS = @INTLLIBS@
225 LIBEXIF_CFLAGS = @LIBEXIF_CFLAGS@
226 LIBEXIF_CONFIG_PROG = @LIBEXIF_CONFIG_PROG@
227 LIBEXIF_LIBS = @LIBEXIF_LIBS@
229 LIBGPHOTO2_AGE = @LIBGPHOTO2_AGE@
230 LIBGPHOTO2_CURRENT = @LIBGPHOTO2_CURRENT@
231 LIBGPHOTO2_CURRENT_MIN = @LIBGPHOTO2_CURRENT_MIN@
232 LIBGPHOTO2_REVISION = @LIBGPHOTO2_REVISION@
233 LIBGPHOTO2_VERSION_INFO = @LIBGPHOTO2_VERSION_INFO@
234 LIBICONV = @LIBICONV@
240 LIBUSB_CONFIG = @LIBUSB_CONFIG@
243 LTLIBICONV = @LTLIBICONV@
244 LTLIBINTL = @LTLIBINTL@
245 LTLIBOBJS = @LTLIBOBJS@
246 MAIL_GPHOTO_DEVEL = @MAIL_GPHOTO_DEVEL@
247 MAIL_GPHOTO_TRANSLATION = @MAIL_GPHOTO_TRANSLATION@
248 MAIL_GPHOTO_USER = @MAIL_GPHOTO_USER@
249 MAKEINFO = @MAKEINFO@
251 MKINSTALLDIRS = @MKINSTALLDIRS@
253 MSGMERGE = @MSGMERGE@
256 NO_UNUSED_CFLAGS = @NO_UNUSED_CFLAGS@
262 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
263 PACKAGE_NAME = @PACKAGE_NAME@
264 PACKAGE_STRING = @PACKAGE_STRING@
265 PACKAGE_TARNAME = @PACKAGE_TARNAME@
266 PACKAGE_URL = @PACKAGE_URL@
267 PACKAGE_VERSION = @PACKAGE_VERSION@
268 PATH_SEPARATOR = @PATH_SEPARATOR@
269 PKG_CONFIG = @PKG_CONFIG@
270 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
271 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
274 REQUIREMENTS_FOR_LIBEXIF = @REQUIREMENTS_FOR_LIBEXIF@
275 RPMBUILD = @RPMBUILD@
277 SET_MAKE = @SET_MAKE@
280 URL_DIGICAM_LIST = @URL_DIGICAM_LIST@
281 URL_GPHOTO_HOME = @URL_GPHOTO_HOME@
282 URL_GPHOTO_PROJECT = @URL_GPHOTO_PROJECT@
283 URL_JPHOTO_HOME = @URL_JPHOTO_HOME@
284 URL_USB_MASSSTORAGE = @URL_USB_MASSSTORAGE@
287 XGETTEXT = @XGETTEXT@
288 abs_builddir = @abs_builddir@
289 abs_srcdir = @abs_srcdir@
290 abs_top_builddir = @abs_top_builddir@
291 abs_top_srcdir = @abs_top_srcdir@
292 ac_ct_CC = @ac_ct_CC@
293 ac_ct_CXX = @ac_ct_CXX@
294 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
295 am__include = @am__include@
296 am__leading_dot = @am__leading_dot@
297 am__quote = @am__quote@
299 am__untar = @am__untar@
300 apidocdir = @apidocdir@
303 build_alias = @build_alias@
304 build_cpu = @build_cpu@
305 build_os = @build_os@
306 build_vendor = @build_vendor@
307 builddir = @builddir@
308 camlibdir = @camlibdir@
309 camlibdocdir = @camlibdocdir@
311 datarootdir = @datarootdir@
314 effective_target = @effective_target@
315 exec_prefix = @exec_prefix@
317 host_alias = @host_alias@
318 host_cpu = @host_cpu@
320 host_vendor = @host_vendor@
321 hotplugdocdir = @hotplugdocdir@
322 hotplugusermapdir = @hotplugusermapdir@
324 includedir = @includedir@
326 install_sh = @install_sh@
328 libexecdir = @libexecdir@
329 localedir = @localedir@
330 localstatedir = @localstatedir@
334 oldincludedir = @oldincludedir@
336 pkgconfigdir = @pkgconfigdir@
338 program_transform_name = @program_transform_name@
341 sharedstatedir = @sharedstatedir@
344 sysconfdir = @sysconfdir@
345 target_alias = @target_alias@
346 top_build_prefix = @top_build_prefix@
347 top_builddir = @top_builddir@
348 top_srcdir = @top_srcdir@
349 udevscriptdir = @udevscriptdir@
350 utilsdir = @utilsdir@
351 bin_SCRIPTS = gphoto2-config
352 EXTRA_DIST = HACKING MAINTAINERS TESTERS installcheck.mk \
353 README.packaging libgphoto2.pc.in libgphoto2-uninstalled.pc.in \
354 ChangeLog INSTALL README.in README README.packaging
356 # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
357 SUBDIRS = @subdirs@ libgphoto2 camlibs tests examples po packaging doc
358 pkgconfig_DATA = libgphoto2.pc
359 noinst_DATA = libgphoto2-uninstalled.pc
360 doc_DATA = AUTHORS COPYING NEWS ABOUT-NLS ChangeLog README \
362 nobase_include_HEADERS = \
364 gphoto2/gphoto2-abilities-list.h\
365 gphoto2/gphoto2-camera.h \
366 gphoto2/gphoto2-context.h \
367 gphoto2/gphoto2-file.h \
368 gphoto2/gphoto2-filesys.h \
369 gphoto2/gphoto2-library.h \
370 gphoto2/gphoto2-list.h \
371 gphoto2/gphoto2-result.h \
372 gphoto2/gphoto2-setting.h \
373 gphoto2/gphoto2-version.h \
374 gphoto2/gphoto2-widget.h
376 DISTCLEANFILES = libgphoto2/gphoto2-endian.h
378 ########################################################################
379 # The following default options for aclocal and automake
380 # are required in the top level Makefile.am for the automatic
381 # re-building of the build system files.
382 ACLOCAL_AMFLAGS = -I auto-m4 -I m4m
384 $(MAKE) $(AM_MAKEFLAGS) all-recursive
389 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
391 case '$(am__configure_deps)' in \
393 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
394 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
399 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
400 $(am__cd) $(top_srcdir) && \
401 $(AUTOMAKE) --gnu Makefile
403 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
406 echo ' $(SHELL) ./config.status'; \
407 $(SHELL) ./config.status;; \
409 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
410 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
413 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
414 $(SHELL) ./config.status --recheck
416 $(top_srcdir)/configure: $(am__configure_deps)
417 $(am__cd) $(srcdir) && $(AUTOCONF)
418 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
419 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
420 $(am__aclocal_m4_deps):
423 @if test ! -f $@; then \
425 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
428 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
430 cd $(top_builddir) && $(SHELL) ./config.status config.h
431 $(srcdir)/config.h.in: $(am__configure_deps)
432 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
437 -rm -f config.h stamp-h1
438 README: $(top_builddir)/config.status $(srcdir)/README.in
439 cd $(top_builddir) && $(SHELL) ./config.status $@
440 gphoto2-config: $(top_builddir)/config.status $(srcdir)/gphoto2-config.in
441 cd $(top_builddir) && $(SHELL) ./config.status $@
442 libgphoto2.pc: $(top_builddir)/config.status $(srcdir)/libgphoto2.pc.in
443 cd $(top_builddir) && $(SHELL) ./config.status $@
444 libgphoto2-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libgphoto2-uninstalled.pc.in
445 cd $(top_builddir) && $(SHELL) ./config.status $@
446 install-binSCRIPTS: $(bin_SCRIPTS)
448 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
449 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
450 for p in $$list; do \
451 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
452 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
454 sed -e 'p;s,.*/,,;n' \
456 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
457 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
458 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
459 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
460 if (++n[d] == $(am__install_max)) { \
461 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
462 else { print "f", d "/" $$4, $$1 } } \
463 END { for (d in files) print "f", d, files[d] }' | \
464 while read type dir files; do \
465 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
466 test -z "$$files" || { \
467 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
468 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
472 uninstall-binSCRIPTS:
474 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
475 files=`for p in $$list; do echo "$$p"; done | \
476 sed -e 's,.*/,,;$(transform)'`; \
477 test -n "$$list" || exit 0; \
478 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
479 cd "$(DESTDIR)$(bindir)" && rm -f $$files
488 -rm -f libtool config.lt
489 install-docDATA: $(doc_DATA)
491 test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
492 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
493 for p in $$list; do \
494 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
496 done | $(am__base_list) | \
497 while read files; do \
498 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
499 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
504 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
505 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
506 test -n "$$files" || exit 0; \
507 echo " ( cd '$(DESTDIR)$(docdir)' && rm -f" $$files ")"; \
508 cd "$(DESTDIR)$(docdir)" && rm -f $$files
509 install-pkgconfigDATA: $(pkgconfig_DATA)
511 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
512 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
513 for p in $$list; do \
514 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
516 done | $(am__base_list) | \
517 while read files; do \
518 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
519 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
522 uninstall-pkgconfigDATA:
524 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
525 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
526 test -n "$$files" || exit 0; \
527 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
528 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
529 install-nobase_includeHEADERS: $(nobase_include_HEADERS)
531 test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
532 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
533 $(am__nobase_list) | while read dir files; do \
534 xfiles=; for file in $$files; do \
535 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
536 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
537 test -z "$$xfiles" || { \
538 test "x$$dir" = x. || { \
539 echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \
540 $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \
541 echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \
542 $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \
545 uninstall-nobase_includeHEADERS:
547 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
548 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
549 test -n "$$files" || exit 0; \
550 echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
551 cd "$(DESTDIR)$(includedir)" && rm -f $$files
553 # This directory's subdirectories are mostly independent; you can cd
554 # into them and run `make' without going through this Makefile.
555 # To change the values of `make' variables: instead of editing Makefiles,
556 # (1) if the variable is set in `config.status', edit `config.status'
557 # (which will cause the Makefiles to be regenerated when you run `make');
558 # (2) otherwise, pass the desired values on the `make' command line.
559 $(RECURSIVE_TARGETS):
560 @fail= failcom='exit 1'; \
561 for f in x $$MAKEFLAGS; do \
564 *k*) failcom='fail=yes';; \
568 target=`echo $@ | sed s/-recursive//`; \
569 list='$(SUBDIRS)'; for subdir in $$list; do \
570 echo "Making $$target in $$subdir"; \
571 if test "$$subdir" = "."; then \
573 local_target="$$target-am"; \
575 local_target="$$target"; \
577 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
580 if test "$$dot_seen" = "no"; then \
581 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
584 $(RECURSIVE_CLEAN_TARGETS):
585 @fail= failcom='exit 1'; \
586 for f in x $$MAKEFLAGS; do \
589 *k*) failcom='fail=yes';; \
594 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
595 *) list='$(SUBDIRS)' ;; \
597 rev=''; for subdir in $$list; do \
598 if test "$$subdir" = "."; then :; else \
599 rev="$$subdir $$rev"; \
603 target=`echo $@ | sed s/-recursive//`; \
604 for subdir in $$rev; do \
605 echo "Making $$target in $$subdir"; \
606 if test "$$subdir" = "."; then \
607 local_target="$$target-am"; \
609 local_target="$$target"; \
611 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
613 done && test -z "$$fail"
615 list='$(SUBDIRS)'; for subdir in $$list; do \
616 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
619 list='$(SUBDIRS)'; for subdir in $$list; do \
620 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
623 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
624 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
625 unique=`for i in $$list; do \
626 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
628 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
629 END { if (nonempty) { for (i in files) print i; }; }'`; \
633 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
634 $(TAGS_FILES) $(LISP)
637 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
638 include_option=--etags-include; \
641 include_option=--include; \
644 list='$(SUBDIRS)'; for subdir in $$list; do \
645 if test "$$subdir" = .; then :; else \
646 test ! -f $$subdir/TAGS || \
647 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
650 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
651 unique=`for i in $$list; do \
652 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
654 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
655 END { if (nonempty) { for (i in files) print i; }; }'`; \
657 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
658 test -n "$$unique" || unique=$$empty_fix; \
659 if test $$# -gt 0; then \
660 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
663 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
668 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
669 $(TAGS_FILES) $(LISP)
670 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
671 unique=`for i in $$list; do \
672 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
674 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
675 END { if (nonempty) { for (i in files) print i; }; }'`; \
676 test -z "$(CTAGS_ARGS)$$unique" \
677 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
681 here=`$(am__cd) $(top_builddir) && pwd` \
682 && $(am__cd) $(top_srcdir) \
683 && gtags -i $(GTAGS_ARGS) "$$here"
686 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
688 distdir: $(DISTFILES)
689 @case `sed 15q $(srcdir)/NEWS` in \
690 *"$(VERSION)"*) : ;; \
692 echo "NEWS not updated; not releasing" 1>&2; \
695 $(am__remove_distdir)
696 test -d "$(distdir)" || mkdir "$(distdir)"
697 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
698 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
699 list='$(DISTFILES)'; \
700 dist_files=`for file in $$list; do echo $$file; done | \
701 sed -e "s|^$$srcdirstrip/||;t" \
702 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
703 case $$dist_files in \
704 */*) $(MKDIR_P) `echo "$$dist_files" | \
705 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
708 for file in $$dist_files; do \
709 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
710 if test -d $$d/$$file; then \
711 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
712 if test -d "$(distdir)/$$file"; then \
713 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
715 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
716 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
717 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
719 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
721 test -f "$(distdir)/$$file" \
722 || cp -p $$d/$$file "$(distdir)/$$file" \
726 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
727 if test "$$subdir" = .; then :; else \
728 test -d "$(distdir)/$$subdir" \
729 || $(MKDIR_P) "$(distdir)/$$subdir" \
733 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
734 if test "$$subdir" = .; then :; else \
735 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
737 new_distdir=$$reldir; \
738 dir1=$$subdir; dir2="$(top_distdir)"; \
740 new_top_distdir=$$reldir; \
741 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
742 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
743 ($(am__cd) $$subdir && \
744 $(MAKE) $(AM_MAKEFLAGS) \
745 top_distdir="$$new_top_distdir" \
746 distdir="$$new_distdir" \
747 am__remove_distdir=: \
748 am__skip_length_check=: \
749 am__skip_mode_fix=: \
754 -test -n "$(am__skip_mode_fix)" \
755 || find "$(distdir)" -type d ! -perm -755 \
756 -exec chmod u+rwx,go+rx {} \; -o \
757 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
758 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
759 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
760 || chmod -R a+r "$(distdir)"
762 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
763 $(am__remove_distdir)
765 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
766 $(am__remove_distdir)
769 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
770 $(am__remove_distdir)
773 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
774 $(am__remove_distdir)
777 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
778 $(am__remove_distdir)
781 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
782 $(am__remove_distdir)
785 -rm -f $(distdir).zip
786 zip -rq $(distdir).zip $(distdir)
787 $(am__remove_distdir)
789 dist dist-all: distdir
790 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
791 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
792 $(am__remove_distdir)
794 # This target untars the dist file and tries a VPATH configuration. Then
795 # it guarantees that the distribution is self-contained by making another
798 case '$(DIST_ARCHIVES)' in \
800 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
802 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
804 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
806 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
808 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
810 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
812 unzip $(distdir).zip ;;\
814 chmod -R a-w $(distdir); chmod a+w $(distdir)
815 mkdir $(distdir)/_build
816 mkdir $(distdir)/_inst
818 test -d $(distdir)/_build || exit 0; \
819 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
820 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
822 && $(am__cd) $(distdir)/_build \
823 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
824 $(DISTCHECK_CONFIGURE_FLAGS) \
825 && $(MAKE) $(AM_MAKEFLAGS) \
826 && $(MAKE) $(AM_MAKEFLAGS) dvi \
827 && $(MAKE) $(AM_MAKEFLAGS) check \
828 && $(MAKE) $(AM_MAKEFLAGS) install \
829 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
830 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
831 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
833 && chmod -R a-w "$$dc_install_base" \
835 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
836 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
837 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
838 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
839 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
840 } || { rm -rf "$$dc_destdir"; exit 1; }) \
841 && rm -rf "$$dc_destdir" \
842 && $(MAKE) $(AM_MAKEFLAGS) dist \
843 && rm -rf $(DIST_ARCHIVES) \
844 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
847 $(am__remove_distdir)
848 @(echo "$(distdir) archives ready for distribution: "; \
849 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
850 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
852 @$(am__cd) '$(distuninstallcheck_dir)' \
853 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
854 || { echo "ERROR: files left after uninstall:" ; \
855 if test -n "$(DESTDIR)"; then \
856 echo " (check DESTDIR support)"; \
858 $(distuninstallcheck_listfiles) ; \
860 distcleancheck: distclean
861 @if test '$(srcdir)' = . ; then \
862 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
865 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
866 || { echo "ERROR: files left in build directory after distclean:" ; \
867 $(distcleancheck_listfiles) ; \
870 check: check-recursive
871 all-am: Makefile $(SCRIPTS) $(DATA) $(HEADERS) config.h
872 installdirs: installdirs-recursive
874 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
875 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
877 install: install-recursive
878 install-exec: install-exec-recursive
879 install-data: install-data-recursive
880 uninstall: uninstall-recursive
883 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
885 installcheck: installcheck-recursive
887 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
888 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
889 `test -z '$(STRIP)' || \
890 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
896 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
897 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
898 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
900 maintainer-clean-generic:
901 @echo "This command is intended for maintainers to use"
902 @echo "it deletes files that may require special tools to rebuild."
903 clean: clean-recursive
905 clean-am: clean-generic clean-libtool mostlyclean-am
907 distclean: distclean-recursive
908 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
910 distclean-am: clean-am distclean-generic distclean-hdr \
911 distclean-libtool distclean-tags
925 install-data-am: install-data-local install-docDATA \
926 install-nobase_includeHEADERS install-pkgconfigDATA
928 install-dvi: install-dvi-recursive
932 install-exec-am: install-binSCRIPTS
934 install-html: install-html-recursive
938 install-info: install-info-recursive
944 install-pdf: install-pdf-recursive
948 install-ps: install-ps-recursive
954 maintainer-clean: maintainer-clean-recursive
955 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
956 -rm -rf $(top_srcdir)/autom4te.cache
958 maintainer-clean-am: distclean-am maintainer-clean-generic
960 mostlyclean: mostlyclean-recursive
962 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
972 uninstall-am: uninstall-binSCRIPTS uninstall-docDATA uninstall-local \
973 uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA
975 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
976 ctags-recursive install-am install-strip tags-recursive
978 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
979 all all-am am--refresh check check-am clean clean-generic \
980 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
981 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
982 distcheck distclean distclean-generic distclean-hdr \
983 distclean-libtool distclean-tags distcleancheck distdir \
984 distuninstallcheck dvi dvi-am html html-am info info-am \
985 install install-am install-binSCRIPTS install-data \
986 install-data-am install-data-local install-docDATA install-dvi \
987 install-dvi-am install-exec install-exec-am install-html \
988 install-html-am install-info install-info-am install-man \
989 install-nobase_includeHEADERS install-pdf install-pdf-am \
990 install-pkgconfigDATA install-ps install-ps-am install-strip \
991 installcheck installcheck-am installdirs installdirs-am \
992 maintainer-clean maintainer-clean-generic mostlyclean \
993 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
994 tags tags-recursive uninstall uninstall-am \
995 uninstall-binSCRIPTS uninstall-docDATA uninstall-local \
996 uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA
999 # we use just ONE .PHONY target in order not to confuse automake
1001 .PHONY: rpm cvs-tags source-code-check install-drivers
1003 ########################################################################
1004 # source code check maintenance task
1006 # This finds code patterns we don't want to have.
1008 # Use it to get rid of existing patterns and make sure they aren't
1009 # reintroduced later.
1011 # The output is meant to be read and interpreted by human programmers.
1014 @echo "######## Finding // comments"
1015 find . -type f -name '*.[ch]' -exec egrep -H '(^//|[^:]//)' {} \;
1016 @echo "######## Finding remainders of Arnaud's comment replacement"
1017 find . -type f -name '*.[ch]' -exec egrep -H 'http:/\*' {} \;
1018 @echo "######## Finding explicit libintl.h references"
1019 find . -type f -name '*.[ch]' -exec egrep -H '^#.*include.*libintl\.h' {} \;
1021 ########################################################################
1022 # Shortcut for installation of a subset of camlibs/drivers
1023 # Usage: make DRIVER="canon.la ptp2.la" install-drivers
1026 cd camlibs && $(MAKE) DRIVERS="$(DRIVERS)" install-drivers
1028 ########################################################################
1029 # The following rules are only interesting if you want to create
1030 # distribution packages (as source tarballs or system specific packages)
1032 # create RPM packages
1033 @ENABLE_RPM_TRUE@rpm: Makefile
1034 @ENABLE_RPM_TRUE@ $(MAKE) dist
1035 @ENABLE_RPM_TRUE@ $(MAKE) -C packaging/rpm rpm
1036 @ENABLE_RPM_TRUE@ @echo "The RPM packages should now be found in packaging/rpm/RPMS"
1038 @ENABLE_RPM_FALSE@rpm:
1039 @ENABLE_RPM_FALSE@ @echo "Dummy $@ target"
1041 # add CVS tags - used only by the project maintainer to tag the files of a
1044 @echo cvs tag "@PACKAGE@-$$(echo '@VERSION@' | sed -e 's/\./_/g' -e 's/rc/-rc/g')"
1046 ########################################################################
1047 # Compatibility for header inclusions.
1049 # - Old code has -I/usr/include/gphoto2
1050 # #include <gphoto2-camera.h>
1052 # - New code has -I/usr/include
1053 # #include <gphoto2/gphoto2-camera.h>
1056 rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2
1057 $(INSTALL) -m 0755 -d $(DESTDIR)$(includedir)/gphoto2
1058 $(LN_S) . $(DESTDIR)$(includedir)/gphoto2/gphoto2
1061 rm -f $(DESTDIR)$(includedir)/gphoto2/gphoto2
1063 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1064 # Otherwise a system limit (for SysV at least) may be exceeded.