1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # tests/Makefile. Generated from Makefile.in by configure.
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)/libgphoto2
20 pkgincludedir = $(includedir)/libgphoto2
21 pkglibdir = $(libdir)/libgphoto2
22 pkglibexecdir = $(libexecdir)/libgphoto2
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 = armv7l-unknown-linux-gnueabi
36 host_triplet = armv7l-unknown-linux-gnueabi
37 check_PROGRAMS = test-camera-list$(EXEEXT) test-pedantic-c$(EXEEXT) \
39 am__append_1 = test-pedantic-cxx
40 TESTS = test-pedantic-c$(EXEEXT) test-pedantic-cxx$(EXEEXT)
41 noinst_PROGRAMS = test-gphoto2$(EXEEXT) test-filesys$(EXEEXT)
42 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43 $(srcdir)/check-camera-list.sh.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
74 CONFIG_CLEAN_FILES = check-camera-list.sh
75 CONFIG_CLEAN_VPATH_FILES =
76 am__EXEEXT_1 = test-pedantic-cxx$(EXEEXT)
77 PROGRAMS = $(noinst_PROGRAMS)
78 test_camera_list_SOURCES = test-camera-list.c
79 test_camera_list_OBJECTS = test-camera-list.$(OBJEXT)
81 test_camera_list_DEPENDENCIES = \
82 $(top_builddir)/libgphoto2/libgphoto2.la \
83 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
84 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
85 test_filesys_SOURCES = test-filesys.c
86 test_filesys_OBJECTS = test-filesys.$(OBJEXT)
87 test_filesys_DEPENDENCIES = $(top_builddir)/libgphoto2/libgphoto2.la \
88 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
89 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
90 test_gphoto2_SOURCES = test-gphoto2.c
91 test_gphoto2_OBJECTS = test-gphoto2.$(OBJEXT)
92 test_gphoto2_DEPENDENCIES = $(top_builddir)/libgphoto2/libgphoto2.la \
93 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
94 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
95 am_test_pedantic_c_OBJECTS = \
96 test_pedantic_c-test-pedantic-compilation.$(OBJEXT)
97 test_pedantic_c_OBJECTS = $(am_test_pedantic_c_OBJECTS)
98 test_pedantic_c_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 test_pedantic_c_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
103 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_pedantic_c_CFLAGS) \
104 $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
105 am_test_pedantic_cxx_OBJECTS = \
106 test_pedantic_cxx-test-pedantic-compilation.$(OBJEXT)
107 test_pedantic_cxx_OBJECTS = $(am_test_pedantic_cxx_OBJECTS)
108 test_pedantic_cxx_DEPENDENCIES = \
109 $(top_builddir)/libgphoto2/libgphoto2.la \
110 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
111 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
112 test_pedantic_cxx_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
113 $(LIBTOOLFLAGS) --mode=link $(CXXLD) \
114 $(test_pedantic_cxx_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
116 DEFAULT_INCLUDES = -I. -I$(top_builddir)
117 depcomp = $(SHELL) $(top_srcdir)/auto-aux/depcomp
118 am__depfiles_maybe = depfiles
120 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
121 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
122 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
123 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
124 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
126 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
127 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
129 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
130 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
131 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
132 --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
133 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
135 CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
136 --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
138 SOURCES = test-camera-list.c test-filesys.c test-gphoto2.c \
139 $(test_pedantic_c_SOURCES) $(test_pedantic_cxx_SOURCES)
140 DIST_SOURCES = test-camera-list.c test-filesys.c test-gphoto2.c \
141 $(test_pedantic_c_SOURCES) $(test_pedantic_cxx_SOURCES)
142 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
143 html-recursive info-recursive install-data-recursive \
144 install-dvi-recursive install-exec-recursive \
145 install-html-recursive install-info-recursive \
146 install-pdf-recursive install-ps-recursive install-recursive \
147 installcheck-recursive installdirs-recursive pdf-recursive \
148 ps-recursive uninstall-recursive
149 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
150 distclean-recursive maintainer-clean-recursive
151 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
152 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
157 red=; grn=; lgn=; blu=; std=
158 DIST_SUBDIRS = $(SUBDIRS)
159 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
162 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
163 sed_rest='s,^[^/]*/*,,'; \
164 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
165 sed_butlast='s,/*[^/]*$$,,'; \
166 while test -n "$$dir1"; do \
167 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
168 if test "$$first" != "."; then \
169 if test "$$first" = ".."; then \
170 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
171 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
173 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
174 if test "$$first2" = "$$first"; then \
175 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
179 dir0="$$dir0"/"$$first"; \
182 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
185 ACLOCAL = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/missing --run aclocal-1.11
186 ALL_CURRENT_CAMLIBS = agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimera3500 directory enigma13 gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_ez200 largan lg_gsm mars panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 sx330z toshiba_pdrm11
187 ALL_DEFINED_CAMLIBS = agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimera3500 directory enigma13 gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_ez200 largan lg_gsm mars panasonic_coolshot panasonic_l859 panasonic_dc1000 panasonic_dc1580 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 sx330z toshiba_pdrm11 sipix_blink template
188 AMTAR = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/missing --run tar
189 AM_CFLAGS = -Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC -Wall -Wmissing-declarations -Wmissing-prototypes
190 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/libgphoto2_port -I$(top_srcdir)/libgphoto2 -I$(top_builddir)/libgphoto2 -Wall -g -D_GPHOTO2_INTERNAL_CODE -D_GPHOTO2_SAMSUNG_PATCH_ -DLOCALEDIR=\"$(datadir)/locale\" -DCAMLIBS=\"$(camlibdir)\"
191 AM_CXXFLAGS = -Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__
192 AM_LDFLAGS = -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib -Wall -g
195 AUTOCONF = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/missing --run autoconf
196 AUTOHEADER = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/missing --run autoheader
197 AUTOMAKE = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/missing --run automake-1.11
200 BUILD_THESE_CAMLIBS = agfa_cl20.la aox.la ax203.la barbie.la canon.la casio_qv.la clicksmart310.la digigr8.la digita.la dimera3500.la directory.la enigma13.la gsmart300.la hp215.la iclick.la jamcam.la jd11.la jl2005a.la kodak_dc120.la kodak_dc210.la kodak_dc240.la kodak_ez200.la largan.la lg_gsm.la mars.la panasonic_coolshot.la panasonic_l859.la panasonic_dc1000.la panasonic_dc1580.la pccam300.la pccam600.la polaroid_pdc320.la polaroid_pdc640.la polaroid_pdc700.la ptp2.la ricoh.la ricoh_g3.la samsung.la sierra.la sipix_blink2.la sipix_web2.la smal.la sonix.la sony_dscf1.la sony_dscf55.la soundvision.la spca50x.la sq905.la st2205.la stv0674.la sx330z.la toshiba_pdrm11.la
201 CAMLIB_LDFLAGS = -module -no-undefined -avoid-version -export-dynamic -export-symbols $(top_srcdir)/camlibs/camlib.sym
202 CAMLIB_LIBS = $(top_builddir)/libgphoto2/libgphoto2.la
204 CCDEPMODE = depmode=gcc3
205 CFLAGS = -Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__ -fPIC -Wall -Wmissing-declarations -Wmissing-prototypes
207 CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/libgphoto2_port -I$(top_srcdir)/libgphoto2 -I$(top_builddir)/libgphoto2 -Wall -g -D_GPHOTO2_INTERNAL_CODE -D_GPHOTO2_SAMSUNG_PATCH_
210 CXXDEPMODE = depmode=gcc3
211 CXXFLAGS = -Wall -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=vfpv3 -mfloat-abi=softfp -D__SOFTFP__
213 DEFS = -DHAVE_CONFIG_H
218 DOXYGEN_OUTPUT_DIR = doxygen-output
228 GETTEXT_PACKAGE = libgphoto2-2
229 GMSGFMT = /usr/bin/msgfmt
233 HTML_APIDOC_DIR = libgphoto2-api.html
234 HTML_APIDOC_INTERNALS_DIR = libgphoto2-internals.html
235 INSTALL = /usr/bin/install -c
236 INSTALL_DATA = ${INSTALL} -m 644
237 INSTALL_PROGRAM = ${INSTALL}
238 INSTALL_SCRIPT = ${INSTALL}
239 INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
241 LD = /usr/libexec/gcc/armv7l-tizen-linux-gnueabi/4.5.3/ld
242 LDFLAGS = -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib
244 LIBEXIF_CONFIG_PROG =
248 LIBGPHOTO2_CURRENT = 6
249 LIBGPHOTO2_CURRENT_MIN = 2
250 LIBGPHOTO2_REVISION = 0
251 LIBGPHOTO2_VERSION_INFO = 6:0:4
257 LIBTOOL = $(SHELL) $(top_builddir)/libtool
258 LIBUSB_CONFIG = /usr/bin/libusb-config
264 MAIL_GPHOTO_DEVEL = <gphoto-devel@lists.sourceforge.net>
265 MAIL_GPHOTO_TRANSLATION = <gphoto-translation@lists.sourceforge.net>
266 MAIL_GPHOTO_USER = <gphoto-user@lists.sourceforge.net>
267 MAKEINFO = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/missing --run makeinfo
268 MKDIR_P = /bin/mkdir -p
269 MKINSTALLDIRS = $(top_builddir)/auto-aux/mkinstalldirs
270 MSGFMT = /usr/bin/msgfmt
271 MSGMERGE = /usr/bin/msgmerge
274 NO_UNUSED_CFLAGS = -Wno-unused
280 PACKAGE_BUGREPORT = gphoto-devel@lists.sourceforge.net
281 PACKAGE_NAME = libgphoto2 photo camera library
282 PACKAGE_STRING = libgphoto2 photo camera library 2.4.11
283 PACKAGE_TARNAME = libgphoto2
285 PACKAGE_VERSION = 2.4.11
287 PKG_CONFIG = /usr/bin/pkg-config
289 PKG_CONFIG_PATH = /usr/lib/pkgconfig:/usr/share/pkgconfig
292 REQUIREMENTS_FOR_LIBEXIF = libexif >= 0.6.13
298 URL_DIGICAM_LIST = http://www.teaser.fr/~hfiguiere/linux/digicam.html
299 URL_GPHOTO_HOME = http://www.gphoto.org/
300 URL_GPHOTO_PROJECT = http://sourceforge.net/projects/gphoto
301 URL_JPHOTO_HOME = http://jphoto.sourceforge.net/
302 URL_USB_MASSSTORAGE = http://www.linux-usb.org/USB-guide/x498.html
305 XGETTEXT = /usr/bin/xgettext
306 abs_builddir = /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/tests
307 abs_srcdir = /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/tests
308 abs_top_builddir = /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11
309 abs_top_srcdir = /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11
313 am__include = include
316 am__tar = ${AMTAR} chof - "$$tardir"
317 am__untar = ${AMTAR} xf -
318 apidocdir = ${prefix}/share/doc/libgphoto2/html/api
320 build = armv7l-unknown-linux-gnueabi
321 build_alias = armv7l-unknown-linux-gnueabi
323 build_os = linux-gnueabi
324 build_vendor = unknown
326 camlibdir = ${libdir}/libgphoto2/2.4.11
327 camlibdocdir = ${docdir}/camlibs
329 datarootdir = ${prefix}/share
330 docdir = ${prefix}/share/doc/libgphoto2
332 effective_target = armv7l-tizen-linux-gnueabi
334 host = armv7l-unknown-linux-gnueabi
335 host_alias = armv7l-unknown-linux-gnueabi
337 host_os = linux-gnueabi
338 host_vendor = unknown
339 hotplugdocdir = ${prefix}/share/doc/libgphoto2/linux-hotplug
340 hotplugusermapdir = ${prefix}/share/doc/libgphoto2/linux-hotplug
341 htmldir = ${prefix}/share/doc/libgphoto2/html
342 includedir = /usr/include
343 infodir = /usr/share/info
344 install_sh = ${SHELL} /home/abuild/rpmbuild/BUILD/libgphoto2-2.4.11/auto-aux/install-sh
346 libexecdir = /usr/libexec
347 localedir = $(datadir)/locale
350 mandir = /usr/share/man
351 mkdir_p = /bin/mkdir -p
352 oldincludedir = /usr/include
354 pkgconfigdir = ${libdir}/pkgconfig
356 program_transform_name = s&^&&
359 sharedstatedir = /var/lib
361 subdirs = libgphoto2_port
363 target_alias = armv7l-tizen-linux-gnueabi
364 top_build_prefix = ../
367 udevscriptdir = ${libdir}/udev
368 utilsdir = ${libdir}/${PACKAGE_TARNAME}
374 check-camera-list.sh.in
377 # These tests must run after installation because they need the
379 INSTALL_TESTS = check-camera-list.sh
380 CLEANFILES = $(check_SCRIPTS)
381 test_gphoto2_SOURCE = test-gphoto2.c
382 test_gphoto2_LDADD = \
383 $(top_builddir)/libgphoto2/libgphoto2.la \
384 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
388 test_filesys_SOURCE = test-filesys.c
389 test_filesys_LDADD = \
390 $(top_builddir)/libgphoto2/libgphoto2.la \
391 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
395 test_camera_list_SOURCE = test-camera-list.c
396 test_camera_list_LDADD = \
397 $(top_builddir)/libgphoto2/libgphoto2.la \
398 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
403 PEDANTIC_CFLAGS = -std=c99 -pedantic-errors -W -Wall -Wextra -Werror
405 PEDANTIC_CXXFLAGS = -std=c++98 -pedantic-errors -W -Wall -Wextra -Werror
406 test_pedantic_c_SOURCES = test-pedantic-compilation.c
407 test_pedantic_c_CPPFLAGS = \
408 $(AM_CPPFLAGS) $(CPPFLAGS) \
409 -U_GPHOTO2_INTERNAL_CODE
411 test_pedantic_c_CFLAGS = \
412 $(PEDANTIC_CFLAGS) $(AM_CFLAGS) $(CFLAGS) \
413 -U_GPHOTO2_INTERNAL_CODE
415 test_pedantic_c_LDADD = \
416 $(top_builddir)/libgphoto2/libgphoto2.la \
417 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
421 test_pedantic_cxx_SOURCES = test-pedantic-compilation.cxx
422 test_pedantic_cxx_CPPFLAGS = \
423 $(AM_CPPFLAGS) $(CPPFLAGS) \
424 -U_GPHOTO2_INTERNAL_CODE
426 test_pedantic_cxx_CXXFLAGS = \
427 $(PEDANTIC_CXXFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) \
428 -U_GPHOTO2_INTERNAL_CODE
430 test_pedantic_cxx_LDADD = \
431 $(top_builddir)/libgphoto2/libgphoto2.la \
432 $(top_builddir)/libgphoto2_port/libgphoto2_port/libgphoto2_port.la \
439 .SUFFIXES: .c .cxx .lo .o .obj
440 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/installcheck.mk $(am__configure_deps)
442 case '$(am__configure_deps)' in \
444 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
445 && { if test -f $@; then exit 0; else break; fi; }; \
449 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \
450 $(am__cd) $(top_srcdir) && \
451 $(AUTOMAKE) --gnu tests/Makefile
453 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
456 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
458 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
459 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
462 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
463 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
465 $(top_srcdir)/configure: $(am__configure_deps)
466 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
467 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
468 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
469 $(am__aclocal_m4_deps):
470 check-camera-list.sh: $(top_builddir)/config.status $(srcdir)/check-camera-list.sh.in
471 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
474 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
475 echo " rm -f" $$list; \
476 rm -f $$list || exit $$?; \
477 test -n "$(EXEEXT)" || exit 0; \
478 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
479 echo " rm -f" $$list; \
482 clean-noinstPROGRAMS:
483 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
484 echo " rm -f" $$list; \
485 rm -f $$list || exit $$?; \
486 test -n "$(EXEEXT)" || exit 0; \
487 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
488 echo " rm -f" $$list; \
490 test-camera-list$(EXEEXT): $(test_camera_list_OBJECTS) $(test_camera_list_DEPENDENCIES)
491 @rm -f test-camera-list$(EXEEXT)
492 $(LINK) $(test_camera_list_OBJECTS) $(test_camera_list_LDADD) $(LIBS)
493 test-filesys$(EXEEXT): $(test_filesys_OBJECTS) $(test_filesys_DEPENDENCIES)
494 @rm -f test-filesys$(EXEEXT)
495 $(LINK) $(test_filesys_OBJECTS) $(test_filesys_LDADD) $(LIBS)
496 test-gphoto2$(EXEEXT): $(test_gphoto2_OBJECTS) $(test_gphoto2_DEPENDENCIES)
497 @rm -f test-gphoto2$(EXEEXT)
498 $(LINK) $(test_gphoto2_OBJECTS) $(test_gphoto2_LDADD) $(LIBS)
499 test-pedantic-c$(EXEEXT): $(test_pedantic_c_OBJECTS) $(test_pedantic_c_DEPENDENCIES)
500 @rm -f test-pedantic-c$(EXEEXT)
501 $(test_pedantic_c_LINK) $(test_pedantic_c_OBJECTS) $(test_pedantic_c_LDADD) $(LIBS)
502 test-pedantic-cxx$(EXEEXT): $(test_pedantic_cxx_OBJECTS) $(test_pedantic_cxx_DEPENDENCIES)
503 @rm -f test-pedantic-cxx$(EXEEXT)
504 $(test_pedantic_cxx_LINK) $(test_pedantic_cxx_OBJECTS) $(test_pedantic_cxx_LDADD) $(LIBS)
512 include ./$(DEPDIR)/test-camera-list.Po
513 include ./$(DEPDIR)/test-filesys.Po
514 include ./$(DEPDIR)/test-gphoto2.Po
515 include ./$(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Po
516 include ./$(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Po
519 depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
520 $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
521 $(am__mv) $$depbase.Tpo $$depbase.Po
522 # source='$<' object='$@' libtool=no \
523 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
524 # $(COMPILE) -c -o $@ $<
527 depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
528 $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
529 $(am__mv) $$depbase.Tpo $$depbase.Po
530 # source='$<' object='$@' libtool=no \
531 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
532 # $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
535 depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
536 $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
537 $(am__mv) $$depbase.Tpo $$depbase.Plo
538 # source='$<' object='$@' libtool=yes \
539 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
540 # $(LTCOMPILE) -c -o $@ $<
542 test_pedantic_c-test-pedantic-compilation.o: test-pedantic-compilation.c
543 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_c_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_c_CFLAGS) $(CFLAGS) -MT test_pedantic_c-test-pedantic-compilation.o -MD -MP -MF $(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Tpo -c -o test_pedantic_c-test-pedantic-compilation.o `test -f 'test-pedantic-compilation.c' || echo '$(srcdir)/'`test-pedantic-compilation.c
544 $(am__mv) $(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Tpo $(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Po
545 # source='test-pedantic-compilation.c' object='test_pedantic_c-test-pedantic-compilation.o' libtool=no \
546 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
547 # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_c_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_c_CFLAGS) $(CFLAGS) -c -o test_pedantic_c-test-pedantic-compilation.o `test -f 'test-pedantic-compilation.c' || echo '$(srcdir)/'`test-pedantic-compilation.c
549 test_pedantic_c-test-pedantic-compilation.obj: test-pedantic-compilation.c
550 $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_c_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_c_CFLAGS) $(CFLAGS) -MT test_pedantic_c-test-pedantic-compilation.obj -MD -MP -MF $(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Tpo -c -o test_pedantic_c-test-pedantic-compilation.obj `if test -f 'test-pedantic-compilation.c'; then $(CYGPATH_W) 'test-pedantic-compilation.c'; else $(CYGPATH_W) '$(srcdir)/test-pedantic-compilation.c'; fi`
551 $(am__mv) $(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Tpo $(DEPDIR)/test_pedantic_c-test-pedantic-compilation.Po
552 # source='test-pedantic-compilation.c' object='test_pedantic_c-test-pedantic-compilation.obj' libtool=no \
553 # DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
554 # $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_c_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_c_CFLAGS) $(CFLAGS) -c -o test_pedantic_c-test-pedantic-compilation.obj `if test -f 'test-pedantic-compilation.c'; then $(CYGPATH_W) 'test-pedantic-compilation.c'; else $(CYGPATH_W) '$(srcdir)/test-pedantic-compilation.c'; fi`
557 depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
558 $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
559 $(am__mv) $$depbase.Tpo $$depbase.Po
560 # source='$<' object='$@' libtool=no \
561 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
562 # $(CXXCOMPILE) -c -o $@ $<
565 depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
566 $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
567 $(am__mv) $$depbase.Tpo $$depbase.Po
568 # source='$<' object='$@' libtool=no \
569 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
570 # $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
573 depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
574 $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
575 $(am__mv) $$depbase.Tpo $$depbase.Plo
576 # source='$<' object='$@' libtool=yes \
577 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
578 # $(LTCXXCOMPILE) -c -o $@ $<
580 test_pedantic_cxx-test-pedantic-compilation.o: test-pedantic-compilation.cxx
581 $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_cxx_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_cxx_CXXFLAGS) $(CXXFLAGS) -MT test_pedantic_cxx-test-pedantic-compilation.o -MD -MP -MF $(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Tpo -c -o test_pedantic_cxx-test-pedantic-compilation.o `test -f 'test-pedantic-compilation.cxx' || echo '$(srcdir)/'`test-pedantic-compilation.cxx
582 $(am__mv) $(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Tpo $(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Po
583 # source='test-pedantic-compilation.cxx' object='test_pedantic_cxx-test-pedantic-compilation.o' libtool=no \
584 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
585 # $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_cxx_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_cxx_CXXFLAGS) $(CXXFLAGS) -c -o test_pedantic_cxx-test-pedantic-compilation.o `test -f 'test-pedantic-compilation.cxx' || echo '$(srcdir)/'`test-pedantic-compilation.cxx
587 test_pedantic_cxx-test-pedantic-compilation.obj: test-pedantic-compilation.cxx
588 $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_cxx_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_cxx_CXXFLAGS) $(CXXFLAGS) -MT test_pedantic_cxx-test-pedantic-compilation.obj -MD -MP -MF $(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Tpo -c -o test_pedantic_cxx-test-pedantic-compilation.obj `if test -f 'test-pedantic-compilation.cxx'; then $(CYGPATH_W) 'test-pedantic-compilation.cxx'; else $(CYGPATH_W) '$(srcdir)/test-pedantic-compilation.cxx'; fi`
589 $(am__mv) $(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Tpo $(DEPDIR)/test_pedantic_cxx-test-pedantic-compilation.Po
590 # source='test-pedantic-compilation.cxx' object='test_pedantic_cxx-test-pedantic-compilation.obj' libtool=no \
591 # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \
592 # $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(test_pedantic_cxx_CPPFLAGS) $(CPPFLAGS) $(test_pedantic_cxx_CXXFLAGS) $(CXXFLAGS) -c -o test_pedantic_cxx-test-pedantic-compilation.obj `if test -f 'test-pedantic-compilation.cxx'; then $(CYGPATH_W) 'test-pedantic-compilation.cxx'; else $(CYGPATH_W) '$(srcdir)/test-pedantic-compilation.cxx'; fi`
600 # This directory's subdirectories are mostly independent; you can cd
601 # into them and run `make' without going through this Makefile.
602 # To change the values of `make' variables: instead of editing Makefiles,
603 # (1) if the variable is set in `config.status', edit `config.status'
604 # (which will cause the Makefiles to be regenerated when you run `make');
605 # (2) otherwise, pass the desired values on the `make' command line.
606 $(RECURSIVE_TARGETS):
607 @fail= failcom='exit 1'; \
608 for f in x $$MAKEFLAGS; do \
611 *k*) failcom='fail=yes';; \
615 target=`echo $@ | sed s/-recursive//`; \
616 list='$(SUBDIRS)'; for subdir in $$list; do \
617 echo "Making $$target in $$subdir"; \
618 if test "$$subdir" = "."; then \
620 local_target="$$target-am"; \
622 local_target="$$target"; \
624 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
627 if test "$$dot_seen" = "no"; then \
628 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
631 $(RECURSIVE_CLEAN_TARGETS):
632 @fail= failcom='exit 1'; \
633 for f in x $$MAKEFLAGS; do \
636 *k*) failcom='fail=yes';; \
641 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
642 *) list='$(SUBDIRS)' ;; \
644 rev=''; for subdir in $$list; do \
645 if test "$$subdir" = "."; then :; else \
646 rev="$$subdir $$rev"; \
650 target=`echo $@ | sed s/-recursive//`; \
651 for subdir in $$rev; do \
652 echo "Making $$target in $$subdir"; \
653 if test "$$subdir" = "."; then \
654 local_target="$$target-am"; \
656 local_target="$$target"; \
658 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
660 done && test -z "$$fail"
662 list='$(SUBDIRS)'; for subdir in $$list; do \
663 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
666 list='$(SUBDIRS)'; for subdir in $$list; do \
667 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
670 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
671 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
672 unique=`for i in $$list; do \
673 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
675 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
676 END { if (nonempty) { for (i in files) print i; }; }'`; \
680 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
681 $(TAGS_FILES) $(LISP)
684 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
685 include_option=--etags-include; \
688 include_option=--include; \
691 list='$(SUBDIRS)'; for subdir in $$list; do \
692 if test "$$subdir" = .; then :; else \
693 test ! -f $$subdir/TAGS || \
694 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
697 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
698 unique=`for i in $$list; do \
699 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
701 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
702 END { if (nonempty) { for (i in files) print i; }; }'`; \
704 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
705 test -n "$$unique" || unique=$$empty_fix; \
706 if test $$# -gt 0; then \
707 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
710 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
715 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
716 $(TAGS_FILES) $(LISP)
717 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
718 unique=`for i in $$list; do \
719 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
721 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
722 END { if (nonempty) { for (i in files) print i; }; }'`; \
723 test -z "$(CTAGS_ARGS)$$unique" \
724 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
728 here=`$(am__cd) $(top_builddir) && pwd` \
729 && $(am__cd) $(top_srcdir) \
730 && gtags -i $(GTAGS_ARGS) "$$here"
733 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
735 check-TESTS: $(TESTS)
736 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
737 srcdir=$(srcdir); export srcdir; \
740 if test -n "$$list"; then \
741 for tst in $$list; do \
742 if test -f ./$$tst; then dir=./; \
743 elif test -f $$tst; then dir=; \
744 else dir="$(srcdir)/"; fi; \
745 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
746 all=`expr $$all + 1`; \
747 case " $(XFAIL_TESTS) " in \
748 *[\ \ ]$$tst[\ \ ]*) \
749 xpass=`expr $$xpass + 1`; \
750 failed=`expr $$failed + 1`; \
751 col=$$red; res=XPASS; \
754 col=$$grn; res=PASS; \
757 elif test $$? -ne 77; then \
758 all=`expr $$all + 1`; \
759 case " $(XFAIL_TESTS) " in \
760 *[\ \ ]$$tst[\ \ ]*) \
761 xfail=`expr $$xfail + 1`; \
762 col=$$lgn; res=XFAIL; \
765 failed=`expr $$failed + 1`; \
766 col=$$red; res=FAIL; \
770 skip=`expr $$skip + 1`; \
771 col=$$blu; res=SKIP; \
773 echo "$${col}$$res$${std}: $$tst"; \
775 if test "$$all" -eq 1; then \
782 if test "$$failed" -eq 0; then \
783 if test "$$xfail" -eq 0; then \
784 banner="$$All$$all $$tests passed"; \
786 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
787 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
790 if test "$$xpass" -eq 0; then \
791 banner="$$failed of $$all $$tests failed"; \
793 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
794 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
799 if test "$$skip" -ne 0; then \
800 if test "$$skip" -eq 1; then \
801 skipped="($$skip test was not run)"; \
803 skipped="($$skip tests were not run)"; \
805 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
806 dashes="$$skipped"; \
809 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
810 report="Please report to $(PACKAGE_BUGREPORT)"; \
811 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
814 dashes=`echo "$$dashes" | sed s/./=/g`; \
815 if test "$$failed" -eq 0; then \
816 echo "$$grn$$dashes"; \
818 echo "$$red$$dashes"; \
821 test -z "$$skipped" || echo "$$skipped"; \
822 test -z "$$report" || echo "$$report"; \
823 echo "$$dashes$$std"; \
824 test "$$failed" -eq 0; \
827 distdir: $(DISTFILES)
828 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
829 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
830 list='$(DISTFILES)'; \
831 dist_files=`for file in $$list; do echo $$file; done | \
832 sed -e "s|^$$srcdirstrip/||;t" \
833 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
834 case $$dist_files in \
835 */*) $(MKDIR_P) `echo "$$dist_files" | \
836 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
839 for file in $$dist_files; do \
840 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
841 if test -d $$d/$$file; then \
842 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
843 if test -d "$(distdir)/$$file"; then \
844 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
846 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
847 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
848 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
850 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
852 test -f "$(distdir)/$$file" \
853 || cp -p $$d/$$file "$(distdir)/$$file" \
857 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
858 if test "$$subdir" = .; then :; else \
859 test -d "$(distdir)/$$subdir" \
860 || $(MKDIR_P) "$(distdir)/$$subdir" \
864 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
865 if test "$$subdir" = .; then :; else \
866 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
868 new_distdir=$$reldir; \
869 dir1=$$subdir; dir2="$(top_distdir)"; \
871 new_top_distdir=$$reldir; \
872 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
873 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
874 ($(am__cd) $$subdir && \
875 $(MAKE) $(AM_MAKEFLAGS) \
876 top_distdir="$$new_top_distdir" \
877 distdir="$$new_distdir" \
878 am__remove_distdir=: \
879 am__skip_length_check=: \
880 am__skip_mode_fix=: \
886 $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(check_SCRIPTS)
887 $(MAKE) $(AM_MAKEFLAGS) check-TESTS
888 check: check-recursive
889 all-am: Makefile $(PROGRAMS)
890 installdirs: installdirs-recursive
892 install: install-recursive
893 install-exec: install-exec-recursive
894 install-data: install-data-recursive
895 uninstall: uninstall-recursive
898 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
900 installcheck: installcheck-recursive
902 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
903 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
904 `test -z '$(STRIP)' || \
905 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
909 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
912 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
913 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
915 maintainer-clean-generic:
916 @echo "This command is intended for maintainers to use"
917 @echo "it deletes files that may require special tools to rebuild."
918 clean: clean-recursive
920 clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
921 clean-noinstPROGRAMS mostlyclean-am
923 distclean: distclean-recursive
926 distclean-am: clean-am distclean-compile distclean-generic \
943 install-dvi: install-dvi-recursive
949 install-html: install-html-recursive
953 install-info: install-info-recursive
959 install-pdf: install-pdf-recursive
963 install-ps: install-ps-recursive
967 installcheck-am: installcheck-local
969 maintainer-clean: maintainer-clean-recursive
972 maintainer-clean-am: distclean-am maintainer-clean-generic
974 mostlyclean: mostlyclean-recursive
976 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
989 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
990 ctags-recursive install-am install-strip tags-recursive
992 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
993 all all-am check check-TESTS check-am clean \
994 clean-checkPROGRAMS clean-generic clean-libtool \
995 clean-noinstPROGRAMS ctags ctags-recursive distclean \
996 distclean-compile distclean-generic distclean-libtool \
997 distclean-tags distdir dvi dvi-am html html-am info info-am \
998 install install-am install-data install-data-am install-dvi \
999 install-dvi-am install-exec install-exec-am install-html \
1000 install-html-am install-info install-info-am install-man \
1001 install-pdf install-pdf-am install-ps install-ps-am \
1002 install-strip installcheck installcheck-am installcheck-local \
1003 installdirs installdirs-am maintainer-clean \
1004 maintainer-clean-generic mostlyclean mostlyclean-compile \
1005 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1006 tags tags-recursive uninstall uninstall-am
1009 # FIXME: Only run this if not cross-compiling
1010 installcheck-local: $(INSTALL_TESTS) $(INSTALLCHECK_DEPS)
1011 @total=0; failed=0; success=0; ignored=0; \
1012 echo "Running \"installcheck\" test cases..."; \
1013 for script in $(INSTALL_TESTS); do \
1014 echo "Test case: $$script"; \
1015 total="$$(expr $$total + 1)"; \
1016 if test -f "./$$script"; then dir="./"; \
1017 elif test -f "$$script"; then dir=""; \
1018 else dir="$(srcdir)/"; fi; \
1019 if $(INSTALL_TESTS_ENVIRONMENT) "$$dir/$$script"; then \
1020 echo "SUCCEEDED: $$script"; \
1021 success="$$(expr $$success + 1)"; \
1024 if test "$$s" = "77"; then \
1025 echo "FAILURE IGNORED (return code $$s): $$script"; \
1026 ignored="$$(expr $$ignored + 1)"; \
1028 echo "FAILED (return code $$s): $$script"; \
1029 failed="$$(expr $$failed + 1)"; \
1033 echo "Test summary: $$success succeeded, $$failed failed, $$ignored failures ignored, $$total tests in total."; \
1034 if test "$$failed" -gt 0; then \
1035 echo "Error: One or more \"installcheck\" testcases have failed."; \
1039 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1040 # Otherwise a system limit (for SysV at least) may be exceeded.