blob: 2c20865273d9bb913c81c93c3842ec6af7ef9469 [file] [log] [blame]
Yavor Goulishev3aa430d2011-05-23 11:54:45 -07001# Makefile.in generated by automake 1.11 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18VPATH = @srcdir@
19pkgdatadir = $(datadir)/@PACKAGE@
20pkgincludedir = $(includedir)/@PACKAGE@
21pkglibdir = $(libdir)/@PACKAGE@
22pkglibexecdir = $(libexecdir)/@PACKAGE@
23am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24install_sh_DATA = $(install_sh) -c -m 644
25install_sh_PROGRAM = $(install_sh) -c
26install_sh_SCRIPT = $(install_sh) -c
27INSTALL_HEADER = $(INSTALL_DATA)
28transform = $(program_transform_name)
29NORMAL_INSTALL = :
30PRE_INSTALL = :
31POST_INSTALL = :
32NORMAL_UNINSTALL = :
33PRE_UNINSTALL = :
34POST_UNINSTALL = :
35build_triplet = @build@
36host_triplet = @host@
37subdir = .
38DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
40 $(srcdir)/hotplug.sh.in $(srcdir)/libmtp.pc.in \
41 $(srcdir)/libmtp.sh.in $(top_srcdir)/configure AUTHORS COPYING \
42 ChangeLog INSTALL TODO config.guess config.rpath config.sub \
43 depcomp install-sh ltmain.sh missing
44ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45am__aclocal_m4_deps = $(top_srcdir)/m4/byteorder.m4 \
46 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
47 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
48 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/stdint.m4 \
49 $(top_srcdir)/configure.ac
50am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51 $(ACLOCAL_M4)
52am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
53 configure.lineno config.status.lineno
54mkinstalldirs = $(install_sh) -d
55CONFIG_HEADER = config.h
56CONFIG_CLEAN_FILES = libmtp.sh hotplug.sh libmtp.pc
57CONFIG_CLEAN_VPATH_FILES =
58SOURCES =
59DIST_SOURCES =
60RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
61 html-recursive info-recursive install-data-recursive \
62 install-dvi-recursive install-exec-recursive \
63 install-html-recursive install-info-recursive \
64 install-pdf-recursive install-ps-recursive install-recursive \
65 installcheck-recursive installdirs-recursive pdf-recursive \
66 ps-recursive uninstall-recursive
67am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
68am__vpath_adj = case $$p in \
69 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
70 *) f=$$p;; \
71 esac;
72am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
73am__install_max = 40
74am__nobase_strip_setup = \
75 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
76am__nobase_strip = \
77 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
78am__nobase_list = $(am__nobase_strip_setup); \
79 for p in $$list; do echo "$$p $$p"; done | \
80 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
81 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
82 if (++n[$$2] == $(am__install_max)) \
83 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
84 END { for (dir in files) print dir, files[dir] }'
85am__base_list = \
86 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
87 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
88am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
89DATA = $(noinst_DATA) $(pkgconfig_DATA)
90RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
91 distclean-recursive maintainer-clean-recursive
92AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
93 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
94 distdir dist dist-all distcheck
95ETAGS = etags
96CTAGS = ctags
97DIST_SUBDIRS = $(SUBDIRS)
98DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
99distdir = $(PACKAGE)-$(VERSION)
100top_distdir = $(distdir)
101am__remove_distdir = \
102 { test ! -d "$(distdir)" \
103 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
104 && rm -fr "$(distdir)"; }; }
105am__relativize = \
106 dir0=`pwd`; \
107 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
108 sed_rest='s,^[^/]*/*,,'; \
109 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
110 sed_butlast='s,/*[^/]*$$,,'; \
111 while test -n "$$dir1"; do \
112 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
113 if test "$$first" != "."; then \
114 if test "$$first" = ".."; then \
115 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
116 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
117 else \
118 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
119 if test "$$first2" = "$$first"; then \
120 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
121 else \
122 dir2="../$$dir2"; \
123 fi; \
124 dir0="$$dir0"/"$$first"; \
125 fi; \
126 fi; \
127 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
128 done; \
129 reldir="$$dir2"
130DIST_ARCHIVES = $(distdir).tar.gz
131GZIP_ENV = --best
132distuninstallcheck_listfiles = find . -type f -print
133distcleancheck_listfiles = find . -type f -print
134ACLOCAL = @ACLOCAL@
135AMTAR = @AMTAR@
136AR = @AR@
137AS = @AS@
138AUTOCONF = @AUTOCONF@
139AUTOHEADER = @AUTOHEADER@
140AUTOMAKE = @AUTOMAKE@
141AWK = @AWK@
142CC = @CC@
143CCDEPMODE = @CCDEPMODE@
144CFLAGS = @CFLAGS@
145CPP = @CPP@
146CPPFLAGS = @CPPFLAGS@
147CYGPATH_W = @CYGPATH_W@
148DEFS = @DEFS@
149DEPDIR = @DEPDIR@
150DLLTOOL = @DLLTOOL@
151DSYMUTIL = @DSYMUTIL@
152DUMPBIN = @DUMPBIN@
153ECHO_C = @ECHO_C@
154ECHO_N = @ECHO_N@
155ECHO_T = @ECHO_T@
156EGREP = @EGREP@
157EXEEXT = @EXEEXT@
158FGREP = @FGREP@
159GREP = @GREP@
160HAVE_DOXYGEN = @HAVE_DOXYGEN@
161INSTALL = @INSTALL@
162INSTALL_DATA = @INSTALL_DATA@
163INSTALL_PROGRAM = @INSTALL_PROGRAM@
164INSTALL_SCRIPT = @INSTALL_SCRIPT@
165INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
166LD = @LD@
167LDFLAGS = @LDFLAGS@
168LIBICONV = @LIBICONV@
169LIBOBJS = @LIBOBJS@
170LIBS = @LIBS@
171LIBTOOL = @LIBTOOL@
172LIPO = @LIPO@
173LN_S = @LN_S@
174LTLIBICONV = @LTLIBICONV@
175LTLIBOBJS = @LTLIBOBJS@
176MAKEINFO = @MAKEINFO@
177MKDIR_P = @MKDIR_P@
178NM = @NM@
179NMEDIT = @NMEDIT@
180OBJDUMP = @OBJDUMP@
181OBJEXT = @OBJEXT@
182OSFLAGS = @OSFLAGS@
183OTOOL = @OTOOL@
184OTOOL64 = @OTOOL64@
185PACKAGE = @PACKAGE@
186PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
187PACKAGE_NAME = @PACKAGE_NAME@
188PACKAGE_STRING = @PACKAGE_STRING@
189PACKAGE_TARNAME = @PACKAGE_TARNAME@
190PACKAGE_VERSION = @PACKAGE_VERSION@
191PATH_SEPARATOR = @PATH_SEPARATOR@
192RANLIB = @RANLIB@
193SED = @SED@
194SET_MAKE = @SET_MAKE@
195SHELL = @SHELL@
196STRIP = @STRIP@
197VERSION = @VERSION@
198abs_builddir = @abs_builddir@
199abs_srcdir = @abs_srcdir@
200abs_top_builddir = @abs_top_builddir@
201abs_top_srcdir = @abs_top_srcdir@
202ac_ct_CC = @ac_ct_CC@
203ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
204am__include = @am__include@
205am__leading_dot = @am__leading_dot@
206am__quote = @am__quote@
207am__tar = @am__tar@
208am__untar = @am__untar@
209bindir = @bindir@
210build = @build@
211build_alias = @build_alias@
212build_cpu = @build_cpu@
213build_os = @build_os@
214build_vendor = @build_vendor@
215builddir = @builddir@
216datadir = @datadir@
217datarootdir = @datarootdir@
218docdir = @docdir@
219dvidir = @dvidir@
220effective_target = @effective_target@
221exec_prefix = @exec_prefix@
222host = @host@
223host_alias = @host_alias@
224host_cpu = @host_cpu@
225host_os = @host_os@
226host_vendor = @host_vendor@
227htmldir = @htmldir@
228includedir = @includedir@
229infodir = @infodir@
230install_sh = @install_sh@
231libdir = @libdir@
232libexecdir = @libexecdir@
233localedir = @localedir@
234localstatedir = @localstatedir@
235lt_ECHO = @lt_ECHO@
236mandir = @mandir@
237mkdir_p = @mkdir_p@
238ms_lib_exe = @ms_lib_exe@
239oldincludedir = @oldincludedir@
240pdfdir = @pdfdir@
241prefix = @prefix@
242program_transform_name = @program_transform_name@
243psdir = @psdir@
244sbindir = @sbindir@
245sharedstatedir = @sharedstatedir@
246srcdir = @srcdir@
247sysconfdir = @sysconfdir@
248target_alias = @target_alias@
249top_build_prefix = @top_build_prefix@
250top_builddir = @top_builddir@
251top_srcdir = @top_srcdir@
252SUBDIRS = src examples doc
253ACLOCAL_AMFLAGS = -I m4
254pkgconfigdir = $(libdir)/pkgconfig
255pkgconfig_DATA = libmtp.pc
256EXTRA_DIST = libmtp.pc libmtp.sh COPYING README.windows.txt
257noinst_DATA = libmtp.usermap libmtp.rules libmtp.fdi
258CLEANFILES = libmtp.usermap libmtp.rules libmtp.fdi
259all: config.h
260 $(MAKE) $(AM_MAKEFLAGS) all-recursive
261
262.SUFFIXES:
263am--refresh:
264 @:
265$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
266 @for dep in $?; do \
267 case '$(am__configure_deps)' in \
268 *$$dep*) \
269 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
270 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
271 && exit 0; \
272 exit 1;; \
273 esac; \
274 done; \
275 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
276 $(am__cd) $(top_srcdir) && \
277 $(AUTOMAKE) --foreign Makefile
278.PRECIOUS: Makefile
279Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
280 @case '$?' in \
281 *config.status*) \
282 echo ' $(SHELL) ./config.status'; \
283 $(SHELL) ./config.status;; \
284 *) \
285 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
286 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
287 esac;
288
289$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
290 $(SHELL) ./config.status --recheck
291
292$(top_srcdir)/configure: $(am__configure_deps)
293 $(am__cd) $(srcdir) && $(AUTOCONF)
294$(ACLOCAL_M4): $(am__aclocal_m4_deps)
295 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
296$(am__aclocal_m4_deps):
297
298config.h: stamp-h1
299 @if test ! -f $@; then \
300 rm -f stamp-h1; \
301 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
302 else :; fi
303
304stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
305 @rm -f stamp-h1
306 cd $(top_builddir) && $(SHELL) ./config.status config.h
307$(srcdir)/config.h.in: $(am__configure_deps)
308 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
309 rm -f stamp-h1
310 touch $@
311
312distclean-hdr:
313 -rm -f config.h stamp-h1
314libmtp.sh: $(top_builddir)/config.status $(srcdir)/libmtp.sh.in
315 cd $(top_builddir) && $(SHELL) ./config.status $@
316hotplug.sh: $(top_builddir)/config.status $(srcdir)/hotplug.sh.in
317 cd $(top_builddir) && $(SHELL) ./config.status $@
318libmtp.pc: $(top_builddir)/config.status $(srcdir)/libmtp.pc.in
319 cd $(top_builddir) && $(SHELL) ./config.status $@
320
321mostlyclean-libtool:
322 -rm -f *.lo
323
324clean-libtool:
325 -rm -rf .libs _libs
326
327distclean-libtool:
328 -rm -f libtool config.lt
329install-pkgconfigDATA: $(pkgconfig_DATA)
330 @$(NORMAL_INSTALL)
331 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
332 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
333 for p in $$list; do \
334 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
335 echo "$$d$$p"; \
336 done | $(am__base_list) | \
337 while read files; do \
338 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
339 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
340 done
341
342uninstall-pkgconfigDATA:
343 @$(NORMAL_UNINSTALL)
344 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
345 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
346 test -n "$$files" || exit 0; \
347 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
348 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
349
350# This directory's subdirectories are mostly independent; you can cd
351# into them and run `make' without going through this Makefile.
352# To change the values of `make' variables: instead of editing Makefiles,
353# (1) if the variable is set in `config.status', edit `config.status'
354# (which will cause the Makefiles to be regenerated when you run `make');
355# (2) otherwise, pass the desired values on the `make' command line.
356$(RECURSIVE_TARGETS):
357 @failcom='exit 1'; \
358 for f in x $$MAKEFLAGS; do \
359 case $$f in \
360 *=* | --[!k]*);; \
361 *k*) failcom='fail=yes';; \
362 esac; \
363 done; \
364 dot_seen=no; \
365 target=`echo $@ | sed s/-recursive//`; \
366 list='$(SUBDIRS)'; for subdir in $$list; do \
367 echo "Making $$target in $$subdir"; \
368 if test "$$subdir" = "."; then \
369 dot_seen=yes; \
370 local_target="$$target-am"; \
371 else \
372 local_target="$$target"; \
373 fi; \
374 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
375 || eval $$failcom; \
376 done; \
377 if test "$$dot_seen" = "no"; then \
378 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
379 fi; test -z "$$fail"
380
381$(RECURSIVE_CLEAN_TARGETS):
382 @failcom='exit 1'; \
383 for f in x $$MAKEFLAGS; do \
384 case $$f in \
385 *=* | --[!k]*);; \
386 *k*) failcom='fail=yes';; \
387 esac; \
388 done; \
389 dot_seen=no; \
390 case "$@" in \
391 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
392 *) list='$(SUBDIRS)' ;; \
393 esac; \
394 rev=''; for subdir in $$list; do \
395 if test "$$subdir" = "."; then :; else \
396 rev="$$subdir $$rev"; \
397 fi; \
398 done; \
399 rev="$$rev ."; \
400 target=`echo $@ | sed s/-recursive//`; \
401 for subdir in $$rev; do \
402 echo "Making $$target in $$subdir"; \
403 if test "$$subdir" = "."; then \
404 local_target="$$target-am"; \
405 else \
406 local_target="$$target"; \
407 fi; \
408 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
409 || eval $$failcom; \
410 done && test -z "$$fail"
411tags-recursive:
412 list='$(SUBDIRS)'; for subdir in $$list; do \
413 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
414 done
415ctags-recursive:
416 list='$(SUBDIRS)'; for subdir in $$list; do \
417 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
418 done
419
420ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
421 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
422 unique=`for i in $$list; do \
423 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
424 done | \
425 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
426 END { if (nonempty) { for (i in files) print i; }; }'`; \
427 mkid -fID $$unique
428tags: TAGS
429
430TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
431 $(TAGS_FILES) $(LISP)
432 set x; \
433 here=`pwd`; \
434 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
435 include_option=--etags-include; \
436 empty_fix=.; \
437 else \
438 include_option=--include; \
439 empty_fix=; \
440 fi; \
441 list='$(SUBDIRS)'; for subdir in $$list; do \
442 if test "$$subdir" = .; then :; else \
443 test ! -f $$subdir/TAGS || \
444 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
445 fi; \
446 done; \
447 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
448 unique=`for i in $$list; do \
449 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
450 done | \
451 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
452 END { if (nonempty) { for (i in files) print i; }; }'`; \
453 shift; \
454 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
455 test -n "$$unique" || unique=$$empty_fix; \
456 if test $$# -gt 0; then \
457 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
458 "$$@" $$unique; \
459 else \
460 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
461 $$unique; \
462 fi; \
463 fi
464ctags: CTAGS
465CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
466 $(TAGS_FILES) $(LISP)
467 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
468 unique=`for i in $$list; do \
469 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
470 done | \
471 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
472 END { if (nonempty) { for (i in files) print i; }; }'`; \
473 test -z "$(CTAGS_ARGS)$$unique" \
474 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
475 $$unique
476
477GTAGS:
478 here=`$(am__cd) $(top_builddir) && pwd` \
479 && $(am__cd) $(top_srcdir) \
480 && gtags -i $(GTAGS_ARGS) "$$here"
481
482distclean-tags:
483 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
484
485distdir: $(DISTFILES)
486 $(am__remove_distdir)
487 test -d "$(distdir)" || mkdir "$(distdir)"
488 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
489 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
490 list='$(DISTFILES)'; \
491 dist_files=`for file in $$list; do echo $$file; done | \
492 sed -e "s|^$$srcdirstrip/||;t" \
493 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
494 case $$dist_files in \
495 */*) $(MKDIR_P) `echo "$$dist_files" | \
496 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
497 sort -u` ;; \
498 esac; \
499 for file in $$dist_files; do \
500 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
501 if test -d $$d/$$file; then \
502 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
503 if test -d "$(distdir)/$$file"; then \
504 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
505 fi; \
506 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
507 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
508 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
509 fi; \
510 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
511 else \
512 test -f "$(distdir)/$$file" \
513 || cp -p $$d/$$file "$(distdir)/$$file" \
514 || exit 1; \
515 fi; \
516 done
517 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
518 if test "$$subdir" = .; then :; else \
519 test -d "$(distdir)/$$subdir" \
520 || $(MKDIR_P) "$(distdir)/$$subdir" \
521 || exit 1; \
522 fi; \
523 done
524 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
525 if test "$$subdir" = .; then :; else \
526 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
527 $(am__relativize); \
528 new_distdir=$$reldir; \
529 dir1=$$subdir; dir2="$(top_distdir)"; \
530 $(am__relativize); \
531 new_top_distdir=$$reldir; \
532 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
533 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
534 ($(am__cd) $$subdir && \
535 $(MAKE) $(AM_MAKEFLAGS) \
536 top_distdir="$$new_top_distdir" \
537 distdir="$$new_distdir" \
538 am__remove_distdir=: \
539 am__skip_length_check=: \
540 am__skip_mode_fix=: \
541 distdir) \
542 || exit 1; \
543 fi; \
544 done
545 -test -n "$(am__skip_mode_fix)" \
546 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
547 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
548 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
549 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
550 || chmod -R a+r "$(distdir)"
551dist-gzip: distdir
552 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
553 $(am__remove_distdir)
554
555dist-bzip2: distdir
556 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
557 $(am__remove_distdir)
558
559dist-lzma: distdir
560 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
561 $(am__remove_distdir)
562
563dist-xz: distdir
564 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
565 $(am__remove_distdir)
566
567dist-tarZ: distdir
568 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
569 $(am__remove_distdir)
570
571dist-shar: distdir
572 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
573 $(am__remove_distdir)
574
575dist-zip: distdir
576 -rm -f $(distdir).zip
577 zip -rq $(distdir).zip $(distdir)
578 $(am__remove_distdir)
579
580dist dist-all: distdir
581 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
582 $(am__remove_distdir)
583
584# This target untars the dist file and tries a VPATH configuration. Then
585# it guarantees that the distribution is self-contained by making another
586# tarfile.
587distcheck: dist
588 case '$(DIST_ARCHIVES)' in \
589 *.tar.gz*) \
590 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
591 *.tar.bz2*) \
592 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
593 *.tar.lzma*) \
594 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
595 *.tar.xz*) \
596 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
597 *.tar.Z*) \
598 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
599 *.shar.gz*) \
600 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
601 *.zip*) \
602 unzip $(distdir).zip ;;\
603 esac
604 chmod -R a-w $(distdir); chmod a+w $(distdir)
605 mkdir $(distdir)/_build
606 mkdir $(distdir)/_inst
607 chmod a-w $(distdir)
608 test -d $(distdir)/_build || exit 0; \
609 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
610 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
611 && am__cwd=`pwd` \
612 && $(am__cd) $(distdir)/_build \
613 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
614 $(DISTCHECK_CONFIGURE_FLAGS) \
615 && $(MAKE) $(AM_MAKEFLAGS) \
616 && $(MAKE) $(AM_MAKEFLAGS) dvi \
617 && $(MAKE) $(AM_MAKEFLAGS) check \
618 && $(MAKE) $(AM_MAKEFLAGS) install \
619 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
620 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
621 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
622 distuninstallcheck \
623 && chmod -R a-w "$$dc_install_base" \
624 && ({ \
625 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
626 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
627 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
628 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
629 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
630 } || { rm -rf "$$dc_destdir"; exit 1; }) \
631 && rm -rf "$$dc_destdir" \
632 && $(MAKE) $(AM_MAKEFLAGS) dist \
633 && rm -rf $(DIST_ARCHIVES) \
634 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
635 && cd "$$am__cwd" \
636 || exit 1
637 $(am__remove_distdir)
638 @(echo "$(distdir) archives ready for distribution: "; \
639 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
640 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
641distuninstallcheck:
642 @$(am__cd) '$(distuninstallcheck_dir)' \
643 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
644 || { echo "ERROR: files left after uninstall:" ; \
645 if test -n "$(DESTDIR)"; then \
646 echo " (check DESTDIR support)"; \
647 fi ; \
648 $(distuninstallcheck_listfiles) ; \
649 exit 1; } >&2
650distcleancheck: distclean
651 @if test '$(srcdir)' = . ; then \
652 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
653 exit 1 ; \
654 fi
655 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
656 || { echo "ERROR: files left in build directory after distclean:" ; \
657 $(distcleancheck_listfiles) ; \
658 exit 1; } >&2
659check-am: all-am
660check: check-recursive
661all-am: Makefile $(DATA) config.h
662installdirs: installdirs-recursive
663installdirs-am:
664 for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
665 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
666 done
667install: install-recursive
668install-exec: install-exec-recursive
669install-data: install-data-recursive
670uninstall: uninstall-recursive
671
672install-am: all-am
673 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
674
675installcheck: installcheck-recursive
676install-strip:
677 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
678 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
679 `test -z '$(STRIP)' || \
680 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
681mostlyclean-generic:
682
683clean-generic:
684 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
685
686distclean-generic:
687 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
688 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
689
690maintainer-clean-generic:
691 @echo "This command is intended for maintainers to use"
692 @echo "it deletes files that may require special tools to rebuild."
693clean: clean-recursive
694
695clean-am: clean-generic clean-libtool mostlyclean-am
696
697distclean: distclean-recursive
698 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
699 -rm -f Makefile
700distclean-am: clean-am distclean-generic distclean-hdr \
701 distclean-libtool distclean-tags
702
703dvi: dvi-recursive
704
705dvi-am:
706
707html: html-recursive
708
709html-am:
710
711info: info-recursive
712
713info-am:
714
715install-data-am: install-pkgconfigDATA
716
717install-dvi: install-dvi-recursive
718
719install-dvi-am:
720
721install-exec-am:
722
723install-html: install-html-recursive
724
725install-html-am:
726
727install-info: install-info-recursive
728
729install-info-am:
730
731install-man:
732
733install-pdf: install-pdf-recursive
734
735install-pdf-am:
736
737install-ps: install-ps-recursive
738
739install-ps-am:
740
741installcheck-am:
742
743maintainer-clean: maintainer-clean-recursive
744 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
745 -rm -rf $(top_srcdir)/autom4te.cache
746 -rm -f Makefile
747maintainer-clean-am: distclean-am maintainer-clean-generic
748
749mostlyclean: mostlyclean-recursive
750
751mostlyclean-am: mostlyclean-generic mostlyclean-libtool
752
753pdf: pdf-recursive
754
755pdf-am:
756
757ps: ps-recursive
758
759ps-am:
760
761uninstall-am: uninstall-pkgconfigDATA
762
763.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
764 ctags-recursive install-am install-strip tags-recursive
765
766.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
767 all all-am am--refresh check check-am clean clean-generic \
768 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
769 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
770 distcheck distclean distclean-generic distclean-hdr \
771 distclean-libtool distclean-tags distcleancheck distdir \
772 distuninstallcheck dvi dvi-am html html-am info info-am \
773 install install-am install-data install-data-am install-dvi \
774 install-dvi-am install-exec install-exec-am install-html \
775 install-html-am install-info install-info-am install-man \
776 install-pdf install-pdf-am install-pkgconfigDATA install-ps \
777 install-ps-am install-strip installcheck installcheck-am \
778 installdirs installdirs-am maintainer-clean \
779 maintainer-clean-generic mostlyclean mostlyclean-generic \
780 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
781 uninstall uninstall-am uninstall-pkgconfigDATA
782
783libmtp.usermap: examples/hotplug
784 examples/hotplug > libmtp.usermap
785libmtp.rules: examples/hotplug
786 examples/hotplug -u > libmtp.rules
787libmtp.fdi: examples/hotplug
788 examples/hotplug -H > libmtp.fdi
789
790# Tell versions [3.59,3.63) of GNU make to not export all variables.
791# Otherwise a system limit (for SysV at least) may be exceeded.
792.NOEXPORT: