1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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
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
)
34 build_triplet
= @build@
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
) \
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
53 CONFIG_CLEAN_VPATH_FILES
=
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
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)"; }; }
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"`; \
90 first2
=`echo "$$dir2" | sed -e "$$sed_first"`; \
91 if
test "$$first2" = "$$first"; then \
92 dir2
=`echo "$$dir2" | sed -e "$$sed_rest"`; \
96 dir0
="$$dir0"/"$$first"; \
99 dir1
=`echo "$$dir1" | sed -e "$$sed_rest"`; \
102 DIST_ARCHIVES
= $(distdir
).
tar.gz
104 distuninstallcheck_listfiles
= find .
-type f
-print
105 distcleancheck_listfiles
= find .
-type f
-print
111 AUTOCONF
= @AUTOCONF@
112 AUTOHEADER
= @AUTOHEADER@
113 AUTOMAKE
= @AUTOMAKE@
114 AVAHI_CFLAGS
= @AVAHI_CFLAGS@
115 AVAHI_LIBS
= @AVAHI_LIBS@
117 BACKEND_CONFS_ENABLED
= @BACKEND_CONFS_ENABLED@
118 BACKEND_LIBS_ENABLED
= @BACKEND_LIBS_ENABLED@
119 BACKEND_MANS_ENABLED
= @BACKEND_MANS_ENABLED@
121 CCDEPMODE
= @CCDEPMODE@
124 CPPFLAGS
= @CPPFLAGS@
125 CYGPATH_W
= @CYGPATH_W@
128 DISTCLEAN_FILES
= @DISTCLEAN_FILES@
131 DSYMUTIL
= @DSYMUTIL@
134 DYNAMIC_FLAG
= @DYNAMIC_FLAG@
141 GPHOTO2_CPPFLAGS
= @GPHOTO2_CPPFLAGS@
142 GPHOTO2_LDFLAGS
= @GPHOTO2_LDFLAGS@
143 GPHOTO2_LIBS
= @GPHOTO2_LIBS@
145 HAVE_GPHOTO2
= @HAVE_GPHOTO2@
146 IEEE1284_LIBS
= @IEEE1284_LIBS@
147 INCLUDES
= @INCLUDES@
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@
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@
168 LOCKPATH_GROUP
= @LOCKPATH_GROUP@
169 LTLIBOBJS
= @LTLIBOBJS@
171 MAKEINDEX
= @MAKEINDEX@
172 MAKEINFO
= @MAKEINFO@
173 MATH_LIB
= @MATH_LIB@
176 MSGMERGE
= @MSGMERGE@
179 NUMBER_VERSION
= @NUMBER_VERSION@
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@
199 SANEI_SANEI_JPEG_LO
= @SANEI_SANEI_JPEG_LO@
200 SANE_CONFIG_PATH
= @SANE_CONFIG_PATH@
201 SCSI_LIBS
= @SCSI_LIBS@
203 SET_MAKE
= @SET_MAKE@
205 SNMP_CONFIG_PATH
= @SNMP_CONFIG_PATH@
206 SOCKET_LIBS
= @SOCKET_LIBS@
207 STRICT_LDFLAGS
= @STRICT_LDFLAGS@
209 SYSLOG_LIBS
= @SYSLOG_LIBS@
210 TIFF_LIBS
= @TIFF_LIBS@
211 USB_LIBS
= @USB_LIBS@
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@
227 am__untar
= @am__untar@
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@
237 datarootdir
= @datarootdir@
240 effective_target
= @effective_target@
241 exec_prefix = @
exec_prefix@
243 host_alias
= @host_alias@
244 host_cpu
= @host_cpu@
246 host_vendor
= @host_vendor@
248 includedir = @
includedir@
250 install_sh
= @install_sh@
252 libexecdir
= @libexecdir@
253 localedir
= @localedir@
254 localstatedir
= @localstatedir@
255 locksanedir
= @locksanedir@
259 oldincludedir = @
oldincludedir@
262 program_transform_name
= @program_transform_name@
265 sharedstatedir
= @sharedstatedir@
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 \
283 # Keep the .cvsignore files sorted, and use this target to do it.
291 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(am__configure_deps
)
293 case
'$(am__configure_deps)' in \
295 echo
' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
296 $(am__cd
) $(srcdir) && $(AUTOMAKE
) --gnu \
301 echo
' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
302 $(am__cd
) $(top_srcdir
) && \
303 $(AUTOMAKE
) --gnu Makefile
305 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
308 echo
' $(SHELL) ./config.status'; \
309 $(SHELL
) .
/config.status
;; \
311 echo
' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
312 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
);; \
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
; \
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
339 -rm -f
include/sane
/config.h
include/sane
/stamp-h1
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 \
361 *k
*) failcom
='fail=yes';; \
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 \
370 local_target
="$$target-am"; \
372 local_target
="$$target"; \
374 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
377 if
test "$$dot_seen" = "no"; then \
378 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
381 $(RECURSIVE_CLEAN_TARGETS
):
382 @fail
= failcom
='exit 1'; \
383 for f in x
$$MAKEFLAGS; do \
386 *k
*) failcom
='fail=yes';; \
391 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
392 *) list
='$(SUBDIRS)' ;; \
394 rev
=''; for subdir in
$$list; do \
395 if
test "$$subdir" = "."; then
:; else \
396 rev
="$$subdir $$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"; \
406 local_target
="$$target"; \
408 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
410 done
&& test -z
"$$fail"
412 list
='$(SUBDIRS)'; for subdir in
$$list; do \
413 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
416 list
='$(SUBDIRS)'; for subdir in
$$list; do \
417 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) ctags
); \
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; \
425 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
426 END { if (nonempty) { for (i in files) print i; }; }'`; \
430 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) $(TAGS_DEPENDENCIES
) \
431 $(TAGS_FILES
) $(LISP
)
434 if
($(ETAGS
) --etags-include
--version
) >/dev
/null
2>&1; then \
435 include_option
=--etags-include
; \
438 include_option
=--include; \
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"; \
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; \
451 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
452 END { if (nonempty) { for (i in files) print i; }; }'`; \
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
) \
460 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
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; \
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
) \
478 here
=`$(am__cd) $(top_builddir) && pwd` \
479 && $(am__cd
) $(top_srcdir
) \
480 && gtags
-i
$(GTAGS_ARGS
) "$$here"
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,/[^/]*$$,,' | \
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
{} \
;; \
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
{} \
;; \
510 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
512 test -f
"$(distdir)/$$file" \
513 || cp
-p
$$d/$$file "$(distdir)/$$file" \
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" \
524 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
525 if
test "$$subdir" = .
; then
:; else \
526 dir1
=$$subdir; dir2
="$(distdir)/$$subdir"; \
528 new_distdir
=$$reldir; \
529 dir1
=$$subdir; dir2
="$(top_distdir)"; \
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
=: \
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)"
553 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
554 $(am__remove_distdir
)
557 tardir
=$(distdir
) && $(am__tar
) | bzip2
-9 -c
>$(distdir
).
tar.bz2
558 $(am__remove_distdir
)
561 tardir
=$(distdir
) && $(am__tar
) | lzma
-9 -c
>$(distdir
).
tar.lzma
562 $(am__remove_distdir
)
565 tardir
=$(distdir
) && $(am__tar
) | xz
-c
>$(distdir
).
tar.xz
566 $(am__remove_distdir
)
569 tardir
=$(distdir
) && $(am__tar
) | compress
-c
>$(distdir
).
tar.Z
570 $(am__remove_distdir
)
573 shar $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
shar.gz
574 $(am__remove_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
589 case
'$(DIST_ARCHIVES)' in \
591 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
tar.gz |
$(am__untar
) ;;\
593 bzip2
-dc
$(distdir
).
tar.bz2 |
$(am__untar
) ;;\
595 lzma
-dc
$(distdir
).
tar.lzma |
$(am__untar
) ;;\
597 xz
-dc
$(distdir
).
tar.xz |
$(am__untar
) ;;\
599 uncompress
-c
$(distdir
).
tar.Z |
$(am__untar
) ;;\
601 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
shar.gz | unshar
;;\
603 unzip
$(distdir
).zip
;;\
605 chmod
-R a-w
$(distdir
); chmod a
+w
$(distdir
)
606 mkdir
$(distdir
)/_build
607 mkdir
$(distdir
)/_inst
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-$$$$/" \
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" \
624 && chmod
-R a-w
"$$dc_install_base" \
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 \
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'
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)"; \
649 $(distuninstallcheck_listfiles
) ; \
651 distcleancheck
: distclean
652 @if
test '$(srcdir)' = .
; then \
653 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
656 @
test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
657 ||
{ echo
"ERROR: files left in build directory after distclean:" ; \
658 $(distcleancheck_listfiles
) ; \
661 check: check-recursive
663 installdirs: installdirs-recursive
665 install: install-recursive
666 install-exec
: install-exec-recursive
667 install-data
: install-data-recursive
668 uninstall: uninstall-recursive
671 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
673 installcheck: installcheck-recursive
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
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
)
697 distclean-am
: clean-am distclean-generic distclean-hdr \
698 distclean-libtool distclean-local distclean-tags
714 install-dvi
: install-dvi-recursive
720 install-html
: install-html-recursive
724 install-info
: install-info-recursive
730 install-pdf
: install-pdf-recursive
734 install-ps
: install-ps-recursive
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
744 maintainer-clean-am
: distclean-am maintainer-clean-generic
746 mostlyclean: mostlyclean-recursive
748 mostlyclean-am
: mostlyclean-generic mostlyclean-libtool
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
781 for f in
`find . -name .cvsignore`; do \
782 $(PERL
) -e
'print sort <>;' < $$f > $$f.tmptmp
; \
787 # Check to make sure only sane_ and sanei_ symbols are exported from
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"; \
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"; \
808 if
test ! -z
$$found_errors ; then \
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
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).
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" >\
835 md5sum
$(distdir
).
tar.gz
> $(distdir
).
tar.gz.md5
837 sane-backends
: lsm md5
839 # Clean files created by custom targets in this file.
841 rm -f sane-backends-
*.lsm
842 rm -f
$(distdir
).
tar.gz.md5
844 # Clean files created by configure
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.