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
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
35 build_triplet = @build@
40 noinst_PROGRAMS = sample-autodetect$(EXEEXT) \
41 sample-multi-detect$(EXEEXT) lunkwill-canon-capture$(EXEEXT) \
42 sample-owner$(EXEEXT) sample-preview$(EXEEXT)
43 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
44 $(top_srcdir)/installcheck.mk
46 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47 am__aclocal_m4_deps = $(top_srcdir)/m4m/gp-byteorder.m4 \
48 $(top_srcdir)/m4m/gp-camlibs.m4 \
49 $(top_srcdir)/m4m/gp-check-doxygen.m4 \
50 $(top_srcdir)/m4m/gp-check-library.m4 \
51 $(top_srcdir)/m4m/gp-check-shell-environment.m4 \
52 $(top_srcdir)/m4m/gp-config-msg.m4 \
53 $(top_srcdir)/m4m/gp-documentation.m4 \
54 $(top_srcdir)/m4m/gp-gettext-hack.m4 \
55 $(top_srcdir)/m4m/gp-packaging.m4 \
56 $(top_srcdir)/m4m/gp-pkg-config.m4 \
57 $(top_srcdir)/m4m/gp-references.m4 \
58 $(top_srcdir)/m4m/gp-stdint.m4 $(top_srcdir)/m4m/gp-udev.m4 \
59 $(top_srcdir)/auto-m4/gettext.m4 \
60 $(top_srcdir)/auto-m4/iconv.m4 $(top_srcdir)/auto-m4/lib-ld.m4 \
61 $(top_srcdir)/auto-m4/lib-link.m4 \
62 $(top_srcdir)/auto-m4/lib-prefix.m4 \
63 $(top_srcdir)/auto-m4/libtool.m4 \
64 $(top_srcdir)/auto-m4/ltoptions.m4 \
65 $(top_srcdir)/auto-m4/ltsugar.m4 \
66 $(top_srcdir)/auto-m4/ltversion.m4 \
67 $(top_srcdir)/auto-m4/lt~obsolete.m4 \
68 $(top_srcdir)/auto-m4/nls.m4 $(top_srcdir)/auto-m4/po.m4 \
69 $(top_srcdir)/auto-m4/progtest.m4 $(top_srcdir)/configure.ac
70 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
72 mkinstalldirs = $(SHELL) $(top_srcdir)/auto-aux/mkinstalldirs
73 CONFIG_HEADER = $(top_builddir)/config.h
75 CONFIG_CLEAN_VPATH_FILES =
76 PROGRAMS = $(noinst_PROGRAMS)
77 am_lunkwill_canon_capture_OBJECTS = lunkwill-canon-capture.$(OBJEXT) \
78 context.$(OBJEXT) config.$(OBJEXT)
79 lunkwill_canon_capture_OBJECTS = $(am_lunkwill_canon_capture_OBJECTS)
80 lunkwill_canon_capture_LDADD = $(LDADD)
82 lunkwill_canon_capture_DEPENDENCIES = \
83 $(top_builddir)/libgphoto2/libgphoto2.la \
84 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
85 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
86 am_sample_autodetect_OBJECTS = sample-autodetect.$(OBJEXT) \
87 context.$(OBJEXT) config.$(OBJEXT)
88 sample_autodetect_OBJECTS = $(am_sample_autodetect_OBJECTS)
89 sample_autodetect_LDADD = $(LDADD)
90 sample_autodetect_DEPENDENCIES = \
91 $(top_builddir)/libgphoto2/libgphoto2.la \
92 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
93 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
94 am_sample_multi_detect_OBJECTS = sample-multi-detect.$(OBJEXT) \
95 autodetect.$(OBJEXT) context.$(OBJEXT) config.$(OBJEXT)
96 sample_multi_detect_OBJECTS = $(am_sample_multi_detect_OBJECTS)
97 sample_multi_detect_LDADD = $(LDADD)
98 sample_multi_detect_DEPENDENCIES = \
99 $(top_builddir)/libgphoto2/libgphoto2.la \
100 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
101 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
102 am_sample_owner_OBJECTS = sample-owner.$(OBJEXT) context.$(OBJEXT) \
104 sample_owner_OBJECTS = $(am_sample_owner_OBJECTS)
105 sample_owner_LDADD = $(LDADD)
106 sample_owner_DEPENDENCIES = $(top_builddir)/libgphoto2/libgphoto2.la \
107 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
108 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
109 am_sample_preview_OBJECTS = preview.$(OBJEXT) context.$(OBJEXT) \
111 sample_preview_OBJECTS = $(am_sample_preview_OBJECTS)
112 sample_preview_LDADD = $(LDADD)
113 sample_preview_DEPENDENCIES = \
114 $(top_builddir)/libgphoto2/libgphoto2.la \
115 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
116 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
117 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
118 depcomp = $(SHELL) $(top_srcdir)/auto-aux/depcomp
119 am__depfiles_maybe = depfiles
121 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
122 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
124 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
125 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
127 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
128 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
130 SOURCES = $(lunkwill_canon_capture_SOURCES) \
131 $(sample_autodetect_SOURCES) $(sample_multi_detect_SOURCES) \
132 $(sample_owner_SOURCES) $(sample_preview_SOURCES)
133 DIST_SOURCES = $(lunkwill_canon_capture_SOURCES) \
134 $(sample_autodetect_SOURCES) $(sample_multi_detect_SOURCES) \
135 $(sample_owner_SOURCES) $(sample_preview_SOURCES)
139 red=; grn=; lgn=; blu=; std=
140 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
142 ALL_CURRENT_CAMLIBS = @ALL_CURRENT_CAMLIBS@
143 ALL_DEFINED_CAMLIBS = @ALL_DEFINED_CAMLIBS@
145 AM_CFLAGS = @AM_CFLAGS@
146 AM_CPPFLAGS = @AM_CPPFLAGS@
147 AM_CXXFLAGS = @AM_CXXFLAGS@
148 AM_LDFLAGS = @AM_LDFLAGS@
151 AUTOCONF = @AUTOCONF@
152 AUTOHEADER = @AUTOHEADER@
153 AUTOMAKE = @AUTOMAKE@
156 BUILD_THESE_CAMLIBS = @BUILD_THESE_CAMLIBS@
157 CAMLIB_LDFLAGS = @CAMLIB_LDFLAGS@
158 CAMLIB_LIBS = @CAMLIB_LIBS@
160 CCDEPMODE = @CCDEPMODE@
163 CPPFLAGS = @CPPFLAGS@
166 CXXDEPMODE = @CXXDEPMODE@
167 CXXFLAGS = @CXXFLAGS@
168 CYGPATH_W = @CYGPATH_W@
174 DOXYGEN_OUTPUT_DIR = @DOXYGEN_OUTPUT_DIR@
175 DSYMUTIL = @DSYMUTIL@
184 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
188 HAVE_DOT = @HAVE_DOT@
189 HTML_APIDOC_DIR = @HTML_APIDOC_DIR@
190 HTML_APIDOC_INTERNALS_DIR = @HTML_APIDOC_INTERNALS_DIR@
192 INSTALL_DATA = @INSTALL_DATA@
193 INSTALL_PROGRAM = @INSTALL_PROGRAM@
194 INSTALL_SCRIPT = @INSTALL_SCRIPT@
195 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
196 INTLLIBS = @INTLLIBS@
199 LIBEXIF_CFLAGS = @LIBEXIF_CFLAGS@
200 LIBEXIF_CONFIG_PROG = @LIBEXIF_CONFIG_PROG@
201 LIBEXIF_LIBS = @LIBEXIF_LIBS@
203 LIBGPHOTO2_AGE = @LIBGPHOTO2_AGE@
204 LIBGPHOTO2_CURRENT = @LIBGPHOTO2_CURRENT@
205 LIBGPHOTO2_CURRENT_MIN = @LIBGPHOTO2_CURRENT_MIN@
206 LIBGPHOTO2_REVISION = @LIBGPHOTO2_REVISION@
207 LIBGPHOTO2_VERSION_INFO = @LIBGPHOTO2_VERSION_INFO@
208 LIBICONV = @LIBICONV@
214 LIBUSB_CONFIG = @LIBUSB_CONFIG@
217 LTLIBICONV = @LTLIBICONV@
218 LTLIBINTL = @LTLIBINTL@
219 LTLIBOBJS = @LTLIBOBJS@
220 MAIL_GPHOTO_DEVEL = @MAIL_GPHOTO_DEVEL@
221 MAIL_GPHOTO_TRANSLATION = @MAIL_GPHOTO_TRANSLATION@
222 MAIL_GPHOTO_USER = @MAIL_GPHOTO_USER@
223 MAKEINFO = @MAKEINFO@
225 MKINSTALLDIRS = @MKINSTALLDIRS@
227 MSGMERGE = @MSGMERGE@
230 NO_UNUSED_CFLAGS = @NO_UNUSED_CFLAGS@
236 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
237 PACKAGE_NAME = @PACKAGE_NAME@
238 PACKAGE_STRING = @PACKAGE_STRING@
239 PACKAGE_TARNAME = @PACKAGE_TARNAME@
240 PACKAGE_URL = @PACKAGE_URL@
241 PACKAGE_VERSION = @PACKAGE_VERSION@
242 PATH_SEPARATOR = @PATH_SEPARATOR@
243 PKG_CONFIG = @PKG_CONFIG@
244 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
245 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
248 REQUIREMENTS_FOR_LIBEXIF = @REQUIREMENTS_FOR_LIBEXIF@
249 RPMBUILD = @RPMBUILD@
251 SET_MAKE = @SET_MAKE@
254 URL_DIGICAM_LIST = @URL_DIGICAM_LIST@
255 URL_GPHOTO_HOME = @URL_GPHOTO_HOME@
256 URL_GPHOTO_PROJECT = @URL_GPHOTO_PROJECT@
257 URL_JPHOTO_HOME = @URL_JPHOTO_HOME@
258 URL_USB_MASSSTORAGE = @URL_USB_MASSSTORAGE@
261 XGETTEXT = @XGETTEXT@
262 abs_builddir = @abs_builddir@
263 abs_srcdir = @abs_srcdir@
264 abs_top_builddir = @abs_top_builddir@
265 abs_top_srcdir = @abs_top_srcdir@
266 ac_ct_CC = @ac_ct_CC@
267 ac_ct_CXX = @ac_ct_CXX@
268 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
269 am__include = @am__include@
270 am__leading_dot = @am__leading_dot@
271 am__quote = @am__quote@
273 am__untar = @am__untar@
274 apidocdir = @apidocdir@
277 build_alias = @build_alias@
278 build_cpu = @build_cpu@
279 build_os = @build_os@
280 build_vendor = @build_vendor@
281 builddir = @builddir@
282 camlibdir = @camlibdir@
283 camlibdocdir = @camlibdocdir@
285 datarootdir = @datarootdir@
288 effective_target = @effective_target@
289 exec_prefix = @exec_prefix@
291 host_alias = @host_alias@
292 host_cpu = @host_cpu@
294 host_vendor = @host_vendor@
295 hotplugdocdir = @hotplugdocdir@
296 hotplugusermapdir = @hotplugusermapdir@
298 includedir = @includedir@
300 install_sh = @install_sh@
302 libexecdir = @libexecdir@
303 localedir = @localedir@
304 localstatedir = @localstatedir@
308 oldincludedir = @oldincludedir@
310 pkgconfigdir = @pkgconfigdir@
312 program_transform_name = @program_transform_name@
315 sharedstatedir = @sharedstatedir@
318 sysconfdir = @sysconfdir@
319 target_alias = @target_alias@
320 top_build_prefix = @top_build_prefix@
321 top_builddir = @top_builddir@
322 top_srcdir = @top_srcdir@
323 udevscriptdir = @udevscriptdir@
324 utilsdir = @utilsdir@
329 # Now that we build all the camlibs in one directory, we can run our checks
330 # with CAMLIBS set to the camlib build directory.
331 TESTS_ENVIRONMENT = env \
332 CAMLIBS="$(top_builddir)/camlibs"
335 # After installation, this will be CAMLIBS = $(DESTDIR)$(camlibdir)
336 INSTALL_TESTS_ENVIRONMENT = env \
337 CAMLIBS="$(DESTDIR)$(camlibdir)" \
338 LD_LIBRARY_PATH="$(DESTDIR)$(libdir)$${LD_LIBRARY_PATH+:$${LD_LIBRARY_PATH}}"
340 CLEANFILES = $(check_SCRIPTS)
341 sample_autodetect_SOURCES = sample-autodetect.c samples.h context.c config.c
342 sample_owner_SOURCES = sample-owner.c samples.h context.c config.c
343 sample_multi_detect_SOURCES = sample-multi-detect.c samples.h autodetect.c context.c config.c
344 lunkwill_canon_capture_SOURCES = lunkwill-canon-capture.c context.c samples.h config.c
345 sample_preview_SOURCES = preview.c samples.h context.c config.c
346 LDADD = $(top_builddir)/libgphoto2/libgphoto2.la \
347 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
354 .SUFFIXES: .c .lo .o .obj
355 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/installcheck.mk $(am__configure_deps)
357 case '$(am__configure_deps)' in \
359 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
360 && { if test -f $@; then exit 0; else break; fi; }; \
364 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu examples/Makefile'; \
365 $(am__cd) $(top_srcdir) && \
366 $(AUTOMAKE) --gnu examples/Makefile
368 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
371 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
373 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
374 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
377 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
378 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
380 $(top_srcdir)/configure: $(am__configure_deps)
381 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
382 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
383 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
384 $(am__aclocal_m4_deps):
387 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
388 echo " rm -f" $$list; \
389 rm -f $$list || exit $$?; \
390 test -n "$(EXEEXT)" || exit 0; \
391 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
392 echo " rm -f" $$list; \
395 clean-noinstPROGRAMS:
396 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
397 echo " rm -f" $$list; \
398 rm -f $$list || exit $$?; \
399 test -n "$(EXEEXT)" || exit 0; \
400 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
401 echo " rm -f" $$list; \
403 lunkwill-canon-capture$(EXEEXT): $(lunkwill_canon_capture_OBJECTS) $(lunkwill_canon_capture_DEPENDENCIES)
404 @rm -f lunkwill-canon-capture$(EXEEXT)
405 $(LINK) $(lunkwill_canon_capture_OBJECTS) $(lunkwill_canon_capture_LDADD) $(LIBS)
406 sample-autodetect$(EXEEXT): $(sample_autodetect_OBJECTS) $(sample_autodetect_DEPENDENCIES)
407 @rm -f sample-autodetect$(EXEEXT)
408 $(LINK) $(sample_autodetect_OBJECTS) $(sample_autodetect_LDADD) $(LIBS)
409 sample-multi-detect$(EXEEXT): $(sample_multi_detect_OBJECTS) $(sample_multi_detect_DEPENDENCIES)
410 @rm -f sample-multi-detect$(EXEEXT)
411 $(LINK) $(sample_multi_detect_OBJECTS) $(sample_multi_detect_LDADD) $(LIBS)
412 sample-owner$(EXEEXT): $(sample_owner_OBJECTS) $(sample_owner_DEPENDENCIES)
413 @rm -f sample-owner$(EXEEXT)
414 $(LINK) $(sample_owner_OBJECTS) $(sample_owner_LDADD) $(LIBS)
415 sample-preview$(EXEEXT): $(sample_preview_OBJECTS) $(sample_preview_DEPENDENCIES)
416 @rm -f sample-preview$(EXEEXT)
417 $(LINK) $(sample_preview_OBJECTS) $(sample_preview_LDADD) $(LIBS)
425 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/autodetect.Po@am__quote@
426 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Po@am__quote@
427 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/context.Po@am__quote@
428 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lunkwill-canon-capture.Po@am__quote@
429 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/preview.Po@am__quote@
430 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sample-autodetect.Po@am__quote@
431 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sample-multi-detect.Po@am__quote@
432 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sample-owner.Po@am__quote@
435 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
436 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
437 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
438 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
439 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
440 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $<
443 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
444 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
445 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
446 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
447 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
448 @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
451 @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
452 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
453 @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo
454 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
455 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
456 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
464 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
465 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
466 unique=`for i in $$list; do \
467 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
469 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
470 END { if (nonempty) { for (i in files) print i; }; }'`; \
474 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
475 $(TAGS_FILES) $(LISP)
478 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
479 unique=`for i in $$list; do \
480 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
482 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
483 END { if (nonempty) { for (i in files) print i; }; }'`; \
485 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
486 test -n "$$unique" || unique=$$empty_fix; \
487 if test $$# -gt 0; then \
488 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
491 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
496 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
497 $(TAGS_FILES) $(LISP)
498 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
499 unique=`for i in $$list; do \
500 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
502 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
503 END { if (nonempty) { for (i in files) print i; }; }'`; \
504 test -z "$(CTAGS_ARGS)$$unique" \
505 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
509 here=`$(am__cd) $(top_builddir) && pwd` \
510 && $(am__cd) $(top_srcdir) \
511 && gtags -i $(GTAGS_ARGS) "$$here"
514 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
516 check-TESTS: $(TESTS)
517 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
518 srcdir=$(srcdir); export srcdir; \
521 if test -n "$$list"; then \
522 for tst in $$list; do \
523 if test -f ./$$tst; then dir=./; \
524 elif test -f $$tst; then dir=; \
525 else dir="$(srcdir)/"; fi; \
526 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
527 all=`expr $$all + 1`; \
528 case " $(XFAIL_TESTS) " in \
529 *[\ \ ]$$tst[\ \ ]*) \
530 xpass=`expr $$xpass + 1`; \
531 failed=`expr $$failed + 1`; \
532 col=$$red; res=XPASS; \
535 col=$$grn; res=PASS; \
538 elif test $$? -ne 77; then \
539 all=`expr $$all + 1`; \
540 case " $(XFAIL_TESTS) " in \
541 *[\ \ ]$$tst[\ \ ]*) \
542 xfail=`expr $$xfail + 1`; \
543 col=$$lgn; res=XFAIL; \
546 failed=`expr $$failed + 1`; \
547 col=$$red; res=FAIL; \
551 skip=`expr $$skip + 1`; \
552 col=$$blu; res=SKIP; \
554 echo "$${col}$$res$${std}: $$tst"; \
556 if test "$$all" -eq 1; then \
563 if test "$$failed" -eq 0; then \
564 if test "$$xfail" -eq 0; then \
565 banner="$$All$$all $$tests passed"; \
567 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
568 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
571 if test "$$xpass" -eq 0; then \
572 banner="$$failed of $$all $$tests failed"; \
574 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
575 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
580 if test "$$skip" -ne 0; then \
581 if test "$$skip" -eq 1; then \
582 skipped="($$skip test was not run)"; \
584 skipped="($$skip tests were not run)"; \
586 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
587 dashes="$$skipped"; \
590 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
591 report="Please report to $(PACKAGE_BUGREPORT)"; \
592 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
595 dashes=`echo "$$dashes" | sed s/./=/g`; \
596 if test "$$failed" -eq 0; then \
597 echo "$$grn$$dashes"; \
599 echo "$$red$$dashes"; \
602 test -z "$$skipped" || echo "$$skipped"; \
603 test -z "$$report" || echo "$$report"; \
604 echo "$$dashes$$std"; \
605 test "$$failed" -eq 0; \
608 distdir: $(DISTFILES)
609 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
610 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
611 list='$(DISTFILES)'; \
612 dist_files=`for file in $$list; do echo $$file; done | \
613 sed -e "s|^$$srcdirstrip/||;t" \
614 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
615 case $$dist_files in \
616 */*) $(MKDIR_P) `echo "$$dist_files" | \
617 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
620 for file in $$dist_files; do \
621 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
622 if test -d $$d/$$file; then \
623 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
624 if test -d "$(distdir)/$$file"; then \
625 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
627 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
628 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
629 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
631 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
633 test -f "$(distdir)/$$file" \
634 || cp -p $$d/$$file "$(distdir)/$$file" \
639 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS)
640 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
642 all-am: Makefile $(PROGRAMS)
645 install-exec: install-exec-am
646 install-data: install-data-am
647 uninstall: uninstall-am
650 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
652 installcheck: installcheck-am
654 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
655 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
656 `test -z '$(STRIP)' || \
657 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
661 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
664 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
665 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
667 maintainer-clean-generic:
668 @echo "This command is intended for maintainers to use"
669 @echo "it deletes files that may require special tools to rebuild."
672 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
673 clean-noinstPROGRAMS mostlyclean-am
675 distclean: distclean-am
678 distclean-am: clean-am distclean-compile distclean-generic \
695 install-dvi: install-dvi-am
701 install-html: install-html-am
705 install-info: install-info-am
711 install-pdf: install-pdf-am
715 install-ps: install-ps-am
719 installcheck-am: installcheck-local
721 maintainer-clean: maintainer-clean-am
724 maintainer-clean-am: distclean-am maintainer-clean-generic
726 mostlyclean: mostlyclean-am
728 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
741 .MAKE: check-am install-am install-strip
743 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
744 clean-checkPROGRAMS clean-generic clean-libtool \
745 clean-noinstPROGRAMS ctags distclean distclean-compile \
746 distclean-generic distclean-libtool distclean-tags distdir dvi \
747 dvi-am html html-am info info-am install install-am \
748 install-data install-data-am install-dvi install-dvi-am \
749 install-exec install-exec-am install-html install-html-am \
750 install-info install-info-am install-man install-pdf \
751 install-pdf-am install-ps install-ps-am install-strip \
752 installcheck installcheck-am installcheck-local installdirs \
753 maintainer-clean maintainer-clean-generic mostlyclean \
754 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
755 pdf pdf-am ps ps-am tags uninstall uninstall-am
758 # FIXME: Only run this if not cross-compiling
759 installcheck-local: $(INSTALL_TESTS) $(INSTALLCHECK_DEPS)
760 @total=0; failed=0; success=0; ignored=0; \
761 echo "Running \"installcheck\" test cases..."; \
762 for script in $(INSTALL_TESTS); do \
763 echo "Test case: $$script"; \
764 total="$$(expr $$total + 1)"; \
765 if test -f "./$$script"; then dir="./"; \
766 elif test -f "$$script"; then dir=""; \
767 else dir="$(srcdir)/"; fi; \
768 if $(INSTALL_TESTS_ENVIRONMENT) "$$dir/$$script"; then \
769 echo "SUCCEEDED: $$script"; \
770 success="$$(expr $$success + 1)"; \
773 if test "$$s" = "77"; then \
774 echo "FAILURE IGNORED (return code $$s): $$script"; \
775 ignored="$$(expr $$ignored + 1)"; \
777 echo "FAILED (return code $$s): $$script"; \
778 failed="$$(expr $$failed + 1)"; \
782 echo "Test summary: $$success succeeded, $$failed failed, $$ignored failures ignored, $$total tests in total."; \
783 if test "$$failed" -gt 0; then \
784 echo "Error: One or more \"installcheck\" testcases have failed."; \
788 #noinst_PROGRAMS += test-filesys
789 #test_filesys_SOURCE = test-filesys.c
790 #test_filesys_LDADD = \
791 # $(top_builddir)/libgphoto2/libgphoto2.la \
792 # $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
797 #TESTS += test-camera-list
798 #INSTALL_TESTS += test-camera-list
799 #check_PROGRAMS += test-camera-list
800 #test_camera_list_SOURCE = test-camera-list.c
801 #test_camera_list_LDADD = \
802 # $(top_builddir)/libgphoto2/libgphoto2.la \
803 # $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
809 #PEDANTIC_CFLAGS = -std=c99 -pedantic-errors -W -Wall -Wextra -Werror
810 #PEDANTIC_CXXFLAGS = -std=c++98 -pedantic-errors -W -Wall -Wextra -Werror
816 #TESTS += test-pedantic-c
817 #check_PROGRAMS += test-pedantic-c
818 #test_pedantic_c_SOURCES = test-pedantic-compilation.c
819 #test_pedantic_c_CPPFLAGS = \
820 # $(AM_CPPFLAGS) $(CPPFLAGS) \
821 # -U_GPHOTO2_INTERNAL_CODE
822 #test_pedantic_c_CFLAGS = \
823 # $(AM_CFLAGS) $(PEDANTIC_CFLAGS) $(CFLAGS) \
824 # -U_GPHOTO2_INTERNAL_CODE
825 #test_pedantic_c_LDADD = \
826 # $(top_builddir)/libgphoto2/libgphoto2.la \
827 # $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
833 #check_PROGRAMS += test-pedantic-cxx
834 #TESTS += test-pedantic-cxx
836 #EXTRA_PROGRAMS += test-pedantic-cxx
838 #test_pedantic_cxx_SOURCES = test-pedantic-compilation.cxx
839 #test_pedantic_cxx_CPPFLAGS = \
840 # $(AM_CPPFLAGS) $(CPPFLAGS) \
841 # -U_GPHOTO2_INTERNAL_CODE
842 #test_pedantic_cxx_CXXFLAGS = \
843 # $(AM_CXXFLAGS) $(PEDANTIC_CXXFLAGS) $(CXXFLAGS) \
844 # -U_GPHOTO2_INTERNAL_CODE
845 #test_pedantic_cxx_LDADD = \
846 # $(top_builddir)/libgphoto2/libgphoto2.la \
847 # $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
852 # Tell versions [3.59,3.63) of GNU make to not export all variables.
853 # Otherwise a system limit (for SysV at least) may be exceeded.