"Fossies" - the Fresh Open Source Software Archive 
Member "libgphoto2-2.5.27/Makefile.in" (21 Feb 2021, 41302 Bytes) of package /linux/privat/libgphoto2-2.5.27.tar.bz2:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the latest
Fossies "Diffs" side-by-side code changes report for "Makefile.in":
2.5.26_vs_2.5.27.
1 # Makefile.in generated by automake 1.16.3 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
5
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Process this file with automake to generate a GNU Makefile
18
19 ########################################################################
20 # put file lists and special compile rules here
21
22
23
24 VPATH = @srcdir@
25 am__is_gnu_make = { \
26 if test -z '$(MAKELEVEL)'; then \
27 false; \
28 elif test -n '$(MAKE_HOST)'; then \
29 true; \
30 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
31 true; \
32 else \
33 false; \
34 fi; \
35 }
36 am__make_running_with_option = \
37 case $${target_option-} in \
38 ?) ;; \
39 *) echo "am__make_running_with_option: internal error: invalid" \
40 "target option '$${target_option-}' specified" >&2; \
41 exit 1;; \
42 esac; \
43 has_opt=no; \
44 sane_makeflags=$$MAKEFLAGS; \
45 if $(am__is_gnu_make); then \
46 sane_makeflags=$$MFLAGS; \
47 else \
48 case $$MAKEFLAGS in \
49 *\\[\ \ ]*) \
50 bs=\\; \
51 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
52 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
53 esac; \
54 fi; \
55 skip_next=no; \
56 strip_trailopt () \
57 { \
58 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
59 }; \
60 for flg in $$sane_makeflags; do \
61 test $$skip_next = yes && { skip_next=no; continue; }; \
62 case $$flg in \
63 *=*|--*) continue;; \
64 -*I) strip_trailopt 'I'; skip_next=yes;; \
65 -*I?*) strip_trailopt 'I';; \
66 -*O) strip_trailopt 'O'; skip_next=yes;; \
67 -*O?*) strip_trailopt 'O';; \
68 -*l) strip_trailopt 'l'; skip_next=yes;; \
69 -*l?*) strip_trailopt 'l';; \
70 -[dEDm]) skip_next=yes;; \
71 -[JT]) skip_next=yes;; \
72 esac; \
73 case $$flg in \
74 *$$target_option*) has_opt=yes; break;; \
75 esac; \
76 done; \
77 test $$has_opt = yes
78 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
79 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
80 pkgdatadir = $(datadir)/@PACKAGE@
81 pkgincludedir = $(includedir)/@PACKAGE@
82 pkglibdir = $(libdir)/@PACKAGE@
83 pkglibexecdir = $(libexecdir)/@PACKAGE@
84 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
85 install_sh_DATA = $(install_sh) -c -m 644
86 install_sh_PROGRAM = $(install_sh) -c
87 install_sh_SCRIPT = $(install_sh) -c
88 INSTALL_HEADER = $(INSTALL_DATA)
89 transform = $(program_transform_name)
90 NORMAL_INSTALL = :
91 PRE_INSTALL = :
92 POST_INSTALL = :
93 NORMAL_UNINSTALL = :
94 PRE_UNINSTALL = :
95 POST_UNINSTALL = :
96 build_triplet = @build@
97 host_triplet = @host@
98 subdir = .
99 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100 am__aclocal_m4_deps = $(top_srcdir)/gphoto-m4/gp-byteorder.m4 \
101 $(top_srcdir)/gphoto-m4/gp-camlibs.m4 \
102 $(top_srcdir)/gphoto-m4/gp-check-doxygen.m4 \
103 $(top_srcdir)/gphoto-m4/gp-check-library.m4 \
104 $(top_srcdir)/gphoto-m4/gp-check-shell-environment.m4 \
105 $(top_srcdir)/gphoto-m4/gp-config-msg.m4 \
106 $(top_srcdir)/gphoto-m4/gp-documentation.m4 \
107 $(top_srcdir)/gphoto-m4/gp-gettext-hack.m4 \
108 $(top_srcdir)/gphoto-m4/gp-internal-docs.m4 \
109 $(top_srcdir)/gphoto-m4/gp-libltdl.m4 \
110 $(top_srcdir)/gphoto-m4/gp-packaging.m4 \
111 $(top_srcdir)/gphoto-m4/gp-pedantic-compiler-flags.m4 \
112 $(top_srcdir)/gphoto-m4/gp-progs.m4 \
113 $(top_srcdir)/gphoto-m4/gp-references.m4 \
114 $(top_srcdir)/gphoto-m4/gp-set.m4 \
115 $(top_srcdir)/gphoto-m4/gp-sleep.m4 \
116 $(top_srcdir)/gphoto-m4/gp-stdint.m4 \
117 $(top_srcdir)/gphoto-m4/gp-udev.m4 \
118 $(top_srcdir)/gphoto-m4/gp-va-copy.m4 \
119 $(top_srcdir)/auto-m4/gettext.m4 \
120 $(top_srcdir)/auto-m4/iconv.m4 $(top_srcdir)/auto-m4/lib-ld.m4 \
121 $(top_srcdir)/auto-m4/lib-link.m4 \
122 $(top_srcdir)/auto-m4/lib-prefix.m4 \
123 $(top_srcdir)/auto-m4/libtool.m4 \
124 $(top_srcdir)/auto-m4/ltoptions.m4 \
125 $(top_srcdir)/auto-m4/ltsugar.m4 \
126 $(top_srcdir)/auto-m4/ltversion.m4 \
127 $(top_srcdir)/auto-m4/lt~obsolete.m4 \
128 $(top_srcdir)/auto-m4/nls.m4 $(top_srcdir)/auto-m4/po.m4 \
129 $(top_srcdir)/auto-m4/progtest.m4 $(top_srcdir)/configure.ac
130 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
131 $(ACLOCAL_M4)
132 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
133 $(am__configure_deps) $(nobase_include_HEADERS) \
134 $(am__DIST_COMMON)
135 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
136 configure.lineno config.status.lineno
137 mkinstalldirs = $(SHELL) $(top_srcdir)/auto-aux/mkinstalldirs
138 CONFIG_HEADER = config.h
139 CONFIG_CLEAN_FILES = gphoto2-config libgphoto2.pc \
140 libgphoto2-uninstalled.pc
141 CONFIG_CLEAN_VPATH_FILES =
142 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
143 am__vpath_adj = case $$p in \
144 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
145 *) f=$$p;; \
146 esac;
147 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
148 am__install_max = 40
149 am__nobase_strip_setup = \
150 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
151 am__nobase_strip = \
152 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
153 am__nobase_list = $(am__nobase_strip_setup); \
154 for p in $$list; do echo "$$p $$p"; done | \
155 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
156 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
157 if (++n[$$2] == $(am__install_max)) \
158 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
159 END { for (dir in files) print dir, files[dir] }'
160 am__base_list = \
161 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
162 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
163 am__uninstall_files_from_dir = { \
164 test -z "$$files" \
165 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
166 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
167 $(am__cd) "$$dir" && rm -f $$files; }; \
168 }
169 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" \
170 "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
171 SCRIPTS = $(bin_SCRIPTS)
172 AM_V_P = $(am__v_P_@AM_V@)
173 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
174 am__v_P_0 = false
175 am__v_P_1 = :
176 AM_V_GEN = $(am__v_GEN_@AM_V@)
177 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
178 am__v_GEN_0 = @echo " GEN " $@;
179 am__v_GEN_1 =
180 AM_V_at = $(am__v_at_@AM_V@)
181 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
182 am__v_at_0 = @
183 am__v_at_1 =
184 SOURCES =
185 DIST_SOURCES =
186 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
187 ctags-recursive dvi-recursive html-recursive info-recursive \
188 install-data-recursive install-dvi-recursive \
189 install-exec-recursive install-html-recursive \
190 install-info-recursive install-pdf-recursive \
191 install-ps-recursive install-recursive installcheck-recursive \
192 installdirs-recursive pdf-recursive ps-recursive \
193 tags-recursive uninstall-recursive
194 am__can_run_installinfo = \
195 case $$AM_UPDATE_INFO_DIR in \
196 n|no|NO) false;; \
197 *) (install-info --version) >/dev/null 2>&1;; \
198 esac
199 DATA = $(doc_DATA) $(noinst_DATA) $(pkgconfig_DATA)
200 HEADERS = $(nobase_include_HEADERS)
201 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
202 distclean-recursive maintainer-clean-recursive
203 am__recursive_targets = \
204 $(RECURSIVE_TARGETS) \
205 $(RECURSIVE_CLEAN_TARGETS) \
206 $(am__extra_recursive_targets)
207 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
208 cscope distdir distdir-am dist dist-all distcheck
209 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
210 config.h.in
211 # Read a list of newline-separated strings from the standard input,
212 # and print each of them once, without duplicates. Input order is
213 # *not* preserved.
214 am__uniquify_input = $(AWK) '\
215 BEGIN { nonempty = 0; } \
216 { items[$$0] = 1; nonempty = 1; } \
217 END { if (nonempty) { for (i in items) print i; }; } \
218 '
219 # Make sure the list of sources is unique. This is necessary because,
220 # e.g., the same source file might be shared among _SOURCES variables
221 # for different programs/libraries.
222 am__define_uniq_tagged_files = \
223 list='$(am__tagged_files)'; \
224 unique=`for i in $$list; do \
225 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
226 done | $(am__uniquify_input)`
227 ETAGS = etags
228 CTAGS = ctags
229 CSCOPE = cscope
230 DIST_SUBDIRS = $(SUBDIRS)
231 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
232 $(srcdir)/gphoto2-config.in \
233 $(srcdir)/libgphoto2-uninstalled.pc.in \
234 $(srcdir)/libgphoto2.pc.in $(top_srcdir)/auto-aux/ar-lib \
235 $(top_srcdir)/auto-aux/compile \
236 $(top_srcdir)/auto-aux/config.guess \
237 $(top_srcdir)/auto-aux/config.sub \
238 $(top_srcdir)/auto-aux/install-sh \
239 $(top_srcdir)/auto-aux/ltmain.sh \
240 $(top_srcdir)/auto-aux/missing \
241 $(top_srcdir)/auto-aux/mkinstalldirs ABOUT-NLS AUTHORS COPYING \
242 ChangeLog INSTALL NEWS README auto-aux/ar-lib auto-aux/compile \
243 auto-aux/config.guess auto-aux/config.rpath \
244 auto-aux/config.sub auto-aux/depcomp auto-aux/install-sh \
245 auto-aux/ltmain.sh auto-aux/missing auto-aux/mkinstalldirs
246 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
247 distdir = $(PACKAGE)-$(VERSION)
248 top_distdir = $(distdir)
249 am__remove_distdir = \
250 if test -d "$(distdir)"; then \
251 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
252 && rm -rf "$(distdir)" \
253 || { sleep 5 && rm -rf "$(distdir)"; }; \
254 else :; fi
255 am__post_remove_distdir = $(am__remove_distdir)
256 am__relativize = \
257 dir0=`pwd`; \
258 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
259 sed_rest='s,^[^/]*/*,,'; \
260 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
261 sed_butlast='s,/*[^/]*$$,,'; \
262 while test -n "$$dir1"; do \
263 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
264 if test "$$first" != "."; then \
265 if test "$$first" = ".."; then \
266 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
267 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
268 else \
269 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
270 if test "$$first2" = "$$first"; then \
271 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
272 else \
273 dir2="../$$dir2"; \
274 fi; \
275 dir0="$$dir0"/"$$first"; \
276 fi; \
277 fi; \
278 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
279 done; \
280 reldir="$$dir2"
281 DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.xz
282 GZIP_ENV = --best
283 DIST_TARGETS = dist-xz dist-bzip2 dist-gzip
284 # Exists only to be overridden by the user if desired.
285 AM_DISTCHECK_DVI_TARGET = dvi
286 distuninstallcheck_listfiles = find . -type f -print
287 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
288 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
289 distcleancheck_listfiles = find . -type f -print
290 ACLOCAL = @ACLOCAL@
291 AMTAR = @AMTAR@
292 AM_CFLAGS = @AM_CFLAGS@
293 AM_CPPFLAGS = @AM_CPPFLAGS@
294 AM_CXXFLAGS = @AM_CXXFLAGS@
295 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
296 AM_LDFLAGS = @AM_LDFLAGS@
297 AR = @AR@
298 AS = @AS@
299 AUTOCONF = @AUTOCONF@
300 AUTOHEADER = @AUTOHEADER@
301 AUTOMAKE = @AUTOMAKE@
302 AWK = @AWK@
303 BISON = @BISON@
304 CC = @CC@
305 CCDEPMODE = @CCDEPMODE@
306 CFLAGS = @CFLAGS@
307 CMP = @CMP@
308 COMM = @COMM@
309 CPP = @CPP@
310 CPPFLAGS = @CPPFLAGS@
311 CXX = @CXX@
312 CXXCPP = @CXXCPP@
313 CXXDEPMODE = @CXXDEPMODE@
314 CXXFLAGS = @CXXFLAGS@
315 CYGPATH_W = @CYGPATH_W@
316 DEFS = @DEFS@
317 DEPDIR = @DEPDIR@
318 DLLTOOL = @DLLTOOL@
319 DOT = @DOT@
320 DOXYGEN = @DOXYGEN@
321 DOXYGEN_OUTPUT_DIR = @DOXYGEN_OUTPUT_DIR@
322 DSYMUTIL = @DSYMUTIL@
323 DUMPBIN = @DUMPBIN@
324 ECHO_C = @ECHO_C@
325 ECHO_N = @ECHO_N@
326 ECHO_T = @ECHO_T@
327 EGREP = @EGREP@
328 EXEEXT = @EXEEXT@
329 EXPR = @EXPR@
330 FGREP = @FGREP@
331 FLEX = @FLEX@
332 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
333 GMSGFMT = @GMSGFMT@
334 GP_CAMLIB_SET = @GP_CAMLIB_SET@
335 GP_CAMLIB_SET_EVERYTHING = @GP_CAMLIB_SET_EVERYTHING@
336 GP_PEDANTIC_CFLAGS_C11 = @GP_PEDANTIC_CFLAGS_C11@
337 GP_PEDANTIC_CFLAGS_C90 = @GP_PEDANTIC_CFLAGS_C90@
338 GP_PEDANTIC_CFLAGS_C99 = @GP_PEDANTIC_CFLAGS_C99@
339 GP_PEDANTIC_CXXFLAGS_CXX11 = @GP_PEDANTIC_CXXFLAGS_CXX11@
340 GP_PEDANTIC_CXXFLAGS_CXX14 = @GP_PEDANTIC_CXXFLAGS_CXX14@
341 GP_PEDANTIC_CXXFLAGS_CXX17 = @GP_PEDANTIC_CXXFLAGS_CXX17@
342 GP_PEDANTIC_CXXFLAGS_CXX98 = @GP_PEDANTIC_CXXFLAGS_CXX98@
343 GREP = @GREP@
344 GTKDOC = @GTKDOC@
345 HAVE_DOT = @HAVE_DOT@
346 HTML_APIDOC_DIR = @HTML_APIDOC_DIR@
347 HTML_APIDOC_INTERNALS_DIR = @HTML_APIDOC_INTERNALS_DIR@
348 INSTALL = @INSTALL@
349 INSTALL_DATA = @INSTALL_DATA@
350 INSTALL_PROGRAM = @INSTALL_PROGRAM@
351 INSTALL_SCRIPT = @INSTALL_SCRIPT@
352 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
353 INTLLIBS = @INTLLIBS@
354 LD = @LD@
355 LDFLAGS = @LDFLAGS@
356 LIBCURL_CFLAGS = @LIBCURL_CFLAGS@
357 LIBCURL_CONFIG_PROG = @LIBCURL_CONFIG_PROG@
358 LIBCURL_LIBS = @LIBCURL_LIBS@
359 LIBEXIF_CFLAGS = @LIBEXIF_CFLAGS@
360 LIBEXIF_CONFIG_PROG = @LIBEXIF_CONFIG_PROG@
361 LIBEXIF_LIBS = @LIBEXIF_LIBS@
362 LIBGD_CFLAGS = @LIBGD_CFLAGS@
363 LIBGD_CONFIG_PROG = @LIBGD_CONFIG_PROG@
364 LIBGD_LIBS = @LIBGD_LIBS@
365 LIBGPHOTO2_AGE = @LIBGPHOTO2_AGE@
366 LIBGPHOTO2_CURRENT = @LIBGPHOTO2_CURRENT@
367 LIBGPHOTO2_CURRENT_MIN = @LIBGPHOTO2_CURRENT_MIN@
368 LIBGPHOTO2_REVISION = @LIBGPHOTO2_REVISION@
369 LIBGPHOTO2_VERSION_INFO = @LIBGPHOTO2_VERSION_INFO@
370 LIBICONV = @LIBICONV@
371 LIBINTL = @LIBINTL@
372 LIBJPEG = @LIBJPEG@
373 LIBLTDL = @LIBLTDL@
374 LIBOBJS = @LIBOBJS@
375 LIBS = @LIBS@
376 LIBTOOL = @LIBTOOL@
377 LIBWS232 = @LIBWS232@
378 LIBXML2_CFLAGS = @LIBXML2_CFLAGS@
379 LIBXML2_CONFIG_PROG = @LIBXML2_CONFIG_PROG@
380 LIBXML2_LIBS = @LIBXML2_LIBS@
381 LIPO = @LIPO@
382 LN_S = @LN_S@
383 LTDLINCL = @LTDLINCL@
384 LTLIBICONV = @LTLIBICONV@
385 LTLIBINTL = @LTLIBINTL@
386 LTLIBOBJS = @LTLIBOBJS@
387 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
388 MAIL_GPHOTO_DEVEL = @MAIL_GPHOTO_DEVEL@
389 MAIL_GPHOTO_TRANSLATION = @MAIL_GPHOTO_TRANSLATION@
390 MAIL_GPHOTO_USER = @MAIL_GPHOTO_USER@
391 MAKEINFO = @MAKEINFO@
392 MANIFEST_TOOL = @MANIFEST_TOOL@
393 MKDIR_P = @MKDIR_P@
394 MKINSTALLDIRS = @MKINSTALLDIRS@
395 MSGFMT = @MSGFMT@
396 MSGMERGE = @MSGMERGE@
397 NM = @NM@
398 NMEDIT = @NMEDIT@
399 NO_UNUSED_CFLAGS = @NO_UNUSED_CFLAGS@
400 OBJDUMP = @OBJDUMP@
401 OBJEXT = @OBJEXT@
402 OTOOL = @OTOOL@
403 OTOOL64 = @OTOOL64@
404 PACKAGE = @PACKAGE@
405 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
406 PACKAGE_NAME = @PACKAGE_NAME@
407 PACKAGE_STRING = @PACKAGE_STRING@
408 PACKAGE_TARNAME = @PACKAGE_TARNAME@
409 PACKAGE_URL = @PACKAGE_URL@
410 PACKAGE_VERSION = @PACKAGE_VERSION@
411 PATH_SEPARATOR = @PATH_SEPARATOR@
412 PKG_CONFIG = @PKG_CONFIG@
413 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
414 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
415 POSUB = @POSUB@
416 RANLIB = @RANLIB@
417 REQUIREMENTS_FOR_LIBCURL = @REQUIREMENTS_FOR_LIBCURL@
418 REQUIREMENTS_FOR_LIBEXIF = @REQUIREMENTS_FOR_LIBEXIF@
419 REQUIREMENTS_FOR_LIBGD = @REQUIREMENTS_FOR_LIBGD@
420 REQUIREMENTS_FOR_LIBXML2 = @REQUIREMENTS_FOR_LIBXML2@
421 RPMBUILD = @RPMBUILD@
422 SED = @SED@
423 SET_MAKE = @SET_MAKE@
424 SHELL = @SHELL@
425 SLEEP = @SLEEP@
426 SORT = @SORT@
427 STRIP = @STRIP@
428 TR = @TR@
429 UNIQ = @UNIQ@
430 URL_DIGICAM_LIST = @URL_DIGICAM_LIST@
431 URL_GPHOTO_HOME = @URL_GPHOTO_HOME@
432 URL_GPHOTO_PROJECT = @URL_GPHOTO_PROJECT@
433 URL_JPHOTO_HOME = @URL_JPHOTO_HOME@
434 URL_USB_MASSSTORAGE = @URL_USB_MASSSTORAGE@
435 USE_NLS = @USE_NLS@
436 VERSION = @VERSION@
437 VERSIONMAPLDFLAGS = @VERSIONMAPLDFLAGS@
438 XGETTEXT = @XGETTEXT@
439 abs_builddir = @abs_builddir@
440 abs_srcdir = @abs_srcdir@
441 abs_top_builddir = @abs_top_builddir@
442 abs_top_srcdir = @abs_top_srcdir@
443 ac_ct_AR = @ac_ct_AR@
444 ac_ct_CC = @ac_ct_CC@
445 ac_ct_CXX = @ac_ct_CXX@
446 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
447 am__include = @am__include@
448 am__leading_dot = @am__leading_dot@
449 am__quote = @am__quote@
450 am__tar = @am__tar@
451 am__untar = @am__untar@
452 apidocdir = @apidocdir@
453 bindir = @bindir@
454 build = @build@
455 build_alias = @build_alias@
456 build_cpu = @build_cpu@
457 build_os = @build_os@
458 build_vendor = @build_vendor@
459 builddir = @builddir@
460 camlibdir = @camlibdir@
461 camlibdocdir = @camlibdocdir@
462 datadir = @datadir@
463 datarootdir = @datarootdir@
464 docdir = @docdir@
465 dvidir = @dvidir@
466 effective_target = @effective_target@
467 exec_prefix = @exec_prefix@
468 host = @host@
469 host_alias = @host_alias@
470 host_cpu = @host_cpu@
471 host_os = @host_os@
472 host_vendor = @host_vendor@
473 hotplugdocdir = @hotplugdocdir@
474 hotplugusermapdir = @hotplugusermapdir@
475 htmldir = @htmldir@
476 includedir = @includedir@
477 infodir = @infodir@
478 install_sh = @install_sh@
479 libdir = @libdir@
480 libexecdir = @libexecdir@
481 localedir = @localedir@
482 localstatedir = @localstatedir@
483 mandir = @mandir@
484 mkdir_p = @mkdir_p@
485 oldincludedir = @oldincludedir@
486 pdfdir = @pdfdir@
487 pkgconfigdir = @pkgconfigdir@
488 prefix = @prefix@
489 program_transform_name = @program_transform_name@
490 psdir = @psdir@
491 sbindir = @sbindir@
492 sharedstatedir = @sharedstatedir@
493 srcdir = @srcdir@
494 subdirs = @subdirs@
495 sysconfdir = @sysconfdir@
496 target_alias = @target_alias@
497 top_build_prefix = @top_build_prefix@
498 top_builddir = @top_builddir@
499 top_srcdir = @top_srcdir@
500 udevscriptdir = @udevscriptdir@
501 utilsdir = @utilsdir@
502 bin_SCRIPTS = gphoto2-config
503 EXTRA_DIST = MAINTAINERS TESTERS installcheck.mk HACKING.md \
504 SECURITY.md libgphoto2.pc.in libgphoto2-uninstalled.pc.in \
505 ChangeLog INSTALL OUTDATED.txt README.md RELEASE-HOWTO.md \
506 README.packaging
507
508 # Note: @subdirs@ lists all the directories from AC_CONFIG_SUBDIRS()
509 SUBDIRS = @subdirs@ libgphoto2 camlibs tests examples po packaging doc gphoto-m4
510 pkgconfig_DATA = libgphoto2.pc
511 noinst_DATA = libgphoto2-uninstalled.pc
512 doc_DATA = AUTHORS COPYING NEWS ABOUT-NLS ChangeLog README.md \
513 RELEASE-HOWTO.md README.packaging
514 nobase_include_HEADERS = \
515 gphoto2/gphoto2.h \
516 gphoto2/gphoto2-abilities-list.h\
517 gphoto2/gphoto2-camera.h \
518 gphoto2/gphoto2-context.h \
519 gphoto2/gphoto2-file.h \
520 gphoto2/gphoto2-filesys.h \
521 gphoto2/gphoto2-library.h \
522 gphoto2/gphoto2-list.h \
523 gphoto2/gphoto2-result.h \
524 gphoto2/gphoto2-setting.h \
525 gphoto2/gphoto2-version.h \
526 gphoto2/gphoto2-widget.h
527
528 DISTCLEANFILES = libgphoto2/gphoto2-endian.h
529
530 ########################################################################
531 # Convenience shortcuts to update the *.po translation files in both
532 # po/ subdirs at once and to reset the *.po translation files to "git
533 # HEAD" in both po/ subdirs at once.
534 PO_SUBDIRS = libgphoto2_port/po po
535
536 ########################################################################
537 # The following default options for aclocal and automake
538 # are required in the top level Makefile.am for the automatic
539 # re-building of the build system files.
540 ACLOCAL_AMFLAGS = -I auto-m4 -I gphoto-m4
541 all: config.h
542 $(MAKE) $(AM_MAKEFLAGS) all-recursive
543
544 .SUFFIXES:
545 am--refresh: Makefile
546 @:
547 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
548 @for dep in $?; do \
549 case '$(am__configure_deps)' in \
550 *$$dep*) \
551 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
552 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
553 && exit 0; \
554 exit 1;; \
555 esac; \
556 done; \
557 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
558 $(am__cd) $(top_srcdir) && \
559 $(AUTOMAKE) --foreign Makefile
560 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
561 @case '$?' in \
562 *config.status*) \
563 echo ' $(SHELL) ./config.status'; \
564 $(SHELL) ./config.status;; \
565 *) \
566 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
567 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
568 esac;
569
570 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
571 $(SHELL) ./config.status --recheck
572
573 $(top_srcdir)/configure: $(am__configure_deps)
574 $(am__cd) $(srcdir) && $(AUTOCONF)
575 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
576 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
577 $(am__aclocal_m4_deps):
578
579 config.h: stamp-h1
580 @test -f $@ || rm -f stamp-h1
581 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
582
583 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
584 @rm -f stamp-h1
585 cd $(top_builddir) && $(SHELL) ./config.status config.h
586 $(srcdir)/config.h.in: $(am__configure_deps)
587 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
588 rm -f stamp-h1
589 touch $@
590
591 distclean-hdr:
592 -rm -f config.h stamp-h1
593 gphoto2-config: $(top_builddir)/config.status $(srcdir)/gphoto2-config.in
594 cd $(top_builddir) && $(SHELL) ./config.status $@
595 libgphoto2.pc: $(top_builddir)/config.status $(srcdir)/libgphoto2.pc.in
596 cd $(top_builddir) && $(SHELL) ./config.status $@
597 libgphoto2-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/libgphoto2-uninstalled.pc.in
598 cd $(top_builddir) && $(SHELL) ./config.status $@
599 install-binSCRIPTS: $(bin_SCRIPTS)
600 @$(NORMAL_INSTALL)
601 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
602 if test -n "$$list"; then \
603 echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
604 $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
605 fi; \
606 for p in $$list; do \
607 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
608 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
609 done | \
610 sed -e 'p;s,.*/,,;n' \
611 -e 'h;s|.*|.|' \
612 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
613 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
614 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
615 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
616 if (++n[d] == $(am__install_max)) { \
617 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
618 else { print "f", d "/" $$4, $$1 } } \
619 END { for (d in files) print "f", d, files[d] }' | \
620 while read type dir files; do \
621 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
622 test -z "$$files" || { \
623 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
624 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
625 } \
626 ; done
627
628 uninstall-binSCRIPTS:
629 @$(NORMAL_UNINSTALL)
630 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
631 files=`for p in $$list; do echo "$$p"; done | \
632 sed -e 's,.*/,,;$(transform)'`; \
633 dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
634
635 mostlyclean-libtool:
636 -rm -f *.lo
637
638 clean-libtool:
639 -rm -rf .libs _libs
640
641 distclean-libtool:
642 -rm -f libtool config.lt
643 install-docDATA: $(doc_DATA)
644 @$(NORMAL_INSTALL)
645 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
646 if test -n "$$list"; then \
647 echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \
648 $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \
649 fi; \
650 for p in $$list; do \
651 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
652 echo "$$d$$p"; \
653 done | $(am__base_list) | \
654 while read files; do \
655 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
656 $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
657 done
658
659 uninstall-docDATA:
660 @$(NORMAL_UNINSTALL)
661 @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \
662 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
663 dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
664 install-pkgconfigDATA: $(pkgconfig_DATA)
665 @$(NORMAL_INSTALL)
666 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
667 if test -n "$$list"; then \
668 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
669 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
670 fi; \
671 for p in $$list; do \
672 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
673 echo "$$d$$p"; \
674 done | $(am__base_list) | \
675 while read files; do \
676 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
677 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
678 done
679
680 uninstall-pkgconfigDATA:
681 @$(NORMAL_UNINSTALL)
682 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
683 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
684 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
685 install-nobase_includeHEADERS: $(nobase_include_HEADERS)
686 @$(NORMAL_INSTALL)
687 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
688 if test -n "$$list"; then \
689 echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
690 $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
691 fi; \
692 $(am__nobase_list) | while read dir files; do \
693 xfiles=; for file in $$files; do \
694 if test -f "$$file"; then xfiles="$$xfiles $$file"; \
695 else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
696 test -z "$$xfiles" || { \
697 test "x$$dir" = x. || { \
698 echo " $(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \
699 $(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \
700 echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \
701 $(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \
702 done
703
704 uninstall-nobase_includeHEADERS:
705 @$(NORMAL_UNINSTALL)
706 @list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
707 $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
708 dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
709
710 # This directory's subdirectories are mostly independent; you can cd
711 # into them and run 'make' without going through this Makefile.
712 # To change the values of 'make' variables: instead of editing Makefiles,
713 # (1) if the variable is set in 'config.status', edit 'config.status'
714 # (which will cause the Makefiles to be regenerated when you run 'make');
715 # (2) otherwise, pass the desired values on the 'make' command line.
716 $(am__recursive_targets):
717 @fail=; \
718 if $(am__make_keepgoing); then \
719 failcom='fail=yes'; \
720 else \
721 failcom='exit 1'; \
722 fi; \
723 dot_seen=no; \
724 target=`echo $@ | sed s/-recursive//`; \
725 case "$@" in \
726 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
727 *) list='$(SUBDIRS)' ;; \
728 esac; \
729 for subdir in $$list; do \
730 echo "Making $$target in $$subdir"; \
731 if test "$$subdir" = "."; then \
732 dot_seen=yes; \
733 local_target="$$target-am"; \
734 else \
735 local_target="$$target"; \
736 fi; \
737 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
738 || eval $$failcom; \
739 done; \
740 if test "$$dot_seen" = "no"; then \
741 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
742 fi; test -z "$$fail"
743
744 ID: $(am__tagged_files)
745 $(am__define_uniq_tagged_files); mkid -fID $$unique
746 tags: tags-recursive
747 TAGS: tags
748
749 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
750 set x; \
751 here=`pwd`; \
752 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
753 include_option=--etags-include; \
754 empty_fix=.; \
755 else \
756 include_option=--include; \
757 empty_fix=; \
758 fi; \
759 list='$(SUBDIRS)'; for subdir in $$list; do \
760 if test "$$subdir" = .; then :; else \
761 test ! -f $$subdir/TAGS || \
762 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
763 fi; \
764 done; \
765 $(am__define_uniq_tagged_files); \
766 shift; \
767 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
768 test -n "$$unique" || unique=$$empty_fix; \
769 if test $$# -gt 0; then \
770 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
771 "$$@" $$unique; \
772 else \
773 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
774 $$unique; \
775 fi; \
776 fi
777 ctags: ctags-recursive
778
779 CTAGS: ctags
780 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
781 $(am__define_uniq_tagged_files); \
782 test -z "$(CTAGS_ARGS)$$unique" \
783 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
784 $$unique
785
786 GTAGS:
787 here=`$(am__cd) $(top_builddir) && pwd` \
788 && $(am__cd) $(top_srcdir) \
789 && gtags -i $(GTAGS_ARGS) "$$here"
790 cscope: cscope.files
791 test ! -s cscope.files \
792 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
793 clean-cscope:
794 -rm -f cscope.files
795 cscope.files: clean-cscope cscopelist
796 cscopelist: cscopelist-recursive
797
798 cscopelist-am: $(am__tagged_files)
799 list='$(am__tagged_files)'; \
800 case "$(srcdir)" in \
801 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
802 *) sdir=$(subdir)/$(srcdir) ;; \
803 esac; \
804 for i in $$list; do \
805 if test -f "$$i"; then \
806 echo "$(subdir)/$$i"; \
807 else \
808 echo "$$sdir/$$i"; \
809 fi; \
810 done >> $(top_builddir)/cscope.files
811
812 distclean-tags:
813 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
814 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
815
816 distdir: $(BUILT_SOURCES)
817 $(MAKE) $(AM_MAKEFLAGS) distdir-am
818
819 distdir-am: $(DISTFILES)
820 @case `sed 15q $(srcdir)/NEWS` in \
821 *"$(VERSION)"*) : ;; \
822 *) \
823 echo "NEWS not updated; not releasing" 1>&2; \
824 exit 1;; \
825 esac
826 $(am__remove_distdir)
827 test -d "$(distdir)" || mkdir "$(distdir)"
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,/[^/]*$$,,' | \
837 sort -u` ;; \
838 esac; \
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 {} \;; \
845 fi; \
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 {} \;; \
849 fi; \
850 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
851 else \
852 test -f "$(distdir)/$$file" \
853 || cp -p $$d/$$file "$(distdir)/$$file" \
854 || exit 1; \
855 fi; \
856 done
857 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
858 if test "$$subdir" = .; then :; else \
859 $(am__make_dryrun) \
860 || test -d "$(distdir)/$$subdir" \
861 || $(MKDIR_P) "$(distdir)/$$subdir" \
862 || exit 1; \
863 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
864 $(am__relativize); \
865 new_distdir=$$reldir; \
866 dir1=$$subdir; dir2="$(top_distdir)"; \
867 $(am__relativize); \
868 new_top_distdir=$$reldir; \
869 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
870 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
871 ($(am__cd) $$subdir && \
872 $(MAKE) $(AM_MAKEFLAGS) \
873 top_distdir="$$new_top_distdir" \
874 distdir="$$new_distdir" \
875 am__remove_distdir=: \
876 am__skip_length_check=: \
877 am__skip_mode_fix=: \
878 distdir) \
879 || exit 1; \
880 fi; \
881 done
882 -test -n "$(am__skip_mode_fix)" \
883 || find "$(distdir)" -type d ! -perm -755 \
884 -exec chmod u+rwx,go+rx {} \; -o \
885 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
886 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
887 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
888 || chmod -R a+r "$(distdir)"
889 dist-gzip: distdir
890 tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
891 $(am__post_remove_distdir)
892 dist-bzip2: distdir
893 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
894 $(am__post_remove_distdir)
895
896 dist-lzip: distdir
897 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
898 $(am__post_remove_distdir)
899 dist-xz: distdir
900 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
901 $(am__post_remove_distdir)
902
903 dist-zstd: distdir
904 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
905 $(am__post_remove_distdir)
906
907 dist-tarZ: distdir
908 @echo WARNING: "Support for distribution archives compressed with" \
909 "legacy program 'compress' is deprecated." >&2
910 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
911 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
912 $(am__post_remove_distdir)
913
914 dist-shar: distdir
915 @echo WARNING: "Support for shar distribution archives is" \
916 "deprecated." >&2
917 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
918 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
919 $(am__post_remove_distdir)
920
921 dist-zip: distdir
922 -rm -f $(distdir).zip
923 zip -rq $(distdir).zip $(distdir)
924 $(am__post_remove_distdir)
925
926 dist dist-all:
927 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
928 $(am__post_remove_distdir)
929
930 # This target untars the dist file and tries a VPATH configuration. Then
931 # it guarantees that the distribution is self-contained by making another
932 # tarfile.
933 distcheck: dist
934 case '$(DIST_ARCHIVES)' in \
935 *.tar.gz*) \
936 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
937 *.tar.bz2*) \
938 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
939 *.tar.lz*) \
940 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
941 *.tar.xz*) \
942 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
943 *.tar.Z*) \
944 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
945 *.shar.gz*) \
946 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
947 *.zip*) \
948 unzip $(distdir).zip ;;\
949 *.tar.zst*) \
950 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
951 esac
952 chmod -R a-w $(distdir)
953 chmod u+w $(distdir)
954 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
955 chmod a-w $(distdir)
956 test -d $(distdir)/_build || exit 0; \
957 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
958 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
959 && am__cwd=`pwd` \
960 && $(am__cd) $(distdir)/_build/sub \
961 && ../../configure \
962 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
963 $(DISTCHECK_CONFIGURE_FLAGS) \
964 --srcdir=../.. --prefix="$$dc_install_base" \
965 && $(MAKE) $(AM_MAKEFLAGS) \
966 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
967 && $(MAKE) $(AM_MAKEFLAGS) check \
968 && $(MAKE) $(AM_MAKEFLAGS) install \
969 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
970 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
971 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
972 distuninstallcheck \
973 && chmod -R a-w "$$dc_install_base" \
974 && ({ \
975 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
976 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
977 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
978 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
979 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
980 } || { rm -rf "$$dc_destdir"; exit 1; }) \
981 && rm -rf "$$dc_destdir" \
982 && $(MAKE) $(AM_MAKEFLAGS) dist \
983 && rm -rf $(DIST_ARCHIVES) \
984 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
985 && cd "$$am__cwd" \
986 || exit 1
987 $(am__post_remove_distdir)
988 @(echo "$(distdir) archives ready for distribution: "; \
989 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
990 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
991 distuninstallcheck:
992 @test -n '$(distuninstallcheck_dir)' || { \
993 echo 'ERROR: trying to run $@ with an empty' \
994 '$$(distuninstallcheck_dir)' >&2; \
995 exit 1; \
996 }; \
997 $(am__cd) '$(distuninstallcheck_dir)' || { \
998 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
999 exit 1; \
1000 }; \
1001 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1002 || { echo "ERROR: files left after uninstall:" ; \
1003 if test -n "$(DESTDIR)"; then \
1004 echo " (check DESTDIR support)"; \
1005 fi ; \
1006 $(distuninstallcheck_listfiles) ; \
1007 exit 1; } >&2
1008 distcleancheck: distclean
1009 @if test '$(srcdir)' = . ; then \
1010 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1011 exit 1 ; \
1012 fi
1013 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1014 || { echo "ERROR: files left in build directory after distclean:" ; \
1015 $(distcleancheck_listfiles) ; \
1016 exit 1; } >&2
1017 check-am: all-am
1018 check: check-recursive
1019 all-am: Makefile $(SCRIPTS) $(DATA) $(HEADERS) config.h
1020 installdirs: installdirs-recursive
1021 installdirs-am:
1022 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
1023 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1024 done
1025 install: install-recursive
1026 install-exec: install-exec-recursive
1027 install-data: install-data-recursive
1028 uninstall: uninstall-recursive
1029
1030 install-am: all-am
1031 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1032
1033 installcheck: installcheck-recursive
1034 install-strip:
1035 if test -z '$(STRIP)'; then \
1036 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1037 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1038 install; \
1039 else \
1040 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1041 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1042 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1043 fi
1044 mostlyclean-generic:
1045
1046 clean-generic:
1047
1048 distclean-generic:
1049 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1050 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1051 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1052
1053 maintainer-clean-generic:
1054 @echo "This command is intended for maintainers to use"
1055 @echo "it deletes files that may require special tools to rebuild."
1056 clean: clean-recursive
1057
1058 clean-am: clean-generic clean-libtool mostlyclean-am
1059
1060 distclean: distclean-recursive
1061 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1062 -rm -f Makefile
1063 distclean-am: clean-am distclean-generic distclean-hdr \
1064 distclean-libtool distclean-tags
1065
1066 dvi: dvi-recursive
1067
1068 dvi-am:
1069
1070 html: html-recursive
1071
1072 html-am:
1073
1074 info: info-recursive
1075
1076 info-am:
1077
1078 install-data-am: install-docDATA install-nobase_includeHEADERS \
1079 install-pkgconfigDATA
1080
1081 install-dvi: install-dvi-recursive
1082
1083 install-dvi-am:
1084
1085 install-exec-am: install-binSCRIPTS
1086
1087 install-html: install-html-recursive
1088
1089 install-html-am:
1090
1091 install-info: install-info-recursive
1092
1093 install-info-am:
1094
1095 install-man:
1096
1097 install-pdf: install-pdf-recursive
1098
1099 install-pdf-am:
1100
1101 install-ps: install-ps-recursive
1102
1103 install-ps-am:
1104
1105 installcheck-am:
1106
1107 maintainer-clean: maintainer-clean-recursive
1108 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1109 -rm -rf $(top_srcdir)/autom4te.cache
1110 -rm -f Makefile
1111 maintainer-clean-am: distclean-am maintainer-clean-generic
1112
1113 mostlyclean: mostlyclean-recursive
1114
1115 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1116
1117 pdf: pdf-recursive
1118
1119 pdf-am:
1120
1121 ps: ps-recursive
1122
1123 ps-am:
1124
1125 uninstall-am: uninstall-binSCRIPTS uninstall-docDATA \
1126 uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA
1127
1128 .MAKE: $(am__recursive_targets) all install-am install-strip
1129
1130 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1131 am--refresh check check-am clean clean-cscope clean-generic \
1132 clean-libtool cscope cscopelist-am ctags ctags-am dist \
1133 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
1134 dist-xz dist-zip dist-zstd distcheck distclean \
1135 distclean-generic distclean-hdr distclean-libtool \
1136 distclean-tags distcleancheck distdir distuninstallcheck dvi \
1137 dvi-am html html-am info info-am install install-am \
1138 install-binSCRIPTS install-data install-data-am \
1139 install-docDATA install-dvi install-dvi-am install-exec \
1140 install-exec-am install-html install-html-am install-info \
1141 install-info-am install-man install-nobase_includeHEADERS \
1142 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
1143 install-ps-am install-strip installcheck installcheck-am \
1144 installdirs installdirs-am maintainer-clean \
1145 maintainer-clean-generic mostlyclean mostlyclean-generic \
1146 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
1147 uninstall-am uninstall-binSCRIPTS uninstall-docDATA \
1148 uninstall-nobase_includeHEADERS uninstall-pkgconfigDATA
1149
1150 .PRECIOUS: Makefile
1151
1152
1153 # we use just ONE .PHONY target in order not to confuse automake
1154
1155 .PHONY: rpm cvs-tags source-code-check install-drivers
1156
1157 ########################################################################
1158 # source code check maintenance task
1159 #
1160 # This finds code patterns we don't want to have.
1161 #
1162 # Use it to get rid of existing patterns and make sure they aren't
1163 # reintroduced later.
1164 #
1165 # The output is meant to be read and interpreted by human programmers.
1166
1167 source-code-check:
1168 @echo "######## Finding // comments"
1169 find . -type f -name '*.[ch]' -exec egrep -H '(^//|[^:]//)' {} \;
1170 @echo "######## Finding remainders of Arnaud's comment replacement"
1171 find . -type f -name '*.[ch]' -exec egrep -H 'http:/\*' {} \;
1172 @echo "######## Finding explicit libintl.h references"
1173 find . -type f -name '*.[ch]' -exec egrep -H '^#.*include.*libintl\.h' {} \;
1174
1175 ########################################################################
1176 # Shortcut for installation of a subset of camlibs/drivers
1177 # Usage: make CAMLIBS="canon.la ptp2.la" install-camlibs
1178
1179 install-camlibs:
1180 cd camlibs && $(MAKE) $(AM_MAKEFLAGS) CAMLIBS="$(CAMLIBS)" install-camlibs
1181
1182 # Run "git checkout *.po" in all po/ subdirs
1183 # which is quite useful after "make dist" to clean up "git status".
1184 .PHONY: git-checkout-po
1185 git-checkout-po:
1186 set -e; cd "$(top_srcdir)" && if test -d .git; then \
1187 for d in $(PO_SUBDIRS); do \
1188 (cd "$$d" && git checkout *.po); \
1189 done; \
1190 fi
1191
1192 # Run "make update-po" in all po/ subdirs
1193 .PHONY: update-po
1194 update-po:
1195 @for d in $(PO_SUBDIRS); do (cd "$$d" && $(MAKE) $(AM_MAKEFLAGS) update-po) || exit 1; done
1196
1197 ########################################################################
1198 # The following rules are only interesting if you want to create
1199 # distribution packages (as source tarballs or system specific packages)
1200
1201 # create RPM packages
1202 @ENABLE_RPM_TRUE@rpm: Makefile
1203 @ENABLE_RPM_TRUE@ $(MAKE) $(AM_MAKEFLAGS) dist
1204 @ENABLE_RPM_TRUE@ cd packaging/rpm && $(MAKE) $(AM_MAKEFLAGS) rpm
1205 @ENABLE_RPM_TRUE@ @echo "The RPM packages should now be found in packaging/rpm/RPMS"
1206
1207 @ENABLE_RPM_FALSE@rpm:
1208 @ENABLE_RPM_FALSE@ @echo "Dummy $@ target"
1209
1210 # add CVS tags - used only by the project maintainer to tag the files of a
1211 # released version
1212 cvs-tags: Makefile
1213 @echo cvs tag "@PACKAGE@-$$(echo '@VERSION@' | sed -e 's/\./_/g' -e 's/rc/-rc/g')"
1214
1215 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1216 # Otherwise a system limit (for SysV at least) may be exceeded.
1217 .NOEXPORT: