Imported Upstream version 3.1.0
[debian/amanda] / changer-src / Makefile.in
1 # 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
18 # Makefile for Amanda tape changer programs.
19
20 # vim:ft=automake
21 # Copyright (c) 2007,2008,2009 Zmanda, Inc.  All Rights Reserved.
22 #
23 # This program is free software; you can redistribute it and/or modify it
24 # under the terms of the GNU General Public License version 2 as published
25 # by the Free Software Foundation.
26 #
27 # This program is distributed in the hope that it will be useful, but
28 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
29 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
30 # for more details.
31 #
32 # You should have received a copy of the GNU General Public License along
33 # with this program; if not, write to the Free Software Foundation, Inc.,
34 # 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
35 #
36 # Contact information: Zmanda Inc., 465 S. Mathilda Ave., Suite 300
37 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
38
39 # simple include file to pre-define variables which are then +='d by other
40 # scripts in this directory.
41
42 # vim:ft=automake
43 # Copyright (c) 2007,2008,2009 Zmanda, Inc.  All Rights Reserved.
44 #
45 # This program is free software; you can redistribute it and/or modify it
46 # under the terms of the GNU General Public License version 2 as published
47 # by the Free Software Foundation.
48 #
49 # This program is distributed in the hope that it will be useful, but
50 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
51 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
52 # for more details.
53 #
54 # You should have received a copy of the GNU General Public License along
55 # with this program; if not, write to the Free Software Foundation, Inc.,
56 # 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
57 #
58 # Contact information: Zmanda Inc., 465 S. Mathilda Ave., Suite 300
59 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
60
61 # SYNOPSIS:
62 #
63 # Automake magic to handle the various tasks of building scripts.  Scripts can
64 # be built down to extensionless executables (e.g., foo.pl -> foo), or to 
65 # files with the usual extension (foo-lib.sh.in -> foo.sh).
66 #
67 # Files which support it are syntax-checked when the user invokes 'make check',
68 # unless the Makefile.am defines SKIP_CHECKS.
69 #
70 # All *target* filenames must be listed in SCRIPTS_SHELL, SCRIPTS_PERL, and
71 # SCRIPTS_AWK to support 'make dist', and 'make distclean'. No files which are
72 # not substituted by config.status should be included in SCRIPTS_PERL,
73 # SCRIPTS_SHELL, or SCRIPTS_AWK.  If non-generated files are listed for
74 # installation, then Automake will figure out that they should be distributed;
75 # otherwise, include them in EXTRA_DIST.
76 #
77 # All SCRIPTS_SHELL and SCRIPTS_PERL are syntax-checked on 'make check'.  There is
78 # a fix in place to run these syntax checks against the perl modules in the build
79 # tree, rather than against the (potentially old) installed perl modules.
80 #
81 # To emulate EXTRA_DIST for scripts, use SCRIPTS_EXTRA_DIST, e.g.,
82 #   SCRIPTS_SHELL = $(selected_scripts)
83 #   SCRIPTS_EXTRA_DIST = $(all_scripts)
84 #
85 # USAGE:
86 #
87 #   include $(top_srcdir)/config/automake/vars.am
88 #   include $(top_srcdir)/config/automake/scripts.am
89 #   ...
90 #   SCRIPTS_PERL = fooscript barscript perl-lib.pl perlmod.pm
91 #   SCRIPTS_SHELL = shell1 shell2 sh-lib.sh
92 #   SCRIPTS_AWK = talk balk chalk awk-lib.awk
93 #   sbin_SCRIPTS = not-subbed
94 #   SCRIPTS_EXTRA_DIST = util-script
95 #
96 # with the corresponding files in the repository:
97 #
98 #   fooscript.pl barscript.pl perl-lib.pl.in perlmod.pm.in
99 #   shell1.sh shell2.sh sh-lib.sh.in
100 #   talk.awk balk.awk chalk.awk awk-lib.awk.in
101 #   not-subbed util-script.pl
102 #
103 # To add extra flags to the perl checks (e.g., to add new -I flags), set
104 # CHECK_PERL_FLAGS.
105
106 # Implementation note:
107 #
108 # This file uses config.status to substitute @foo@ in those scripts while
109 # converting them. It also adds the executable bits (a+x) to extensionless
110 # files.  The substitution works even though the files are not listed in 
111 # configure.in
112
113 # vim:ft=automake
114 #
115 # Adjust post-install permissions settings.  This rule works off two
116 # specially-formatted variables, INSTALLPERMS_exec and INSTALLPERMS_data. 
117 # Each is a whitespace-separated list of commands, all of which are either
118 # a variable assignment or a filename.  Three variables are available:
119 #
120 #  - dest= sets the destination directory to e.g., $(sbindir)
121 #  - chown= controls changes in ownership; value is first argument to chown
122 #  - chmod= controls changes in permissions; value is first argument to chmod
123 #
124 # As a special case, chown=amanda is taken as equivalent to 
125 # chown=$(BINARY_OWNER):$(SETUID_GROUP), which may otherwise have problems with
126 # whitespace in the user/group names.
127
128 # when a filename is seen, the currently active variables are applied.
129 #
130 # Note that scripts are data, not executables!
131 #
132 # EXAMPLE
133 #
134 # sbin_PROGRAMS = foo bar bing
135 # libexec_PROGRAMS = pro gram
136 # sbin_SCRIPTS = sk ript
137 # INSTALLPERMS_exec = \
138 #       dest=$(sbindir) chown=amanda chmod= \
139 #               foo bar \
140 #       chmod=07450 \
141 #               bing
142 #       dest=$(libexecdir) chmod= \
143 #               $(libexec_PROGRAMS)
144 # INSTALLPERMS_data = \
145 #       dest=$(sbindir) chown=amanda chmod= \
146 #               $(sbin_SCRIPTS)
147 #
148 # This whole operation is not required when making builds for packaging,
149 # and can be disabled with --disable-installperms, via the WANT_INSTALLPERMS
150 # AM_CONDITIONAL.  When disabled, the file 'installperms.sh' in the top-level
151 # build directory is populated with a format suitable for shell interpretation,
152 # with lines like this:
153 #   installperm "amanda:disk" "04750" "/usr/local/sbin/bing"
154 # the arguments being, respectively, owner:group, mode, and filename.  There will
155 # be exactly one line for each file which has specific permissions.  The intention
156 # is that this file be used by packaging scripts to set correct permissions at install
157 # time.  Note that files which have no special permissions requirements do not appear 
158 # in this file at all, due to limitations of Automake.
159
160 # vim:ft=automake
161
162
163
164 VPATH = @srcdir@
165 pkgdatadir = $(datadir)/@PACKAGE@
166 pkgincludedir = $(includedir)/@PACKAGE@
167 pkglibdir = $(libdir)/@PACKAGE@
168 pkglibexecdir = $(libexecdir)/@PACKAGE@
169 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
170 install_sh_DATA = $(install_sh) -c -m 644
171 install_sh_PROGRAM = $(install_sh) -c
172 install_sh_SCRIPT = $(install_sh) -c
173 INSTALL_HEADER = $(INSTALL_DATA)
174 transform = $(program_transform_name)
175 NORMAL_INSTALL = :
176 PRE_INSTALL = :
177 POST_INSTALL = :
178 NORMAL_UNINSTALL = :
179 PRE_UNINSTALL = :
180 POST_UNINSTALL = :
181 build_triplet = @build@
182 host_triplet = @host@
183 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
184         $(top_srcdir)/config/automake/installperms.am \
185         $(top_srcdir)/config/automake/precompile.am \
186         $(top_srcdir)/config/automake/scripts.am \
187         $(top_srcdir)/config/automake/vars.am
188 @WANT_INSTALLPERMS_FALSE@am__append_1 = $(installperms_sh)
189 amlibexec_PROGRAMS = $(am__EXEEXT_2)
190 EXTRA_PROGRAMS = $(am__EXEEXT_1)
191 @WANT_SCSI_AIX_TRUE@am__append_2 = scsi-aix.c
192 @WANT_SCSI_HPUX_NEW_TRUE@am__append_3 = scsi-hpux_new.c
193 @WANT_SCSI_IRIX_TRUE@am__append_4 = scsi-irix.c
194 @WANT_SCSI_LINUX_TRUE@am__append_5 = scsi-linux.c
195 @WANT_SCSI_SOLARIS_TRUE@am__append_6 = scsi-solaris.c
196 @WANT_SCSI_BSD_TRUE@am__append_7 = scsi-bsd.c
197 @WANT_SCSI_CAM_TRUE@am__append_8 = scsi-cam.c
198 @WANT_SCSI_HPUX_TRUE@am__append_9 = scsi-hpux.c
199 @WANT_SCSI_CHIO_TRUE@am__append_10 = scsi-chio.c
200 subdir = changer-src
201 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
202 am__aclocal_m4_deps =  \
203         $(top_srcdir)/config/macro-archive/ac_define_dir.m4 \
204         $(top_srcdir)/config/macro-archive/ac_perl_module_version.m4 \
205         $(top_srcdir)/config/macro-archive/ac_prog_perl_version.m4 \
206         $(top_srcdir)/config/macro-archive/ac_prog_swig.m4 \
207         $(top_srcdir)/config/macro-archive/ax_compare_version.m4 \
208         $(top_srcdir)/config/macro-archive/docbook-dtd.m4 \
209         $(top_srcdir)/config/macro-archive/docbook-xslt-min.m4 \
210         $(top_srcdir)/config/macro-archive/docbook-xslt.m4 \
211         $(top_srcdir)/config/macro-archive/xsltproc.m4 \
212         $(top_srcdir)/config/amanda/amplot.m4 \
213         $(top_srcdir)/config/amanda/bsd-security.m4 \
214         $(top_srcdir)/config/amanda/bsdtcp-security.m4 \
215         $(top_srcdir)/config/amanda/bsdudp-security.m4 \
216         $(top_srcdir)/config/amanda/changer.m4 \
217         $(top_srcdir)/config/amanda/components.m4 \
218         $(top_srcdir)/config/amanda/compress.m4 \
219         $(top_srcdir)/config/amanda/config.m4 \
220         $(top_srcdir)/config/amanda/debugging.m4 \
221         $(top_srcdir)/config/amanda/defaults.m4 \
222         $(top_srcdir)/config/amanda/devprefix.m4 \
223         $(top_srcdir)/config/amanda/dirs.m4 \
224         $(top_srcdir)/config/amanda/documentation.m4 \
225         $(top_srcdir)/config/amanda/dumpers.m4 \
226         $(top_srcdir)/config/amanda/dvdrw-device.m4 \
227         $(top_srcdir)/config/amanda/flags.m4 \
228         $(top_srcdir)/config/amanda/flock.m4 \
229         $(top_srcdir)/config/amanda/funcs.m4 \
230         $(top_srcdir)/config/amanda/getfsent.m4 \
231         $(top_srcdir)/config/amanda/i18n.m4 \
232         $(top_srcdir)/config/amanda/ipv6.m4 \
233         $(top_srcdir)/config/amanda/krb5-security.m4 \
234         $(top_srcdir)/config/amanda/lfs.m4 \
235         $(top_srcdir)/config/amanda/libs.m4 \
236         $(top_srcdir)/config/amanda/ndmp-device.m4 \
237         $(top_srcdir)/config/amanda/net.m4 \
238         $(top_srcdir)/config/amanda/progs.m4 \
239         $(top_srcdir)/config/amanda/ps.m4 \
240         $(top_srcdir)/config/amanda/readdir.m4 \
241         $(top_srcdir)/config/amanda/readline.m4 \
242         $(top_srcdir)/config/amanda/rsh-security.m4 \
243         $(top_srcdir)/config/amanda/s3-device.m4 \
244         $(top_srcdir)/config/amanda/shmem.m4 \
245         $(top_srcdir)/config/amanda/socklen_t_equiv.m4 \
246         $(top_srcdir)/config/amanda/ssh-security.m4 \
247         $(top_srcdir)/config/amanda/summary.m4 \
248         $(top_srcdir)/config/amanda/swig.m4 \
249         $(top_srcdir)/config/amanda/syshacks.m4 \
250         $(top_srcdir)/config/amanda/tape.m4 \
251         $(top_srcdir)/config/amanda/types.m4 \
252         $(top_srcdir)/config/amanda/userid.m4 \
253         $(top_srcdir)/config/amanda/version.m4 \
254         $(top_srcdir)/config/gnulib/00gnulib.m4 \
255         $(top_srcdir)/config/gnulib/alloca.m4 \
256         $(top_srcdir)/config/gnulib/arpa_inet_h.m4 \
257         $(top_srcdir)/config/gnulib/base64.m4 \
258         $(top_srcdir)/config/gnulib/btowc.m4 \
259         $(top_srcdir)/config/gnulib/errno_h.m4 \
260         $(top_srcdir)/config/gnulib/extensions.m4 \
261         $(top_srcdir)/config/gnulib/float_h.m4 \
262         $(top_srcdir)/config/gnulib/fseeko.m4 \
263         $(top_srcdir)/config/gnulib/fsusage.m4 \
264         $(top_srcdir)/config/gnulib/ftello.m4 \
265         $(top_srcdir)/config/gnulib/ftruncate.m4 \
266         $(top_srcdir)/config/gnulib/getaddrinfo.m4 \
267         $(top_srcdir)/config/gnulib/getopt.m4 \
268         $(top_srcdir)/config/gnulib/gettimeofday.m4 \
269         $(top_srcdir)/config/gnulib/gnulib-common.m4 \
270         $(top_srcdir)/config/gnulib/gnulib-comp.m4 \
271         $(top_srcdir)/config/gnulib/hostent.m4 \
272         $(top_srcdir)/config/gnulib/include_next.m4 \
273         $(top_srcdir)/config/gnulib/inet_ntop.m4 \
274         $(top_srcdir)/config/gnulib/intmax_t.m4 \
275         $(top_srcdir)/config/gnulib/localcharset.m4 \
276         $(top_srcdir)/config/gnulib/locale-fr.m4 \
277         $(top_srcdir)/config/gnulib/locale-ja.m4 \
278         $(top_srcdir)/config/gnulib/locale-zh.m4 \
279         $(top_srcdir)/config/gnulib/lock.m4 \
280         $(top_srcdir)/config/gnulib/longlong.m4 \
281         $(top_srcdir)/config/gnulib/lseek.m4 \
282         $(top_srcdir)/config/gnulib/lstat.m4 \
283         $(top_srcdir)/config/gnulib/malloc.m4 \
284         $(top_srcdir)/config/gnulib/mbrtowc.m4 \
285         $(top_srcdir)/config/gnulib/mbsinit.m4 \
286         $(top_srcdir)/config/gnulib/mbstate_t.m4 \
287         $(top_srcdir)/config/gnulib/mkdtemp.m4 \
288         $(top_srcdir)/config/gnulib/multiarch.m4 \
289         $(top_srcdir)/config/gnulib/netdb_h.m4 \
290         $(top_srcdir)/config/gnulib/netinet_in_h.m4 \
291         $(top_srcdir)/config/gnulib/onceonly.m4 \
292         $(top_srcdir)/config/gnulib/physmem.m4 \
293         $(top_srcdir)/config/gnulib/printf.m4 \
294         $(top_srcdir)/config/gnulib/regex.m4 \
295         $(top_srcdir)/config/gnulib/safe-read.m4 \
296         $(top_srcdir)/config/gnulib/safe-write.m4 \
297         $(top_srcdir)/config/gnulib/servent.m4 \
298         $(top_srcdir)/config/gnulib/snprintf.m4 \
299         $(top_srcdir)/config/gnulib/socklen.m4 \
300         $(top_srcdir)/config/gnulib/sockpfaf.m4 \
301         $(top_srcdir)/config/gnulib/ssize_t.m4 \
302         $(top_srcdir)/config/gnulib/stdbool.m4 \
303         $(top_srcdir)/config/gnulib/stdint.m4 \
304         $(top_srcdir)/config/gnulib/stdio_h.m4 \
305         $(top_srcdir)/config/gnulib/stdlib_h.m4 \
306         $(top_srcdir)/config/gnulib/sys_socket_h.m4 \
307         $(top_srcdir)/config/gnulib/sys_stat_h.m4 \
308         $(top_srcdir)/config/gnulib/sys_time_h.m4 \
309         $(top_srcdir)/config/gnulib/tempname.m4 \
310         $(top_srcdir)/config/gnulib/threadlib.m4 \
311         $(top_srcdir)/config/gnulib/unistd_h.m4 \
312         $(top_srcdir)/config/gnulib/vasnprintf.m4 \
313         $(top_srcdir)/config/gnulib/visibility.m4 \
314         $(top_srcdir)/config/gnulib/wchar.m4 \
315         $(top_srcdir)/config/gnulib/wcrtomb.m4 \
316         $(top_srcdir)/config/gnulib/wctype.m4 \
317         $(top_srcdir)/config/gnulib/write.m4 \
318         $(top_srcdir)/config/gettext-macros/codeset.m4 \
319         $(top_srcdir)/config/gettext-macros/gettext.m4 \
320         $(top_srcdir)/config/gettext-macros/glibc21.m4 \
321         $(top_srcdir)/config/gettext-macros/iconv.m4 \
322         $(top_srcdir)/config/gettext-macros/inttypes_h.m4 \
323         $(top_srcdir)/config/gettext-macros/lib-ld.m4 \
324         $(top_srcdir)/config/gettext-macros/lib-link.m4 \
325         $(top_srcdir)/config/gettext-macros/lib-prefix.m4 \
326         $(top_srcdir)/config/gettext-macros/nls.m4 \
327         $(top_srcdir)/config/gettext-macros/po.m4 \
328         $(top_srcdir)/config/gettext-macros/progtest.m4 \
329         $(top_srcdir)/config/gettext-macros/size_max.m4 \
330         $(top_srcdir)/config/gettext-macros/stdint_h.m4 \
331         $(top_srcdir)/config/gettext-macros/wchar_t.m4 \
332         $(top_srcdir)/config/gettext-macros/wint_t.m4 \
333         $(top_srcdir)/config/gettext-macros/xsize.m4 \
334         $(top_srcdir)/config/libtool.m4 \
335         $(top_srcdir)/config/ltoptions.m4 \
336         $(top_srcdir)/config/ltsugar.m4 \
337         $(top_srcdir)/config/ltversion.m4 \
338         $(top_srcdir)/config/lt~obsolete.m4 $(top_srcdir)/configure.in
339 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
340         $(ACLOCAL_M4)
341 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
342 CONFIG_HEADER = $(top_builddir)/config/config.h
343 CONFIG_CLEAN_FILES =
344 CONFIG_CLEAN_VPATH_FILES =
345 @WANT_CHG_SCSI_CHIO_TRUE@am__EXEEXT_1 = chg-scsi-chio$(EXEEXT)
346 @WANT_CHG_SCSI_TRUE@am__EXEEXT_2 = chg-scsi$(EXEEXT)
347 am__installdirs = "$(DESTDIR)$(amlibexecdir)" \
348         "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"
349 PROGRAMS = $(amlibexec_PROGRAMS)
350 am__chg_scsi_SOURCES_DIST = libscsi.h scsi-defs.h chg-scsi.c \
351         scsi-changer-driver.c sense.c scsi-aix.c scsi-hpux_new.c \
352         scsi-irix.c scsi-linux.c scsi-solaris.c scsi-bsd.c scsi-cam.c
353 @WANT_SCSI_AIX_TRUE@am__objects_1 = scsi-aix.$(OBJEXT)
354 @WANT_SCSI_HPUX_NEW_TRUE@am__objects_2 = scsi-hpux_new.$(OBJEXT)
355 @WANT_SCSI_IRIX_TRUE@am__objects_3 = scsi-irix.$(OBJEXT)
356 @WANT_SCSI_LINUX_TRUE@am__objects_4 = scsi-linux.$(OBJEXT)
357 @WANT_SCSI_SOLARIS_TRUE@am__objects_5 = scsi-solaris.$(OBJEXT)
358 @WANT_SCSI_BSD_TRUE@am__objects_6 = scsi-bsd.$(OBJEXT)
359 @WANT_SCSI_CAM_TRUE@am__objects_7 = scsi-cam.$(OBJEXT)
360 am__objects_8 = chg-scsi.$(OBJEXT) scsi-changer-driver.$(OBJEXT) \
361         sense.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
362         $(am__objects_3) $(am__objects_4) $(am__objects_5) \
363         $(am__objects_6) $(am__objects_7)
364 am_chg_scsi_OBJECTS = $(am__objects_8)
365 chg_scsi_OBJECTS = $(am_chg_scsi_OBJECTS)
366 chg_scsi_LDADD = $(LDADD)
367 am__DEPENDENCIES_1 =
368 chg_scsi_DEPENDENCIES = ../common-src/libamanda.la \
369         ../common-src/libamanda.la ../device-src/libamdevice.la \
370         ../gnulib/libgnu.la $(am__DEPENDENCIES_1)
371 am__chg_scsi_chio_SOURCES_DIST = libscsi.h chg-scsi-chio.c scsi-hpux.c \
372         scsi-chio.c
373 @WANT_SCSI_HPUX_TRUE@am__objects_9 = scsi-hpux.$(OBJEXT)
374 @WANT_SCSI_CHIO_TRUE@am__objects_10 = scsi-chio.$(OBJEXT)
375 am__objects_11 = chg-scsi-chio.$(OBJEXT) $(am__objects_9) \
376         $(am__objects_10)
377 am_chg_scsi_chio_OBJECTS = $(am__objects_11)
378 chg_scsi_chio_OBJECTS = $(am_chg_scsi_chio_OBJECTS)
379 chg_scsi_chio_LDADD = $(LDADD)
380 chg_scsi_chio_DEPENDENCIES = ../common-src/libamanda.la \
381         ../common-src/libamanda.la ../device-src/libamdevice.la \
382         ../gnulib/libgnu.la $(am__DEPENDENCIES_1)
383 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
384 am__vpath_adj = case $$p in \
385     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
386     *) f=$$p;; \
387   esac;
388 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
389 am__install_max = 40
390 am__nobase_strip_setup = \
391   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
392 am__nobase_strip = \
393   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
394 am__nobase_list = $(am__nobase_strip_setup); \
395   for p in $$list; do echo "$$p $$p"; done | \
396   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
397   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
398     if (++n[$$2] == $(am__install_max)) \
399       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
400     END { for (dir in files) print dir, files[dir] }'
401 am__base_list = \
402   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
403   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
404 SCRIPTS = $(amlibexec_SCRIPTS)
405 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/config
406 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
407 am__depfiles_maybe = depfiles
408 am__mv = mv -f
409 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
410         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
411 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
412         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
413         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
414 CCLD = $(CC)
415 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
416         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
417         $(LDFLAGS) -o $@
418 SOURCES = $(chg_scsi_SOURCES) $(chg_scsi_chio_SOURCES)
419 DIST_SOURCES = $(am__chg_scsi_SOURCES_DIST) \
420         $(am__chg_scsi_chio_SOURCES_DIST)
421 DATA = $(amlibexec_DATA)
422 ETAGS = etags
423 CTAGS = ctags
424 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
425 ACLOCAL = @ACLOCAL@
426 AIX_BACKUP = @AIX_BACKUP@
427 ALLOCA = @ALLOCA@
428 ALLOCA_H = @ALLOCA_H@
429 AMANDA_COMPONENTS = @AMANDA_COMPONENTS@
430 AMANDA_DBGDIR = @AMANDA_DBGDIR@
431 AMANDA_DEBUG_DAYS = @AMANDA_DEBUG_DAYS@
432 AMANDA_STATIC_LDFLAGS = @AMANDA_STATIC_LDFLAGS@
433 AMANDA_SWIG_PERL_CFLAGS = @AMANDA_SWIG_PERL_CFLAGS@
434 AMANDA_TMPDIR = @AMANDA_TMPDIR@
435 AMANDA_WARNING_CFLAGS = @AMANDA_WARNING_CFLAGS@
436 AMLINT = @AMLINT@
437 AMLINTFLAGS = @AMLINTFLAGS@
438 AMPLOT_CAT_COMPRESS = @AMPLOT_CAT_COMPRESS@
439 AMPLOT_CAT_GZIP = @AMPLOT_CAT_GZIP@
440 AMPLOT_CAT_PACK = @AMPLOT_CAT_PACK@
441 AMPLOT_COMPRESS = @AMPLOT_COMPRESS@
442 AMTAR = @AMTAR@
443 APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@
444 APPLICATION_DIR = @APPLICATION_DIR@
445 AR = @AR@
446 ARPA_INET_H = @ARPA_INET_H@
447 ASSERTIONS = @ASSERTIONS@
448 AUTOCONF = @AUTOCONF@
449 AUTOHEADER = @AUTOHEADER@
450 AUTOMAKE = @AUTOMAKE@
451 AWK = @AWK@
452 BASH = @BASH@
453 BINARY_OWNER = @BINARY_OWNER@
454 BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
455 BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
456 BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
457 BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
458 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
459 BSDTCP_SECURITY = @BSDTCP_SECURITY@
460 BSDUDP_SECURITY = @BSDUDP_SECURITY@
461 BSD_SECURITY = @BSD_SECURITY@
462 CAT = @CAT@
463 CC = @CC@
464 CCDEPMODE = @CCDEPMODE@
465 CFLAGS = @CFLAGS@
466 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
467 CHECK_USERID = @CHECK_USERID@
468 CHIO = @CHIO@
469 CHS = @CHS@
470 CLIENT_LOGIN = @CLIENT_LOGIN@
471 CLIENT_SCRIPTS_OPT = @CLIENT_SCRIPTS_OPT@
472 COMPRESS = @COMPRESS@
473 COMPRESS_BEST_OPT = @COMPRESS_BEST_OPT@
474 COMPRESS_FAST_OPT = @COMPRESS_FAST_OPT@
475 COMPRESS_PATH = @COMPRESS_PATH@
476 COMPRESS_SUFFIX = @COMPRESS_SUFFIX@
477 CONFIG_CLOBBER_MY_CONFIG = @CONFIG_CLOBBER_MY_CONFIG@
478 CONFIG_DIR = @CONFIG_DIR@
479 CPP = @CPP@
480 CPPFLAGS = @CPPFLAGS@
481 CURL_CONFIG = @CURL_CONFIG@
482 CYGPATH_W = @CYGPATH_W@
483 DD = @DD@
484 DEFAULT_AMANDATES_FILE = @DEFAULT_AMANDATES_FILE@
485 DEFAULT_CONFIG = @DEFAULT_CONFIG@
486 DEFAULT_MAILER = @DEFAULT_MAILER@
487 DEFAULT_SERVER = @DEFAULT_SERVER@
488 DEFAULT_TAPE_DEVICE = @DEFAULT_TAPE_DEVICE@
489 DEFAULT_TAPE_SERVER = @DEFAULT_TAPE_SERVER@
490 DEFS = @DEFS@
491 DEPDIR = @DEPDIR@
492 DOC_BUILD_DATE = @DOC_BUILD_DATE@
493 DSYMUTIL = @DSYMUTIL@
494 DUMP = @DUMP@
495 DUMPBIN = @DUMPBIN@
496 DUMP_RETURNS_1 = @DUMP_RETURNS_1@
497 ECHO_C = @ECHO_C@
498 ECHO_N = @ECHO_N@
499 ECHO_T = @ECHO_T@
500 EGREP = @EGREP@
501 EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@
502 EMULTIHOP_VALUE = @EMULTIHOP_VALUE@
503 ENOLINK_HIDDEN = @ENOLINK_HIDDEN@
504 ENOLINK_VALUE = @ENOLINK_VALUE@
505 EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
506 EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
507 ERRNO_H = @ERRNO_H@
508 EXAMPLE_TAPEDEV = @EXAMPLE_TAPEDEV@
509 EXEEXT = @EXEEXT@
510 FGREP = @FGREP@
511 FLOAT_H = @FLOAT_H@
512 GETADDRINFO_LIB = @GETADDRINFO_LIB@
513 GETCONF = @GETCONF@
514 GETOPT_H = @GETOPT_H@
515 GETTEXT = @GETTEXT@
516 GIT = @GIT@
517 GLIBC21 = @GLIBC21@
518 GLIB_CFLAGS = @GLIB_CFLAGS@
519 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
520 GLIB_LIBS = @GLIB_LIBS@
521 GLIB_MKENUMS = @GLIB_MKENUMS@
522 GMSGFMT = @GMSGFMT@
523 GMSGFMT_015 = @GMSGFMT_015@
524 GNULIB_ACCEPT = @GNULIB_ACCEPT@
525 GNULIB_ATOLL = @GNULIB_ATOLL@
526 GNULIB_BIND = @GNULIB_BIND@
527 GNULIB_BTOWC = @GNULIB_BTOWC@
528 GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
529 GNULIB_CHOWN = @GNULIB_CHOWN@
530 GNULIB_CLOSE = @GNULIB_CLOSE@
531 GNULIB_CONNECT = @GNULIB_CONNECT@
532 GNULIB_DPRINTF = @GNULIB_DPRINTF@
533 GNULIB_DUP2 = @GNULIB_DUP2@
534 GNULIB_ENVIRON = @GNULIB_ENVIRON@
535 GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@
536 GNULIB_FCHDIR = @GNULIB_FCHDIR@
537 GNULIB_FCLOSE = @GNULIB_FCLOSE@
538 GNULIB_FFLUSH = @GNULIB_FFLUSH@
539 GNULIB_FOPEN = @GNULIB_FOPEN@
540 GNULIB_FPRINTF = @GNULIB_FPRINTF@
541 GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
542 GNULIB_FPUTC = @GNULIB_FPUTC@
543 GNULIB_FPUTS = @GNULIB_FPUTS@
544 GNULIB_FREOPEN = @GNULIB_FREOPEN@
545 GNULIB_FSEEK = @GNULIB_FSEEK@
546 GNULIB_FSEEKO = @GNULIB_FSEEKO@
547 GNULIB_FSYNC = @GNULIB_FSYNC@
548 GNULIB_FTELL = @GNULIB_FTELL@
549 GNULIB_FTELLO = @GNULIB_FTELLO@
550 GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
551 GNULIB_FWRITE = @GNULIB_FWRITE@
552 GNULIB_GETADDRINFO = @GNULIB_GETADDRINFO@
553 GNULIB_GETCWD = @GNULIB_GETCWD@
554 GNULIB_GETDELIM = @GNULIB_GETDELIM@
555 GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@
556 GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@
557 GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@
558 GNULIB_GETLINE = @GNULIB_GETLINE@
559 GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@
560 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
561 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
562 GNULIB_GETPEERNAME = @GNULIB_GETPEERNAME@
563 GNULIB_GETSOCKNAME = @GNULIB_GETSOCKNAME@
564 GNULIB_GETSOCKOPT = @GNULIB_GETSOCKOPT@
565 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
566 GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@
567 GNULIB_INET_NTOP = @GNULIB_INET_NTOP@
568 GNULIB_INET_PTON = @GNULIB_INET_PTON@
569 GNULIB_LCHMOD = @GNULIB_LCHMOD@
570 GNULIB_LCHOWN = @GNULIB_LCHOWN@
571 GNULIB_LINK = @GNULIB_LINK@
572 GNULIB_LISTEN = @GNULIB_LISTEN@
573 GNULIB_LSEEK = @GNULIB_LSEEK@
574 GNULIB_LSTAT = @GNULIB_LSTAT@
575 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
576 GNULIB_MBRLEN = @GNULIB_MBRLEN@
577 GNULIB_MBRTOWC = @GNULIB_MBRTOWC@
578 GNULIB_MBSINIT = @GNULIB_MBSINIT@
579 GNULIB_MBSNRTOWCS = @GNULIB_MBSNRTOWCS@
580 GNULIB_MBSRTOWCS = @GNULIB_MBSRTOWCS@
581 GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
582 GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
583 GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@
584 GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@
585 GNULIB_PERROR = @GNULIB_PERROR@
586 GNULIB_PRINTF = @GNULIB_PRINTF@
587 GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
588 GNULIB_PUTC = @GNULIB_PUTC@
589 GNULIB_PUTCHAR = @GNULIB_PUTCHAR@
590 GNULIB_PUTENV = @GNULIB_PUTENV@
591 GNULIB_PUTS = @GNULIB_PUTS@
592 GNULIB_RANDOM_R = @GNULIB_RANDOM_R@
593 GNULIB_READLINK = @GNULIB_READLINK@
594 GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
595 GNULIB_RECV = @GNULIB_RECV@
596 GNULIB_RECVFROM = @GNULIB_RECVFROM@
597 GNULIB_RPMATCH = @GNULIB_RPMATCH@
598 GNULIB_SEND = @GNULIB_SEND@
599 GNULIB_SENDTO = @GNULIB_SENDTO@
600 GNULIB_SETENV = @GNULIB_SETENV@
601 GNULIB_SETSOCKOPT = @GNULIB_SETSOCKOPT@
602 GNULIB_SHUTDOWN = @GNULIB_SHUTDOWN@
603 GNULIB_SLEEP = @GNULIB_SLEEP@
604 GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
605 GNULIB_SOCKET = @GNULIB_SOCKET@
606 GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
607 GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@
608 GNULIB_STRTOD = @GNULIB_STRTOD@
609 GNULIB_STRTOLL = @GNULIB_STRTOLL@
610 GNULIB_STRTOULL = @GNULIB_STRTOULL@
611 GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@
612 GNULIB_UNSETENV = @GNULIB_UNSETENV@
613 GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
614 GNULIB_VDPRINTF = @GNULIB_VDPRINTF@
615 GNULIB_VFPRINTF = @GNULIB_VFPRINTF@
616 GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
617 GNULIB_VPRINTF = @GNULIB_VPRINTF@
618 GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
619 GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
620 GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
621 GNULIB_WCRTOMB = @GNULIB_WCRTOMB@
622 GNULIB_WCSNRTOMBS = @GNULIB_WCSNRTOMBS@
623 GNULIB_WCSRTOMBS = @GNULIB_WCSRTOMBS@
624 GNULIB_WCTOB = @GNULIB_WCTOB@
625 GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
626 GNULIB_WRITE = @GNULIB_WRITE@
627 GNUPLOT = @GNUPLOT@
628 GNUTAR = @GNUTAR@
629 GNUTAR_LISTED_INCREMENTAL_DIR = @GNUTAR_LISTED_INCREMENTAL_DIR@
630 GOBJECT_QUERY = @GOBJECT_QUERY@
631 GREP = @GREP@
632 GZIP = @GZIP@
633 HAVE_ARPA_INET_H = @HAVE_ARPA_INET_H@
634 HAVE_ATOLL = @HAVE_ATOLL@
635 HAVE_BTOWC = @HAVE_BTOWC@
636 HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
637 HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@
638 HAVE_DECL_FREEADDRINFO = @HAVE_DECL_FREEADDRINFO@
639 HAVE_DECL_GAI_STRERROR = @HAVE_DECL_GAI_STRERROR@
640 HAVE_DECL_GETADDRINFO = @HAVE_DECL_GETADDRINFO@
641 HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
642 HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
643 HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@
644 HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
645 HAVE_DECL_GETNAMEINFO = @HAVE_DECL_GETNAMEINFO@
646 HAVE_DECL_INET_NTOP = @HAVE_DECL_INET_NTOP@
647 HAVE_DECL_INET_PTON = @HAVE_DECL_INET_PTON@
648 HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@
649 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
650 HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
651 HAVE_DECL_WCTOB = @HAVE_DECL_WCTOB@
652 HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
653 HAVE_DPRINTF = @HAVE_DPRINTF@
654 HAVE_DUP2 = @HAVE_DUP2@
655 HAVE_EUIDACCESS = @HAVE_EUIDACCESS@
656 HAVE_FSEEKO = @HAVE_FSEEKO@
657 HAVE_FSYNC = @HAVE_FSYNC@
658 HAVE_FTELLO = @HAVE_FTELLO@
659 HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
660 HAVE_GETDOMAINNAME = @HAVE_GETDOMAINNAME@
661 HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@
662 HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@
663 HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@
664 HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
665 HAVE_GETUSERSHELL = @HAVE_GETUSERSHELL@
666 HAVE_GZIP = @HAVE_GZIP@
667 HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
668 HAVE_ISWCNTRL = @HAVE_ISWCNTRL@
669 HAVE_LCHMOD = @HAVE_LCHMOD@
670 HAVE_LINK = @HAVE_LINK@
671 HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
672 HAVE_LSTAT = @HAVE_LSTAT@
673 HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
674 HAVE_MBRLEN = @HAVE_MBRLEN@
675 HAVE_MBRTOWC = @HAVE_MBRTOWC@
676 HAVE_MBSINIT = @HAVE_MBSINIT@
677 HAVE_MBSNRTOWCS = @HAVE_MBSNRTOWCS@
678 HAVE_MBSRTOWCS = @HAVE_MBSRTOWCS@
679 HAVE_MKDTEMP = @HAVE_MKDTEMP@
680 HAVE_NETDB_H = @HAVE_NETDB_H@
681 HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@
682 HAVE_OS_H = @HAVE_OS_H@
683 HAVE_RANDOM_H = @HAVE_RANDOM_H@
684 HAVE_RANDOM_R = @HAVE_RANDOM_R@
685 HAVE_READLINK = @HAVE_READLINK@
686 HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
687 HAVE_RPMATCH = @HAVE_RPMATCH@
688 HAVE_SETENV = @HAVE_SETENV@
689 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
690 HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
691 HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
692 HAVE_SLEEP = @HAVE_SLEEP@
693 HAVE_STDINT_H = @HAVE_STDINT_H@
694 HAVE_STRTOD = @HAVE_STRTOD@
695 HAVE_STRTOLL = @HAVE_STRTOLL@
696 HAVE_STRTOULL = @HAVE_STRTOULL@
697 HAVE_STRUCT_ADDRINFO = @HAVE_STRUCT_ADDRINFO@
698 HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@
699 HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@
700 HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
701 HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
702 HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@
703 HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
704 HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@
705 HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
706 HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
707 HAVE_UNISTD_H = @HAVE_UNISTD_H@
708 HAVE_UNSETENV = @HAVE_UNSETENV@
709 HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
710 HAVE_VASPRINTF = @HAVE_VASPRINTF@
711 HAVE_VDPRINTF = @HAVE_VDPRINTF@
712 HAVE_VISIBILITY = @HAVE_VISIBILITY@
713 HAVE_WCHAR_H = @HAVE_WCHAR_H@
714 HAVE_WCRTOMB = @HAVE_WCRTOMB@
715 HAVE_WCSNRTOMBS = @HAVE_WCSNRTOMBS@
716 HAVE_WCSRTOMBS = @HAVE_WCSRTOMBS@
717 HAVE_WCTYPE_H = @HAVE_WCTYPE_H@
718 HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
719 HAVE_WINT_T = @HAVE_WINT_T@
720 HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@
721 HAVE__BOOL = @HAVE__BOOL@
722 HOSTENT_LIB = @HOSTENT_LIB@
723 INCLUDE_NEXT = @INCLUDE_NEXT@
724 INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@
725 INSTALL = @INSTALL@
726 INSTALL_DATA = @INSTALL_DATA@
727 INSTALL_PROGRAM = @INSTALL_PROGRAM@
728 INSTALL_SCRIPT = @INSTALL_SCRIPT@
729 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
730 INTLLIBS = @INTLLIBS@
731 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
732 KRB5_SECURITY = @KRB5_SECURITY@
733 LD = @LD@
734 LDFLAGS = @LDFLAGS@
735 LEX = @LEX@
736 LEXLIB = @LEXLIB@
737 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
738 LIBCURL = @LIBCURL@
739 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
740 LIBICONV = @LIBICONV@
741 LIBINTL = @LIBINTL@
742 LIBMULTITHREAD = @LIBMULTITHREAD@
743 LIBOBJS = @LIBOBJS@
744 LIBPTH = @LIBPTH@
745 LIBS = @LIBS@
746 LIBTHREAD = @LIBTHREAD@
747 LIBTOOL = @LIBTOOL@
748 LIBTOOL_DEPS = @LIBTOOL_DEPS@
749 LIPO = @LIPO@
750 LN_S = @LN_S@
751 LOCALCHARSET_TESTS_ENVIRONMENT = @LOCALCHARSET_TESTS_ENVIRONMENT@
752 LOCALE_FR = @LOCALE_FR@
753 LOCALE_FR_UTF8 = @LOCALE_FR_UTF8@
754 LOCALE_JA = @LOCALE_JA@
755 LOCALE_ZH_CN = @LOCALE_ZH_CN@
756 LOCKING = @LOCKING@
757 LOW_TCPPORTRANGE = @LOW_TCPPORTRANGE@
758 LPR = @LPR@
759 LPRFLAG = @LPRFLAG@
760 LTALLOCA = @LTALLOCA@
761 LTLIBICONV = @LTLIBICONV@
762 LTLIBINTL = @LTLIBINTL@
763 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
764 LTLIBOBJS = @LTLIBOBJS@
765 LTLIBPTH = @LTLIBPTH@
766 LTLIBTHREAD = @LTLIBTHREAD@
767 MAILER = @MAILER@
768 MAKEINFO = @MAKEINFO@
769 MCUTIL = @MCUTIL@
770 MKDIR_P = @MKDIR_P@
771 MSGFMT = @MSGFMT@
772 MSGFMT_015 = @MSGFMT_015@
773 MSGMERGE = @MSGMERGE@
774 MT = @MT@
775 MTX = @MTX@
776 MT_FILE_FLAG = @MT_FILE_FLAG@
777 NETDB_H = @NETDB_H@
778 NETINET_IN_H = @NETINET_IN_H@
779 NEXT_ARPA_INET_H = @NEXT_ARPA_INET_H@
780 NEXT_ERRNO_H = @NEXT_ERRNO_H@
781 NEXT_FLOAT_H = @NEXT_FLOAT_H@
782 NEXT_NETDB_H = @NEXT_NETDB_H@
783 NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@
784 NEXT_STDINT_H = @NEXT_STDINT_H@
785 NEXT_STDIO_H = @NEXT_STDIO_H@
786 NEXT_STDLIB_H = @NEXT_STDLIB_H@
787 NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@
788 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
789 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
790 NEXT_UNISTD_H = @NEXT_UNISTD_H@
791 NEXT_WCHAR_H = @NEXT_WCHAR_H@
792 NEXT_WCTYPE_H = @NEXT_WCTYPE_H@
793 NM = @NM@
794 NMEDIT = @NMEDIT@
795 OBJEXT = @OBJEXT@
796 OTOOL = @OTOOL@
797 OTOOL64 = @OTOOL64@
798 PACKAGE = @PACKAGE@
799 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
800 PACKAGE_NAME = @PACKAGE_NAME@
801 PACKAGE_STRING = @PACKAGE_STRING@
802 PACKAGE_TARNAME = @PACKAGE_TARNAME@
803 PACKAGE_VERSION = @PACKAGE_VERSION@
804 PATH_SEPARATOR = @PATH_SEPARATOR@
805 PCAT = @PCAT@
806 PERL = @PERL@
807 PERLEXTLIBS = @PERLEXTLIBS@
808 PERL_INC = @PERL_INC@
809 PKG_CONFIG = @PKG_CONFIG@
810 POSUB = @POSUB@
811 PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@
812 PS = @PS@
813 PS_ARGUMENT = @PS_ARGUMENT@
814 PS_ARGUMENT_ARGS = @PS_ARGUMENT_ARGS@
815 PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
816 RANLIB = @RANLIB@
817 READLINE_LIBS = @READLINE_LIBS@
818 REPLACE_BTOWC = @REPLACE_BTOWC@
819 REPLACE_CHOWN = @REPLACE_CHOWN@
820 REPLACE_CLOSE = @REPLACE_CLOSE@
821 REPLACE_DPRINTF = @REPLACE_DPRINTF@
822 REPLACE_FCHDIR = @REPLACE_FCHDIR@
823 REPLACE_FCLOSE = @REPLACE_FCLOSE@
824 REPLACE_FFLUSH = @REPLACE_FFLUSH@
825 REPLACE_FOPEN = @REPLACE_FOPEN@
826 REPLACE_FPRINTF = @REPLACE_FPRINTF@
827 REPLACE_FREOPEN = @REPLACE_FREOPEN@
828 REPLACE_FSEEK = @REPLACE_FSEEK@
829 REPLACE_FSEEKO = @REPLACE_FSEEKO@
830 REPLACE_FTELL = @REPLACE_FTELL@
831 REPLACE_FTELLO = @REPLACE_FTELLO@
832 REPLACE_GETCWD = @REPLACE_GETCWD@
833 REPLACE_GETLINE = @REPLACE_GETLINE@
834 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
835 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
836 REPLACE_ISWCNTRL = @REPLACE_ISWCNTRL@
837 REPLACE_LCHOWN = @REPLACE_LCHOWN@
838 REPLACE_LSEEK = @REPLACE_LSEEK@
839 REPLACE_LSTAT = @REPLACE_LSTAT@
840 REPLACE_MBRLEN = @REPLACE_MBRLEN@
841 REPLACE_MBRTOWC = @REPLACE_MBRTOWC@
842 REPLACE_MBSINIT = @REPLACE_MBSINIT@
843 REPLACE_MBSNRTOWCS = @REPLACE_MBSNRTOWCS@
844 REPLACE_MBSRTOWCS = @REPLACE_MBSRTOWCS@
845 REPLACE_MBSTATE_T = @REPLACE_MBSTATE_T@
846 REPLACE_MKDIR = @REPLACE_MKDIR@
847 REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
848 REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@
849 REPLACE_PERROR = @REPLACE_PERROR@
850 REPLACE_PRINTF = @REPLACE_PRINTF@
851 REPLACE_PUTENV = @REPLACE_PUTENV@
852 REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
853 REPLACE_SPRINTF = @REPLACE_SPRINTF@
854 REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@
855 REPLACE_STRTOD = @REPLACE_STRTOD@
856 REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
857 REPLACE_VDPRINTF = @REPLACE_VDPRINTF@
858 REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
859 REPLACE_VPRINTF = @REPLACE_VPRINTF@
860 REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
861 REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
862 REPLACE_WCRTOMB = @REPLACE_WCRTOMB@
863 REPLACE_WCSRTOMBS = @REPLACE_WCSRTOMBS@
864 REPLACE_WCTOB = @REPLACE_WCTOB@
865 REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
866 REPLACE_WRITE = @REPLACE_WRITE@
867 RESTORE = @RESTORE@
868 RPCGEN = @RPCGEN@
869 RSH_SECURITY = @RSH_SECURITY@
870 SAMBA_CLIENT = @SAMBA_CLIENT@
871 SED = @SED@
872 SERVENT_LIB = @SERVENT_LIB@
873 SERVICE_SUFFIX = @SERVICE_SUFFIX@
874 SETUID_GROUP = @SETUID_GROUP@
875 SET_MAKE = @SET_MAKE@
876 SHELL = @SHELL@
877 SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
878 SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
879 SNAPSHOT_STAMP = @SNAPSHOT_STAMP@
880 SORT = @SORT@
881 SSH = @SSH@
882 SSH_SECURITY = @SSH_SECURITY@
883 STAR = @STAR@
884 STDBOOL_H = @STDBOOL_H@
885 STDINT_H = @STDINT_H@
886 STRIP = @STRIP@
887 SVN = @SVN@
888 SWIG = @SWIG@
889 SWIG_LIB = @SWIG_LIB@
890 SYS_SOCKET_H = @SYS_SOCKET_H@
891 SYS_STAT_H = @SYS_STAT_H@
892 SYS_TIME_H = @SYS_TIME_H@
893 TCPPORTRANGE = @TCPPORTRANGE@
894 UDPPORTRANGE = @UDPPORTRANGE@
895 UNCOMPRESS_OPT = @UNCOMPRESS_OPT@
896 UNCOMPRESS_PATH = @UNCOMPRESS_PATH@
897 UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@
898 USE_AMANDAHOSTS = @USE_AMANDAHOSTS@
899 USE_NLS = @USE_NLS@
900 USE_RUNDUMP = @USE_RUNDUMP@
901 VDUMP = @VDUMP@
902 VERSION = @VERSION@
903 VERSION_COMMENT = @VERSION_COMMENT@
904 VERSION_MAJOR = @VERSION_MAJOR@
905 VERSION_MINOR = @VERSION_MINOR@
906 VERSION_PATCH = @VERSION_PATCH@
907 VOID_UNSETENV = @VOID_UNSETENV@
908 VRESTORE = @VRESTORE@
909 VXDUMP = @VXDUMP@
910 VXRESTORE = @VXRESTORE@
911 WCHAR_H = @WCHAR_H@
912 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
913 WCTYPE_H = @WCTYPE_H@
914 WINT_T_SUFFIX = @WINT_T_SUFFIX@
915 XFSDUMP = @XFSDUMP@
916 XFSRESTORE = @XFSRESTORE@
917 XGETTEXT = @XGETTEXT@
918 XGETTEXT_015 = @XGETTEXT_015@
919 XSLREL = @XSLREL@
920 XSLTPROC = @XSLTPROC@
921 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
922 YACC = @YACC@
923 YFLAGS = @YFLAGS@
924 _libcurl_config = @_libcurl_config@
925 abs_builddir = @abs_builddir@
926 abs_srcdir = @abs_srcdir@
927 abs_top_builddir = @abs_top_builddir@
928 abs_top_srcdir = @abs_top_srcdir@
929 ac_ct_CC = @ac_ct_CC@
930 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
931 am__include = @am__include@
932 am__leading_dot = @am__leading_dot@
933 am__quote = @am__quote@
934 am__tar = @am__tar@
935 am__untar = @am__untar@
936 amdatadir = @amdatadir@
937 amincludedir = @amincludedir@
938 amlibdir = @amlibdir@
939 amlibexecdir = @amlibexecdir@
940 amperldir = @amperldir@
941 bindir = @bindir@
942 build = @build@
943 build_alias = @build_alias@
944 build_cpu = @build_cpu@
945 build_os = @build_os@
946 build_vendor = @build_vendor@
947 builddir = @builddir@
948 datadir = @datadir@
949 datarootdir = @datarootdir@
950 docdir = @docdir@
951 dvidir = @dvidir@
952 exec_prefix = @exec_prefix@
953 gl_LIBOBJS = @gl_LIBOBJS@
954 gl_LTLIBOBJS = @gl_LTLIBOBJS@
955 gltests_LIBOBJS = @gltests_LIBOBJS@
956 gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
957 host = @host@
958 host_alias = @host_alias@
959 host_cpu = @host_cpu@
960 host_os = @host_os@
961 host_vendor = @host_vendor@
962 htmldir = @htmldir@
963 includedir = @includedir@
964 infodir = @infodir@
965 install_sh = @install_sh@
966 libdir = @libdir@
967 libexecdir = @libexecdir@
968 localedir = @localedir@
969 localstatedir = @localstatedir@
970 lt_ECHO = @lt_ECHO@
971 mandir = @mandir@
972 mkdir_p = @mkdir_p@
973 oldincludedir = @oldincludedir@
974 pdfdir = @pdfdir@
975 prefix = @prefix@
976 program_transform_name = @program_transform_name@
977 psdir = @psdir@
978 sbindir = @sbindir@
979 sharedstatedir = @sharedstatedir@
980 srcdir = @srcdir@
981 sysconfdir = @sysconfdir@
982 target_alias = @target_alias@
983 top_build_prefix = @top_build_prefix@
984 top_builddir = @top_builddir@
985 top_srcdir = @top_srcdir@
986 SUFFIXES = 
987 EXTRA_DIST = chg-lib.sh.in scsi-proto.c
988 BUILT_SOURCES = 
989 MOSTLYCLEANFILES = 
990
991 # config.status leaves config.log files around
992 CLEANFILES = config.log
993
994 # and we'll need to clean up our generated files for distclean
995 DISTCLEANFILES = $(SCRIPTS_SHELL) $(SCRIPTS_PERL) $(SCRIPTS_AWK) \
996         $(SCRIPTS_INCLUDE) $(am__append_1)
997 MAINTAINERCLEANFILES = 
998
999 # sed expression to strip leading directories from a filename; this converts e.g.,
1000 # src/foo/bar.so to bar.so.
1001 strip_leading_dirs = s|^.*/||
1002 @WANT_INSTALLPERMS_FALSE@do_file = pa="$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1003 @WANT_INSTALLPERMS_FALSE@    echo "installperm \"$$chown\" \"$$chmod\" \"$$pa\"" >> "$(installperms_sh)"
1004
1005
1006 # define a snippet of the scripts below to either perform a chown/chmod operation,
1007 # or record that operation in the logfile.  On entry to the snippet, $$dest is the
1008 # destination directory, $$cmd is the srcdir-relative pathname of the target file,
1009 # $$chown is the ownership, and $$chmod is the permission pattern.
1010 @WANT_INSTALLPERMS_TRUE@do_file = pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1011 @WANT_INSTALLPERMS_TRUE@    if test -n "$$chown"; then \
1012 @WANT_INSTALLPERMS_TRUE@        echo chown "$$chown" "$$pa"; \
1013 @WANT_INSTALLPERMS_TRUE@        chown "$$chown" "$$pa" || exit 1; \
1014 @WANT_INSTALLPERMS_TRUE@    fi; \
1015 @WANT_INSTALLPERMS_TRUE@    if test -n "$$chmod"; then \
1016 @WANT_INSTALLPERMS_TRUE@        echo chmod "$$chmod" "$$pa"; \
1017 @WANT_INSTALLPERMS_TRUE@        chmod "$$chmod" "$$pa" || exit 1; \
1018 @WANT_INSTALLPERMS_TRUE@    fi 
1019
1020 @WANT_INSTALLPERMS_FALSE@installperms_sh = "$(top_builddir)/installperms.sh"
1021 INCLUDES = -I$(top_builddir)/common-src \
1022                 -I$(top_srcdir)/common-src   \
1023                 -I$(top_srcdir)/device-src   \
1024                 -I$(top_srcdir)/gnulib
1025
1026 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
1027 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
1028 LINT = $(AMLINT)
1029 LINTFLAGS = $(AMLINTFLAGS)
1030 @WANT_CHG_SCSI_CHIO_TRUE@CHIO_SCSI = chg-scsi-chio
1031 @WANT_CHG_SCSI_TRUE@CHG_SCSI = chg-scsi
1032 SCRIPTS_PERL = \
1033                 chg-chio \
1034                 chg-iomega \
1035                 chg-rth
1036
1037 SCRIPTS_SHELL = \
1038                 chg-manual \
1039                 chg-multi \
1040                 chg-mtx \
1041                 chg-chs \
1042                 chg-zd-mtx \
1043                 chg-rait \
1044                 chg-null \
1045                 chg-juke \
1046                 chg-mcutil \
1047                 chg-disk
1048
1049 SCRIPTS_INCLUDE = \
1050                 chg-lib.sh
1051
1052 amlibexec_SCRIPTS = $(SCRIPTS_PERL) $(SCRIPTS_SHELL)
1053 amlibexec_DATA = $(SCRIPTS_INCLUDE)
1054
1055 ###
1056 # Because libamanda includes routines (e.g. regex) provided by some system
1057 # libraries, and because of the way libtool sets up the command line, we
1058 # need to list libamanda twice here, first to override the system library
1059 # routines, and second to pick up any references in the other libraries.
1060 ###
1061 LDADD = ../common-src/libamanda.la \
1062         ../common-src/libamanda.la \
1063         ../device-src/libamdevice.la \
1064         ../gnulib/libgnu.la \
1065         $(READLINE_LIBS)
1066
1067 chg_scsi_CSRC = chg-scsi.c scsi-changer-driver.c sense.c \
1068         $(am__append_2) $(am__append_3) $(am__append_4) \
1069         $(am__append_5) $(am__append_6) $(am__append_7) \
1070         $(am__append_8)
1071 chg_scsi_SOURCES = libscsi.h scsi-defs.h $(chg_scsi_CSRC)
1072 chg_scsi_chio_CSRC = chg-scsi-chio.c $(am__append_9) $(am__append_10)
1073 chg_scsi_chio_SOURCES = libscsi.h $(chg_scsi_chio_CSRC)
1074 INSTALLPERMS_exec = \
1075         chown=amanda \
1076         dest=$(sbindir) $(sbin_PROGRAMS) \
1077         dest=$(amlibexecdir) $(amlibexec_PROGRAMS) 
1078
1079 INSTALLPERMS_data = \
1080         chown=amanda \
1081         dest=$(sbindir) $(sbin_SCRIPTS) \
1082         dest=$(amlibexecdir) $(amlibexec_SCRIPTS) $(amlibexec_DATA)
1083
1084 all: $(BUILT_SOURCES)
1085         $(MAKE) $(AM_MAKEFLAGS) all-am
1086
1087 .SUFFIXES:
1088 .SUFFIXES: .c .lo .o .obj
1089 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/config/automake/vars.am $(top_srcdir)/config/automake/scripts.am $(top_srcdir)/config/automake/installperms.am $(top_srcdir)/config/automake/precompile.am $(am__configure_deps)
1090         @for dep in $?; do \
1091           case '$(am__configure_deps)' in \
1092             *$$dep*) \
1093               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
1094                 && { if test -f $@; then exit 0; else break; fi; }; \
1095               exit 1;; \
1096           esac; \
1097         done; \
1098         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu changer-src/Makefile'; \
1099         $(am__cd) $(top_srcdir) && \
1100           $(AUTOMAKE) --gnu changer-src/Makefile
1101 .PRECIOUS: Makefile
1102 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1103         @case '$?' in \
1104           *config.status*) \
1105             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1106           *) \
1107             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1108             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1109         esac;
1110
1111 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1112         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1113
1114 $(top_srcdir)/configure:  $(am__configure_deps)
1115         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1116 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
1117         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1118 $(am__aclocal_m4_deps):
1119 install-amlibexecPROGRAMS: $(amlibexec_PROGRAMS)
1120         @$(NORMAL_INSTALL)
1121         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
1122         @list='$(amlibexec_PROGRAMS)'; test -n "$(amlibexecdir)" || list=; \
1123         for p in $$list; do echo "$$p $$p"; done | \
1124         sed 's/$(EXEEXT)$$//' | \
1125         while read p p1; do if test -f $$p || test -f $$p1; \
1126           then echo "$$p"; echo "$$p"; else :; fi; \
1127         done | \
1128         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
1129             -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
1130         sed 'N;N;N;s,\n, ,g' | \
1131         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
1132           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1133             if ($$2 == $$4) files[d] = files[d] " " $$1; \
1134             else { print "f", $$3 "/" $$4, $$1; } } \
1135           END { for (d in files) print "f", d, files[d] }' | \
1136         while read type dir files; do \
1137             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1138             test -z "$$files" || { \
1139             echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(amlibexecdir)$$dir'"; \
1140             $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(amlibexecdir)$$dir" || exit $$?; \
1141             } \
1142         ; done
1143
1144 uninstall-amlibexecPROGRAMS:
1145         @$(NORMAL_UNINSTALL)
1146         @list='$(amlibexec_PROGRAMS)'; test -n "$(amlibexecdir)" || list=; \
1147         files=`for p in $$list; do echo "$$p"; done | \
1148           sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
1149               -e 's/$$/$(EXEEXT)/' `; \
1150         test -n "$$list" || exit 0; \
1151         echo " ( cd '$(DESTDIR)$(amlibexecdir)' && rm -f" $$files ")"; \
1152         cd "$(DESTDIR)$(amlibexecdir)" && rm -f $$files
1153
1154 clean-amlibexecPROGRAMS:
1155         @list='$(amlibexec_PROGRAMS)'; test -n "$$list" || exit 0; \
1156         echo " rm -f" $$list; \
1157         rm -f $$list || exit $$?; \
1158         test -n "$(EXEEXT)" || exit 0; \
1159         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
1160         echo " rm -f" $$list; \
1161         rm -f $$list
1162 chg-scsi$(EXEEXT): $(chg_scsi_OBJECTS) $(chg_scsi_DEPENDENCIES) 
1163         @rm -f chg-scsi$(EXEEXT)
1164         $(LINK) $(chg_scsi_OBJECTS) $(chg_scsi_LDADD) $(LIBS)
1165 chg-scsi-chio$(EXEEXT): $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_DEPENDENCIES) 
1166         @rm -f chg-scsi-chio$(EXEEXT)
1167         $(LINK) $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_LDADD) $(LIBS)
1168 install-amlibexecSCRIPTS: $(amlibexec_SCRIPTS)
1169         @$(NORMAL_INSTALL)
1170         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
1171         @list='$(amlibexec_SCRIPTS)'; test -n "$(amlibexecdir)" || list=; \
1172         for p in $$list; do \
1173           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1174           if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
1175         done | \
1176         sed -e 'p;s,.*/,,;n' \
1177             -e 'h;s|.*|.|' \
1178             -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
1179         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
1180           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
1181             if ($$2 == $$4) { files[d] = files[d] " " $$1; \
1182               if (++n[d] == $(am__install_max)) { \
1183                 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
1184             else { print "f", d "/" $$4, $$1 } } \
1185           END { for (d in files) print "f", d, files[d] }' | \
1186         while read type dir files; do \
1187              if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
1188              test -z "$$files" || { \
1189                echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(amlibexecdir)$$dir'"; \
1190                $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(amlibexecdir)$$dir" || exit $$?; \
1191              } \
1192         ; done
1193
1194 uninstall-amlibexecSCRIPTS:
1195         @$(NORMAL_UNINSTALL)
1196         @list='$(amlibexec_SCRIPTS)'; test -n "$(amlibexecdir)" || exit 0; \
1197         files=`for p in $$list; do echo "$$p"; done | \
1198                sed -e 's,.*/,,;$(transform)'`; \
1199         test -n "$$list" || exit 0; \
1200         echo " ( cd '$(DESTDIR)$(amlibexecdir)' && rm -f" $$files ")"; \
1201         cd "$(DESTDIR)$(amlibexecdir)" && rm -f $$files
1202
1203 mostlyclean-compile:
1204         -rm -f *.$(OBJEXT)
1205
1206 distclean-compile:
1207         -rm -f *.tab.c
1208
1209 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi-chio.Po@am__quote@
1210 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi.Po@am__quote@
1211 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-aix.Po@am__quote@
1212 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-bsd.Po@am__quote@
1213 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-cam.Po@am__quote@
1214 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-changer-driver.Po@am__quote@
1215 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-chio.Po@am__quote@
1216 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux.Po@am__quote@
1217 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux_new.Po@am__quote@
1218 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-irix.Po@am__quote@
1219 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-linux.Po@am__quote@
1220 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-solaris.Po@am__quote@
1221 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sense.Po@am__quote@
1222
1223 .c.o:
1224 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1225 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1226 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1227 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1228 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
1229
1230 .c.obj:
1231 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1232 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1233 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1234 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1235 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
1236
1237 .c.lo:
1238 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1239 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1240 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1241 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1242 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
1243
1244 mostlyclean-libtool:
1245         -rm -f *.lo
1246
1247 clean-libtool:
1248         -rm -rf .libs _libs
1249 install-amlibexecDATA: $(amlibexec_DATA)
1250         @$(NORMAL_INSTALL)
1251         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
1252         @list='$(amlibexec_DATA)'; test -n "$(amlibexecdir)" || list=; \
1253         for p in $$list; do \
1254           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1255           echo "$$d$$p"; \
1256         done | $(am__base_list) | \
1257         while read files; do \
1258           echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(amlibexecdir)'"; \
1259           $(INSTALL_DATA) $$files "$(DESTDIR)$(amlibexecdir)" || exit $$?; \
1260         done
1261
1262 uninstall-amlibexecDATA:
1263         @$(NORMAL_UNINSTALL)
1264         @list='$(amlibexec_DATA)'; test -n "$(amlibexecdir)" || list=; \
1265         files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
1266         test -n "$$files" || exit 0; \
1267         echo " ( cd '$(DESTDIR)$(amlibexecdir)' && rm -f" $$files ")"; \
1268         cd "$(DESTDIR)$(amlibexecdir)" && rm -f $$files
1269
1270 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1271         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1272         unique=`for i in $$list; do \
1273             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1274           done | \
1275           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1276               END { if (nonempty) { for (i in files) print i; }; }'`; \
1277         mkid -fID $$unique
1278 tags: TAGS
1279
1280 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1281                 $(TAGS_FILES) $(LISP)
1282         set x; \
1283         here=`pwd`; \
1284         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1285         unique=`for i in $$list; do \
1286             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1287           done | \
1288           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1289               END { if (nonempty) { for (i in files) print i; }; }'`; \
1290         shift; \
1291         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1292           test -n "$$unique" || unique=$$empty_fix; \
1293           if test $$# -gt 0; then \
1294             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1295               "$$@" $$unique; \
1296           else \
1297             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1298               $$unique; \
1299           fi; \
1300         fi
1301 ctags: CTAGS
1302 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1303                 $(TAGS_FILES) $(LISP)
1304         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1305         unique=`for i in $$list; do \
1306             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1307           done | \
1308           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1309               END { if (nonempty) { for (i in files) print i; }; }'`; \
1310         test -z "$(CTAGS_ARGS)$$unique" \
1311           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1312              $$unique
1313
1314 GTAGS:
1315         here=`$(am__cd) $(top_builddir) && pwd` \
1316           && $(am__cd) $(top_srcdir) \
1317           && gtags -i $(GTAGS_ARGS) "$$here"
1318
1319 distclean-tags:
1320         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1321
1322 distdir: $(DISTFILES)
1323         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1324         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1325         list='$(DISTFILES)'; \
1326           dist_files=`for file in $$list; do echo $$file; done | \
1327           sed -e "s|^$$srcdirstrip/||;t" \
1328               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1329         case $$dist_files in \
1330           */*) $(MKDIR_P) `echo "$$dist_files" | \
1331                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1332                            sort -u` ;; \
1333         esac; \
1334         for file in $$dist_files; do \
1335           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1336           if test -d $$d/$$file; then \
1337             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1338             if test -d "$(distdir)/$$file"; then \
1339               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1340             fi; \
1341             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1342               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1343               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1344             fi; \
1345             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1346           else \
1347             test -f "$(distdir)/$$file" \
1348             || cp -p $$d/$$file "$(distdir)/$$file" \
1349             || exit 1; \
1350           fi; \
1351         done
1352         $(MAKE) $(AM_MAKEFLAGS) \
1353           top_distdir="$(top_distdir)" distdir="$(distdir)" \
1354           dist-hook
1355 check-am: all-am
1356         $(MAKE) $(AM_MAKEFLAGS) check-local
1357 check: $(BUILT_SOURCES)
1358         $(MAKE) $(AM_MAKEFLAGS) check-am
1359 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
1360 installdirs:
1361         for dir in "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"; do \
1362           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1363         done
1364 install: $(BUILT_SOURCES)
1365         $(MAKE) $(AM_MAKEFLAGS) install-am
1366 install-exec: install-exec-am
1367 install-data: install-data-am
1368 uninstall: uninstall-am
1369
1370 install-am: all-am
1371         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1372
1373 installcheck: installcheck-am
1374 install-strip:
1375         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1376           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1377           `test -z '$(STRIP)' || \
1378             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1379 mostlyclean-generic:
1380         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1381
1382 clean-generic:
1383         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1384
1385 distclean-generic:
1386         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1387         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1388         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1389
1390 maintainer-clean-generic:
1391         @echo "This command is intended for maintainers to use"
1392         @echo "it deletes files that may require special tools to rebuild."
1393         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1394         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1395 clean: clean-am
1396
1397 clean-am: clean-amlibexecPROGRAMS clean-generic clean-libtool \
1398         mostlyclean-am
1399
1400 distclean: distclean-am
1401         -rm -rf ./$(DEPDIR)
1402         -rm -f Makefile
1403 distclean-am: clean-am distclean-compile distclean-generic \
1404         distclean-tags
1405
1406 dvi: dvi-am
1407
1408 dvi-am:
1409
1410 html: html-am
1411
1412 html-am:
1413
1414 info: info-am
1415
1416 info-am:
1417
1418 install-data-am:
1419         @$(NORMAL_INSTALL)
1420         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1421 install-dvi: install-dvi-am
1422
1423 install-dvi-am:
1424
1425 install-exec-am: install-amlibexecDATA install-amlibexecPROGRAMS \
1426         install-amlibexecSCRIPTS
1427         @$(NORMAL_INSTALL)
1428         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1429 install-html: install-html-am
1430
1431 install-html-am:
1432
1433 install-info: install-info-am
1434
1435 install-info-am:
1436
1437 install-man:
1438
1439 install-pdf: install-pdf-am
1440
1441 install-pdf-am:
1442
1443 install-ps: install-ps-am
1444
1445 install-ps-am:
1446
1447 installcheck-am: installcheck-local
1448
1449 maintainer-clean: maintainer-clean-am
1450         -rm -rf ./$(DEPDIR)
1451         -rm -f Makefile
1452 maintainer-clean-am: distclean-am maintainer-clean-generic
1453
1454 mostlyclean: mostlyclean-am
1455
1456 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1457         mostlyclean-libtool
1458
1459 pdf: pdf-am
1460
1461 pdf-am:
1462
1463 ps: ps-am
1464
1465 ps-am:
1466
1467 uninstall-am: uninstall-amlibexecDATA uninstall-amlibexecPROGRAMS \
1468         uninstall-amlibexecSCRIPTS
1469
1470 .MAKE: all check check-am install install-am install-data-am \
1471         install-exec-am install-strip
1472
1473 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
1474         clean-amlibexecPROGRAMS clean-generic clean-libtool ctags \
1475         dist-hook distclean distclean-compile distclean-generic \
1476         distclean-libtool distclean-tags distdir dvi dvi-am html \
1477         html-am info info-am install install-am install-amlibexecDATA \
1478         install-amlibexecPROGRAMS install-amlibexecSCRIPTS \
1479         install-data install-data-am install-data-hook install-dvi \
1480         install-dvi-am install-exec install-exec-am install-exec-hook \
1481         install-html install-html-am install-info install-info-am \
1482         install-man install-pdf install-pdf-am install-ps \
1483         install-ps-am install-strip installcheck installcheck-am \
1484         installcheck-local installdirs maintainer-clean \
1485         maintainer-clean-generic mostlyclean mostlyclean-compile \
1486         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1487         tags uninstall uninstall-am uninstall-amlibexecDATA \
1488         uninstall-amlibexecPROGRAMS uninstall-amlibexecSCRIPTS
1489
1490
1491 # Perl
1492 %: %.pl $(top_builddir)/config.status
1493         $(top_builddir)/config.status --file=$@:$<
1494         chmod a+x $@
1495 @CHECK_SCRIPTS_AT_BUILD_TRUE@   @if test -f $(top_builddir)/perl/.libs/libCmdline.so -o -f $(top_builddir)/perl/libCmdline.so; then \
1496 @CHECK_SCRIPTS_AT_BUILD_TRUE@           sed "s,^use lib ['\"]$(amperldir)['\"],# use lib '$(amperldir)' # nouselib," < $@ > $@.nouselib; \
1497 @CHECK_SCRIPTS_AT_BUILD_TRUE@           $(PERL) $(CHECK_PERL_FLAGS) -I$(top_builddir)/perl -I$(top_builddir)/perl/.libs -I$(top_srcdir)/perl -c -w $@.nouselib || exit 1; \
1498 @CHECK_SCRIPTS_AT_BUILD_TRUE@           rm $@.nouselib; \
1499 @CHECK_SCRIPTS_AT_BUILD_TRUE@   fi
1500
1501 %.pl: %.pl.in $(top_builddir)/config.status
1502         $(top_builddir)/config.status --file=$@:$<
1503
1504 %.pm: %.pm.in $(top_builddir)/config.status
1505         $(top_builddir)/config.status --file=$@:$<
1506
1507 # Shell
1508 %: %.sh $(top_builddir)/config.status
1509         $(top_builddir)/config.status --file=$@:$<
1510         chmod a+x $@
1511
1512 %.sh: %.sh.in $(top_builddir)/config.status
1513         $(top_builddir)/config.status --file=$@:$<
1514
1515 # Awk
1516 %: %.awk $(top_builddir)/config.status
1517         $(top_builddir)/config.status --file=$@:$<
1518         chmod a+x $@
1519
1520 %.awk: %.awk.in $(top_builddir)/config.status
1521         $(top_builddir)/config.status --file=$@:$<
1522
1523 # syntax-check perl scripts on 'make check'
1524 check-perl: $(SCRIPTS_PERL)
1525         @SCRIPTS_PERL="$(SCRIPTS_PERL)"; \
1526         if test x"$(SKIP_CHECKS)" = x"" && \
1527             test -f $(top_builddir)/perl/.libs/libCmdline.so -o -f $(top_builddir)/perl/libCmdline.so; then \
1528             if test -n "$(PERL)"; then \
1529                     for perlobj in $$SCRIPTS_PERL; do \
1530                             sed "s,^use lib ['\"]$(amperldir)['\"],# use lib '$(amperldir)' # nouselib," < $$perlobj > $$perlobj.nouselib; \
1531                             $(PERL) $(CHECK_PERL_FLAGS) -I$(top_builddir)/perl -I$(top_builddir)/perl/.libs -I$(top_srcdir)/perl -c -w $$perlobj.nouselib || exit 1; \
1532                             rm $$perlobj.nouselib; \
1533                     done; \
1534             fi \
1535         fi
1536 check-local: check-perl
1537
1538 # syntax-check perl scripts on 'make installcheck'
1539 installcheck-perl: $(SCRIPTS_PERL)
1540         @SCRIPTS_PERL="$(SCRIPTS_PERL)"; \
1541         if test x"$(SKIP_CHECKS)" = x"" && \
1542             test -n "$(PERL)"; then \
1543                 for perlobj in $$SCRIPTS_PERL; do \
1544                         $(PERL) $(CHECK_PERL_FLAGS) -c -w $$perlobj || exit 1; \
1545                 done; \
1546         fi
1547 installcheck-local: installcheck-perl
1548
1549 # syntax-check shell scripts on 'make check'
1550 check-shell: $(SCRIPTS_SHELL)
1551         @SCRIPTS_SHELL="$(SCRIPTS_SHELL)"; \
1552         if test x"$(SKIP_CHECKS)" = x"" && \
1553             test -n "$$SCRIPTS_SHELL"; then \
1554                 if test -n "$(BASH)"; then \
1555                         for shobj in $$SCRIPTS_SHELL; do \
1556                                 if $(BASH) -n $$shobj; then \
1557                                         echo "$$shobj syntax OK"; \
1558                                 else \
1559                                         echo "$$shobj syntax error"; \
1560                                         exit 1; \
1561                                 fi; \
1562                         done; \
1563                 else \
1564                         echo "No 'bash' available -- cannot syntax-check shell scripts"; \
1565                 fi; \
1566         fi
1567 check-local: check-shell
1568
1569 # make sure that the sources for all shell and perl scripts get included
1570 # in the distribution
1571 dist-scripts:
1572         @SCRIPTS_PERL="$(SCRIPTS_PERL) $(SCRIPTS_EXTRA_DIST)"; \
1573         SCRIPTS_SHELL="$(SCRIPTS_SHELL) $(SCRIPTS_EXTRA_DIST)"; \
1574         SCRIPTS_AWK="$(SCRIPTS_AWK) $(SCRIPTS_EXTRA_DIST)"; \
1575         SCRIPTS_DIST=; \
1576         for script in $$SCRIPTS_PERL; do \
1577                 test -f $(srcdir)/$${script}.pl && \
1578                         SCRIPTS_DIST="$$SCRIPTS_DIST $${script}.pl"; \
1579         done; \
1580         for script in $$SCRIPTS_SHELL; do \
1581                 test -f $(srcdir)/$${script}.sh && \
1582                         SCRIPTS_DIST="$$SCRIPTS_DIST $${script}.sh"; \
1583         done; \
1584         for script in $$SCRIPTS_AWK; do \
1585                 test -f $(srcdir)/$${script}.awk && \
1586                         SCRIPTS_DIST="$$SCRIPTS_DIST $${script}.awk"; \
1587         done; \
1588         for script in $$SCRIPTS_SHELL $$SCRIPTS_PERL $$SCRIPTS_AWK; do \
1589                 test -f $(srcdir)/$${script}.in && \
1590                         SCRIPTS_DIST="$$SCRIPTS_DIST $${script}.in"; \
1591         done; \
1592         for script in $$SCRIPTS_DIST; do \
1593                 dir=`dirname $${script}`; \
1594                 if test -n "$$dir" && test ! -d "$(distdir)/$$dir"; then \
1595                         mkdir -p "$(distdir)/$$dir" || exit 1; \
1596                 fi; \
1597                 test -f "$(distdir)/$${script}" && continue; \
1598                 echo "distributing $${script}"; \
1599                 cp -p "$(srcdir)/$${script}" "$(distdir)/$${script}" || exit 1; \
1600         done; \
1601         true
1602 dist-hook: dist-scripts
1603
1604 installperms-exec:
1605         @installperms="$(INSTALLPERMS_exec)"; \
1606         test -n "$$installperms" && echo "Setting installation permissions on executables"; \
1607         dest=; chown=; chmod=; \
1608         for cmd in $$installperms; do \
1609             case "$$cmd" in \
1610                 chown=amanda) \
1611                         echo "  ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1612                 dest=*|chown=*|chmod=*) \
1613                         echo "  ($$cmd)"; eval $$cmd;; \
1614                 *) $(do_file) ;; \
1615             esac; \
1616         done
1617
1618 installperms-data:
1619         @installperms="$(INSTALLPERMS_data)"; \
1620         dest=; chown=; chmod=; \
1621         for cmd in $$installperms; do \
1622             case "$$cmd" in \
1623                 chown=amanda) \
1624                         echo "  ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1625                 dest=*|chown=*|chmod=*) \
1626                         echo "  ($$cmd)"; eval $$cmd;; \
1627                 *)  $(do_file) ;; \
1628             esac; \
1629         done
1630
1631 install-exec-hook: installperms-exec
1632 install-data-hook: installperms-data
1633
1634 # define a rule to initialize the installperms manifest file
1635 @WANT_INSTALLPERMS_TRUE@installperms-init:
1636 @WANT_INSTALLPERMS_FALSE@installperms-init:
1637 @WANT_INSTALLPERMS_FALSE@       rm -f "$(installperms_sh)"
1638
1639 # A rule to make precompiler output from C files.  This is not used during
1640 # ordinary builds, but but can very useful in debugging problems on strange
1641 # architectures.  With this rule, we can ask users to 'make foo.i' and send
1642 # the result to us.
1643 #
1644 # It touches some automake internals ($COMPILE), but since it's not
1645 # build-critical, that's OK.
1646 %.i : %.c
1647         $(COMPILE) -E -o $@ $<
1648
1649 lint:
1650         @ for p in $(amlibexec_PROGRAMS) $(EXTRA_PROGRAMS); do                  \
1651                 p=`basename $$p $(EXEEXT)`;                                     \
1652                 f="$$p.c $(libamandad_la_SOURCES)";                             \
1653                 (cd ../common-src; make listlibsrc);                            \
1654                 f="$$f "`cat ../common-src/listlibsrc.output`;                  \
1655                 (cd ../server-src; make listlibsrc);                            \
1656                 f="$$f "`cat ../server-src/listlibsrc.output`;                  \
1657                 echo $(LINT) $$f;                                               \
1658                 $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config   \
1659                     $(INCLUDES) $$f;                                            \
1660                 if [ $$? -ne 0 ]; then                                          \
1661                     exit 1;                                                     \
1662                 fi;                                                             \
1663         done;                                                                   \
1664         exit 0
1665
1666 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1667 # Otherwise a system limit (for SysV at least) may be exceeded.
1668 .NOEXPORT: