fb70087469307b02e1ab7d10e345d7f16506b73b
[debian/amanda] / changer-src / Makefile.in
1 # Makefile.in generated by automake 1.10 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Makefile for Amanda tape changer programs.
18
19 # vim:ft=automake
20 # Copyright (c) 2005 Zmanda, Inc.  All Rights Reserved.
21
22 # This library is free software; you can redistribute it and/or modify it
23 # under the terms of the GNU Lesser General Public License version 2.1 as 
24 # published by the Free Software Foundation.
25
26 # This library is distributed in the hope that it will be useful, but
27 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
28 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
29 # License for more details.
30
31 # You should have received a copy of the GNU Lesser General Public License
32 # along with this library; if not, write to the Free Software Foundation,
33 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
34
35 # Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
36 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
37
38 # simple include file to pre-define variables which are then +='d by other
39 # scripts in this directory.
40
41 # vim:ft=automake
42 # Copyright (c) 2005 Zmanda, Inc.  All Rights Reserved.
43
44 # This library is free software; you can redistribute it and/or modify it
45 # under the terms of the GNU Lesser General Public License version 2.1 as 
46 # published by the Free Software Foundation.
47
48 # This library is distributed in the hope that it will be useful, but
49 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
50 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
51 # License for more details.
52
53 # You should have received a copy of the GNU Lesser General Public License
54 # along with this library; if not, write to the Free Software Foundation,
55 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
56
57 # Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
58 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
59
60 # SYNOPSIS:
61 #
62 # Automake magic to handle the various tasks of building scripts.  Scripts can
63 # be built down to extensionless executables (e.g., foo.pl -> foo), or to 
64 # files with the usual extension (foo-lib.sh.in -> foo.sh).
65 #
66 # Files which support it are syntax-checked when the user invokes 'make check'.
67 #
68 # All *target* filenames must be listed in SCRIPTS_SHELL, SCRIPTS_PERL, and 
69 # SCRIPTS_AWK to support 'make check', 'make dist', and 'make distclean'.
70 #
71 # USAGE:
72 #
73 #   include $(top_srcdir)/config/automake/vars.am
74 #   include $(top_srcdir)/config/automake/scripts.am
75 #   ...
76 #   SCRIPTS_PERL = fooscript barscript perl-lib.pl perlmod.pm
77 #   SCRIPTS_SHELL = shell1 shell2 sh-lib.sh
78 #   SCRIPTS_AWK = talk balk chalk awk-lib.awk
79 #
80 # with the corresponding files in the repository:
81 #
82 #   fooscript.pl barscript.pl perl-lib.pl.in perlmod.pm.in
83 #   shell1.sh shell2.sh sh-lib.sh.in
84 #   talk.awk balk.awk chalk.awk awk-lib.awk.in
85 #
86 # by default, all shell and perl scripts are syntax checked.  If this is
87 # a problem (for example, perl scripts depending on Amanda extension 
88 # modules), then assign to CHECK_{PERL,SHELL} the list of files you wish
89 # to be checked (which can be empty).
90 #
91 # To add extra flags to the perl checks (e.g., to add new -I flags), set
92 # CHECK_PERL_FLAGS.
93
94 # Implementation note:
95 #
96 # This file uses config.status to substitute @foo@ in those scripts while
97 # converting them. It also adds the executable bits (a+x) to extensionless
98 # files.  The substitution works even though the files are not listed in 
99 # configure.in
100
101 # vim:ft=automake
102 #
103 # Adjust post-install permissions settings.  This rule works off two
104 # specially-formatted variables, INSTALLPERMS_exec and INSTALLPERMS_data. 
105 # Each is a whitespace-separated list of commands, all of which are either
106 # a variable assignment or a filename.  Three variables are available:
107 #
108 #  - dest= sets the destination directory to e.g., $(sbindir)
109 #  - chown= controls changes in ownership; value is first argument to chown
110 #  - chmod= controls changes in permissions; value is first argument to chmod
111 #
112 # As a special case, chown=amanda is taken as equivalent to 
113 # chown=$(BINARY_OWNER):$(SETUID_GROUP), which may otherwise have problems with
114 # whitespace in the user/group names.
115
116 # when a filename is seen, the currently active variables are applied.
117 #
118 # Note that scripts are data, not executables!
119 #
120 # EXAMPLE
121 #
122 # sbin_PROGRAMS = foo bar bing
123 # libexec_PROGRAMS = pro gram
124 # sbin_SCRIPTS = sk ript
125 # INSTALLPERMS_exec = \
126 #       dest=$(sbindir) chown=amanda chmod= \
127 #               foo bar \
128 #       chmod=u+s,o-rwx \
129 #               bing
130 #       dest=$(libexecdir) chmod= \
131 #               $(libexec_PROGRAMS)
132 # INSTALLPERMS_data = \
133 #       dest=$(sbindir) chown=amanda chmod= \
134 #               $(sbin_SCRIPTS)
135 #
136 # This whole operation is not required when making builds for packaging,
137 # and can be disabled with --disable-installperms, via the WANT_INSTALLPERMS
138 # AM_CONDITIONAL.
139
140 # vim:ft=automake
141
142
143
144 VPATH = @srcdir@
145 pkgdatadir = $(datadir)/@PACKAGE@
146 pkglibdir = $(libdir)/@PACKAGE@
147 pkgincludedir = $(includedir)/@PACKAGE@
148 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
149 install_sh_DATA = $(install_sh) -c -m 644
150 install_sh_PROGRAM = $(install_sh) -c
151 install_sh_SCRIPT = $(install_sh) -c
152 INSTALL_HEADER = $(INSTALL_DATA)
153 transform = $(program_transform_name)
154 NORMAL_INSTALL = :
155 PRE_INSTALL = :
156 POST_INSTALL = :
157 NORMAL_UNINSTALL = :
158 PRE_UNINSTALL = :
159 POST_UNINSTALL = :
160 build_triplet = @build@
161 host_triplet = @host@
162 target_triplet = @target@
163 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
164         $(top_srcdir)/config/automake/installperms.am \
165         $(top_srcdir)/config/automake/precompile.am \
166         $(top_srcdir)/config/automake/scripts.am \
167         $(top_srcdir)/config/automake/vars.am
168 amlibexec_PROGRAMS = $(am__EXEEXT_2)
169 EXTRA_PROGRAMS = $(am__EXEEXT_1)
170 @WANT_SCSI_AIX_TRUE@am__append_1 = scsi-aix.c
171 @WANT_SCSI_HPUX_NEW_TRUE@am__append_2 = scsi-hpux_new.c
172 @WANT_SCSI_IRIX_TRUE@am__append_3 = scsi-irix.c
173 @WANT_SCSI_LINUX_TRUE@am__append_4 = scsi-linux.c
174 @WANT_SCSI_SOLARIS_TRUE@am__append_5 = scsi-solaris.c
175 @WANT_SCSI_BSD_TRUE@am__append_6 = scsi-bsd.c
176 @WANT_SCSI_CAM_TRUE@am__append_7 = scsi-cam.c
177 @WANT_SCSI_HPUX_TRUE@am__append_8 = scsi-hpux.c
178 @WANT_SCSI_CHIO_TRUE@am__append_9 = scsi-chio.c
179 subdir = changer-src
180 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
181 am__aclocal_m4_deps =  \
182         $(top_srcdir)/config/macro-archive/ac_define_dir.m4 \
183         $(top_srcdir)/config/macro-archive/ac_prog_perl_version.m4 \
184         $(top_srcdir)/config/macro-archive/ac_prog_swig.m4 \
185         $(top_srcdir)/config/macro-archive/ax_compare_version.m4 \
186         $(top_srcdir)/config/macro-archive/docbook-dtd.m4 \
187         $(top_srcdir)/config/macro-archive/docbook-xslt-min.m4 \
188         $(top_srcdir)/config/macro-archive/docbook-xslt.m4 \
189         $(top_srcdir)/config/macro-archive/xsltproc.m4 \
190         $(top_srcdir)/config/amanda/amplot.m4 \
191         $(top_srcdir)/config/amanda/bsd-security.m4 \
192         $(top_srcdir)/config/amanda/bsdtcp-security.m4 \
193         $(top_srcdir)/config/amanda/bsdudp-security.m4 \
194         $(top_srcdir)/config/amanda/changer.m4 \
195         $(top_srcdir)/config/amanda/components.m4 \
196         $(top_srcdir)/config/amanda/compress.m4 \
197         $(top_srcdir)/config/amanda/config.m4 \
198         $(top_srcdir)/config/amanda/debugging.m4 \
199         $(top_srcdir)/config/amanda/defaults.m4 \
200         $(top_srcdir)/config/amanda/devprefix.m4 \
201         $(top_srcdir)/config/amanda/dirs.m4 \
202         $(top_srcdir)/config/amanda/documentation.m4 \
203         $(top_srcdir)/config/amanda/dumpers.m4 \
204         $(top_srcdir)/config/amanda/flags.m4 \
205         $(top_srcdir)/config/amanda/flock.m4 \
206         $(top_srcdir)/config/amanda/funcs.m4 \
207         $(top_srcdir)/config/amanda/getfsent.m4 \
208         $(top_srcdir)/config/amanda/i18n.m4 \
209         $(top_srcdir)/config/amanda/ipv6.m4 \
210         $(top_srcdir)/config/amanda/krb4-security.m4 \
211         $(top_srcdir)/config/amanda/krb5-security.m4 \
212         $(top_srcdir)/config/amanda/lfs.m4 \
213         $(top_srcdir)/config/amanda/libs.m4 \
214         $(top_srcdir)/config/amanda/net.m4 \
215         $(top_srcdir)/config/amanda/progs.m4 \
216         $(top_srcdir)/config/amanda/readdir.m4 \
217         $(top_srcdir)/config/amanda/readline.m4 \
218         $(top_srcdir)/config/amanda/rsh-security.m4 \
219         $(top_srcdir)/config/amanda/s3-device.m4 \
220         $(top_srcdir)/config/amanda/shmem.m4 \
221         $(top_srcdir)/config/amanda/socklen_t_equiv.m4 \
222         $(top_srcdir)/config/amanda/ssh-security.m4 \
223         $(top_srcdir)/config/amanda/summary.m4 \
224         $(top_srcdir)/config/amanda/swig.m4 \
225         $(top_srcdir)/config/amanda/syshacks.m4 \
226         $(top_srcdir)/config/amanda/tape.m4 \
227         $(top_srcdir)/config/amanda/types.m4 \
228         $(top_srcdir)/config/amanda/userid.m4 \
229         $(top_srcdir)/config/amanda/version.m4 \
230         $(top_srcdir)/config/gnulib/alloca.m4 \
231         $(top_srcdir)/config/gnulib/arpa_inet_h.m4 \
232         $(top_srcdir)/config/gnulib/base64.m4 \
233         $(top_srcdir)/config/gnulib/eoverflow.m4 \
234         $(top_srcdir)/config/gnulib/extensions.m4 \
235         $(top_srcdir)/config/gnulib/float_h.m4 \
236         $(top_srcdir)/config/gnulib/fsusage.m4 \
237         $(top_srcdir)/config/gnulib/getaddrinfo.m4 \
238         $(top_srcdir)/config/gnulib/gettimeofday.m4 \
239         $(top_srcdir)/config/gnulib/gnulib-comp.m4 \
240         $(top_srcdir)/config/gnulib/include_next.m4 \
241         $(top_srcdir)/config/gnulib/inet_ntop.m4 \
242         $(top_srcdir)/config/gnulib/intmax_t.m4 \
243         $(top_srcdir)/config/gnulib/lock.m4 \
244         $(top_srcdir)/config/gnulib/longlong.m4 \
245         $(top_srcdir)/config/gnulib/malloc.m4 \
246         $(top_srcdir)/config/gnulib/mkdtemp.m4 \
247         $(top_srcdir)/config/gnulib/netinet_in_h.m4 \
248         $(top_srcdir)/config/gnulib/onceonly_2_57.m4 \
249         $(top_srcdir)/config/gnulib/physmem.m4 \
250         $(top_srcdir)/config/gnulib/safe-read.m4 \
251         $(top_srcdir)/config/gnulib/safe-write.m4 \
252         $(top_srcdir)/config/gnulib/snprintf.m4 \
253         $(top_srcdir)/config/gnulib/socklen.m4 \
254         $(top_srcdir)/config/gnulib/sockpfaf.m4 \
255         $(top_srcdir)/config/gnulib/ssize_t.m4 \
256         $(top_srcdir)/config/gnulib/stdbool.m4 \
257         $(top_srcdir)/config/gnulib/stdint.m4 \
258         $(top_srcdir)/config/gnulib/stdio_h.m4 \
259         $(top_srcdir)/config/gnulib/stdlib_h.m4 \
260         $(top_srcdir)/config/gnulib/strdup.m4 \
261         $(top_srcdir)/config/gnulib/string_h.m4 \
262         $(top_srcdir)/config/gnulib/sys_socket_h.m4 \
263         $(top_srcdir)/config/gnulib/sys_stat_h.m4 \
264         $(top_srcdir)/config/gnulib/sys_time_h.m4 \
265         $(top_srcdir)/config/gnulib/tempname.m4 \
266         $(top_srcdir)/config/gnulib/ulonglong.m4 \
267         $(top_srcdir)/config/gnulib/unistd_h.m4 \
268         $(top_srcdir)/config/gnulib/vasnprintf.m4 \
269         $(top_srcdir)/config/gnulib/visibility.m4 \
270         $(top_srcdir)/config/gnulib/wchar.m4 \
271         $(top_srcdir)/config/gettext-macros/gettext.m4 \
272         $(top_srcdir)/config/gettext-macros/iconv.m4 \
273         $(top_srcdir)/config/gettext-macros/inttypes_h.m4 \
274         $(top_srcdir)/config/gettext-macros/lib-ld.m4 \
275         $(top_srcdir)/config/gettext-macros/lib-link.m4 \
276         $(top_srcdir)/config/gettext-macros/lib-prefix.m4 \
277         $(top_srcdir)/config/gettext-macros/longlong.m4 \
278         $(top_srcdir)/config/gettext-macros/nls.m4 \
279         $(top_srcdir)/config/gettext-macros/po.m4 \
280         $(top_srcdir)/config/gettext-macros/progtest.m4 \
281         $(top_srcdir)/config/gettext-macros/size_max.m4 \
282         $(top_srcdir)/config/gettext-macros/stdint_h.m4 \
283         $(top_srcdir)/config/gettext-macros/wchar_t.m4 \
284         $(top_srcdir)/config/gettext-macros/wint_t.m4 \
285         $(top_srcdir)/config/gettext-macros/xsize.m4 \
286         $(top_srcdir)/config/libtool.m4 $(top_srcdir)/configure.in
287 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
288         $(ACLOCAL_M4)
289 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
290 CONFIG_HEADER = $(top_builddir)/config/config.h
291 CONFIG_CLEAN_FILES =
292 @WANT_CHG_SCSI_CHIO_TRUE@am__EXEEXT_1 = chg-scsi-chio$(EXEEXT)
293 @WANT_CHG_SCSI_TRUE@am__EXEEXT_2 = chg-scsi$(EXEEXT)
294 am__installdirs = "$(DESTDIR)$(amlibexecdir)" \
295         "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"
296 amlibexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
297 PROGRAMS = $(amlibexec_PROGRAMS)
298 am__chg_scsi_SOURCES_DIST = libscsi.h scsi-defs.h chg-scsi.c \
299         scsi-changer-driver.c sense.c scsi-aix.c scsi-hpux_new.c \
300         scsi-irix.c scsi-linux.c scsi-solaris.c scsi-bsd.c scsi-cam.c
301 @WANT_SCSI_AIX_TRUE@am__objects_1 = scsi-aix.$(OBJEXT)
302 @WANT_SCSI_HPUX_NEW_TRUE@am__objects_2 = scsi-hpux_new.$(OBJEXT)
303 @WANT_SCSI_IRIX_TRUE@am__objects_3 = scsi-irix.$(OBJEXT)
304 @WANT_SCSI_LINUX_TRUE@am__objects_4 = scsi-linux.$(OBJEXT)
305 @WANT_SCSI_SOLARIS_TRUE@am__objects_5 = scsi-solaris.$(OBJEXT)
306 @WANT_SCSI_BSD_TRUE@am__objects_6 = scsi-bsd.$(OBJEXT)
307 @WANT_SCSI_CAM_TRUE@am__objects_7 = scsi-cam.$(OBJEXT)
308 am__objects_8 = chg-scsi.$(OBJEXT) scsi-changer-driver.$(OBJEXT) \
309         sense.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
310         $(am__objects_3) $(am__objects_4) $(am__objects_5) \
311         $(am__objects_6) $(am__objects_7)
312 am_chg_scsi_OBJECTS = $(am__objects_8)
313 chg_scsi_OBJECTS = $(am_chg_scsi_OBJECTS)
314 chg_scsi_LDADD = $(LDADD)
315 am__DEPENDENCIES_1 =
316 chg_scsi_DEPENDENCIES = ../common-src/libamanda.la \
317         ../tape-src/libamtape.la ../common-src/libamanda.la \
318         ../gnulib/libgnu.la $(am__DEPENDENCIES_1)
319 am__chg_scsi_chio_SOURCES_DIST = libscsi.h chg-scsi-chio.c scsi-hpux.c \
320         scsi-chio.c
321 @WANT_SCSI_HPUX_TRUE@am__objects_9 = scsi-hpux.$(OBJEXT)
322 @WANT_SCSI_CHIO_TRUE@am__objects_10 = scsi-chio.$(OBJEXT)
323 am__objects_11 = chg-scsi-chio.$(OBJEXT) $(am__objects_9) \
324         $(am__objects_10)
325 am_chg_scsi_chio_OBJECTS = $(am__objects_11)
326 chg_scsi_chio_OBJECTS = $(am_chg_scsi_chio_OBJECTS)
327 chg_scsi_chio_LDADD = $(LDADD)
328 chg_scsi_chio_DEPENDENCIES = ../common-src/libamanda.la \
329         ../tape-src/libamtape.la ../common-src/libamanda.la \
330         ../gnulib/libgnu.la $(am__DEPENDENCIES_1)
331 amlibexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
332 SCRIPTS = $(amlibexec_SCRIPTS)
333 DEFAULT_INCLUDES = -I. -I$(top_builddir)/config@am__isrc@
334 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
335 am__depfiles_maybe = depfiles
336 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
337         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
338 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
339         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
340         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
341 CCLD = $(CC)
342 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
343         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
344         $(LDFLAGS) -o $@
345 SOURCES = $(chg_scsi_SOURCES) $(chg_scsi_chio_SOURCES)
346 DIST_SOURCES = $(am__chg_scsi_SOURCES_DIST) \
347         $(am__chg_scsi_chio_SOURCES_DIST)
348 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
349 am__vpath_adj = case $$p in \
350     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
351     *) f=$$p;; \
352   esac;
353 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
354 amlibexecDATA_INSTALL = $(INSTALL_DATA)
355 DATA = $(amlibexec_DATA)
356 ETAGS = etags
357 CTAGS = ctags
358 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
359 ACLOCAL = @ACLOCAL@
360 ALLOCA = @ALLOCA@
361 ALLOCA_H = @ALLOCA_H@
362 AMANDA_DBGDIR = @AMANDA_DBGDIR@
363 AMANDA_DEBUG_DAYS = @AMANDA_DEBUG_DAYS@
364 AMANDA_STATIC_LDFLAGS = @AMANDA_STATIC_LDFLAGS@
365 AMANDA_TMPDIR = @AMANDA_TMPDIR@
366 AMANDA_WARNING_CFLAGS = @AMANDA_WARNING_CFLAGS@
367 AMLINT = @AMLINT@
368 AMLINTFLAGS = @AMLINTFLAGS@
369 AMPLOT_CAT_COMPRESS = @AMPLOT_CAT_COMPRESS@
370 AMPLOT_CAT_GZIP = @AMPLOT_CAT_GZIP@
371 AMPLOT_CAT_PACK = @AMPLOT_CAT_PACK@
372 AMPLOT_COMPRESS = @AMPLOT_COMPRESS@
373 AMTAR = @AMTAR@
374 AR = @AR@
375 ARPA_INET_H = @ARPA_INET_H@
376 AUTOCONF = @AUTOCONF@
377 AUTOHEADER = @AUTOHEADER@
378 AUTOMAKE = @AUTOMAKE@
379 AWK = @AWK@
380 BASH = @BASH@
381 BINARY_OWNER = @BINARY_OWNER@
382 BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
383 BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
384 BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
385 BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
386 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
387 CAT = @CAT@
388 CC = @CC@
389 CCDEPMODE = @CCDEPMODE@
390 CFLAGS = @CFLAGS@
391 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
392 CHIO = @CHIO@
393 CHS = @CHS@
394 CLIENT_LOGIN = @CLIENT_LOGIN@
395 CLIENT_SCRIPTS_OPT = @CLIENT_SCRIPTS_OPT@
396 COMPRESS = @COMPRESS@
397 CONFIG_DIR = @CONFIG_DIR@
398 CPP = @CPP@
399 CPPFLAGS = @CPPFLAGS@
400 CURL_CONFIG = @CURL_CONFIG@
401 CXX = @CXX@
402 CXXCPP = @CXXCPP@
403 CXXDEPMODE = @CXXDEPMODE@
404 CXXFLAGS = @CXXFLAGS@
405 CYGPATH_W = @CYGPATH_W@
406 DD = @DD@
407 DEFAULT_AMANDATES_FILE = @DEFAULT_AMANDATES_FILE@
408 DEFAULT_CHANGER_DEVICE = @DEFAULT_CHANGER_DEVICE@
409 DEFAULT_CONFIG = @DEFAULT_CONFIG@
410 DEFAULT_SERVER = @DEFAULT_SERVER@
411 DEFAULT_TAPE_DEVICE = @DEFAULT_TAPE_DEVICE@
412 DEFAULT_TAPE_SERVER = @DEFAULT_TAPE_SERVER@
413 DEFS = @DEFS@
414 DEPDIR = @DEPDIR@
415 DOC_BUILD_DATE = @DOC_BUILD_DATE@
416 DUMP = @DUMP@
417 DUMPER_DIR = @DUMPER_DIR@
418 ECHO = @ECHO@
419 ECHO_C = @ECHO_C@
420 ECHO_N = @ECHO_N@
421 ECHO_T = @ECHO_T@
422 EGREP = @EGREP@
423 EOVERFLOW = @EOVERFLOW@
424 EXAMPLE_TAPEDEV = @EXAMPLE_TAPEDEV@
425 EXEEXT = @EXEEXT@
426 F77 = @F77@
427 FFLAGS = @FFLAGS@
428 FLOAT_H = @FLOAT_H@
429 GETCONF = @GETCONF@
430 GETTEXT = @GETTEXT@
431 GLIB_CFLAGS = @GLIB_CFLAGS@
432 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
433 GLIB_LIBS = @GLIB_LIBS@
434 GLIB_MKENUMS = @GLIB_MKENUMS@
435 GMSGFMT = @GMSGFMT@
436 GMSGFMT_015 = @GMSGFMT_015@
437 GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
438 GNULIB_CHOWN = @GNULIB_CHOWN@
439 GNULIB_DUP2 = @GNULIB_DUP2@
440 GNULIB_FCHDIR = @GNULIB_FCHDIR@
441 GNULIB_FFLUSH = @GNULIB_FFLUSH@
442 GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
443 GNULIB_FSEEK = @GNULIB_FSEEK@
444 GNULIB_FSEEKO = @GNULIB_FSEEKO@
445 GNULIB_FTELL = @GNULIB_FTELL@
446 GNULIB_FTELLO = @GNULIB_FTELLO@
447 GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
448 GNULIB_GETCWD = @GNULIB_GETCWD@
449 GNULIB_GETDELIM = @GNULIB_GETDELIM@
450 GNULIB_GETLINE = @GNULIB_GETLINE@
451 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
452 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
453 GNULIB_LCHOWN = @GNULIB_LCHOWN@
454 GNULIB_LSEEK = @GNULIB_LSEEK@
455 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
456 GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
457 GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
458 GNULIB_MBSCHR = @GNULIB_MBSCHR@
459 GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
460 GNULIB_MBSLEN = @GNULIB_MBSLEN@
461 GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
462 GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
463 GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
464 GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
465 GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
466 GNULIB_MBSSEP = @GNULIB_MBSSEP@
467 GNULIB_MBSSPN = @GNULIB_MBSSPN@
468 GNULIB_MBSSTR = @GNULIB_MBSSTR@
469 GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
470 GNULIB_MEMMEM = @GNULIB_MEMMEM@
471 GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
472 GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
473 GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
474 GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
475 GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
476 GNULIB_READLINK = @GNULIB_READLINK@
477 GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
478 GNULIB_SLEEP = @GNULIB_SLEEP@
479 GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
480 GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
481 GNULIB_STPCPY = @GNULIB_STPCPY@
482 GNULIB_STPNCPY = @GNULIB_STPNCPY@
483 GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
484 GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
485 GNULIB_STRDUP = @GNULIB_STRDUP@
486 GNULIB_STRNDUP = @GNULIB_STRNDUP@
487 GNULIB_STRNLEN = @GNULIB_STRNLEN@
488 GNULIB_STRPBRK = @GNULIB_STRPBRK@
489 GNULIB_STRSEP = @GNULIB_STRSEP@
490 GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
491 GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
492 GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
493 GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
494 GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
495 GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
496 GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
497 GNUPLOT = @GNUPLOT@
498 GNUTAR = @GNUTAR@
499 GNUTAR_LISTED_INCREMENTAL_DIR = @GNUTAR_LISTED_INCREMENTAL_DIR@
500 GOBJECT_QUERY = @GOBJECT_QUERY@
501 GREP = @GREP@
502 GZIP = @GZIP@
503 HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
504 HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
505 HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
506 HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
507 HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
508 HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
509 HAVE_DECL_MKDIR = @HAVE_DECL_MKDIR@
510 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
511 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
512 HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
513 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
514 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
515 HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
516 HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
517 HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
518 HAVE_DUP2 = @HAVE_DUP2@
519 HAVE_FSEEKO = @HAVE_FSEEKO@
520 HAVE_FTELLO = @HAVE_FTELLO@
521 HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
522 HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
523 HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
524 HAVE_IO_H = @HAVE_IO_H@
525 HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
526 HAVE_LSTAT = @HAVE_LSTAT@
527 HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
528 HAVE_MEMPCPY = @HAVE_MEMPCPY@
529 HAVE_MKDTEMP = @HAVE_MKDTEMP@
530 HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@
531 HAVE_READLINK = @HAVE_READLINK@
532 HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
533 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
534 HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
535 HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
536 HAVE_SLEEP = @HAVE_SLEEP@
537 HAVE_STDINT_H = @HAVE_STDINT_H@
538 HAVE_STPCPY = @HAVE_STPCPY@
539 HAVE_STPNCPY = @HAVE_STPNCPY@
540 HAVE_STRCASECMP = @HAVE_STRCASECMP@
541 HAVE_STRCASESTR = @HAVE_STRCASESTR@
542 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
543 HAVE_STRNDUP = @HAVE_STRNDUP@
544 HAVE_STRPBRK = @HAVE_STRPBRK@
545 HAVE_STRSEP = @HAVE_STRSEP@
546 HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@
547 HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
548 HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
549 HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@
550 HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
551 HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
552 HAVE_UNISTD_H = @HAVE_UNISTD_H@
553 HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
554 HAVE_VASPRINTF = @HAVE_VASPRINTF@
555 HAVE_VISIBILITY = @HAVE_VISIBILITY@
556 HAVE_WCHAR_H = @HAVE_WCHAR_H@
557 HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
558 HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@
559 HAVE__BOOL = @HAVE__BOOL@
560 INCLUDE_NEXT = @INCLUDE_NEXT@
561 INSTALL = @INSTALL@
562 INSTALL_DATA = @INSTALL_DATA@
563 INSTALL_PROGRAM = @INSTALL_PROGRAM@
564 INSTALL_SCRIPT = @INSTALL_SCRIPT@
565 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
566 INTLLIBS = @INTLLIBS@
567 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
568 LDFLAGS = @LDFLAGS@
569 LEX = @LEX@
570 LEXLIB = @LEXLIB@
571 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
572 LIBCURL = @LIBCURL@
573 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
574 LIBICONV = @LIBICONV@
575 LIBINTL = @LIBINTL@
576 LIBMULTITHREAD = @LIBMULTITHREAD@
577 LIBOBJS = @LIBOBJS@
578 LIBPTH = @LIBPTH@
579 LIBS = @LIBS@
580 LIBTHREAD = @LIBTHREAD@
581 LIBTOOL = @LIBTOOL@
582 LIBTOOL_DEPS = @LIBTOOL_DEPS@
583 LN_S = @LN_S@
584 LTLIBICONV = @LTLIBICONV@
585 LTLIBINTL = @LTLIBINTL@
586 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
587 LTLIBOBJS = @LTLIBOBJS@
588 LTLIBPTH = @LTLIBPTH@
589 LTLIBTHREAD = @LTLIBTHREAD@
590 MAILER = @MAILER@
591 MAKEINFO = @MAKEINFO@
592 MAXTAPEBLOCKSIZE = @MAXTAPEBLOCKSIZE@
593 MCUTIL = @MCUTIL@
594 MKDIR_P = @MKDIR_P@
595 MSGFMT = @MSGFMT@
596 MSGFMT_015 = @MSGFMT_015@
597 MSGMERGE = @MSGMERGE@
598 MT = @MT@
599 MTX = @MTX@
600 MT_FILE_FLAG = @MT_FILE_FLAG@
601 NETINET_IN_H = @NETINET_IN_H@
602 NEXT_FLOAT_H = @NEXT_FLOAT_H@
603 NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@
604 NEXT_STDINT_H = @NEXT_STDINT_H@
605 NEXT_STDIO_H = @NEXT_STDIO_H@
606 NEXT_STDLIB_H = @NEXT_STDLIB_H@
607 NEXT_STRING_H = @NEXT_STRING_H@
608 NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@
609 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
610 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
611 NEXT_UNISTD_H = @NEXT_UNISTD_H@
612 NEXT_WCHAR_H = @NEXT_WCHAR_H@
613 OBJEXT = @OBJEXT@
614 PACKAGE = @PACKAGE@
615 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
616 PACKAGE_NAME = @PACKAGE_NAME@
617 PACKAGE_STRING = @PACKAGE_STRING@
618 PACKAGE_TARNAME = @PACKAGE_TARNAME@
619 PACKAGE_VERSION = @PACKAGE_VERSION@
620 PATH_SEPARATOR = @PATH_SEPARATOR@
621 PCAT = @PCAT@
622 PERL = @PERL@
623 PERLEXTLIBS = @PERLEXTLIBS@
624 PERL_INC = @PERL_INC@
625 PKG_CONFIG = @PKG_CONFIG@
626 POSUB = @POSUB@
627 PRINT = @PRINT@
628 PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
629 RANLIB = @RANLIB@
630 READLINE_LIBS = @READLINE_LIBS@
631 REPLACE_CHOWN = @REPLACE_CHOWN@
632 REPLACE_FCHDIR = @REPLACE_FCHDIR@
633 REPLACE_FFLUSH = @REPLACE_FFLUSH@
634 REPLACE_FPRINTF = @REPLACE_FPRINTF@
635 REPLACE_FSEEK = @REPLACE_FSEEK@
636 REPLACE_FSEEKO = @REPLACE_FSEEKO@
637 REPLACE_FTELL = @REPLACE_FTELL@
638 REPLACE_FTELLO = @REPLACE_FTELLO@
639 REPLACE_GETCWD = @REPLACE_GETCWD@
640 REPLACE_GETLINE = @REPLACE_GETLINE@
641 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
642 REPLACE_LCHOWN = @REPLACE_LCHOWN@
643 REPLACE_LSEEK = @REPLACE_LSEEK@
644 REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
645 REPLACE_PRINTF = @REPLACE_PRINTF@
646 REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
647 REPLACE_SPRINTF = @REPLACE_SPRINTF@
648 REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
649 REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
650 REPLACE_VPRINTF = @REPLACE_VPRINTF@
651 REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
652 REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
653 REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
654 RESTORE = @RESTORE@
655 SAMBA_CLIENT = @SAMBA_CLIENT@
656 SERVICE_SUFFIX = @SERVICE_SUFFIX@
657 SETUID_GROUP = @SETUID_GROUP@
658 SET_MAKE = @SET_MAKE@
659 SHELL = @SHELL@
660 SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
661 SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
662 SNAPSHOT_STAMP = @SNAPSHOT_STAMP@
663 SORT = @SORT@
664 SSH = @SSH@
665 STDBOOL_H = @STDBOOL_H@
666 STDINT_H = @STDINT_H@
667 STRIP = @STRIP@
668 SVN = @SVN@
669 SWIG = @SWIG@
670 SWIG_LIB = @SWIG_LIB@
671 SYS_SOCKET_H = @SYS_SOCKET_H@
672 SYS_STAT_H = @SYS_STAT_H@
673 SYS_TIME_H = @SYS_TIME_H@
674 USE_NLS = @USE_NLS@
675 USE_VERSION_SUFFIXES = @USE_VERSION_SUFFIXES@
676 VDUMP = @VDUMP@
677 VERSION = @VERSION@
678 VERSION_COMMENT = @VERSION_COMMENT@
679 VERSION_MAJOR = @VERSION_MAJOR@
680 VERSION_MINOR = @VERSION_MINOR@
681 VERSION_PATCH = @VERSION_PATCH@
682 VERSION_SUFFIX = @VERSION_SUFFIX@
683 VRESTORE = @VRESTORE@
684 VXDUMP = @VXDUMP@
685 VXRESTORE = @VXRESTORE@
686 WCHAR_H = @WCHAR_H@
687 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
688 WINT_T_SUFFIX = @WINT_T_SUFFIX@
689 XFSDUMP = @XFSDUMP@
690 XFSRESTORE = @XFSRESTORE@
691 XGETTEXT = @XGETTEXT@
692 XGETTEXT_015 = @XGETTEXT_015@
693 XSLREL = @XSLREL@
694 XSLTPROC = @XSLTPROC@
695 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
696 YACC = @YACC@
697 YFLAGS = @YFLAGS@
698 _libcurl_config = @_libcurl_config@
699 abs_builddir = @abs_builddir@
700 abs_srcdir = @abs_srcdir@
701 abs_top_builddir = @abs_top_builddir@
702 abs_top_srcdir = @abs_top_srcdir@
703 ac_ct_CC = @ac_ct_CC@
704 ac_ct_CXX = @ac_ct_CXX@
705 ac_ct_F77 = @ac_ct_F77@
706 am__include = @am__include@
707 am__leading_dot = @am__leading_dot@
708 am__quote = @am__quote@
709 am__tar = @am__tar@
710 am__untar = @am__untar@
711 amincludedir = @amincludedir@
712 amlibdir = @amlibdir@
713 amlibexecdir = @amlibexecdir@
714 amperldir = @amperldir@
715 bindir = @bindir@
716 build = @build@
717 build_alias = @build_alias@
718 build_cpu = @build_cpu@
719 build_os = @build_os@
720 build_vendor = @build_vendor@
721 builddir = @builddir@
722 datadir = @datadir@
723 datarootdir = @datarootdir@
724 docdir = @docdir@
725 dvidir = @dvidir@
726 exec_prefix = @exec_prefix@
727 gl_LIBOBJS = @gl_LIBOBJS@
728 gl_LTLIBOBJS = @gl_LTLIBOBJS@
729 host = @host@
730 host_alias = @host_alias@
731 host_cpu = @host_cpu@
732 host_os = @host_os@
733 host_vendor = @host_vendor@
734 htmldir = @htmldir@
735 includedir = @includedir@
736 infodir = @infodir@
737 install_sh = @install_sh@
738 libdir = @libdir@
739 libexecdir = @libexecdir@
740 localedir = @localedir@
741 localstatedir = @localstatedir@
742 mandir = @mandir@
743 mkdir_p = @mkdir_p@
744 oldincludedir = @oldincludedir@
745 pdfdir = @pdfdir@
746 prefix = @prefix@
747 program_transform_name = @program_transform_name@
748 psdir = @psdir@
749 sbindir = @sbindir@
750 sharedstatedir = @sharedstatedir@
751 srcdir = @srcdir@
752 sysconfdir = @sysconfdir@
753 target = @target@
754 target_alias = @target_alias@
755 target_cpu = @target_cpu@
756 target_os = @target_os@
757 target_vendor = @target_vendor@
758 top_builddir = @top_builddir@
759 top_srcdir = @top_srcdir@
760 SUFFIXES = 
761 EXTRA_DIST = chg-lib.sh.in scsi-proto.c
762 BUILT_SOURCES = 
763 MOSTLYCLEANFILES = 
764
765 # config.status leaves config.log files around
766 CLEANFILES = config.log
767
768 # and we'll need to clean up our generated files for distclean
769 DISTCLEANFILES = $(SCRIPTS_SHELL) $(SCRIPTS_PERL) $(SCRIPTS_AWK)
770 MAINTAINERCLEANFILES = 
771
772 # syntax-check shell scripts on 'make check'
773 CHECK_SHELL = $(SCRIPTS_SHELL)
774
775 # sed expression to strip leading directories from a filename; this converts e.g.,
776 # src/foo/bar.so to bar.so.
777 strip_leading_dirs = s|^.*/||
778 INCLUDES = -I$(top_builddir)/common-src \
779                 -I$(top_srcdir)/common-src   \
780                 -I$(top_srcdir)/tape-src     \
781                 -I$(top_srcdir)/gnulib
782
783 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
784 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
785 LINT = $(AMLINT)
786 LINTFLAGS = $(AMLINTFLAGS)
787 @WANT_CHG_SCSI_CHIO_TRUE@CHIO_SCSI = chg-scsi-chio
788 @WANT_CHG_SCSI_TRUE@CHG_SCSI = chg-scsi
789 CHECK_PERL = \
790                 chg-chio \
791                 chg-iomega \
792                 chg-rth
793
794 SCRIPTS_PERL = $(CHECK_PERL)
795 SCRIPTS_SHELL = \
796                 chg-manual \
797                 chg-multi \
798                 chg-mtx \
799                 chg-chs \
800                 chg-zd-mtx \
801                 chg-juke \
802                 chg-rait \
803                 chg-null \
804                 chg-mcutil \
805                 chg-disk
806
807 SCRIPTS_INCLUDE = \
808                 chg-lib.sh
809
810 amlibexec_SCRIPTS = $(SCRIPTS_PERL) $(SCRIPTS_SHELL)
811 amlibexec_DATA = $(SCRIPTS_INCLUDE)
812
813 ###
814 # Because libamanda includes routines (e.g. regex) provided by some system
815 # libraries, and because of the way libtool sets up the command line, we
816 # need to list libamanda twice here, first to override the system library
817 # routines, and second to pick up any references in the other libraries.
818 ###
819 LDADD = ../common-src/libamanda.la \
820         ../tape-src/libamtape.la \
821         ../common-src/libamanda.la \
822         ../gnulib/libgnu.la \
823         $(READLINE_LIBS)
824
825 chg_scsi_CSRC = chg-scsi.c scsi-changer-driver.c sense.c \
826         $(am__append_1) $(am__append_2) $(am__append_3) \
827         $(am__append_4) $(am__append_5) $(am__append_6) \
828         $(am__append_7)
829 chg_scsi_SOURCES = libscsi.h scsi-defs.h $(chg_scsi_CSRC)
830 chg_scsi_chio_CSRC = chg-scsi-chio.c $(am__append_8) $(am__append_9)
831 chg_scsi_chio_SOURCES = libscsi.h $(chg_scsi_chio_CSRC)
832 INSTALLPERMS_exec = \
833         chown=amanda \
834         dest=$(sbindir) $(sbin_PROGRAMS) \
835         dest=$(amlibexecdir) $(amlibexec_PROGRAMS) 
836
837 INSTALLPERMS_data = \
838         chown=amanda \
839         dest=$(sbindir) $(sbin_SCRIPTS) \
840         dest=$(amlibexecdir) $(amlibexec_SCRIPTS) $(amlibexec_DATA)
841
842 all: $(BUILT_SOURCES)
843         $(MAKE) $(AM_MAKEFLAGS) all-am
844
845 .SUFFIXES:
846 .SUFFIXES: .c .lo .o .obj
847 $(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)
848         @for dep in $?; do \
849           case '$(am__configure_deps)' in \
850             *$$dep*) \
851               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
852                 && exit 0; \
853               exit 1;; \
854           esac; \
855         done; \
856         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  changer-src/Makefile'; \
857         cd $(top_srcdir) && \
858           $(AUTOMAKE) --gnu  changer-src/Makefile
859 .PRECIOUS: Makefile
860 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
861         @case '$?' in \
862           *config.status*) \
863             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
864           *) \
865             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
866             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
867         esac;
868
869 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
870         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
871
872 $(top_srcdir)/configure:  $(am__configure_deps)
873         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
874 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
875         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
876 install-amlibexecPROGRAMS: $(amlibexec_PROGRAMS)
877         @$(NORMAL_INSTALL)
878         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
879         @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
880           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
881           if test -f $$p \
882              || test -f $$p1 \
883           ; then \
884             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
885            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(amlibexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
886            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(amlibexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(amlibexecdir)/$$f" || exit 1; \
887           else :; fi; \
888         done
889
890 uninstall-amlibexecPROGRAMS:
891         @$(NORMAL_UNINSTALL)
892         @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
893           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
894           echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
895           rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
896         done
897
898 clean-amlibexecPROGRAMS:
899         @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
900           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
901           echo " rm -f $$p $$f"; \
902           rm -f $$p $$f ; \
903         done
904 chg-scsi$(EXEEXT): $(chg_scsi_OBJECTS) $(chg_scsi_DEPENDENCIES) 
905         @rm -f chg-scsi$(EXEEXT)
906         $(LINK) $(chg_scsi_OBJECTS) $(chg_scsi_LDADD) $(LIBS)
907 chg-scsi-chio$(EXEEXT): $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_DEPENDENCIES) 
908         @rm -f chg-scsi-chio$(EXEEXT)
909         $(LINK) $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_LDADD) $(LIBS)
910 install-amlibexecSCRIPTS: $(amlibexec_SCRIPTS)
911         @$(NORMAL_INSTALL)
912         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
913         @list='$(amlibexec_SCRIPTS)'; for p in $$list; do \
914           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
915           if test -f $$d$$p; then \
916             f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
917             echo " $(amlibexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
918             $(amlibexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(amlibexecdir)/$$f"; \
919           else :; fi; \
920         done
921
922 uninstall-amlibexecSCRIPTS:
923         @$(NORMAL_UNINSTALL)
924         @list='$(amlibexec_SCRIPTS)'; for p in $$list; do \
925           f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
926           echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
927           rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
928         done
929
930 mostlyclean-compile:
931         -rm -f *.$(OBJEXT)
932
933 distclean-compile:
934         -rm -f *.tab.c
935
936 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi-chio.Po@am__quote@
937 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi.Po@am__quote@
938 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-aix.Po@am__quote@
939 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-bsd.Po@am__quote@
940 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-cam.Po@am__quote@
941 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-changer-driver.Po@am__quote@
942 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-chio.Po@am__quote@
943 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux.Po@am__quote@
944 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux_new.Po@am__quote@
945 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-irix.Po@am__quote@
946 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-linux.Po@am__quote@
947 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-solaris.Po@am__quote@
948 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sense.Po@am__quote@
949
950 .c.o:
951 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
952 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
953 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
954 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
955 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
956
957 .c.obj:
958 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
959 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
960 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
961 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
962 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
963
964 .c.lo:
965 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
966 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
967 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
968 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
969 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
970
971 mostlyclean-libtool:
972         -rm -f *.lo
973
974 clean-libtool:
975         -rm -rf .libs _libs
976 install-amlibexecDATA: $(amlibexec_DATA)
977         @$(NORMAL_INSTALL)
978         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
979         @list='$(amlibexec_DATA)'; for p in $$list; do \
980           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
981           f=$(am__strip_dir) \
982           echo " $(amlibexecDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
983           $(amlibexecDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(amlibexecdir)/$$f"; \
984         done
985
986 uninstall-amlibexecDATA:
987         @$(NORMAL_UNINSTALL)
988         @list='$(amlibexec_DATA)'; for p in $$list; do \
989           f=$(am__strip_dir) \
990           echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
991           rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
992         done
993
994 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
995         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
996         unique=`for i in $$list; do \
997             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
998           done | \
999           $(AWK) '    { files[$$0] = 1; } \
1000                END { for (i in files) print i; }'`; \
1001         mkid -fID $$unique
1002 tags: TAGS
1003
1004 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1005                 $(TAGS_FILES) $(LISP)
1006         tags=; \
1007         here=`pwd`; \
1008         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1009         unique=`for i in $$list; do \
1010             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1011           done | \
1012           $(AWK) '    { files[$$0] = 1; } \
1013                END { for (i in files) print i; }'`; \
1014         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1015           test -n "$$unique" || unique=$$empty_fix; \
1016           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1017             $$tags $$unique; \
1018         fi
1019 ctags: CTAGS
1020 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1021                 $(TAGS_FILES) $(LISP)
1022         tags=; \
1023         here=`pwd`; \
1024         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1025         unique=`for i in $$list; do \
1026             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1027           done | \
1028           $(AWK) '    { files[$$0] = 1; } \
1029                END { for (i in files) print i; }'`; \
1030         test -z "$(CTAGS_ARGS)$$tags$$unique" \
1031           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1032              $$tags $$unique
1033
1034 GTAGS:
1035         here=`$(am__cd) $(top_builddir) && pwd` \
1036           && cd $(top_srcdir) \
1037           && gtags -i $(GTAGS_ARGS) $$here
1038
1039 distclean-tags:
1040         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1041
1042 distdir: $(DISTFILES)
1043         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1044         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1045         list='$(DISTFILES)'; \
1046           dist_files=`for file in $$list; do echo $$file; done | \
1047           sed -e "s|^$$srcdirstrip/||;t" \
1048               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1049         case $$dist_files in \
1050           */*) $(MKDIR_P) `echo "$$dist_files" | \
1051                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1052                            sort -u` ;; \
1053         esac; \
1054         for file in $$dist_files; do \
1055           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1056           if test -d $$d/$$file; then \
1057             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1058             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1059               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1060             fi; \
1061             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1062           else \
1063             test -f $(distdir)/$$file \
1064             || cp -p $$d/$$file $(distdir)/$$file \
1065             || exit 1; \
1066           fi; \
1067         done
1068         $(MAKE) $(AM_MAKEFLAGS) \
1069           top_distdir="$(top_distdir)" distdir="$(distdir)" \
1070           dist-hook
1071 check-am: all-am
1072         $(MAKE) $(AM_MAKEFLAGS) check-local
1073 check: $(BUILT_SOURCES)
1074         $(MAKE) $(AM_MAKEFLAGS) check-am
1075 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
1076 installdirs:
1077         for dir in "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"; do \
1078           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1079         done
1080 install: $(BUILT_SOURCES)
1081         $(MAKE) $(AM_MAKEFLAGS) install-am
1082 install-exec: install-exec-am
1083 install-data: install-data-am
1084 uninstall: uninstall-am
1085
1086 install-am: all-am
1087         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1088
1089 installcheck: installcheck-am
1090 install-strip:
1091         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1092           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1093           `test -z '$(STRIP)' || \
1094             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1095 mostlyclean-generic:
1096         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1097
1098 clean-generic:
1099         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1100
1101 distclean-generic:
1102         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1103         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1104
1105 maintainer-clean-generic:
1106         @echo "This command is intended for maintainers to use"
1107         @echo "it deletes files that may require special tools to rebuild."
1108         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1109         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1110 @WANT_INSTALLPERMS_FALSE@install-exec-hook:
1111 @WANT_INSTALLPERMS_FALSE@install-data-hook:
1112 clean: clean-am
1113
1114 clean-am: clean-amlibexecPROGRAMS clean-generic clean-libtool \
1115         mostlyclean-am
1116
1117 distclean: distclean-am
1118         -rm -rf ./$(DEPDIR)
1119         -rm -f Makefile
1120 distclean-am: clean-am distclean-compile distclean-generic \
1121         distclean-tags
1122
1123 dvi: dvi-am
1124
1125 dvi-am:
1126
1127 html: html-am
1128
1129 info: info-am
1130
1131 info-am:
1132
1133 install-data-am:
1134         @$(NORMAL_INSTALL)
1135         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1136
1137 install-dvi: install-dvi-am
1138
1139 install-exec-am: install-amlibexecDATA install-amlibexecPROGRAMS \
1140         install-amlibexecSCRIPTS
1141         @$(NORMAL_INSTALL)
1142         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1143
1144 install-html: install-html-am
1145
1146 install-info: install-info-am
1147
1148 install-man:
1149
1150 install-pdf: install-pdf-am
1151
1152 install-ps: install-ps-am
1153
1154 installcheck-am:
1155
1156 maintainer-clean: maintainer-clean-am
1157         -rm -rf ./$(DEPDIR)
1158         -rm -f Makefile
1159 maintainer-clean-am: distclean-am maintainer-clean-generic
1160
1161 mostlyclean: mostlyclean-am
1162
1163 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1164         mostlyclean-libtool
1165
1166 pdf: pdf-am
1167
1168 pdf-am:
1169
1170 ps: ps-am
1171
1172 ps-am:
1173
1174 uninstall-am: uninstall-amlibexecDATA uninstall-amlibexecPROGRAMS \
1175         uninstall-amlibexecSCRIPTS
1176
1177 .MAKE: install-am install-data-am install-exec-am install-strip
1178
1179 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
1180         clean-amlibexecPROGRAMS clean-generic clean-libtool ctags \
1181         dist-hook distclean distclean-compile distclean-generic \
1182         distclean-libtool distclean-tags distdir dvi dvi-am html \
1183         html-am info info-am install install-am install-amlibexecDATA \
1184         install-amlibexecPROGRAMS install-amlibexecSCRIPTS \
1185         install-data install-data-am install-data-hook install-dvi \
1186         install-dvi-am install-exec install-exec-am install-exec-hook \
1187         install-html install-html-am install-info install-info-am \
1188         install-man install-pdf install-pdf-am install-ps \
1189         install-ps-am install-strip installcheck installcheck-am \
1190         installdirs maintainer-clean maintainer-clean-generic \
1191         mostlyclean mostlyclean-compile mostlyclean-generic \
1192         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
1193         uninstall-am uninstall-amlibexecDATA \
1194         uninstall-amlibexecPROGRAMS uninstall-amlibexecSCRIPTS
1195
1196
1197 # Perl
1198 %: %.pl $(top_builddir)/config.status
1199         $(top_builddir)/config.status --file=$@:$<
1200         chmod a+x $@
1201
1202 %.pl: %.pl.in $(top_builddir)/config.status
1203         $(top_builddir)/config.status --file=$@:$<
1204
1205 %.pm: %.pm.in $(top_builddir)/config.status
1206         $(top_builddir)/config.status --file=$@:$<
1207
1208 # Shell
1209 %: %.sh $(top_builddir)/config.status
1210         $(top_builddir)/config.status --file=$@:$<
1211         chmod a+x $@
1212
1213 %.sh: %.sh.in $(top_builddir)/config.status
1214         $(top_builddir)/config.status --file=$@:$<
1215
1216 # Awk
1217 %: %.awk $(top_builddir)/config.status
1218         $(top_builddir)/config.status --file=$@:$<
1219         chmod a+x $@
1220
1221 %.awk: %.awk.in $(top_builddir)/config.status
1222         $(top_builddir)/config.status --file=$@:$<
1223
1224 # syntax-check perl scripts on 'make check'
1225 check-perl: $(CHECK_PERL)
1226         @CHECK_PERL="$(CHECK_PERL)"; \
1227         if test -n "$(PERL)"; then \
1228                 for perlobj in $$CHECK_PERL; do \
1229                         $(PERL) $(CHECK_PERL_FLAGS) -c -w -T $$perlobj || exit 1; \
1230                 done; \
1231         fi
1232 check-local: check-perl
1233 check-shell: $(CHECK_SHELL)
1234         @CHECK_SHELL="$(CHECK_SHELL)"; \
1235         if test -n "$$CHECK_SHELL"; then \
1236                 if test -n "$(BASH)"; then \
1237                         for shobj in $$CHECK_SHELL; do \
1238                                 if $(BASH) -n $$shobj; then \
1239                                         echo "$$shobj syntax OK"; \
1240                                 else \
1241                                         echo "$$shobj syntax error"; \
1242                                         exit 1; \
1243                                 fi; \
1244                         done; \
1245                 else \
1246                         echo "No 'bash' available -- cannot syntax-check shell scripts"; \
1247                 fi; \
1248         fi
1249 check-local: check-shell
1250
1251 # make sure that the sources for all shell and perl scripts get included
1252 # in the distribution
1253 dist-scripts:
1254         SCRIPTS_PERL="$(SCRIPTS_PERL)"; SCRIPTS_SHELL="$(SCRIPTS_SHELL)"; SCRIPTS_AWK="$(SCRIPTS_AWK)"; \
1255         for script in $$SCRIPTS_PERL; do \
1256                 test -f $(srcdir)/$${script}.pl && { cp -p $(srcdir)/$${script}.pl $(distdir)/ || exit 1; } \
1257         done; \
1258         for script in $$SCRIPTS_SHELL; do \
1259                 test -f $(srcdir)/$${script}.sh && { cp -p $(srcdir)/$${script}.sh $(distdir)/ || exit 1; } \
1260         done; \
1261         for script in $$SCRIPTS_AWK; do \
1262                 test -f $(srcdir)/$${script}.awk && { cp -p $(srcdir)/$${script}.awk $(distdir)/ || exit 1; } \
1263         done; \
1264         for script in $$SCRIPTS_SHELL $$SCRIPTS_PERL $$SCRIPTS_AWK; do \
1265                 test -f $(srcdir)/$${script}.in && { cp -p $(srcdir)/$${script}.in $(distdir)/ || exit 1; } \
1266         done; \
1267         true
1268 dist-hook: dist-scripts
1269
1270 @WANT_INSTALLPERMS_TRUE@installperms-exec:
1271 @WANT_INSTALLPERMS_TRUE@        @installperms="$(INSTALLPERMS_exec)"; \
1272 @WANT_INSTALLPERMS_TRUE@        test -n "$$installperms" && echo "Setting installation permissions on executables"; \
1273 @WANT_INSTALLPERMS_TRUE@        dest=; chown=; chmod=; \
1274 @WANT_INSTALLPERMS_TRUE@        for cmd in $$installperms; do \
1275 @WANT_INSTALLPERMS_TRUE@            case "$$cmd" in \
1276 @WANT_INSTALLPERMS_TRUE@                chown=amanda) \
1277 @WANT_INSTALLPERMS_TRUE@                        echo "  ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1278 @WANT_INSTALLPERMS_TRUE@                dest=*|chown=*|chmod=*) \
1279 @WANT_INSTALLPERMS_TRUE@                        echo "  ($$cmd)"; eval $$cmd;; \
1280 @WANT_INSTALLPERMS_TRUE@                *)  pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1281 @WANT_INSTALLPERMS_TRUE@                    if test -n "$$chown"; then \
1282 @WANT_INSTALLPERMS_TRUE@                        echo chown "$$chown" "$$pa"; \
1283 @WANT_INSTALLPERMS_TRUE@                        chown "$$chown" "$$pa" || exit 1; \
1284 @WANT_INSTALLPERMS_TRUE@                    fi; \
1285 @WANT_INSTALLPERMS_TRUE@                    if test -n "$$chmod"; then \
1286 @WANT_INSTALLPERMS_TRUE@                        echo chmod "$$chmod" "$$pa"; \
1287 @WANT_INSTALLPERMS_TRUE@                        chmod "$$chmod" "$$pa" || exit 1; \
1288 @WANT_INSTALLPERMS_TRUE@                    fi; \
1289 @WANT_INSTALLPERMS_TRUE@            esac; \
1290 @WANT_INSTALLPERMS_TRUE@        done
1291
1292 @WANT_INSTALLPERMS_TRUE@installperms-data:
1293 @WANT_INSTALLPERMS_TRUE@        @installperms="$(INSTALLPERMS_data)"; \
1294 @WANT_INSTALLPERMS_TRUE@        test -n "$$installperms" && echo "Setting installation permissions on data"; \
1295 @WANT_INSTALLPERMS_TRUE@        dest=; chown=; chmod=; \
1296 @WANT_INSTALLPERMS_TRUE@        for cmd in $$installperms; do \
1297 @WANT_INSTALLPERMS_TRUE@            case "$$cmd" in \
1298 @WANT_INSTALLPERMS_TRUE@                chown=amanda) \
1299 @WANT_INSTALLPERMS_TRUE@                        echo "  ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1300 @WANT_INSTALLPERMS_TRUE@                dest=*|chown=*|chmod=*) \
1301 @WANT_INSTALLPERMS_TRUE@                        echo "  ($$cmd)"; eval $$cmd;; \
1302 @WANT_INSTALLPERMS_TRUE@                *)  pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1303 @WANT_INSTALLPERMS_TRUE@                    if test -n "$$chown"; then \
1304 @WANT_INSTALLPERMS_TRUE@                        echo chown "$$chown" "$$pa"; \
1305 @WANT_INSTALLPERMS_TRUE@                        chown "$$chown" "$$pa" || exit 1; \
1306 @WANT_INSTALLPERMS_TRUE@                    fi; \
1307 @WANT_INSTALLPERMS_TRUE@                    if test -n "$$chmod"; then \
1308 @WANT_INSTALLPERMS_TRUE@                        echo chmod "$$chmod" "$$pa"; \
1309 @WANT_INSTALLPERMS_TRUE@                        chmod "$$chmod" "$$pa" || exit 1; \
1310 @WANT_INSTALLPERMS_TRUE@                    fi; \
1311 @WANT_INSTALLPERMS_TRUE@            esac; \
1312 @WANT_INSTALLPERMS_TRUE@        done
1313
1314 @WANT_INSTALLPERMS_TRUE@install-exec-hook: installperms-exec
1315 @WANT_INSTALLPERMS_TRUE@install-data-hook: installperms-data
1316
1317 # A rule to make precompiler output from C files.  This is not used during
1318 # ordinary builds, but but can very useful in debugging problems on strange
1319 # architectures.  With this rule, we can ask users to 'make foo.i' and send
1320 # the result to us.
1321 #
1322 # It touches some automake internals ($COMPILE), but since it's not
1323 # build-critical, that's OK.
1324 %.i : %.c
1325         $(COMPILE) -E -o $@ $<
1326
1327 lint:
1328         @ for p in $(amlibexec_PROGRAMS) $(EXTRA_PROGRAMS); do                  \
1329                 f="$$p.c $(libamandad_la_SOURCES)";                             \
1330                 (cd ../common-src; make listlibsrc);                            \
1331                 f="$$f "`cat ../common-src/listlibsrc.output`;                  \
1332                 (cd ../server-src; make listlibsrc);                            \
1333                 f="$$f "`cat ../server-src/listlibsrc.output`;                  \
1334                 (cd ../tape-src; make listlibsrc);                              \
1335                 f="$$f "`cat ../tape-src/listlibsrc.output`;                    \
1336                 echo $(LINT) $$f;                                               \
1337                 $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config   \
1338                     $(INCLUDES) $$f;                                            \
1339                 if [ $$? -ne 0 ]; then                                          \
1340                     exit 1;                                                     \
1341                 fi;                                                             \
1342         done;                                                                   \
1343         exit 0
1344 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1345 # Otherwise a system limit (for SysV at least) may be exceeded.
1346 .NOEXPORT: