1 # Makefile.in generated by automake 1.15 from Makefile.am.
4 # Copyright (C) 1994-2014 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
19 if test -z '$(MAKELEVEL)'; then \
21 elif test -n '$(MAKE_HOST)'; then \
23 elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
29 am__make_running_with_option = \
30 case $${target_option-} in \
32 *) echo "am__make_running_with_option: internal error: invalid" \
33 "target option '$${target_option-}' specified" >&2; \
37 sane_makeflags=$$MAKEFLAGS; \
38 if $(am__is_gnu_make); then \
39 sane_makeflags=$$MFLAGS; \
44 sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
45 | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
51 flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
53 for flg in $$sane_makeflags; do \
54 test $$skip_next = yes && { skip_next=no; continue; }; \
57 -*I) strip_trailopt 'I'; skip_next=yes;; \
58 -*I?*) strip_trailopt 'I';; \
59 -*O) strip_trailopt 'O'; skip_next=yes;; \
60 -*O?*) strip_trailopt 'O';; \
61 -*l) strip_trailopt 'l'; skip_next=yes;; \
62 -*l?*) strip_trailopt 'l';; \
63 -[dEDm]) skip_next=yes;; \
64 -[JT]) skip_next=yes;; \
67 *$$target_option*) has_opt=yes; break;; \
71 am__make_dryrun = (target_option=n; $(am__make_running_with_option))
72 am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
73 pkgdatadir = $(datadir)/@PACKAGE@
74 pkgincludedir = $(includedir)/@PACKAGE@
75 pkglibdir = $(libdir)/@PACKAGE@
76 pkglibexecdir = $(libexecdir)/@PACKAGE@
77 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
78 install_sh_DATA = $(install_sh) -c -m 644
79 install_sh_PROGRAM = $(install_sh) -c
80 install_sh_SCRIPT = $(install_sh) -c
81 INSTALL_HEADER = $(INSTALL_DATA)
82 transform = $(program_transform_name)
89 build_triplet = @build@
92 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
93 am__aclocal_m4_deps = $(top_srcdir)/m4/byteorder.m4 \
94 $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/libtool.m4 \
95 $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
96 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
97 $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/configure.ac
98 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
100 DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
101 $(am__configure_deps) $(am__DIST_COMMON)
102 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
103 configure.lineno config.status.lineno
104 mkinstalldirs = $(install_sh) -d
105 CONFIG_HEADER = config.h
106 CONFIG_CLEAN_FILES = libmtp.sh hotplug.sh libmtp.pc
107 CONFIG_CLEAN_VPATH_FILES =
108 AM_V_P = $(am__v_P_@AM_V@)
109 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
112 AM_V_GEN = $(am__v_GEN_@AM_V@)
113 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
114 am__v_GEN_0 = @echo " GEN " $@;
116 AM_V_at = $(am__v_at_@AM_V@)
117 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
122 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
123 ctags-recursive dvi-recursive html-recursive info-recursive \
124 install-data-recursive install-dvi-recursive \
125 install-exec-recursive install-html-recursive \
126 install-info-recursive install-pdf-recursive \
127 install-ps-recursive install-recursive installcheck-recursive \
128 installdirs-recursive pdf-recursive ps-recursive \
129 tags-recursive uninstall-recursive
130 am__can_run_installinfo = \
131 case $$AM_UPDATE_INFO_DIR in \
133 *) (install-info --version) >/dev/null 2>&1;; \
135 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
136 am__vpath_adj = case $$p in \
137 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
140 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
142 am__nobase_strip_setup = \
143 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
145 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
146 am__nobase_list = $(am__nobase_strip_setup); \
147 for p in $$list; do echo "$$p $$p"; done | \
148 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
149 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
150 if (++n[$$2] == $(am__install_max)) \
151 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
152 END { for (dir in files) print dir, files[dir] }'
154 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
155 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
156 am__uninstall_files_from_dir = { \
158 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
159 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
160 $(am__cd) "$$dir" && rm -f $$files; }; \
162 am__installdirs = "$(DESTDIR)$(hwdbdir)" "$(DESTDIR)$(pkgconfigdir)" \
163 "$(DESTDIR)$(udevrulesdir)"
164 DATA = $(hwdb_DATA) $(noinst_DATA) $(pkgconfig_DATA) $(udevrules_DATA)
165 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
166 distclean-recursive maintainer-clean-recursive
167 am__recursive_targets = \
168 $(RECURSIVE_TARGETS) \
169 $(RECURSIVE_CLEAN_TARGETS) \
170 $(am__extra_recursive_targets)
171 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
172 cscope distdir dist dist-all distcheck
173 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
175 # Read a list of newline-separated strings from the standard input,
176 # and print each of them once, without duplicates. Input order is
178 am__uniquify_input = $(AWK) '\
179 BEGIN { nonempty = 0; } \
180 { items[$$0] = 1; nonempty = 1; } \
181 END { if (nonempty) { for (i in items) print i; }; } \
183 # Make sure the list of sources is unique. This is necessary because,
184 # e.g., the same source file might be shared among _SOURCES variables
185 # for different programs/libraries.
186 am__define_uniq_tagged_files = \
187 list='$(am__tagged_files)'; \
188 unique=`for i in $$list; do \
189 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
190 done | $(am__uniquify_input)`
194 DIST_SUBDIRS = $(SUBDIRS)
195 am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \
196 $(srcdir)/hotplug.sh.in $(srcdir)/libmtp.pc.in \
197 $(srcdir)/libmtp.sh.in AUTHORS COPYING ChangeLog INSTALL \
198 README TODO compile config.guess config.rpath config.sub \
199 depcomp install-sh ltmain.sh missing
200 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
201 distdir = $(PACKAGE)-$(VERSION)
202 top_distdir = $(distdir)
203 am__remove_distdir = \
204 if test -d "$(distdir)"; then \
205 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
206 && rm -rf "$(distdir)" \
207 || { sleep 5 && rm -rf "$(distdir)"; }; \
209 am__post_remove_distdir = $(am__remove_distdir)
212 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
213 sed_rest='s,^[^/]*/*,,'; \
214 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
215 sed_butlast='s,/*[^/]*$$,,'; \
216 while test -n "$$dir1"; do \
217 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
218 if test "$$first" != "."; then \
219 if test "$$first" = ".."; then \
220 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
221 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
223 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
224 if test "$$first2" = "$$first"; then \
225 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
229 dir0="$$dir0"/"$$first"; \
232 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
235 DIST_ARCHIVES = $(distdir).tar.gz
237 DIST_TARGETS = dist-gzip
238 distuninstallcheck_listfiles = find . -type f -print
239 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
240 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
241 distcleancheck_listfiles = find . -type f -print
244 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
247 AUTOCONF = @AUTOCONF@
248 AUTOHEADER = @AUTOHEADER@
249 AUTOMAKE = @AUTOMAKE@
252 CCDEPMODE = @CCDEPMODE@
255 CPPFLAGS = @CPPFLAGS@
256 CYGPATH_W = @CYGPATH_W@
260 DSYMUTIL = @DSYMUTIL@
269 HAVE_DOXYGEN = @HAVE_DOXYGEN@
271 INSTALL_DATA = @INSTALL_DATA@
272 INSTALL_PROGRAM = @INSTALL_PROGRAM@
273 INSTALL_SCRIPT = @INSTALL_SCRIPT@
274 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
277 LIBICONV = @LIBICONV@
281 LIBUSB_CFLAGS = @LIBUSB_CFLAGS@
282 LIBUSB_LIBS = @LIBUSB_LIBS@
283 LIBUSB_REQUIRES = @LIBUSB_REQUIRES@
286 LTLIBICONV = @LTLIBICONV@
287 LTLIBOBJS = @LTLIBOBJS@
288 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
289 MAKEINFO = @MAKEINFO@
290 MANIFEST_TOOL = @MANIFEST_TOOL@
300 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
301 PACKAGE_NAME = @PACKAGE_NAME@
302 PACKAGE_STRING = @PACKAGE_STRING@
303 PACKAGE_TARNAME = @PACKAGE_TARNAME@
304 PACKAGE_URL = @PACKAGE_URL@
305 PACKAGE_VERSION = @PACKAGE_VERSION@
306 PATH_SEPARATOR = @PATH_SEPARATOR@
307 PKG_CONFIG = @PKG_CONFIG@
308 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
309 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
312 SET_MAKE = @SET_MAKE@
316 UDEV_GROUP = @UDEV_GROUP@
317 UDEV_MODE = @UDEV_MODE@
318 UDEV_RULES = @UDEV_RULES@
320 abs_builddir = @abs_builddir@
321 abs_srcdir = @abs_srcdir@
322 abs_top_builddir = @abs_top_builddir@
323 abs_top_srcdir = @abs_top_srcdir@
324 ac_ct_AR = @ac_ct_AR@
325 ac_ct_CC = @ac_ct_CC@
326 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
327 am__include = @am__include@
328 am__leading_dot = @am__leading_dot@
329 am__quote = @am__quote@
331 am__untar = @am__untar@
334 build_alias = @build_alias@
335 build_cpu = @build_cpu@
336 build_os = @build_os@
337 build_vendor = @build_vendor@
338 builddir = @builddir@
340 datarootdir = @datarootdir@
343 effective_target = @effective_target@
344 exec_prefix = @exec_prefix@
346 host_alias = @host_alias@
347 host_cpu = @host_cpu@
349 host_vendor = @host_vendor@
351 includedir = @includedir@
353 install_sh = @install_sh@
355 libexecdir = @libexecdir@
356 localedir = @localedir@
357 localstatedir = @localstatedir@
360 ms_lib_exe = @ms_lib_exe@
361 oldincludedir = @oldincludedir@
364 program_transform_name = @program_transform_name@
367 sharedstatedir = @sharedstatedir@
369 sysconfdir = @sysconfdir@
370 target_alias = @target_alias@
371 top_build_prefix = @top_build_prefix@
372 top_builddir = @top_builddir@
373 top_srcdir = @top_srcdir@
374 SUBDIRS = src examples util doc
375 ACLOCAL_AMFLAGS = -I m4
376 pkgconfigdir = $(libdir)/pkgconfig
377 pkgconfig_DATA = libmtp.pc
378 EXTRA_DIST = libmtp.pc libmtp.sh COPYING README.windows.txt
380 # This stuff only makes sense on Linux so only
381 # build and ship it on Linux.
382 @USE_LINUX_TRUE@udevrulesdir = @UDEV@/rules.d
383 @USE_LINUX_TRUE@hwdbdir = @UDEV@/hwdb.d
384 @USE_LINUX_TRUE@udevrules_DATA = @UDEV_RULES@
385 @USE_LINUX_TRUE@hwdb_DATA = 69-libmtp.hwdb
386 @USE_LINUX_TRUE@noinst_DATA = libmtp.usermap libmtp.fdi
387 @USE_LINUX_TRUE@CLEANFILES = libmtp.usermap @UDEV_RULES@ libmtp.fdi libmtp.hwdb
389 $(MAKE) $(AM_MAKEFLAGS) all-recursive
392 am--refresh: Makefile
394 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
396 case '$(am__configure_deps)' in \
398 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
399 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
404 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
405 $(am__cd) $(top_srcdir) && \
406 $(AUTOMAKE) --foreign Makefile
407 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
410 echo ' $(SHELL) ./config.status'; \
411 $(SHELL) ./config.status;; \
413 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
414 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
417 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
418 $(SHELL) ./config.status --recheck
420 $(top_srcdir)/configure: $(am__configure_deps)
421 $(am__cd) $(srcdir) && $(AUTOCONF)
422 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
423 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
424 $(am__aclocal_m4_deps):
427 @test -f $@ || rm -f stamp-h1
428 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
430 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
432 cd $(top_builddir) && $(SHELL) ./config.status config.h
433 $(srcdir)/config.h.in: $(am__configure_deps)
434 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
439 -rm -f config.h stamp-h1
440 libmtp.sh: $(top_builddir)/config.status $(srcdir)/libmtp.sh.in
441 cd $(top_builddir) && $(SHELL) ./config.status $@
442 hotplug.sh: $(top_builddir)/config.status $(srcdir)/hotplug.sh.in
443 cd $(top_builddir) && $(SHELL) ./config.status $@
444 libmtp.pc: $(top_builddir)/config.status $(srcdir)/libmtp.pc.in
445 cd $(top_builddir) && $(SHELL) ./config.status $@
454 -rm -f libtool config.lt
455 install-hwdbDATA: $(hwdb_DATA)
457 @list='$(hwdb_DATA)'; test -n "$(hwdbdir)" || list=; \
458 if test -n "$$list"; then \
459 echo " $(MKDIR_P) '$(DESTDIR)$(hwdbdir)'"; \
460 $(MKDIR_P) "$(DESTDIR)$(hwdbdir)" || exit 1; \
462 for p in $$list; do \
463 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
465 done | $(am__base_list) | \
466 while read files; do \
467 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(hwdbdir)'"; \
468 $(INSTALL_DATA) $$files "$(DESTDIR)$(hwdbdir)" || exit $$?; \
473 @list='$(hwdb_DATA)'; test -n "$(hwdbdir)" || list=; \
474 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
475 dir='$(DESTDIR)$(hwdbdir)'; $(am__uninstall_files_from_dir)
476 install-pkgconfigDATA: $(pkgconfig_DATA)
478 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
479 if test -n "$$list"; then \
480 echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
481 $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
483 for p in $$list; do \
484 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
486 done | $(am__base_list) | \
487 while read files; do \
488 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
489 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
492 uninstall-pkgconfigDATA:
494 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
495 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
496 dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
497 install-udevrulesDATA: $(udevrules_DATA)
499 @list='$(udevrules_DATA)'; test -n "$(udevrulesdir)" || list=; \
500 if test -n "$$list"; then \
501 echo " $(MKDIR_P) '$(DESTDIR)$(udevrulesdir)'"; \
502 $(MKDIR_P) "$(DESTDIR)$(udevrulesdir)" || exit 1; \
504 for p in $$list; do \
505 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
507 done | $(am__base_list) | \
508 while read files; do \
509 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(udevrulesdir)'"; \
510 $(INSTALL_DATA) $$files "$(DESTDIR)$(udevrulesdir)" || exit $$?; \
513 uninstall-udevrulesDATA:
515 @list='$(udevrules_DATA)'; test -n "$(udevrulesdir)" || list=; \
516 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
517 dir='$(DESTDIR)$(udevrulesdir)'; $(am__uninstall_files_from_dir)
519 # This directory's subdirectories are mostly independent; you can cd
520 # into them and run 'make' without going through this Makefile.
521 # To change the values of 'make' variables: instead of editing Makefiles,
522 # (1) if the variable is set in 'config.status', edit 'config.status'
523 # (which will cause the Makefiles to be regenerated when you run 'make');
524 # (2) otherwise, pass the desired values on the 'make' command line.
525 $(am__recursive_targets):
527 if $(am__make_keepgoing); then \
528 failcom='fail=yes'; \
533 target=`echo $@ | sed s/-recursive//`; \
535 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
536 *) list='$(SUBDIRS)' ;; \
538 for subdir in $$list; do \
539 echo "Making $$target in $$subdir"; \
540 if test "$$subdir" = "."; then \
542 local_target="$$target-am"; \
544 local_target="$$target"; \
546 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
549 if test "$$dot_seen" = "no"; then \
550 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
553 ID: $(am__tagged_files)
554 $(am__define_uniq_tagged_files); mkid -fID $$unique
558 tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
561 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
562 include_option=--etags-include; \
565 include_option=--include; \
568 list='$(SUBDIRS)'; for subdir in $$list; do \
569 if test "$$subdir" = .; then :; else \
570 test ! -f $$subdir/TAGS || \
571 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
574 $(am__define_uniq_tagged_files); \
576 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
577 test -n "$$unique" || unique=$$empty_fix; \
578 if test $$# -gt 0; then \
579 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
582 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
586 ctags: ctags-recursive
589 ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
590 $(am__define_uniq_tagged_files); \
591 test -z "$(CTAGS_ARGS)$$unique" \
592 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
596 here=`$(am__cd) $(top_builddir) && pwd` \
597 && $(am__cd) $(top_srcdir) \
598 && gtags -i $(GTAGS_ARGS) "$$here"
600 test ! -s cscope.files \
601 || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
604 cscope.files: clean-cscope cscopelist
605 cscopelist: cscopelist-recursive
607 cscopelist-am: $(am__tagged_files)
608 list='$(am__tagged_files)'; \
609 case "$(srcdir)" in \
610 [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
611 *) sdir=$(subdir)/$(srcdir) ;; \
613 for i in $$list; do \
614 if test -f "$$i"; then \
615 echo "$(subdir)/$$i"; \
619 done >> $(top_builddir)/cscope.files
622 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
623 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
625 distdir: $(DISTFILES)
626 $(am__remove_distdir)
627 test -d "$(distdir)" || mkdir "$(distdir)"
628 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
629 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
630 list='$(DISTFILES)'; \
631 dist_files=`for file in $$list; do echo $$file; done | \
632 sed -e "s|^$$srcdirstrip/||;t" \
633 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
634 case $$dist_files in \
635 */*) $(MKDIR_P) `echo "$$dist_files" | \
636 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
639 for file in $$dist_files; do \
640 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
641 if test -d $$d/$$file; then \
642 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
643 if test -d "$(distdir)/$$file"; then \
644 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
646 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
647 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
648 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
650 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
652 test -f "$(distdir)/$$file" \
653 || cp -p $$d/$$file "$(distdir)/$$file" \
657 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
658 if test "$$subdir" = .; then :; else \
660 || test -d "$(distdir)/$$subdir" \
661 || $(MKDIR_P) "$(distdir)/$$subdir" \
663 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
665 new_distdir=$$reldir; \
666 dir1=$$subdir; dir2="$(top_distdir)"; \
668 new_top_distdir=$$reldir; \
669 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
670 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
671 ($(am__cd) $$subdir && \
672 $(MAKE) $(AM_MAKEFLAGS) \
673 top_distdir="$$new_top_distdir" \
674 distdir="$$new_distdir" \
675 am__remove_distdir=: \
676 am__skip_length_check=: \
677 am__skip_mode_fix=: \
682 -test -n "$(am__skip_mode_fix)" \
683 || find "$(distdir)" -type d ! -perm -755 \
684 -exec chmod u+rwx,go+rx {} \; -o \
685 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
686 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
687 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
688 || chmod -R a+r "$(distdir)"
690 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
691 $(am__post_remove_distdir)
694 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
695 $(am__post_remove_distdir)
698 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
699 $(am__post_remove_distdir)
702 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
703 $(am__post_remove_distdir)
706 @echo WARNING: "Support for distribution archives compressed with" \
707 "legacy program 'compress' is deprecated." >&2
708 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
709 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
710 $(am__post_remove_distdir)
713 @echo WARNING: "Support for shar distribution archives is" \
715 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
716 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
717 $(am__post_remove_distdir)
720 -rm -f $(distdir).zip
721 zip -rq $(distdir).zip $(distdir)
722 $(am__post_remove_distdir)
725 $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
726 $(am__post_remove_distdir)
728 # This target untars the dist file and tries a VPATH configuration. Then
729 # it guarantees that the distribution is self-contained by making another
732 case '$(DIST_ARCHIVES)' in \
734 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
736 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
738 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
740 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
742 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
744 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
746 unzip $(distdir).zip ;;\
748 chmod -R a-w $(distdir)
750 mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
752 test -d $(distdir)/_build || exit 0; \
753 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
754 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
756 && $(am__cd) $(distdir)/_build/sub \
758 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
759 $(DISTCHECK_CONFIGURE_FLAGS) \
760 --srcdir=../.. --prefix="$$dc_install_base" \
761 && $(MAKE) $(AM_MAKEFLAGS) \
762 && $(MAKE) $(AM_MAKEFLAGS) dvi \
763 && $(MAKE) $(AM_MAKEFLAGS) check \
764 && $(MAKE) $(AM_MAKEFLAGS) install \
765 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
766 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
767 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
769 && chmod -R a-w "$$dc_install_base" \
771 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
772 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
773 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
774 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
775 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
776 } || { rm -rf "$$dc_destdir"; exit 1; }) \
777 && rm -rf "$$dc_destdir" \
778 && $(MAKE) $(AM_MAKEFLAGS) dist \
779 && rm -rf $(DIST_ARCHIVES) \
780 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
783 $(am__post_remove_distdir)
784 @(echo "$(distdir) archives ready for distribution: "; \
785 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
786 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
788 @test -n '$(distuninstallcheck_dir)' || { \
789 echo 'ERROR: trying to run $@ with an empty' \
790 '$$(distuninstallcheck_dir)' >&2; \
793 $(am__cd) '$(distuninstallcheck_dir)' || { \
794 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
797 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
798 || { echo "ERROR: files left after uninstall:" ; \
799 if test -n "$(DESTDIR)"; then \
800 echo " (check DESTDIR support)"; \
802 $(distuninstallcheck_listfiles) ; \
804 distcleancheck: distclean
805 @if test '$(srcdir)' = . ; then \
806 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
809 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
810 || { echo "ERROR: files left in build directory after distclean:" ; \
811 $(distcleancheck_listfiles) ; \
814 check: check-recursive
815 all-am: Makefile $(DATA) config.h
816 installdirs: installdirs-recursive
818 for dir in "$(DESTDIR)$(hwdbdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(udevrulesdir)"; do \
819 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
821 install: install-recursive
822 install-exec: install-exec-recursive
823 install-data: install-data-recursive
824 uninstall: uninstall-recursive
827 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
829 installcheck: installcheck-recursive
831 if test -z '$(STRIP)'; then \
832 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
833 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
836 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
837 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
838 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
843 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
846 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
847 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
849 maintainer-clean-generic:
850 @echo "This command is intended for maintainers to use"
851 @echo "it deletes files that may require special tools to rebuild."
852 clean: clean-recursive
854 clean-am: clean-generic clean-libtool mostlyclean-am
856 distclean: distclean-recursive
857 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
859 distclean-am: clean-am distclean-generic distclean-hdr \
860 distclean-libtool distclean-tags
874 install-data-am: install-hwdbDATA install-pkgconfigDATA \
875 install-udevrulesDATA
877 install-dvi: install-dvi-recursive
883 install-html: install-html-recursive
887 install-info: install-info-recursive
893 install-pdf: install-pdf-recursive
897 install-ps: install-ps-recursive
903 maintainer-clean: maintainer-clean-recursive
904 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
905 -rm -rf $(top_srcdir)/autom4te.cache
907 maintainer-clean-am: distclean-am maintainer-clean-generic
909 mostlyclean: mostlyclean-recursive
911 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
921 uninstall-am: uninstall-hwdbDATA uninstall-pkgconfigDATA \
922 uninstall-udevrulesDATA
924 .MAKE: $(am__recursive_targets) all install-am install-strip
926 .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
927 am--refresh check check-am clean clean-cscope clean-generic \
928 clean-libtool cscope cscopelist-am ctags ctags-am dist \
929 dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
930 dist-xz dist-zip distcheck distclean distclean-generic \
931 distclean-hdr distclean-libtool distclean-tags distcleancheck \
932 distdir distuninstallcheck dvi dvi-am html html-am info \
933 info-am install install-am install-data install-data-am \
934 install-dvi install-dvi-am install-exec install-exec-am \
935 install-html install-html-am install-hwdbDATA install-info \
936 install-info-am install-man install-pdf install-pdf-am \
937 install-pkgconfigDATA install-ps install-ps-am install-strip \
938 install-udevrulesDATA installcheck installcheck-am installdirs \
939 installdirs-am maintainer-clean maintainer-clean-generic \
940 mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
941 ps ps-am tags tags-am uninstall uninstall-am \
942 uninstall-hwdbDATA uninstall-pkgconfigDATA \
943 uninstall-udevrulesDATA
948 @USE_LINUX_TRUE@libmtp.usermap: util/mtp-hotplug
949 @USE_LINUX_TRUE@ util/mtp-hotplug > libmtp.usermap
951 @USE_LINUX_TRUE@@UDEV_RULES@: util/mtp-hotplug
952 @USE_LINUX_TRUE@ util/mtp-hotplug -u -p"@UDEV@" @UDEV_GROUP@ @UDEV_MODE@ > @UDEV_RULES@
954 @USE_LINUX_TRUE@libmtp.fdi: util/mtp-hotplug
955 @USE_LINUX_TRUE@ util/mtp-hotplug -H > libmtp.fdi
957 @USE_LINUX_TRUE@$(hwdb_DATA): util/mtp-hotplug
958 @USE_LINUX_TRUE@ util/mtp-hotplug -w > $(hwdb_DATA)
960 # Tell versions [3.59,3.63) of GNU make to not export all variables.
961 # Otherwise a system limit (for SysV at least) may be exceeded.