1 # Makefile.in generated by automake 1.10 from Makefile.am.
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.
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
17 # Makefile for Amanda tape changer programs.
20 # Copyright (c) 2005 Zmanda, Inc. All Rights Reserved.
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.
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.
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.
35 # Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
36 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
38 # simple include file to pre-define variables which are then +='d by other
39 # scripts in this directory.
42 # Copyright (c) 2005 Zmanda, Inc. All Rights Reserved.
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.
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.
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.
57 # Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
58 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
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).
66 # Files which support it are syntax-checked when the user invokes 'make check'.
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'.
73 # include $(top_srcdir)/config/automake/vars.am
74 # include $(top_srcdir)/config/automake/scripts.am
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
80 # with the corresponding files in the repository:
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
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).
91 # To add extra flags to the perl checks (e.g., to add new -I flags), set
94 # Implementation note:
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
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:
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
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.
116 # when a filename is seen, the currently active variables are applied.
118 # Note that scripts are data, not executables!
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= \
130 # dest=$(libexecdir) chmod= \
131 # $(libexec_PROGRAMS)
132 # INSTALLPERMS_data = \
133 # dest=$(sbindir) chown=amanda chmod= \
136 # This whole operation is not required when making builds for packaging,
137 # and can be disabled with --disable-installperms, via the WANT_INSTALLPERMS
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)
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
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) \
289 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
290 CONFIG_HEADER = $(top_builddir)/config/config.h
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)
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 \
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) \
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)
342 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
343 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
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/||"`;; \
353 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
354 amlibexecDATA_INSTALL = $(INSTALL_DATA)
355 DATA = $(amlibexec_DATA)
358 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
359 ABSOLUTE_STRING_H = @ABSOLUTE_STRING_H@
362 ALLOCA_H = @ALLOCA_H@
363 AMANDA_DBGDIR = @AMANDA_DBGDIR@
364 AMANDA_DEBUG_DAYS = @AMANDA_DEBUG_DAYS@
365 AMANDA_STATIC_LDFLAGS = @AMANDA_STATIC_LDFLAGS@
366 AMANDA_TMPDIR = @AMANDA_TMPDIR@
367 AMANDA_WARNING_CFLAGS = @AMANDA_WARNING_CFLAGS@
369 AMLINTFLAGS = @AMLINTFLAGS@
370 AMPLOT_CAT_COMPRESS = @AMPLOT_CAT_COMPRESS@
371 AMPLOT_CAT_GZIP = @AMPLOT_CAT_GZIP@
372 AMPLOT_CAT_PACK = @AMPLOT_CAT_PACK@
373 AMPLOT_COMPRESS = @AMPLOT_COMPRESS@
375 AM_CFLAGS = @AM_CFLAGS@
377 ARPA_INET_H = @ARPA_INET_H@
378 AUTOCONF = @AUTOCONF@
379 AUTOHEADER = @AUTOHEADER@
380 AUTOMAKE = @AUTOMAKE@
383 BINARY_OWNER = @BINARY_OWNER@
384 BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
385 BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
386 BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
387 BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
388 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
391 CCDEPMODE = @CCDEPMODE@
393 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
396 CLIENT_LOGIN = @CLIENT_LOGIN@
397 CLIENT_SCRIPTS_OPT = @CLIENT_SCRIPTS_OPT@
398 COMPRESS = @COMPRESS@
399 CONFIG_DIR = @CONFIG_DIR@
401 CPPFLAGS = @CPPFLAGS@
402 CURL_CONFIG = @CURL_CONFIG@
405 CXXDEPMODE = @CXXDEPMODE@
406 CXXFLAGS = @CXXFLAGS@
407 CYGPATH_W = @CYGPATH_W@
409 DEFAULT_AMANDATES_FILE = @DEFAULT_AMANDATES_FILE@
410 DEFAULT_CHANGER_DEVICE = @DEFAULT_CHANGER_DEVICE@
411 DEFAULT_CONFIG = @DEFAULT_CONFIG@
412 DEFAULT_SERVER = @DEFAULT_SERVER@
413 DEFAULT_TAPE_DEVICE = @DEFAULT_TAPE_DEVICE@
414 DEFAULT_TAPE_SERVER = @DEFAULT_TAPE_SERVER@
417 DOC_BUILD_DATE = @DOC_BUILD_DATE@
419 DUMPER_DIR = @DUMPER_DIR@
425 EOVERFLOW = @EOVERFLOW@
426 EXAMPLE_TAPEDEV = @EXAMPLE_TAPEDEV@
433 GLIB_CFLAGS = @GLIB_CFLAGS@
434 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
435 GLIB_LIBS = @GLIB_LIBS@
436 GLIB_MKENUMS = @GLIB_MKENUMS@
438 GMSGFMT_015 = @GMSGFMT_015@
439 GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
440 GNULIB_CHOWN = @GNULIB_CHOWN@
441 GNULIB_DUP2 = @GNULIB_DUP2@
442 GNULIB_FCHDIR = @GNULIB_FCHDIR@
443 GNULIB_FFLUSH = @GNULIB_FFLUSH@
444 GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
445 GNULIB_FSEEK = @GNULIB_FSEEK@
446 GNULIB_FSEEKO = @GNULIB_FSEEKO@
447 GNULIB_FTELL = @GNULIB_FTELL@
448 GNULIB_FTELLO = @GNULIB_FTELLO@
449 GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
450 GNULIB_GETCWD = @GNULIB_GETCWD@
451 GNULIB_GETDELIM = @GNULIB_GETDELIM@
452 GNULIB_GETLINE = @GNULIB_GETLINE@
453 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
454 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
455 GNULIB_LCHOWN = @GNULIB_LCHOWN@
456 GNULIB_LSEEK = @GNULIB_LSEEK@
457 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
458 GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
459 GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
460 GNULIB_MBSCHR = @GNULIB_MBSCHR@
461 GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
462 GNULIB_MBSLEN = @GNULIB_MBSLEN@
463 GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
464 GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
465 GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
466 GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
467 GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
468 GNULIB_MBSSEP = @GNULIB_MBSSEP@
469 GNULIB_MBSSPN = @GNULIB_MBSSPN@
470 GNULIB_MBSSTR = @GNULIB_MBSSTR@
471 GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
472 GNULIB_MEMMEM = @GNULIB_MEMMEM@
473 GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
474 GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
475 GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
476 GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
477 GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
478 GNULIB_READLINK = @GNULIB_READLINK@
479 GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
480 GNULIB_SLEEP = @GNULIB_SLEEP@
481 GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
482 GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
483 GNULIB_STPCPY = @GNULIB_STPCPY@
484 GNULIB_STPNCPY = @GNULIB_STPNCPY@
485 GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
486 GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
487 GNULIB_STRDUP = @GNULIB_STRDUP@
488 GNULIB_STRNDUP = @GNULIB_STRNDUP@
489 GNULIB_STRNLEN = @GNULIB_STRNLEN@
490 GNULIB_STRPBRK = @GNULIB_STRPBRK@
491 GNULIB_STRSEP = @GNULIB_STRSEP@
492 GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
493 GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
494 GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
495 GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
496 GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
497 GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
498 GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
501 GNUTAR_LISTED_INCREMENTAL_DIR = @GNUTAR_LISTED_INCREMENTAL_DIR@
502 GOBJECT_QUERY = @GOBJECT_QUERY@
505 HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
506 HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
507 HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
508 HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
509 HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
510 HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
511 HAVE_DECL_MKDIR = @HAVE_DECL_MKDIR@
512 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
513 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
514 HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
515 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
516 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
517 HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
518 HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
519 HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
520 HAVE_DUP2 = @HAVE_DUP2@
521 HAVE_FSEEKO = @HAVE_FSEEKO@
522 HAVE_FTELLO = @HAVE_FTELLO@
523 HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
524 HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
525 HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
526 HAVE_IO_H = @HAVE_IO_H@
527 HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
528 HAVE_LSTAT = @HAVE_LSTAT@
529 HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
530 HAVE_MEMPCPY = @HAVE_MEMPCPY@
531 HAVE_MKDTEMP = @HAVE_MKDTEMP@
532 HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@
533 HAVE_READLINK = @HAVE_READLINK@
534 HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
535 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
536 HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
537 HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
538 HAVE_SLEEP = @HAVE_SLEEP@
539 HAVE_STDINT_H = @HAVE_STDINT_H@
540 HAVE_STPCPY = @HAVE_STPCPY@
541 HAVE_STPNCPY = @HAVE_STPNCPY@
542 HAVE_STRCASECMP = @HAVE_STRCASECMP@
543 HAVE_STRCASESTR = @HAVE_STRCASESTR@
544 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
545 HAVE_STRNDUP = @HAVE_STRNDUP@
546 HAVE_STRPBRK = @HAVE_STRPBRK@
547 HAVE_STRSEP = @HAVE_STRSEP@
548 HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@
549 HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
550 HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
551 HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@
552 HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
553 HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
554 HAVE_UNISTD_H = @HAVE_UNISTD_H@
555 HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
556 HAVE_VASPRINTF = @HAVE_VASPRINTF@
557 HAVE_VISIBILITY = @HAVE_VISIBILITY@
558 HAVE_WCHAR_H = @HAVE_WCHAR_H@
559 HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
560 HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@
561 HAVE__BOOL = @HAVE__BOOL@
562 INCLUDE_NEXT = @INCLUDE_NEXT@
564 INSTALL_DATA = @INSTALL_DATA@
565 INSTALL_PROGRAM = @INSTALL_PROGRAM@
566 INSTALL_SCRIPT = @INSTALL_SCRIPT@
567 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
568 INTLLIBS = @INTLLIBS@
569 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
573 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
575 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
576 LIBICONV = @LIBICONV@
578 LIBMULTITHREAD = @LIBMULTITHREAD@
582 LIBTHREAD = @LIBTHREAD@
584 LIBTOOL_DEPS = @LIBTOOL_DEPS@
588 LTLIBICONV = @LTLIBICONV@
589 LTLIBINTL = @LTLIBINTL@
590 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
591 LTLIBOBJS = @LTLIBOBJS@
592 LTLIBPTH = @LTLIBPTH@
593 LTLIBTHREAD = @LTLIBTHREAD@
595 MAKEINFO = @MAKEINFO@
596 MAXTAPEBLOCKSIZE = @MAXTAPEBLOCKSIZE@
600 MSGFMT_015 = @MSGFMT_015@
601 MSGMERGE = @MSGMERGE@
604 MT_FILE_FLAG = @MT_FILE_FLAG@
605 NETINET_IN_H = @NETINET_IN_H@
606 NEXT_FLOAT_H = @NEXT_FLOAT_H@
607 NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@
608 NEXT_STDINT_H = @NEXT_STDINT_H@
609 NEXT_STDIO_H = @NEXT_STDIO_H@
610 NEXT_STDLIB_H = @NEXT_STDLIB_H@
611 NEXT_STRING_H = @NEXT_STRING_H@
612 NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@
613 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
614 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
615 NEXT_UNISTD_H = @NEXT_UNISTD_H@
616 NEXT_WCHAR_H = @NEXT_WCHAR_H@
619 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
620 PACKAGE_NAME = @PACKAGE_NAME@
621 PACKAGE_STRING = @PACKAGE_STRING@
622 PACKAGE_TARNAME = @PACKAGE_TARNAME@
623 PACKAGE_VERSION = @PACKAGE_VERSION@
624 PATH_SEPARATOR = @PATH_SEPARATOR@
627 PERLEXTLIBS = @PERLEXTLIBS@
628 PERL_INC = @PERL_INC@
629 PKG_CONFIG = @PKG_CONFIG@
632 PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
634 READLINE_LIBS = @READLINE_LIBS@
635 REPLACE_CHOWN = @REPLACE_CHOWN@
636 REPLACE_FCHDIR = @REPLACE_FCHDIR@
637 REPLACE_FFLUSH = @REPLACE_FFLUSH@
638 REPLACE_FPRINTF = @REPLACE_FPRINTF@
639 REPLACE_FSEEK = @REPLACE_FSEEK@
640 REPLACE_FSEEKO = @REPLACE_FSEEKO@
641 REPLACE_FTELL = @REPLACE_FTELL@
642 REPLACE_FTELLO = @REPLACE_FTELLO@
643 REPLACE_GETCWD = @REPLACE_GETCWD@
644 REPLACE_GETLINE = @REPLACE_GETLINE@
645 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
646 REPLACE_LCHOWN = @REPLACE_LCHOWN@
647 REPLACE_LSEEK = @REPLACE_LSEEK@
648 REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
649 REPLACE_PRINTF = @REPLACE_PRINTF@
650 REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
651 REPLACE_SPRINTF = @REPLACE_SPRINTF@
652 REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
653 REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
654 REPLACE_VPRINTF = @REPLACE_VPRINTF@
655 REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
656 REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
657 REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
659 SAMBA_CLIENT = @SAMBA_CLIENT@
660 SERVICE_SUFFIX = @SERVICE_SUFFIX@
661 SETUID_GROUP = @SETUID_GROUP@
662 SET_MAKE = @SET_MAKE@
664 SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
665 SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
666 SNAPSHOT_STAMP = @SNAPSHOT_STAMP@
669 STDBOOL_H = @STDBOOL_H@
670 STDINT_H = @STDINT_H@
674 SWIG_LIB = @SWIG_LIB@
675 SYS_SOCKET_H = @SYS_SOCKET_H@
676 SYS_STAT_H = @SYS_STAT_H@
677 SYS_TIME_H = @SYS_TIME_H@
679 USE_VERSION_SUFFIXES = @USE_VERSION_SUFFIXES@
682 VERSION_COMMENT = @VERSION_COMMENT@
683 VERSION_MAJOR = @VERSION_MAJOR@
684 VERSION_MINOR = @VERSION_MINOR@
685 VERSION_PATCH = @VERSION_PATCH@
686 VERSION_SUFFIX = @VERSION_SUFFIX@
687 VRESTORE = @VRESTORE@
689 VXRESTORE = @VXRESTORE@
691 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
692 WINT_T_SUFFIX = @WINT_T_SUFFIX@
694 XFSRESTORE = @XFSRESTORE@
695 XGETTEXT = @XGETTEXT@
696 XGETTEXT_015 = @XGETTEXT_015@
698 XSLTPROC = @XSLTPROC@
699 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
702 _libcurl_config = @_libcurl_config@
703 abs_builddir = @abs_builddir@
704 abs_srcdir = @abs_srcdir@
705 abs_top_builddir = @abs_top_builddir@
706 abs_top_srcdir = @abs_top_srcdir@
707 ac_ct_CC = @ac_ct_CC@
708 ac_ct_CXX = @ac_ct_CXX@
709 ac_ct_F77 = @ac_ct_F77@
710 am__include = @am__include@
711 am__leading_dot = @am__leading_dot@
712 am__quote = @am__quote@
714 am__untar = @am__untar@
715 amincludedir = @amincludedir@
716 amlibdir = @amlibdir@
717 amlibexecdir = @amlibexecdir@
718 amperldir = @amperldir@
721 build_alias = @build_alias@
722 build_cpu = @build_cpu@
723 build_os = @build_os@
724 build_vendor = @build_vendor@
725 builddir = @builddir@
727 datarootdir = @datarootdir@
730 exec_prefix = @exec_prefix@
731 gl_LIBOBJS = @gl_LIBOBJS@
732 gl_LTLIBOBJS = @gl_LTLIBOBJS@
734 host_alias = @host_alias@
735 host_cpu = @host_cpu@
737 host_vendor = @host_vendor@
739 includedir = @includedir@
741 install_sh = @install_sh@
743 libexecdir = @libexecdir@
744 localedir = @localedir@
745 localstatedir = @localstatedir@
748 oldincludedir = @oldincludedir@
751 program_transform_name = @program_transform_name@
754 sharedstatedir = @sharedstatedir@
756 sysconfdir = @sysconfdir@
758 target_alias = @target_alias@
759 target_cpu = @target_cpu@
760 target_os = @target_os@
761 target_vendor = @target_vendor@
762 top_builddir = @top_builddir@
763 top_srcdir = @top_srcdir@
765 EXTRA_DIST = chg-lib.sh.in scsi-proto.c
769 # config.status leaves config.log files around
770 CLEANFILES = config.log
772 # and we'll need to clean up our generated files for distclean
773 DISTCLEANFILES = $(SCRIPTS_SHELL) $(SCRIPTS_PERL) $(SCRIPTS_AWK)
774 MAINTAINERCLEANFILES =
776 # syntax-check shell scripts on 'make check'
777 CHECK_SHELL = $(SCRIPTS_SHELL)
779 # sed expression to strip leading directories from a filename; this converts e.g.,
780 # src/foo/bar.so to bar.so.
781 strip_leading_dirs = s|^.*/||
782 INCLUDES = -I$(top_builddir)/common-src \
783 -I$(top_srcdir)/common-src \
784 -I$(top_srcdir)/tape-src \
785 -I$(top_srcdir)/gnulib
787 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
788 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
790 LINTFLAGS = $(AMLINTFLAGS)
791 @WANT_CHG_SCSI_CHIO_TRUE@CHIO_SCSI = chg-scsi-chio
792 @WANT_CHG_SCSI_TRUE@CHG_SCSI = chg-scsi
798 SCRIPTS_PERL = $(CHECK_PERL)
814 amlibexec_SCRIPTS = $(SCRIPTS_PERL) $(SCRIPTS_SHELL)
815 amlibexec_DATA = $(SCRIPTS_INCLUDE)
818 # Because libamanda includes routines (e.g. regex) provided by some system
819 # libraries, and because of the way libtool sets up the command line, we
820 # need to list libamanda twice here, first to override the system library
821 # routines, and second to pick up any references in the other libraries.
823 LDADD = ../common-src/libamanda.la \
824 ../tape-src/libamtape.la \
825 ../common-src/libamanda.la \
826 ../gnulib/libgnu.la \
829 chg_scsi_CSRC = chg-scsi.c scsi-changer-driver.c sense.c \
830 $(am__append_1) $(am__append_2) $(am__append_3) \
831 $(am__append_4) $(am__append_5) $(am__append_6) \
833 chg_scsi_SOURCES = libscsi.h scsi-defs.h $(chg_scsi_CSRC)
834 chg_scsi_chio_CSRC = chg-scsi-chio.c $(am__append_8) $(am__append_9)
835 chg_scsi_chio_SOURCES = libscsi.h $(chg_scsi_chio_CSRC)
836 INSTALLPERMS_exec = \
838 dest=$(sbindir) $(sbin_PROGRAMS) \
839 dest=$(amlibexecdir) $(amlibexec_PROGRAMS)
841 INSTALLPERMS_data = \
843 dest=$(sbindir) $(sbin_SCRIPTS) \
844 dest=$(amlibexecdir) $(amlibexec_SCRIPTS) $(amlibexec_DATA)
846 all: $(BUILT_SOURCES)
847 $(MAKE) $(AM_MAKEFLAGS) all-am
850 .SUFFIXES: .c .lo .o .obj
851 $(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)
853 case '$(am__configure_deps)' in \
855 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
860 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu changer-src/Makefile'; \
861 cd $(top_srcdir) && \
862 $(AUTOMAKE) --gnu changer-src/Makefile
864 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
867 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
869 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
870 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
873 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
874 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
876 $(top_srcdir)/configure: $(am__configure_deps)
877 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
878 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
879 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
880 install-amlibexecPROGRAMS: $(amlibexec_PROGRAMS)
882 test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
883 @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
884 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
888 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
889 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(amlibexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
890 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(amlibexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(amlibexecdir)/$$f" || exit 1; \
894 uninstall-amlibexecPROGRAMS:
896 @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
897 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
898 echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
899 rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
902 clean-amlibexecPROGRAMS:
903 @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
904 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
905 echo " rm -f $$p $$f"; \
908 chg-scsi$(EXEEXT): $(chg_scsi_OBJECTS) $(chg_scsi_DEPENDENCIES)
909 @rm -f chg-scsi$(EXEEXT)
910 $(LINK) $(chg_scsi_OBJECTS) $(chg_scsi_LDADD) $(LIBS)
911 chg-scsi-chio$(EXEEXT): $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_DEPENDENCIES)
912 @rm -f chg-scsi-chio$(EXEEXT)
913 $(LINK) $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_LDADD) $(LIBS)
914 install-amlibexecSCRIPTS: $(amlibexec_SCRIPTS)
916 test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
917 @list='$(amlibexec_SCRIPTS)'; for p in $$list; do \
918 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
919 if test -f $$d$$p; then \
920 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
921 echo " $(amlibexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
922 $(amlibexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(amlibexecdir)/$$f"; \
926 uninstall-amlibexecSCRIPTS:
928 @list='$(amlibexec_SCRIPTS)'; for p in $$list; do \
929 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
930 echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
931 rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
940 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi-chio.Po@am__quote@
941 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi.Po@am__quote@
942 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-aix.Po@am__quote@
943 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-bsd.Po@am__quote@
944 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-cam.Po@am__quote@
945 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-changer-driver.Po@am__quote@
946 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-chio.Po@am__quote@
947 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux.Po@am__quote@
948 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux_new.Po@am__quote@
949 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-irix.Po@am__quote@
950 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-linux.Po@am__quote@
951 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-solaris.Po@am__quote@
952 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sense.Po@am__quote@
955 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
956 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
957 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
958 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
959 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
962 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
963 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
964 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
965 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
966 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
969 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
970 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
971 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
972 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
973 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
980 install-amlibexecDATA: $(amlibexec_DATA)
982 test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
983 @list='$(amlibexec_DATA)'; for p in $$list; do \
984 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
986 echo " $(amlibexecDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
987 $(amlibexecDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(amlibexecdir)/$$f"; \
990 uninstall-amlibexecDATA:
992 @list='$(amlibexec_DATA)'; for p in $$list; do \
994 echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
995 rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
998 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
999 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1000 unique=`for i in $$list; do \
1001 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1003 $(AWK) ' { files[$$0] = 1; } \
1004 END { for (i in files) print i; }'`; \
1008 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1009 $(TAGS_FILES) $(LISP)
1012 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1013 unique=`for i in $$list; do \
1014 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1016 $(AWK) ' { files[$$0] = 1; } \
1017 END { for (i in files) print i; }'`; \
1018 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1019 test -n "$$unique" || unique=$$empty_fix; \
1020 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1024 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1025 $(TAGS_FILES) $(LISP)
1028 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1029 unique=`for i in $$list; do \
1030 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1032 $(AWK) ' { files[$$0] = 1; } \
1033 END { for (i in files) print i; }'`; \
1034 test -z "$(CTAGS_ARGS)$$tags$$unique" \
1035 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1039 here=`$(am__cd) $(top_builddir) && pwd` \
1040 && cd $(top_srcdir) \
1041 && gtags -i $(GTAGS_ARGS) $$here
1044 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1046 distdir: $(DISTFILES)
1047 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1048 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1049 list='$(DISTFILES)'; \
1050 dist_files=`for file in $$list; do echo $$file; done | \
1051 sed -e "s|^$$srcdirstrip/||;t" \
1052 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1053 case $$dist_files in \
1054 */*) $(MKDIR_P) `echo "$$dist_files" | \
1055 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1058 for file in $$dist_files; do \
1059 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1060 if test -d $$d/$$file; then \
1061 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1062 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1063 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1065 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1067 test -f $(distdir)/$$file \
1068 || cp -p $$d/$$file $(distdir)/$$file \
1072 $(MAKE) $(AM_MAKEFLAGS) \
1073 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1076 $(MAKE) $(AM_MAKEFLAGS) check-local
1077 check: $(BUILT_SOURCES)
1078 $(MAKE) $(AM_MAKEFLAGS) check-am
1079 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
1081 for dir in "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"; do \
1082 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1084 install: $(BUILT_SOURCES)
1085 $(MAKE) $(AM_MAKEFLAGS) install-am
1086 install-exec: install-exec-am
1087 install-data: install-data-am
1088 uninstall: uninstall-am
1091 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1093 installcheck: installcheck-am
1095 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1096 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1097 `test -z '$(STRIP)' || \
1098 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1099 mostlyclean-generic:
1100 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1103 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1106 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1107 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1109 maintainer-clean-generic:
1110 @echo "This command is intended for maintainers to use"
1111 @echo "it deletes files that may require special tools to rebuild."
1112 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1113 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1114 @WANT_INSTALLPERMS_FALSE@install-exec-hook:
1115 @WANT_INSTALLPERMS_FALSE@install-data-hook:
1118 clean-am: clean-amlibexecPROGRAMS clean-generic clean-libtool \
1121 distclean: distclean-am
1124 distclean-am: clean-am distclean-compile distclean-generic \
1139 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1141 install-dvi: install-dvi-am
1143 install-exec-am: install-amlibexecDATA install-amlibexecPROGRAMS \
1144 install-amlibexecSCRIPTS
1146 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1148 install-html: install-html-am
1150 install-info: install-info-am
1154 install-pdf: install-pdf-am
1156 install-ps: install-ps-am
1160 maintainer-clean: maintainer-clean-am
1163 maintainer-clean-am: distclean-am maintainer-clean-generic
1165 mostlyclean: mostlyclean-am
1167 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1178 uninstall-am: uninstall-amlibexecDATA uninstall-amlibexecPROGRAMS \
1179 uninstall-amlibexecSCRIPTS
1181 .MAKE: install-am install-data-am install-exec-am install-strip
1183 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
1184 clean-amlibexecPROGRAMS clean-generic clean-libtool ctags \
1185 dist-hook distclean distclean-compile distclean-generic \
1186 distclean-libtool distclean-tags distdir dvi dvi-am html \
1187 html-am info info-am install install-am install-amlibexecDATA \
1188 install-amlibexecPROGRAMS install-amlibexecSCRIPTS \
1189 install-data install-data-am install-data-hook install-dvi \
1190 install-dvi-am install-exec install-exec-am install-exec-hook \
1191 install-html install-html-am install-info install-info-am \
1192 install-man install-pdf install-pdf-am install-ps \
1193 install-ps-am install-strip installcheck installcheck-am \
1194 installdirs maintainer-clean maintainer-clean-generic \
1195 mostlyclean mostlyclean-compile mostlyclean-generic \
1196 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
1197 uninstall-am uninstall-amlibexecDATA \
1198 uninstall-amlibexecPROGRAMS uninstall-amlibexecSCRIPTS
1202 %: %.pl $(top_builddir)/config.status
1203 $(top_builddir)/config.status --file=$@:$<
1206 %.pl: %.pl.in $(top_builddir)/config.status
1207 $(top_builddir)/config.status --file=$@:$<
1209 %.pm: %.pm.in $(top_builddir)/config.status
1210 $(top_builddir)/config.status --file=$@:$<
1213 %: %.sh $(top_builddir)/config.status
1214 $(top_builddir)/config.status --file=$@:$<
1217 %.sh: %.sh.in $(top_builddir)/config.status
1218 $(top_builddir)/config.status --file=$@:$<
1221 %: %.awk $(top_builddir)/config.status
1222 $(top_builddir)/config.status --file=$@:$<
1225 %.awk: %.awk.in $(top_builddir)/config.status
1226 $(top_builddir)/config.status --file=$@:$<
1228 # syntax-check perl scripts on 'make check'
1229 check-perl: $(CHECK_PERL)
1230 @CHECK_PERL="$(CHECK_PERL)"; \
1231 if test -n "$(PERL)"; then \
1232 for perlobj in $$CHECK_PERL; do \
1233 $(PERL) $(CHECK_PERL_FLAGS) -c -w -T $$perlobj || exit 1; \
1236 check-local: check-perl
1237 check-shell: $(CHECK_SHELL)
1238 @CHECK_SHELL="$(CHECK_SHELL)"; \
1239 if test -n "$$CHECK_SHELL"; then \
1240 if test -n "$(BASH)"; then \
1241 for shobj in $$CHECK_SHELL; do \
1242 if $(BASH) -n $$shobj; then \
1243 echo "$$shobj syntax OK"; \
1245 echo "$$shobj syntax error"; \
1250 echo "No 'bash' available -- cannot syntax-check shell scripts"; \
1253 check-local: check-shell
1255 # make sure that the sources for all shell and perl scripts get included
1256 # in the distribution
1258 SCRIPTS_PERL="$(SCRIPTS_PERL)"; SCRIPTS_SHELL="$(SCRIPTS_SHELL)"; SCRIPTS_AWK="$(SCRIPTS_AWK)"; \
1259 for script in $$SCRIPTS_PERL; do \
1260 test -f $(srcdir)/$${script}.pl && { cp -p $(srcdir)/$${script}.pl $(distdir)/ || exit 1; } \
1262 for script in $$SCRIPTS_SHELL; do \
1263 test -f $(srcdir)/$${script}.sh && { cp -p $(srcdir)/$${script}.sh $(distdir)/ || exit 1; } \
1265 for script in $$SCRIPTS_AWK; do \
1266 test -f $(srcdir)/$${script}.awk && { cp -p $(srcdir)/$${script}.awk $(distdir)/ || exit 1; } \
1268 for script in $$SCRIPTS_SHELL $$SCRIPTS_PERL $$SCRIPTS_AWK; do \
1269 test -f $(srcdir)/$${script}.in && { cp -p $(srcdir)/$${script}.in $(distdir)/ || exit 1; } \
1272 dist-hook: dist-scripts
1274 @WANT_INSTALLPERMS_TRUE@installperms-exec:
1275 @WANT_INSTALLPERMS_TRUE@ @installperms="$(INSTALLPERMS_exec)"; \
1276 @WANT_INSTALLPERMS_TRUE@ test -n "$$installperms" && echo "Setting installation permissions on executables"; \
1277 @WANT_INSTALLPERMS_TRUE@ dest=; chown=; chmod=; \
1278 @WANT_INSTALLPERMS_TRUE@ for cmd in $$installperms; do \
1279 @WANT_INSTALLPERMS_TRUE@ case "$$cmd" in \
1280 @WANT_INSTALLPERMS_TRUE@ chown=amanda) \
1281 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1282 @WANT_INSTALLPERMS_TRUE@ dest=*|chown=*|chmod=*) \
1283 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; eval $$cmd;; \
1284 @WANT_INSTALLPERMS_TRUE@ *) pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1285 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chown"; then \
1286 @WANT_INSTALLPERMS_TRUE@ echo chown "$$chown" "$$pa"; \
1287 @WANT_INSTALLPERMS_TRUE@ chown "$$chown" "$$pa" || exit 1; \
1288 @WANT_INSTALLPERMS_TRUE@ fi; \
1289 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chmod"; then \
1290 @WANT_INSTALLPERMS_TRUE@ echo chmod "$$chmod" "$$pa"; \
1291 @WANT_INSTALLPERMS_TRUE@ chmod "$$chmod" "$$pa" || exit 1; \
1292 @WANT_INSTALLPERMS_TRUE@ fi; \
1293 @WANT_INSTALLPERMS_TRUE@ esac; \
1294 @WANT_INSTALLPERMS_TRUE@ done
1296 @WANT_INSTALLPERMS_TRUE@installperms-data:
1297 @WANT_INSTALLPERMS_TRUE@ @installperms="$(INSTALLPERMS_data)"; \
1298 @WANT_INSTALLPERMS_TRUE@ test -n "$$installperms" && echo "Setting installation permissions on data"; \
1299 @WANT_INSTALLPERMS_TRUE@ dest=; chown=; chmod=; \
1300 @WANT_INSTALLPERMS_TRUE@ for cmd in $$installperms; do \
1301 @WANT_INSTALLPERMS_TRUE@ case "$$cmd" in \
1302 @WANT_INSTALLPERMS_TRUE@ chown=amanda) \
1303 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1304 @WANT_INSTALLPERMS_TRUE@ dest=*|chown=*|chmod=*) \
1305 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; eval $$cmd;; \
1306 @WANT_INSTALLPERMS_TRUE@ *) pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1307 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chown"; then \
1308 @WANT_INSTALLPERMS_TRUE@ echo chown "$$chown" "$$pa"; \
1309 @WANT_INSTALLPERMS_TRUE@ chown "$$chown" "$$pa" || exit 1; \
1310 @WANT_INSTALLPERMS_TRUE@ fi; \
1311 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chmod"; then \
1312 @WANT_INSTALLPERMS_TRUE@ echo chmod "$$chmod" "$$pa"; \
1313 @WANT_INSTALLPERMS_TRUE@ chmod "$$chmod" "$$pa" || exit 1; \
1314 @WANT_INSTALLPERMS_TRUE@ fi; \
1315 @WANT_INSTALLPERMS_TRUE@ esac; \
1316 @WANT_INSTALLPERMS_TRUE@ done
1318 @WANT_INSTALLPERMS_TRUE@install-exec-hook: installperms-exec
1319 @WANT_INSTALLPERMS_TRUE@install-data-hook: installperms-data
1321 # A rule to make precompiler output from C files. This is not used during
1322 # ordinary builds, but but can very useful in debugging problems on strange
1323 # architectures. With this rule, we can ask users to 'make foo.i' and send
1326 # It touches some automake internals ($COMPILE), but since it's not
1327 # build-critical, that's OK.
1329 $(COMPILE) -E -o $@ $<
1332 @ for p in $(amlibexec_PROGRAMS) $(EXTRA_PROGRAMS); do \
1333 f="$$p.c $(libamandad_la_SOURCES)"; \
1334 (cd ../common-src; make listlibsrc); \
1335 f="$$f "`cat ../common-src/listlibsrc.output`; \
1336 (cd ../server-src; make listlibsrc); \
1337 f="$$f "`cat ../server-src/listlibsrc.output`; \
1338 (cd ../tape-src; make listlibsrc); \
1339 f="$$f "`cat ../tape-src/listlibsrc.output`; \
1341 $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config \
1343 if [ $$? -ne 0 ]; then \
1348 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1349 # Otherwise a system limit (for SysV at least) may be exceeded.