The magicolor device apparently does not support WAIT_FOR_BUTTON
[sane-backend-magicolor.git] / Makefile.in
blob3c993444a678fb45a19207b3155d234fa46a22b9
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
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.
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.
16 @SET_MAKE@
17 VPATH = @srcdir@
18 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
22 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA = $(install_sh) -c -m 644
24 install_sh_PROGRAM = $(install_sh) -c
25 install_sh_SCRIPT = $(install_sh) -c
26 INSTALL_HEADER = $(INSTALL_DATA)
27 transform = $(program_transform_name)
28 NORMAL_INSTALL = :
29 PRE_INSTALL = :
30 POST_INSTALL = :
31 NORMAL_UNINSTALL = :
32 PRE_UNINSTALL = :
33 POST_UNINSTALL = :
34 build_triplet = @build@
35 host_triplet = @host@
36 subdir = .
37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
38 $(srcdir)/Makefile.in $(top_srcdir)/configure \
39 $(top_srcdir)/include/sane/config.h.in AUTHORS COPYING \
40 ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \
41 install-sh ltmain.sh missing mkinstalldirs
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
44 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/byteorder.m4 \
45 $(top_srcdir)/m4/stdint.m4 $(top_srcdir)/configure.in
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47 $(ACLOCAL_M4)
48 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
49 configure.lineno config.status.lineno
50 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
51 CONFIG_HEADER = $(top_builddir)/include/sane/config.h
52 CONFIG_CLEAN_FILES =
53 CONFIG_CLEAN_VPATH_FILES =
54 SOURCES =
55 DIST_SOURCES =
56 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
57 html-recursive info-recursive install-data-recursive \
58 install-dvi-recursive install-exec-recursive \
59 install-html-recursive install-info-recursive \
60 install-pdf-recursive install-ps-recursive install-recursive \
61 installcheck-recursive installdirs-recursive pdf-recursive \
62 ps-recursive uninstall-recursive
63 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
64 distclean-recursive maintainer-clean-recursive
65 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
66 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
67 distdir dist dist-all distcheck
68 ETAGS = etags
69 CTAGS = ctags
70 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
71 distdir = $(PACKAGE)-$(VERSION)
72 top_distdir = $(distdir)
73 am__remove_distdir = \
74 { test ! -d "$(distdir)" \
75 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
76 && rm -fr "$(distdir)"; }; }
77 am__relativize = \
78 dir0=`pwd`; \
79 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
80 sed_rest='s,^[^/]*/*,,'; \
81 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
82 sed_butlast='s,/*[^/]*$$,,'; \
83 while test -n "$$dir1"; do \
84 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
85 if test "$$first" != "."; then \
86 if test "$$first" = ".."; then \
87 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
88 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
89 else \
90 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
91 if test "$$first2" = "$$first"; then \
92 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
93 else \
94 dir2="../$$dir2"; \
95 fi; \
96 dir0="$$dir0"/"$$first"; \
97 fi; \
98 fi; \
99 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
100 done; \
101 reldir="$$dir2"
102 DIST_ARCHIVES = $(distdir).tar.gz
103 GZIP_ENV = --best
104 distuninstallcheck_listfiles = find . -type f -print
105 distcleancheck_listfiles = find . -type f -print
106 ACLOCAL = @ACLOCAL@
107 ALLOCA = @ALLOCA@
108 AMTAR = @AMTAR@
109 AR = @AR@
110 AS = @AS@
111 AUTOCONF = @AUTOCONF@
112 AUTOHEADER = @AUTOHEADER@
113 AUTOMAKE = @AUTOMAKE@
114 AVAHI_CFLAGS = @AVAHI_CFLAGS@
115 AVAHI_LIBS = @AVAHI_LIBS@
116 AWK = @AWK@
117 BACKEND_CONFS_ENABLED = @BACKEND_CONFS_ENABLED@
118 BACKEND_LIBS_ENABLED = @BACKEND_LIBS_ENABLED@
119 BACKEND_MANS_ENABLED = @BACKEND_MANS_ENABLED@
120 CC = @CC@
121 CCDEPMODE = @CCDEPMODE@
122 CFLAGS = @CFLAGS@
123 CPP = @CPP@
124 CPPFLAGS = @CPPFLAGS@
125 CYGPATH_W = @CYGPATH_W@
126 DEFS = @DEFS@
127 DEPDIR = @DEPDIR@
128 DISTCLEAN_FILES = @DISTCLEAN_FILES@
129 DLLTOOL = @DLLTOOL@
130 DL_LIBS = @DL_LIBS@
131 DSYMUTIL = @DSYMUTIL@
132 DUMPBIN = @DUMPBIN@
133 DVIPS = @DVIPS@
134 DYNAMIC_FLAG = @DYNAMIC_FLAG@
135 ECHO_C = @ECHO_C@
136 ECHO_N = @ECHO_N@
137 ECHO_T = @ECHO_T@
138 EGREP = @EGREP@
139 EXEEXT = @EXEEXT@
140 FGREP = @FGREP@
141 GPHOTO2_CPPFLAGS = @GPHOTO2_CPPFLAGS@
142 GPHOTO2_LDFLAGS = @GPHOTO2_LDFLAGS@
143 GPHOTO2_LIBS = @GPHOTO2_LIBS@
144 GREP = @GREP@
145 HAVE_GPHOTO2 = @HAVE_GPHOTO2@
146 IEEE1284_LIBS = @IEEE1284_LIBS@
147 INCLUDES = @INCLUDES@
148 INSTALL = @INSTALL@
149 INSTALL_DATA = @INSTALL_DATA@
150 INSTALL_LOCKPATH = @INSTALL_LOCKPATH@
151 INSTALL_PROGRAM = @INSTALL_PROGRAM@
152 INSTALL_SCRIPT = @INSTALL_SCRIPT@
153 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
154 JPEG_LIBS = @JPEG_LIBS@
155 LATEX = @LATEX@
156 LD = @LD@
157 LDFLAGS = @LDFLAGS@
158 LIBOBJS = @LIBOBJS@
159 LIBS = @LIBS@
160 LIBTOOL = @LIBTOOL@
161 LIBUSB_1_0_CFLAGS = @LIBUSB_1_0_CFLAGS@
162 LIBUSB_1_0_LIBS = @LIBUSB_1_0_LIBS@
163 LIBV4L_CFLAGS = @LIBV4L_CFLAGS@
164 LIBV4L_LIBS = @LIBV4L_LIBS@
165 LINKER_RPATH = @LINKER_RPATH@
166 LIPO = @LIPO@
167 LN_S = @LN_S@
168 LOCKPATH_GROUP = @LOCKPATH_GROUP@
169 LTLIBOBJS = @LTLIBOBJS@
170 MAINT = @MAINT@
171 MAKEINDEX = @MAKEINDEX@
172 MAKEINFO = @MAKEINFO@
173 MATH_LIB = @MATH_LIB@
174 MKDIR_P = @MKDIR_P@
175 MSGFMT = @MSGFMT@
176 MSGMERGE = @MSGMERGE@
177 NM = @NM@
178 NMEDIT = @NMEDIT@
179 NUMBER_VERSION = @NUMBER_VERSION@
180 OBJDUMP = @OBJDUMP@
181 OBJEXT = @OBJEXT@
182 OTOOL = @OTOOL@
183 OTOOL64 = @OTOOL64@
184 PACKAGE = @PACKAGE@
185 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
186 PACKAGE_NAME = @PACKAGE_NAME@
187 PACKAGE_STRING = @PACKAGE_STRING@
188 PACKAGE_TARNAME = @PACKAGE_TARNAME@
189 PACKAGE_URL = @PACKAGE_URL@
190 PACKAGE_VERSION = @PACKAGE_VERSION@
191 PATH_SEPARATOR = @PATH_SEPARATOR@
192 PKG_CONFIG = @PKG_CONFIG@
193 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
194 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
195 PRELOADABLE_BACKENDS = @PRELOADABLE_BACKENDS@
196 PRELOADABLE_BACKENDS_ENABLED = @PRELOADABLE_BACKENDS_ENABLED@
197 PTHREAD_LIBS = @PTHREAD_LIBS@
198 RANLIB = @RANLIB@
199 SANEI_SANEI_JPEG_LO = @SANEI_SANEI_JPEG_LO@
200 SANE_CONFIG_PATH = @SANE_CONFIG_PATH@
201 SCSI_LIBS = @SCSI_LIBS@
202 SED = @SED@
203 SET_MAKE = @SET_MAKE@
204 SHELL = @SHELL@
205 SNMP_CONFIG_PATH = @SNMP_CONFIG_PATH@
206 SOCKET_LIBS = @SOCKET_LIBS@
207 STRICT_LDFLAGS = @STRICT_LDFLAGS@
208 STRIP = @STRIP@
209 SYSLOG_LIBS = @SYSLOG_LIBS@
210 TIFF_LIBS = @TIFF_LIBS@
211 USB_LIBS = @USB_LIBS@
212 VERSION = @VERSION@
213 V_MAJOR = @V_MAJOR@
214 V_MINOR = @V_MINOR@
215 V_REV = @V_REV@
216 XGETTEXT = @XGETTEXT@
217 abs_builddir = @abs_builddir@
218 abs_srcdir = @abs_srcdir@
219 abs_top_builddir = @abs_top_builddir@
220 abs_top_srcdir = @abs_top_srcdir@
221 ac_ct_CC = @ac_ct_CC@
222 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
223 am__include = @am__include@
224 am__leading_dot = @am__leading_dot@
225 am__quote = @am__quote@
226 am__tar = @am__tar@
227 am__untar = @am__untar@
228 bindir = @bindir@
229 build = @build@
230 build_alias = @build_alias@
231 build_cpu = @build_cpu@
232 build_os = @build_os@
233 build_vendor = @build_vendor@
234 builddir = @builddir@
235 configdir = @configdir@
236 datadir = @datadir@
237 datarootdir = @datarootdir@
238 docdir = @docdir@
239 dvidir = @dvidir@
240 effective_target = @effective_target@
241 exec_prefix = @exec_prefix@
242 host = @host@
243 host_alias = @host_alias@
244 host_cpu = @host_cpu@
245 host_os = @host_os@
246 host_vendor = @host_vendor@
247 htmldir = @htmldir@
248 includedir = @includedir@
249 infodir = @infodir@
250 install_sh = @install_sh@
251 libdir = @libdir@
252 libexecdir = @libexecdir@
253 localedir = @localedir@
254 localstatedir = @localstatedir@
255 locksanedir = @locksanedir@
256 lt_ECHO = @lt_ECHO@
257 mandir = @mandir@
258 mkdir_p = @mkdir_p@
259 oldincludedir = @oldincludedir@
260 pdfdir = @pdfdir@
261 prefix = @prefix@
262 program_transform_name = @program_transform_name@
263 psdir = @psdir@
264 sbindir = @sbindir@
265 sharedstatedir = @sharedstatedir@
266 srcdir = @srcdir@
267 sysconfdir = @sysconfdir@
268 target_alias = @target_alias@
269 top_build_prefix = @top_build_prefix@
270 top_builddir = @top_builddir@
271 top_srcdir = @top_srcdir@
272 SUBDIRS = include lib sanei backend doc
273 DIST_SUBDIRS = include lib sanei backend doc
274 EXTRA_DIST = ChangeLog-1.0.0 ChangeLog-1.0.1 ChangeLog-1.0.2 \
275 ChangeLog-1.0.3 ChangeLog-1.0.4 ChangeLog-1.0.5 ChangeLog-1.0.6 \
276 ChangeLog-1.0.7 ChangeLog-1.0.8 ChangeLog-1.0.9 ChangeLog-1.0.10 \
277 ChangeLog-1.0.12 ChangeLog-1.0.13 ChangeLog-1.0.14 ChangeLog-1.0.15 \
278 ChangeLog-1.0.16 ChangeLog-1.0.17 ChangeLog-1.0.18 ChangeLog-1.0.19 \
279 $(PACKAGE).lsm
283 # Keep the .cvsignore files sorted, and use this target to do it.
285 PERL = perl
286 all: all-recursive
288 .SUFFIXES:
289 am--refresh:
291 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
292 @for dep in $?; do \
293 case '$(am__configure_deps)' in \
294 *$$dep*) \
295 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
296 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
297 && exit 0; \
298 exit 1;; \
299 esac; \
300 done; \
301 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
302 $(am__cd) $(top_srcdir) && \
303 $(AUTOMAKE) --gnu Makefile
304 .PRECIOUS: Makefile
305 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
306 @case '$?' in \
307 *config.status*) \
308 echo ' $(SHELL) ./config.status'; \
309 $(SHELL) ./config.status;; \
310 *) \
311 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
312 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
313 esac;
315 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
316 $(SHELL) ./config.status --recheck
318 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
319 $(am__cd) $(srcdir) && $(AUTOCONF)
320 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
321 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
322 $(am__aclocal_m4_deps):
324 include/sane/config.h: include/sane/stamp-h1
325 @if test ! -f $@; then \
326 rm -f include/sane/stamp-h1; \
327 $(MAKE) $(AM_MAKEFLAGS) include/sane/stamp-h1; \
328 else :; fi
330 include/sane/stamp-h1: $(top_srcdir)/include/sane/config.h.in $(top_builddir)/config.status
331 @rm -f include/sane/stamp-h1
332 cd $(top_builddir) && $(SHELL) ./config.status include/sane/config.h
333 $(top_srcdir)/include/sane/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
334 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
335 rm -f include/sane/stamp-h1
336 touch $@
338 distclean-hdr:
339 -rm -f include/sane/config.h include/sane/stamp-h1
341 mostlyclean-libtool:
342 -rm -f *.lo
344 clean-libtool:
345 -rm -rf .libs _libs
347 distclean-libtool:
348 -rm -f libtool config.lt
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 @fail= 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"
381 $(RECURSIVE_CLEAN_TARGETS):
382 @fail= 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"
411 tags-recursive:
412 list='$(SUBDIRS)'; for subdir in $$list; do \
413 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
414 done
415 ctags-recursive:
416 list='$(SUBDIRS)'; for subdir in $$list; do \
417 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
418 done
420 ID: $(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
428 tags: TAGS
430 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(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) $(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; \
464 ctags: CTAGS
465 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
466 $(TAGS_FILES) $(LISP)
467 list='$(SOURCES) $(HEADERS) $(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
477 GTAGS:
478 here=`$(am__cd) $(top_builddir) && pwd` \
479 && $(am__cd) $(top_srcdir) \
480 && gtags -i $(GTAGS_ARGS) "$$here"
482 distclean-tags:
483 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
485 distdir: $(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 -755 \
547 -exec chmod u+rwx,go+rx {} \; -o \
548 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
549 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
550 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
551 || chmod -R a+r "$(distdir)"
552 dist-gzip: distdir
553 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
554 $(am__remove_distdir)
556 dist-bzip2: distdir
557 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
558 $(am__remove_distdir)
560 dist-lzma: distdir
561 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
562 $(am__remove_distdir)
564 dist-xz: distdir
565 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
566 $(am__remove_distdir)
568 dist-tarZ: distdir
569 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
570 $(am__remove_distdir)
572 dist-shar: distdir
573 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
574 $(am__remove_distdir)
576 dist-zip: distdir
577 -rm -f $(distdir).zip
578 zip -rq $(distdir).zip $(distdir)
579 $(am__remove_distdir)
581 dist dist-all: distdir
582 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
583 $(am__remove_distdir)
585 # This target untars the dist file and tries a VPATH configuration. Then
586 # it guarantees that the distribution is self-contained by making another
587 # tarfile.
588 distcheck: dist
589 case '$(DIST_ARCHIVES)' in \
590 *.tar.gz*) \
591 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
592 *.tar.bz2*) \
593 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
594 *.tar.lzma*) \
595 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
596 *.tar.xz*) \
597 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
598 *.tar.Z*) \
599 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
600 *.shar.gz*) \
601 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
602 *.zip*) \
603 unzip $(distdir).zip ;;\
604 esac
605 chmod -R a-w $(distdir); chmod a+w $(distdir)
606 mkdir $(distdir)/_build
607 mkdir $(distdir)/_inst
608 chmod a-w $(distdir)
609 test -d $(distdir)/_build || exit 0; \
610 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
611 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
612 && am__cwd=`pwd` \
613 && $(am__cd) $(distdir)/_build \
614 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
615 $(DISTCHECK_CONFIGURE_FLAGS) \
616 && $(MAKE) $(AM_MAKEFLAGS) \
617 && $(MAKE) $(AM_MAKEFLAGS) dvi \
618 && $(MAKE) $(AM_MAKEFLAGS) check \
619 && $(MAKE) $(AM_MAKEFLAGS) install \
620 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
621 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
622 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
623 distuninstallcheck \
624 && chmod -R a-w "$$dc_install_base" \
625 && ({ \
626 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
627 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
628 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
629 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
630 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
631 } || { rm -rf "$$dc_destdir"; exit 1; }) \
632 && rm -rf "$$dc_destdir" \
633 && $(MAKE) $(AM_MAKEFLAGS) dist \
634 && rm -rf $(DIST_ARCHIVES) \
635 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
636 && cd "$$am__cwd" \
637 || exit 1
638 $(am__remove_distdir)
639 @(echo "$(distdir) archives ready for distribution: "; \
640 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
641 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
642 distuninstallcheck:
643 @$(am__cd) '$(distuninstallcheck_dir)' \
644 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
645 || { echo "ERROR: files left after uninstall:" ; \
646 if test -n "$(DESTDIR)"; then \
647 echo " (check DESTDIR support)"; \
648 fi ; \
649 $(distuninstallcheck_listfiles) ; \
650 exit 1; } >&2
651 distcleancheck: distclean
652 @if test '$(srcdir)' = . ; then \
653 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
654 exit 1 ; \
656 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
657 || { echo "ERROR: files left in build directory after distclean:" ; \
658 $(distcleancheck_listfiles) ; \
659 exit 1; } >&2
660 check-am: all-am
661 check: check-recursive
662 all-am: Makefile
663 installdirs: installdirs-recursive
664 installdirs-am:
665 install: install-recursive
666 install-exec: install-exec-recursive
667 install-data: install-data-recursive
668 uninstall: uninstall-recursive
670 install-am: all-am
671 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
673 installcheck: installcheck-recursive
674 install-strip:
675 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
676 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
677 `test -z '$(STRIP)' || \
678 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
679 mostlyclean-generic:
681 clean-generic:
683 distclean-generic:
684 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
685 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
687 maintainer-clean-generic:
688 @echo "This command is intended for maintainers to use"
689 @echo "it deletes files that may require special tools to rebuild."
690 clean: clean-recursive
692 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
694 distclean: distclean-recursive
695 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
696 -rm -f Makefile
697 distclean-am: clean-am distclean-generic distclean-hdr \
698 distclean-libtool distclean-local distclean-tags
700 dvi: dvi-recursive
702 dvi-am:
704 html: html-recursive
706 html-am:
708 info: info-recursive
710 info-am:
712 install-data-am:
714 install-dvi: install-dvi-recursive
716 install-dvi-am:
718 install-exec-am:
720 install-html: install-html-recursive
722 install-html-am:
724 install-info: install-info-recursive
726 install-info-am:
728 install-man:
730 install-pdf: install-pdf-recursive
732 install-pdf-am:
734 install-ps: install-ps-recursive
736 install-ps-am:
738 installcheck-am: installcheck-local
740 maintainer-clean: maintainer-clean-recursive
741 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
742 -rm -rf $(top_srcdir)/autom4te.cache
743 -rm -f Makefile
744 maintainer-clean-am: distclean-am maintainer-clean-generic
746 mostlyclean: mostlyclean-recursive
748 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
750 pdf: pdf-recursive
752 pdf-am:
754 ps: ps-recursive
756 ps-am:
758 uninstall-am:
760 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
761 install-am install-strip tags-recursive
763 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
764 all all-am am--refresh check check-am clean clean-generic \
765 clean-libtool clean-local ctags ctags-recursive dist dist-all \
766 dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \
767 dist-zip distcheck distclean distclean-generic distclean-hdr \
768 distclean-libtool distclean-local distclean-tags \
769 distcleancheck distdir distuninstallcheck dvi dvi-am html \
770 html-am info info-am install install-am install-data \
771 install-data-am install-dvi install-dvi-am install-exec \
772 install-exec-am install-html install-html-am install-info \
773 install-info-am install-man install-pdf install-pdf-am \
774 install-ps install-ps-am install-strip installcheck \
775 installcheck-am installcheck-local installdirs installdirs-am \
776 maintainer-clean maintainer-clean-generic mostlyclean \
777 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
778 tags tags-recursive uninstall uninstall-am
780 sort-cvsignore:
781 for f in `find . -name .cvsignore`; do \
782 $(PERL) -e 'print sort <>;' < $$f > $$f.tmptmp; \
783 mv $$f.tmptmp $$f; \
784 done
787 # Check to make sure only sane_ and sanei_ symbols are exported from
788 # the libraries
790 libcheck:
791 @echo "Libraries exporting 'illegal' symbols:"
792 @for lib in backend/.libs/*.so backend/.libs/*.a; do \
793 lines=`nm -g $$lib|grep '\( T \)\|\( D \)'|egrep -v ' _fini| _init'|egrep -v ' sane_| sanei_'`; \
794 if test -n "$$lines" ; then \
795 echo -e "*** $$lib:\n$$lines"; \
796 found_errors="yes"; \
797 fi \
798 done; \
799 echo; \
800 echo "Libraries exporting 'non-standard sane_*' symbols:"; \
801 for lib in backend/.libs/*.so backend/.libs/*.a; do \
802 lines=`nm -g $$lib|grep '\( T \)\|\( D \)'|egrep ' sane_' | egrep -v 'sane_.*init|sane_.*exit|sane_.*get_devices|sane_.*open|sane_.*close|sane_.*get_option_descriptor|sane_.*control_option|sane_.*get_parameters|sane_.*start|sane_.*read|sane_.*cancel|sane_.*set_io_mode|sane_.*get_select_fd|sane_strstatus'` ; \
803 if test -n "$$lines" ; then \
804 echo -e "*** $$lib:\n$$lines"; \
805 found_errors="yes"; \
806 fi \
807 done;
808 if test ! -z $$found_errors ; then \
809 exit 1; \
812 # Verify that backends do not contain any unwanted public symbols
813 # anytime check or distcheck is ran.
814 # TODO: Currently this doesn't pass. Uncomment once symbols have
815 # been cleaned up.
816 #check-am: libcheck
818 # Run testsuite any time installcheck or distcheck is ran.
819 # Must run testsuite after install or else shared library backends
820 # will not be found (including test backend).
821 installcheck-local:
822 cd testsuite && $(MAKE) test.local
824 $(distdir).lsm: dist $(PACKAGE).lsm
825 ( cat $(PACKAGE).lsm | \
826 sed -e "s|_DATE_|`date +%d%b%y`|g" |\
827 sed -e "s|_VERSION_|$(VERSION)|g" | \
828 sed -e "s|_T_S_|`find $(distdir).tar.gz -printf "%4k"`|g" |\
829 sed -e "s|_L_S_|`find $(PACKAGE).lsm -printf "%4k"`|g" >\
830 $(distdir).lsm \
832 lsm: $(distdir).lsm
834 md5: dist
835 md5sum $(distdir).tar.gz > $(distdir).tar.gz.md5
837 sane-backends: lsm md5
839 # Clean files created by custom targets in this file.
840 clean-local:
841 rm -f sane-backends-*.lsm
842 rm -f $(distdir).tar.gz.md5
844 # Clean files created by configure
845 distclean-local:
846 rm -f include/_stdint.h
847 rm -f include/byteorder.h
849 # Tell versions [3.59,3.63) of GNU make to not export all variables.
850 # Otherwise a system limit (for SysV at least) may be exceeded.
851 .NOEXPORT: