1 # Makefile.in generated by automake 1.13.4 from Makefile.am.
4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
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.
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
18 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
19 am__make_running_with_option = \
20 case $${target_option-} in \
22 *) echo "am__make_running_with_option: internal error: invalid" \
23 "target option '$${target_option-}' specified" >&2; \
27 sane_makeflags=$$MAKEFLAGS; \
28 if $(am__is_gnu_make); then \
29 sane_makeflags=$$MFLAGS; \
34 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
35 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
41 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
43 for flg in $$sane_makeflags; do \
44 test $$skip_next = yes && { skip_next=no; continue; }; \
47 -*I) strip_trailopt 'I'; skip_next=yes;; \
48 -*I?*) strip_trailopt 'I';; \
49 -*O) strip_trailopt 'O'; skip_next=yes;; \
50 -*O?*) strip_trailopt 'O';; \
51 -*l) strip_trailopt 'l'; skip_next=yes;; \
52 -*l?*) strip_trailopt 'l';; \
53 -[dEDm]) skip_next=yes;; \
54 -[JT]) skip_next=yes;; \
57 *$$target_option*) has_opt=yes; break;; \
61 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
62 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
63 pkgdatadir = $(datadir)/@PACKAGE@
64 pkgincludedir = $(includedir)/@PACKAGE@
65 pkglibdir = $(libdir)/@PACKAGE@
66 pkglibexecdir = $(libexecdir)/@PACKAGE@
67 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
68 install_sh_DATA = $(install_sh) -c -m 644
69 install_sh_PROGRAM = $(install_sh) -c
70 install_sh_SCRIPT = $(install_sh) -c
71 INSTALL_HEADER = $(INSTALL_DATA)
72 transform = $(program_transform_name)
79 build_triplet = @build@
82 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 $(top_srcdir)/configure $(am__configure_deps) \
84 $(srcdir)/config.h.in $(srcdir)/libmtp.sh.in \
85 $(srcdir)/hotplug.sh.in $(srcdir)/libmtp.pc.in AUTHORS COPYING \
86 ChangeLog INSTALL README TODO config.guess config.rpath \
87 config.sub depcomp install-sh missing ltmain.sh
88 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
89 am__aclocal_m4_deps = $(top_srcdir)/m4/byteorder.m4 \
90 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/libtool.m4 \
91 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
92 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
93 $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/configure.ac
94 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
96 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
97 configure.lineno config.status.lineno
98 mkinstalldirs = $(install_sh) -d
99 CONFIG_HEADER = config.h
100 CONFIG_CLEAN_FILES = libmtp.sh hotplug.sh libmtp.pc
101 CONFIG_CLEAN_VPATH_FILES =
102 AM_V_P = $(am__v_P_@AM_V@)
103 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
106 AM_V_GEN = $(am__v_GEN_@AM_V@)
107 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
108 am__v_GEN_0 = @echo " GEN " $@;
110 AM_V_at = $(am__v_at_@AM_V@)
111 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
116 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
117 ctags-recursive dvi-recursive html-recursive info-recursive \
118 install-data-recursive install-dvi-recursive \
119 install-exec-recursive install-html-recursive \
120 install-info-recursive install-pdf-recursive \
121 install-ps-recursive install-recursive installcheck-recursive \
122 installdirs-recursive pdf-recursive ps-recursive \
123 tags-recursive uninstall-recursive
124 am__can_run_installinfo = \
125 case $$AM_UPDATE_INFO_DIR in \
127 *) (install-info --version) >/dev/null 2>&1;; \
129 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
130 am__vpath_adj = case $$p in \
131 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
134 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
136 am__nobase_strip_setup = \
137 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
139 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
140 am__nobase_list = $(am__nobase_strip_setup); \
141 for p in $$list; do echo "$$p $$p"; done | \
142 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
143 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
144 if (++n[$$2] == $(am__install_max)) \
145 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
146 END { for (dir in files) print dir, files[dir] }'
148 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
149 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
150 am__uninstall_files_from_dir = { \
152 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
153 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
154 $(am__cd) "$$dir" && rm -f $$files; }; \
156 am__installdirs = "$(DESTDIR)$(hwdbdir)" "$(DESTDIR)$(pkgconfigdir)" \
157 "$(DESTDIR)$(udevrulesdir)"
158 DATA = $(hwdb_DATA) $(noinst_DATA) $(pkgconfig_DATA) $(udevrules_DATA)
159 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
160 distclean-recursive maintainer-clean-recursive
161 am__recursive_targets = \
162 $(RECURSIVE_TARGETS) \
163 $(RECURSIVE_CLEAN_TARGETS) \
164 $(am__extra_recursive_targets)
165 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
166 cscope distdir dist dist-all distcheck
167 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
169 # Read a list of newline-separated strings from the standard input,
170 # and print each of them once, without duplicates. Input order is
172 am__uniquify_input = $(AWK) '\
173 BEGIN { nonempty = 0; } \
174 { items[$$0] = 1; nonempty = 1; } \
175 END { if (nonempty) { for (i in items) print i; }; } \
177 # Make sure the list of sources is unique. This is necessary because,
178 # e.g., the same source file might be shared among _SOURCES variables
179 # for different programs/libraries.
180 am__define_uniq_tagged_files = \
181 list='$(am__tagged_files)'; \
182 unique=`for i in $$list; do \
183 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
184 done | $(am__uniquify_input)`
188 DIST_SUBDIRS = $(SUBDIRS)
189 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
190 distdir = $(PACKAGE)-$(VERSION)
191 top_distdir = $(distdir)
192 am__remove_distdir = \
193 if test -d "$(distdir)"; then \
194 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
195 && rm -rf "$(distdir)" \
196 || { sleep 5 && rm -rf "$(distdir)"; }; \
198 am__post_remove_distdir = $(am__remove_distdir)
201 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
202 sed_rest='s,^[^/]*/*,,'; \
203 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
204 sed_butlast='s,/*[^/]*$$,,'; \
205 while test -n "$$dir1"; do \
206 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
207 if test "$$first" != "."; then \
208 if test "$$first" = ".."; then \
209 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
210 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
212 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
213 if test "$$first2" = "$$first"; then \
214 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
218 dir0="$$dir0"/"$$first"; \
221 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
224 DIST_ARCHIVES = $(distdir).tar.gz
226 DIST_TARGETS = dist-gzip
227 distuninstallcheck_listfiles = find . -type f -print
228 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
229 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
230 distcleancheck_listfiles = find . -type f -print
233 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
236 AUTOCONF = @AUTOCONF@
237 AUTOHEADER = @AUTOHEADER@
238 AUTOMAKE = @AUTOMAKE@
241 CCDEPMODE = @CCDEPMODE@
244 CPPFLAGS = @CPPFLAGS@
245 CYGPATH_W = @CYGPATH_W@
249 DSYMUTIL = @DSYMUTIL@
258 HAVE_DOXYGEN = @HAVE_DOXYGEN@
260 INSTALL_DATA = @INSTALL_DATA@
261 INSTALL_PROGRAM = @INSTALL_PROGRAM@
262 INSTALL_SCRIPT = @INSTALL_SCRIPT@
263 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
266 LIBICONV = @LIBICONV@
270 LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
271 LIBUSB_LIBS = @LIBUSB_LIBS@
272 LIBUSB_REQUIRES = @LIBUSB_REQUIRES@
275 LTLIBICONV = @LTLIBICONV@
276 LTLIBOBJS = @LTLIBOBJS@
277 MAKEINFO = @MAKEINFO@
278 MANIFEST_TOOL = @MANIFEST_TOOL@
288 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
289 PACKAGE_NAME = @PACKAGE_NAME@
290 PACKAGE_STRING = @PACKAGE_STRING@
291 PACKAGE_TARNAME = @PACKAGE_TARNAME@
292 PACKAGE_URL = @PACKAGE_URL@
293 PACKAGE_VERSION = @PACKAGE_VERSION@
294 PATH_SEPARATOR = @PATH_SEPARATOR@
295 PKG_CONFIG = @PKG_CONFIG@
296 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
297 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
300 SET_MAKE = @SET_MAKE@
304 UDEV_GROUP = @UDEV_GROUP@
305 UDEV_MODE = @UDEV_MODE@
306 UDEV_RULES = @UDEV_RULES@
308 abs_builddir = @abs_builddir@
309 abs_srcdir = @abs_srcdir@
310 abs_top_builddir = @abs_top_builddir@
311 abs_top_srcdir = @abs_top_srcdir@
312 ac_ct_AR = @ac_ct_AR@
313 ac_ct_CC = @ac_ct_CC@
314 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
315 am__include = @am__include@
316 am__leading_dot = @am__leading_dot@
317 am__quote = @am__quote@
319 am__untar = @am__untar@
322 build_alias = @build_alias@
323 build_cpu = @build_cpu@
324 build_os = @build_os@
325 build_vendor = @build_vendor@
326 builddir = @builddir@
328 datarootdir = @datarootdir@
331 effective_target = @effective_target@
332 exec_prefix = @exec_prefix@
334 host_alias = @host_alias@
335 host_cpu = @host_cpu@
337 host_vendor = @host_vendor@
339 includedir = @includedir@
341 install_sh = @install_sh@
343 libexecdir = @libexecdir@
344 localedir = @localedir@
345 localstatedir = @localstatedir@
348 ms_lib_exe = @ms_lib_exe@
349 oldincludedir = @oldincludedir@
352 program_transform_name = @program_transform_name@
355 sharedstatedir = @sharedstatedir@
357 sysconfdir = @sysconfdir@
358 target_alias = @target_alias@
359 top_build_prefix = @top_build_prefix@
360 top_builddir = @top_builddir@
361 top_srcdir = @top_srcdir@
362 SUBDIRS = src examples util doc
363 ACLOCAL_AMFLAGS = -I m4
364 pkgconfigdir = $(libdir)/pkgconfig
365 pkgconfig_DATA = libmtp.pc
366 EXTRA_DIST = libmtp.pc libmtp.sh COPYING README.windows.txt
368 # This stuff only makes sense on Linux so only
369 # build and ship it on Linux.
370 @USE_LINUX_TRUE@udevrulesdir = @UDEV@/rules.d
371 @USE_LINUX_TRUE@hwdbdir = @UDEV@/hwdb.d
372 @USE_LINUX_TRUE@udevrules_DATA = @UDEV_RULES@
373 @USE_LINUX_TRUE@hwdb_DATA = 69-libmtp.hwdb
374 @USE_LINUX_TRUE@noinst_DATA = libmtp.usermap libmtp.fdi
375 @USE_LINUX_TRUE@CLEANFILES = libmtp.usermap @UDEV_RULES@ libmtp.fdi libmtp.hwdb
377 $(MAKE) $(AM_MAKEFLAGS) all-recursive
380 am--refresh: Makefile
382 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
384 case '$(am__configure_deps)' in \
386 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
387 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
392 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
393 $(am__cd) $(top_srcdir) && \
394 $(AUTOMAKE) --foreign Makefile
396 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
399 echo ' $(SHELL) ./config.status'; \
400 $(SHELL) ./config.status;; \
402 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
403 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
406 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
407 $(SHELL) ./config.status --recheck
409 $(top_srcdir)/configure: $(am__configure_deps)
410 $(am__cd) $(srcdir) && $(AUTOCONF)
411 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
412 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
413 $(am__aclocal_m4_deps):
416 @if test ! -f $@; then rm -f stamp-h1; else :; fi
417 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
419 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
421 cd $(top_builddir) && $(SHELL) ./config.status config.h
422 $(srcdir)/config.h.in: $(am__configure_deps)
423 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
428 -rm -f config.h stamp-h1
429 libmtp.sh: $(top_builddir)/config.status $(srcdir)/libmtp.sh.in
430 cd $(top_builddir) && $(SHELL) ./config.status $@
431 hotplug.sh: $(top_builddir)/config.status $(srcdir)/hotplug.sh.in
432 cd $(top_builddir) && $(SHELL) ./config.status $@
433 libmtp.pc: $(top_builddir)/config.status $(srcdir)/libmtp.pc.in
434 cd $(top_builddir) && $(SHELL) ./config.status $@
443 -rm -f libtool config.lt
444 install-hwdbDATA: $(hwdb_DATA)
446 @list='$(hwdb_DATA)'; test -n "$(hwdbdir)" || list=; \
447 if test -n "$$list"; then \
448 echo " $(MKDIR_P) '$(DESTDIR)$(hwdbdir)'"; \
449 $(MKDIR_P) "$(DESTDIR)$(hwdbdir)" || exit 1; \
451 for p in $$list; do \
452 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
454 done | $(am__base_list) | \
455 while read files; do \
456 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(hwdbdir)'"; \
457 $(INSTALL_DATA) $$files "$(DESTDIR)$(hwdbdir)" || exit $$?; \
462 @list='$(hwdb_DATA)'; test -n "$(hwdbdir)" || list=; \
463 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
464 dir='$(DESTDIR)$(hwdbdir)'; $(am__uninstall_files_from_dir)
465 install-pkgconfigDATA: $(pkgconfig_DATA)
467 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
468 if test -n "$$list"; then \
469 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
470 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
472 for p in $$list; do \
473 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
475 done | $(am__base_list) | \
476 while read files; do \
477 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
478 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
481 uninstall-pkgconfigDATA:
483 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
484 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
485 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
486 install-udevrulesDATA: $(udevrules_DATA)
488 @list='$(udevrules_DATA)'; test -n "$(udevrulesdir)" || list=; \
489 if test -n "$$list"; then \
490 echo " $(MKDIR_P) '$(DESTDIR)$(udevrulesdir)'"; \
491 $(MKDIR_P) "$(DESTDIR)$(udevrulesdir)" || exit 1; \
493 for p in $$list; do \
494 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
496 done | $(am__base_list) | \
497 while read files; do \
498 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(udevrulesdir)'"; \
499 $(INSTALL_DATA) $$files "$(DESTDIR)$(udevrulesdir)" || exit $$?; \
502 uninstall-udevrulesDATA:
504 @list='$(udevrules_DATA)'; test -n "$(udevrulesdir)" || list=; \
505 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
506 dir='$(DESTDIR)$(udevrulesdir)'; $(am__uninstall_files_from_dir)
508 # This directory's subdirectories are mostly independent; you can cd
509 # into them and run 'make' without going through this Makefile.
510 # To change the values of 'make' variables: instead of editing Makefiles,
511 # (1) if the variable is set in 'config.status', edit 'config.status'
512 # (which will cause the Makefiles to be regenerated when you run 'make');
513 # (2) otherwise, pass the desired values on the 'make' command line.
514 $(am__recursive_targets):
516 if $(am__make_keepgoing); then \
517 failcom='fail=yes'; \
522 target=`echo $@ | sed s/-recursive//`; \
524 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
525 *) list='$(SUBDIRS)' ;; \
527 for subdir in $$list; do \
528 echo "Making $$target in $$subdir"; \
529 if test "$$subdir" = "."; then \
531 local_target="$$target-am"; \
533 local_target="$$target"; \
535 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
538 if test "$$dot_seen" = "no"; then \
539 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
542 ID: $(am__tagged_files)
543 $(am__define_uniq_tagged_files); mkid -fID $$unique
547 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
550 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
551 include_option=--etags-include; \
554 include_option=--include; \
557 list='$(SUBDIRS)'; for subdir in $$list; do \
558 if test "$$subdir" = .; then :; else \
559 test ! -f $$subdir/TAGS || \
560 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
563 $(am__define_uniq_tagged_files); \
565 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
566 test -n "$$unique" || unique=$$empty_fix; \
567 if test $$# -gt 0; then \
568 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
571 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
575 ctags: ctags-recursive
578 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
579 $(am__define_uniq_tagged_files); \
580 test -z "$(CTAGS_ARGS)$$unique" \
581 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
585 here=`$(am__cd) $(top_builddir) && pwd` \
586 && $(am__cd) $(top_srcdir) \
587 && gtags -i $(GTAGS_ARGS) "$$here"
589 test ! -s cscope.files \
590 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
593 cscope.files: clean-cscope cscopelist
594 cscopelist: cscopelist-recursive
596 cscopelist-am: $(am__tagged_files)
597 list='$(am__tagged_files)'; \
598 case "$(srcdir)" in \
599 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
600 *) sdir=$(subdir)/$(srcdir) ;; \
602 for i in $$list; do \
603 if test -f "$$i"; then \
604 echo "$(subdir)/$$i"; \
608 done >> $(top_builddir)/cscope.files
611 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
612 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
614 distdir: $(DISTFILES)
615 $(am__remove_distdir)
616 test -d "$(distdir)" || mkdir "$(distdir)"
617 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
618 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
619 list='$(DISTFILES)'; \
620 dist_files=`for file in $$list; do echo $$file; done | \
621 sed -e "s|^$$srcdirstrip/||;t" \
622 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
623 case $$dist_files in \
624 */*) $(MKDIR_P) `echo "$$dist_files" | \
625 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
628 for file in $$dist_files; do \
629 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
630 if test -d $$d/$$file; then \
631 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
632 if test -d "$(distdir)/$$file"; then \
633 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
635 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
636 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
637 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
639 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
641 test -f "$(distdir)/$$file" \
642 || cp -p $$d/$$file "$(distdir)/$$file" \
646 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
647 if test "$$subdir" = .; then :; else \
649 || test -d "$(distdir)/$$subdir" \
650 || $(MKDIR_P) "$(distdir)/$$subdir" \
652 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
654 new_distdir=$$reldir; \
655 dir1=$$subdir; dir2="$(top_distdir)"; \
657 new_top_distdir=$$reldir; \
658 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
659 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
660 ($(am__cd) $$subdir && \
661 $(MAKE) $(AM_MAKEFLAGS) \
662 top_distdir="$$new_top_distdir" \
663 distdir="$$new_distdir" \
664 am__remove_distdir=: \
665 am__skip_length_check=: \
666 am__skip_mode_fix=: \
671 -test -n "$(am__skip_mode_fix)" \
672 || find "$(distdir)" -type d ! -perm -755 \
673 -exec chmod u+rwx,go+rx {} \; -o \
674 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
675 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
676 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
677 || chmod -R a+r "$(distdir)"
679 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
680 $(am__post_remove_distdir)
683 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
684 $(am__post_remove_distdir)
687 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
688 $(am__post_remove_distdir)
691 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
692 $(am__post_remove_distdir)
695 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
696 $(am__post_remove_distdir)
699 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
700 $(am__post_remove_distdir)
703 -rm -f $(distdir).zip
704 zip -rq $(distdir).zip $(distdir)
705 $(am__post_remove_distdir)
708 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
709 $(am__post_remove_distdir)
711 # This target untars the dist file and tries a VPATH configuration. Then
712 # it guarantees that the distribution is self-contained by making another
715 case '$(DIST_ARCHIVES)' in \
717 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
719 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
721 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
723 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
725 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
727 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
729 unzip $(distdir).zip ;;\
731 chmod -R a-w $(distdir)
733 mkdir $(distdir)/_build $(distdir)/_inst
735 test -d $(distdir)/_build || exit 0; \
736 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
737 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
739 && $(am__cd) $(distdir)/_build \
740 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
741 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
742 $(DISTCHECK_CONFIGURE_FLAGS) \
743 && $(MAKE) $(AM_MAKEFLAGS) \
744 && $(MAKE) $(AM_MAKEFLAGS) dvi \
745 && $(MAKE) $(AM_MAKEFLAGS) check \
746 && $(MAKE) $(AM_MAKEFLAGS) install \
747 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
748 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
749 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
751 && chmod -R a-w "$$dc_install_base" \
753 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
754 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
755 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
756 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
757 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
758 } || { rm -rf "$$dc_destdir"; exit 1; }) \
759 && rm -rf "$$dc_destdir" \
760 && $(MAKE) $(AM_MAKEFLAGS) dist \
761 && rm -rf $(DIST_ARCHIVES) \
762 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
765 $(am__post_remove_distdir)
766 @(echo "$(distdir) archives ready for distribution: "; \
767 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
768 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
770 @test -n '$(distuninstallcheck_dir)' || { \
771 echo 'ERROR: trying to run $@ with an empty' \
772 '$$(distuninstallcheck_dir)' >&2; \
775 $(am__cd) '$(distuninstallcheck_dir)' || { \
776 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
779 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
780 || { echo "ERROR: files left after uninstall:" ; \
781 if test -n "$(DESTDIR)"; then \
782 echo " (check DESTDIR support)"; \
784 $(distuninstallcheck_listfiles) ; \
786 distcleancheck: distclean
787 @if test '$(srcdir)' = . ; then \
788 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
791 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
792 || { echo "ERROR: files left in build directory after distclean:" ; \
793 $(distcleancheck_listfiles) ; \
796 check: check-recursive
797 all-am: Makefile $(DATA) config.h
798 installdirs: installdirs-recursive
800 for dir in "$(DESTDIR)$(hwdbdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(udevrulesdir)"; do \
801 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
803 install: install-recursive
804 install-exec: install-exec-recursive
805 install-data: install-data-recursive
806 uninstall: uninstall-recursive
809 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
811 installcheck: installcheck-recursive
813 if test -z '$(STRIP)'; then \
814 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
815 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
818 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
819 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
820 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
825 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
828 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
829 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
831 maintainer-clean-generic:
832 @echo "This command is intended for maintainers to use"
833 @echo "it deletes files that may require special tools to rebuild."
834 clean: clean-recursive
836 clean-am: clean-generic clean-libtool mostlyclean-am
838 distclean: distclean-recursive
839 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
841 distclean-am: clean-am distclean-generic distclean-hdr \
842 distclean-libtool distclean-tags
856 install-data-am: install-hwdbDATA install-pkgconfigDATA \
857 install-udevrulesDATA
859 install-dvi: install-dvi-recursive
865 install-html: install-html-recursive
869 install-info: install-info-recursive
875 install-pdf: install-pdf-recursive
879 install-ps: install-ps-recursive
885 maintainer-clean: maintainer-clean-recursive
886 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
887 -rm -rf $(top_srcdir)/autom4te.cache
889 maintainer-clean-am: distclean-am maintainer-clean-generic
891 mostlyclean: mostlyclean-recursive
893 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
903 uninstall-am: uninstall-hwdbDATA uninstall-pkgconfigDATA \
904 uninstall-udevrulesDATA
906 .MAKE: $(am__recursive_targets) all install-am install-strip
908 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
909 am--refresh check check-am clean clean-cscope clean-generic \
910 clean-libtool cscope cscopelist-am ctags ctags-am dist \
911 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
912 dist-xz dist-zip distcheck distclean distclean-generic \
913 distclean-hdr distclean-libtool distclean-tags distcleancheck \
914 distdir distuninstallcheck dvi dvi-am html html-am info \
915 info-am install install-am install-data install-data-am \
916 install-dvi install-dvi-am install-exec install-exec-am \
917 install-html install-html-am install-hwdbDATA install-info \
918 install-info-am install-man install-pdf install-pdf-am \
919 install-pkgconfigDATA install-ps install-ps-am install-strip \
920 install-udevrulesDATA installcheck installcheck-am installdirs \
921 installdirs-am maintainer-clean maintainer-clean-generic \
922 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
923 ps ps-am tags tags-am uninstall uninstall-am \
924 uninstall-hwdbDATA uninstall-pkgconfigDATA \
925 uninstall-udevrulesDATA
928 @USE_LINUX_TRUE@libmtp.usermap: util/mtp-hotplug
929 @USE_LINUX_TRUE@ util/mtp-hotplug > libmtp.usermap
931 @USE_LINUX_TRUE@@UDEV_RULES@: util/mtp-hotplug
932 @USE_LINUX_TRUE@ util/mtp-hotplug -u -p"@UDEV@" @UDEV_GROUP@ @UDEV_MODE@ > @UDEV_RULES@
934 @USE_LINUX_TRUE@libmtp.fdi: util/mtp-hotplug
935 @USE_LINUX_TRUE@ util/mtp-hotplug -H > libmtp.fdi
937 @USE_LINUX_TRUE@$(hwdb_DATA): util/mtp-hotplug
938 @USE_LINUX_TRUE@ util/mtp-hotplug -w > $(hwdb_DATA)
940 # Tell versions [3.59,3.63) of GNU make to not export all variables.
941 # Otherwise a system limit (for SysV at least) may be exceeded.