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/ssh-security.m4 \
222 $(top_srcdir)/config/amanda/summary.m4 \
223 $(top_srcdir)/config/amanda/swig.m4 \
224 $(top_srcdir)/config/amanda/syshacks.m4 \
225 $(top_srcdir)/config/amanda/tape.m4 \
226 $(top_srcdir)/config/amanda/types.m4 \
227 $(top_srcdir)/config/amanda/userid.m4 \
228 $(top_srcdir)/config/amanda/version.m4 \
229 $(top_srcdir)/config/gnulib/alloca.m4 \
230 $(top_srcdir)/config/gnulib/arpa_inet_h.m4 \
231 $(top_srcdir)/config/gnulib/base64.m4 \
232 $(top_srcdir)/config/gnulib/eoverflow.m4 \
233 $(top_srcdir)/config/gnulib/extensions.m4 \
234 $(top_srcdir)/config/gnulib/float_h.m4 \
235 $(top_srcdir)/config/gnulib/fsusage.m4 \
236 $(top_srcdir)/config/gnulib/getaddrinfo.m4 \
237 $(top_srcdir)/config/gnulib/gettimeofday.m4 \
238 $(top_srcdir)/config/gnulib/gnulib-comp.m4 \
239 $(top_srcdir)/config/gnulib/include_next.m4 \
240 $(top_srcdir)/config/gnulib/inet_ntop.m4 \
241 $(top_srcdir)/config/gnulib/intmax_t.m4 \
242 $(top_srcdir)/config/gnulib/lock.m4 \
243 $(top_srcdir)/config/gnulib/longlong.m4 \
244 $(top_srcdir)/config/gnulib/malloc.m4 \
245 $(top_srcdir)/config/gnulib/mkdtemp.m4 \
246 $(top_srcdir)/config/gnulib/netinet_in_h.m4 \
247 $(top_srcdir)/config/gnulib/onceonly_2_57.m4 \
248 $(top_srcdir)/config/gnulib/physmem.m4 \
249 $(top_srcdir)/config/gnulib/safe-read.m4 \
250 $(top_srcdir)/config/gnulib/safe-write.m4 \
251 $(top_srcdir)/config/gnulib/snprintf.m4 \
252 $(top_srcdir)/config/gnulib/socklen.m4 \
253 $(top_srcdir)/config/gnulib/sockpfaf.m4 \
254 $(top_srcdir)/config/gnulib/ssize_t.m4 \
255 $(top_srcdir)/config/gnulib/stdbool.m4 \
256 $(top_srcdir)/config/gnulib/stdint.m4 \
257 $(top_srcdir)/config/gnulib/stdio_h.m4 \
258 $(top_srcdir)/config/gnulib/stdlib_h.m4 \
259 $(top_srcdir)/config/gnulib/strdup.m4 \
260 $(top_srcdir)/config/gnulib/string_h.m4 \
261 $(top_srcdir)/config/gnulib/sys_socket_h.m4 \
262 $(top_srcdir)/config/gnulib/sys_stat_h.m4 \
263 $(top_srcdir)/config/gnulib/sys_time_h.m4 \
264 $(top_srcdir)/config/gnulib/tempname.m4 \
265 $(top_srcdir)/config/gnulib/ulonglong.m4 \
266 $(top_srcdir)/config/gnulib/unistd_h.m4 \
267 $(top_srcdir)/config/gnulib/vasnprintf.m4 \
268 $(top_srcdir)/config/gnulib/visibility.m4 \
269 $(top_srcdir)/config/gnulib/wchar.m4 \
270 $(top_srcdir)/config/gettext-macros/gettext.m4 \
271 $(top_srcdir)/config/gettext-macros/iconv.m4 \
272 $(top_srcdir)/config/gettext-macros/inttypes_h.m4 \
273 $(top_srcdir)/config/gettext-macros/lib-ld.m4 \
274 $(top_srcdir)/config/gettext-macros/lib-link.m4 \
275 $(top_srcdir)/config/gettext-macros/lib-prefix.m4 \
276 $(top_srcdir)/config/gettext-macros/longlong.m4 \
277 $(top_srcdir)/config/gettext-macros/nls.m4 \
278 $(top_srcdir)/config/gettext-macros/po.m4 \
279 $(top_srcdir)/config/gettext-macros/progtest.m4 \
280 $(top_srcdir)/config/gettext-macros/size_max.m4 \
281 $(top_srcdir)/config/gettext-macros/stdint_h.m4 \
282 $(top_srcdir)/config/gettext-macros/wchar_t.m4 \
283 $(top_srcdir)/config/gettext-macros/wint_t.m4 \
284 $(top_srcdir)/config/gettext-macros/xsize.m4 \
285 $(top_srcdir)/config/libtool.m4 $(top_srcdir)/configure.in
286 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
288 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
289 CONFIG_HEADER = $(top_builddir)/config/config.h
291 @WANT_CHG_SCSI_CHIO_TRUE@am__EXEEXT_1 = chg-scsi-chio$(EXEEXT)
292 @WANT_CHG_SCSI_TRUE@am__EXEEXT_2 = chg-scsi$(EXEEXT)
293 am__installdirs = "$(DESTDIR)$(amlibexecdir)" \
294 "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"
295 amlibexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
296 PROGRAMS = $(amlibexec_PROGRAMS)
297 am__chg_scsi_SOURCES_DIST = libscsi.h scsi-defs.h chg-scsi.c \
298 scsi-changer-driver.c sense.c scsi-aix.c scsi-hpux_new.c \
299 scsi-irix.c scsi-linux.c scsi-solaris.c scsi-bsd.c scsi-cam.c
300 @WANT_SCSI_AIX_TRUE@am__objects_1 = scsi-aix.$(OBJEXT)
301 @WANT_SCSI_HPUX_NEW_TRUE@am__objects_2 = scsi-hpux_new.$(OBJEXT)
302 @WANT_SCSI_IRIX_TRUE@am__objects_3 = scsi-irix.$(OBJEXT)
303 @WANT_SCSI_LINUX_TRUE@am__objects_4 = scsi-linux.$(OBJEXT)
304 @WANT_SCSI_SOLARIS_TRUE@am__objects_5 = scsi-solaris.$(OBJEXT)
305 @WANT_SCSI_BSD_TRUE@am__objects_6 = scsi-bsd.$(OBJEXT)
306 @WANT_SCSI_CAM_TRUE@am__objects_7 = scsi-cam.$(OBJEXT)
307 am__objects_8 = chg-scsi.$(OBJEXT) scsi-changer-driver.$(OBJEXT) \
308 sense.$(OBJEXT) $(am__objects_1) $(am__objects_2) \
309 $(am__objects_3) $(am__objects_4) $(am__objects_5) \
310 $(am__objects_6) $(am__objects_7)
311 am_chg_scsi_OBJECTS = $(am__objects_8)
312 chg_scsi_OBJECTS = $(am_chg_scsi_OBJECTS)
313 chg_scsi_LDADD = $(LDADD)
315 chg_scsi_DEPENDENCIES = ../common-src/libamanda.la \
316 ../tape-src/libamtape.la ../common-src/libamanda.la \
317 ../gnulib/libgnu.la $(am__DEPENDENCIES_1)
318 am__chg_scsi_chio_SOURCES_DIST = libscsi.h chg-scsi-chio.c scsi-hpux.c \
320 @WANT_SCSI_HPUX_TRUE@am__objects_9 = scsi-hpux.$(OBJEXT)
321 @WANT_SCSI_CHIO_TRUE@am__objects_10 = scsi-chio.$(OBJEXT)
322 am__objects_11 = chg-scsi-chio.$(OBJEXT) $(am__objects_9) \
324 am_chg_scsi_chio_OBJECTS = $(am__objects_11)
325 chg_scsi_chio_OBJECTS = $(am_chg_scsi_chio_OBJECTS)
326 chg_scsi_chio_LDADD = $(LDADD)
327 chg_scsi_chio_DEPENDENCIES = ../common-src/libamanda.la \
328 ../tape-src/libamtape.la ../common-src/libamanda.la \
329 ../gnulib/libgnu.la $(am__DEPENDENCIES_1)
330 amlibexecSCRIPT_INSTALL = $(INSTALL_SCRIPT)
331 SCRIPTS = $(amlibexec_SCRIPTS)
332 DEFAULT_INCLUDES = -I. -I$(top_builddir)/config@am__isrc@
333 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
334 am__depfiles_maybe = depfiles
335 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
336 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
337 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
338 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
339 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
341 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
342 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
344 SOURCES = $(chg_scsi_SOURCES) $(chg_scsi_chio_SOURCES)
345 DIST_SOURCES = $(am__chg_scsi_SOURCES_DIST) \
346 $(am__chg_scsi_chio_SOURCES_DIST)
347 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
348 am__vpath_adj = case $$p in \
349 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
352 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
353 amlibexecDATA_INSTALL = $(INSTALL_DATA)
354 DATA = $(amlibexec_DATA)
357 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
360 ALLOCA_H = @ALLOCA_H@
361 AMANDA_DBGDIR = @AMANDA_DBGDIR@
362 AMANDA_DEBUG_DAYS = @AMANDA_DEBUG_DAYS@
363 AMANDA_STATIC_LDFLAGS = @AMANDA_STATIC_LDFLAGS@
364 AMANDA_TMPDIR = @AMANDA_TMPDIR@
365 AMANDA_WARNING_CFLAGS = @AMANDA_WARNING_CFLAGS@
367 AMLINTFLAGS = @AMLINTFLAGS@
368 AMPLOT_CAT_COMPRESS = @AMPLOT_CAT_COMPRESS@
369 AMPLOT_CAT_GZIP = @AMPLOT_CAT_GZIP@
370 AMPLOT_CAT_PACK = @AMPLOT_CAT_PACK@
371 AMPLOT_COMPRESS = @AMPLOT_COMPRESS@
374 ARPA_INET_H = @ARPA_INET_H@
375 AUTOCONF = @AUTOCONF@
376 AUTOHEADER = @AUTOHEADER@
377 AUTOMAKE = @AUTOMAKE@
380 BINARY_OWNER = @BINARY_OWNER@
381 BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
382 BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
383 BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
384 BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
385 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
388 CCDEPMODE = @CCDEPMODE@
390 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
393 CLIENT_LOGIN = @CLIENT_LOGIN@
394 CLIENT_SCRIPTS_OPT = @CLIENT_SCRIPTS_OPT@
395 COMPRESS = @COMPRESS@
396 CONFIG_DIR = @CONFIG_DIR@
398 CPPFLAGS = @CPPFLAGS@
399 CURL_CONFIG = @CURL_CONFIG@
402 CXXDEPMODE = @CXXDEPMODE@
403 CXXFLAGS = @CXXFLAGS@
404 CYGPATH_W = @CYGPATH_W@
406 DEFAULT_AMANDATES_FILE = @DEFAULT_AMANDATES_FILE@
407 DEFAULT_CHANGER_DEVICE = @DEFAULT_CHANGER_DEVICE@
408 DEFAULT_CONFIG = @DEFAULT_CONFIG@
409 DEFAULT_SERVER = @DEFAULT_SERVER@
410 DEFAULT_TAPE_DEVICE = @DEFAULT_TAPE_DEVICE@
411 DEFAULT_TAPE_SERVER = @DEFAULT_TAPE_SERVER@
414 DOC_BUILD_DATE = @DOC_BUILD_DATE@
416 DUMPER_DIR = @DUMPER_DIR@
422 EOVERFLOW = @EOVERFLOW@
423 EXAMPLE_TAPEDEV = @EXAMPLE_TAPEDEV@
430 GLIB_CFLAGS = @GLIB_CFLAGS@
431 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
432 GLIB_LIBS = @GLIB_LIBS@
433 GLIB_MKENUMS = @GLIB_MKENUMS@
435 GMSGFMT_015 = @GMSGFMT_015@
436 GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
437 GNULIB_CHOWN = @GNULIB_CHOWN@
438 GNULIB_DUP2 = @GNULIB_DUP2@
439 GNULIB_FCHDIR = @GNULIB_FCHDIR@
440 GNULIB_FFLUSH = @GNULIB_FFLUSH@
441 GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
442 GNULIB_FSEEK = @GNULIB_FSEEK@
443 GNULIB_FSEEKO = @GNULIB_FSEEKO@
444 GNULIB_FTELL = @GNULIB_FTELL@
445 GNULIB_FTELLO = @GNULIB_FTELLO@
446 GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
447 GNULIB_GETCWD = @GNULIB_GETCWD@
448 GNULIB_GETDELIM = @GNULIB_GETDELIM@
449 GNULIB_GETLINE = @GNULIB_GETLINE@
450 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
451 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
452 GNULIB_LCHOWN = @GNULIB_LCHOWN@
453 GNULIB_LSEEK = @GNULIB_LSEEK@
454 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
455 GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
456 GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
457 GNULIB_MBSCHR = @GNULIB_MBSCHR@
458 GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
459 GNULIB_MBSLEN = @GNULIB_MBSLEN@
460 GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
461 GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
462 GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
463 GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
464 GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
465 GNULIB_MBSSEP = @GNULIB_MBSSEP@
466 GNULIB_MBSSPN = @GNULIB_MBSSPN@
467 GNULIB_MBSSTR = @GNULIB_MBSSTR@
468 GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
469 GNULIB_MEMMEM = @GNULIB_MEMMEM@
470 GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
471 GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
472 GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
473 GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
474 GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
475 GNULIB_READLINK = @GNULIB_READLINK@
476 GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
477 GNULIB_SLEEP = @GNULIB_SLEEP@
478 GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
479 GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
480 GNULIB_STPCPY = @GNULIB_STPCPY@
481 GNULIB_STPNCPY = @GNULIB_STPNCPY@
482 GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
483 GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
484 GNULIB_STRDUP = @GNULIB_STRDUP@
485 GNULIB_STRNDUP = @GNULIB_STRNDUP@
486 GNULIB_STRNLEN = @GNULIB_STRNLEN@
487 GNULIB_STRPBRK = @GNULIB_STRPBRK@
488 GNULIB_STRSEP = @GNULIB_STRSEP@
489 GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
490 GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
491 GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
492 GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
493 GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
494 GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
495 GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
498 GNUTAR_LISTED_INCREMENTAL_DIR = @GNUTAR_LISTED_INCREMENTAL_DIR@
499 GOBJECT_QUERY = @GOBJECT_QUERY@
502 HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
503 HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
504 HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
505 HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
506 HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
507 HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
508 HAVE_DECL_MKDIR = @HAVE_DECL_MKDIR@
509 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
510 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
511 HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
512 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
513 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
514 HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
515 HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
516 HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
517 HAVE_DUP2 = @HAVE_DUP2@
518 HAVE_FSEEKO = @HAVE_FSEEKO@
519 HAVE_FTELLO = @HAVE_FTELLO@
520 HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
521 HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
522 HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
523 HAVE_IO_H = @HAVE_IO_H@
524 HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
525 HAVE_LSTAT = @HAVE_LSTAT@
526 HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
527 HAVE_MEMPCPY = @HAVE_MEMPCPY@
528 HAVE_MKDTEMP = @HAVE_MKDTEMP@
529 HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@
530 HAVE_READLINK = @HAVE_READLINK@
531 HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
532 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
533 HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
534 HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
535 HAVE_SLEEP = @HAVE_SLEEP@
536 HAVE_STDINT_H = @HAVE_STDINT_H@
537 HAVE_STPCPY = @HAVE_STPCPY@
538 HAVE_STPNCPY = @HAVE_STPNCPY@
539 HAVE_STRCASECMP = @HAVE_STRCASECMP@
540 HAVE_STRCASESTR = @HAVE_STRCASESTR@
541 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
542 HAVE_STRNDUP = @HAVE_STRNDUP@
543 HAVE_STRPBRK = @HAVE_STRPBRK@
544 HAVE_STRSEP = @HAVE_STRSEP@
545 HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@
546 HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
547 HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
548 HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@
549 HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
550 HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
551 HAVE_UNISTD_H = @HAVE_UNISTD_H@
552 HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
553 HAVE_VASPRINTF = @HAVE_VASPRINTF@
554 HAVE_VISIBILITY = @HAVE_VISIBILITY@
555 HAVE_WCHAR_H = @HAVE_WCHAR_H@
556 HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
557 HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@
558 HAVE__BOOL = @HAVE__BOOL@
559 INCLUDE_NEXT = @INCLUDE_NEXT@
561 INSTALL_DATA = @INSTALL_DATA@
562 INSTALL_PROGRAM = @INSTALL_PROGRAM@
563 INSTALL_SCRIPT = @INSTALL_SCRIPT@
564 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
565 INTLLIBS = @INTLLIBS@
566 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
570 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
572 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
573 LIBICONV = @LIBICONV@
575 LIBMULTITHREAD = @LIBMULTITHREAD@
579 LIBTHREAD = @LIBTHREAD@
581 LIBTOOL_DEPS = @LIBTOOL_DEPS@
583 LTLIBICONV = @LTLIBICONV@
584 LTLIBINTL = @LTLIBINTL@
585 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
586 LTLIBOBJS = @LTLIBOBJS@
587 LTLIBPTH = @LTLIBPTH@
588 LTLIBTHREAD = @LTLIBTHREAD@
590 MAKEINFO = @MAKEINFO@
591 MAXTAPEBLOCKSIZE = @MAXTAPEBLOCKSIZE@
595 MSGFMT_015 = @MSGFMT_015@
596 MSGMERGE = @MSGMERGE@
599 MT_FILE_FLAG = @MT_FILE_FLAG@
600 NETINET_IN_H = @NETINET_IN_H@
601 NEXT_FLOAT_H = @NEXT_FLOAT_H@
602 NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@
603 NEXT_STDINT_H = @NEXT_STDINT_H@
604 NEXT_STDIO_H = @NEXT_STDIO_H@
605 NEXT_STDLIB_H = @NEXT_STDLIB_H@
606 NEXT_STRING_H = @NEXT_STRING_H@
607 NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@
608 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
609 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
610 NEXT_UNISTD_H = @NEXT_UNISTD_H@
611 NEXT_WCHAR_H = @NEXT_WCHAR_H@
614 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
615 PACKAGE_NAME = @PACKAGE_NAME@
616 PACKAGE_STRING = @PACKAGE_STRING@
617 PACKAGE_TARNAME = @PACKAGE_TARNAME@
618 PACKAGE_VERSION = @PACKAGE_VERSION@
619 PATH_SEPARATOR = @PATH_SEPARATOR@
622 PERLEXTLIBS = @PERLEXTLIBS@
623 PERL_INC = @PERL_INC@
624 PKG_CONFIG = @PKG_CONFIG@
627 PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
629 READLINE_LIBS = @READLINE_LIBS@
630 REPLACE_CHOWN = @REPLACE_CHOWN@
631 REPLACE_FCHDIR = @REPLACE_FCHDIR@
632 REPLACE_FFLUSH = @REPLACE_FFLUSH@
633 REPLACE_FPRINTF = @REPLACE_FPRINTF@
634 REPLACE_FSEEK = @REPLACE_FSEEK@
635 REPLACE_FSEEKO = @REPLACE_FSEEKO@
636 REPLACE_FTELL = @REPLACE_FTELL@
637 REPLACE_FTELLO = @REPLACE_FTELLO@
638 REPLACE_GETCWD = @REPLACE_GETCWD@
639 REPLACE_GETLINE = @REPLACE_GETLINE@
640 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
641 REPLACE_LCHOWN = @REPLACE_LCHOWN@
642 REPLACE_LSEEK = @REPLACE_LSEEK@
643 REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
644 REPLACE_PRINTF = @REPLACE_PRINTF@
645 REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
646 REPLACE_SPRINTF = @REPLACE_SPRINTF@
647 REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
648 REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
649 REPLACE_VPRINTF = @REPLACE_VPRINTF@
650 REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
651 REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
652 REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
654 SAMBA_CLIENT = @SAMBA_CLIENT@
655 SERVICE_SUFFIX = @SERVICE_SUFFIX@
656 SETUID_GROUP = @SETUID_GROUP@
657 SET_MAKE = @SET_MAKE@
659 SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
660 SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
661 SNAPSHOT_STAMP = @SNAPSHOT_STAMP@
664 STDBOOL_H = @STDBOOL_H@
665 STDINT_H = @STDINT_H@
669 SWIG_LIB = @SWIG_LIB@
670 SYS_SOCKET_H = @SYS_SOCKET_H@
671 SYS_STAT_H = @SYS_STAT_H@
672 SYS_TIME_H = @SYS_TIME_H@
674 USE_VERSION_SUFFIXES = @USE_VERSION_SUFFIXES@
677 VERSION_COMMENT = @VERSION_COMMENT@
678 VERSION_MAJOR = @VERSION_MAJOR@
679 VERSION_MINOR = @VERSION_MINOR@
680 VERSION_PATCH = @VERSION_PATCH@
681 VERSION_SUFFIX = @VERSION_SUFFIX@
682 VRESTORE = @VRESTORE@
684 VXRESTORE = @VXRESTORE@
686 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
687 WINT_T_SUFFIX = @WINT_T_SUFFIX@
689 XFSRESTORE = @XFSRESTORE@
690 XGETTEXT = @XGETTEXT@
691 XGETTEXT_015 = @XGETTEXT_015@
693 XSLTPROC = @XSLTPROC@
694 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
697 _libcurl_config = @_libcurl_config@
698 abs_builddir = @abs_builddir@
699 abs_srcdir = @abs_srcdir@
700 abs_top_builddir = @abs_top_builddir@
701 abs_top_srcdir = @abs_top_srcdir@
702 ac_ct_CC = @ac_ct_CC@
703 ac_ct_CXX = @ac_ct_CXX@
704 ac_ct_F77 = @ac_ct_F77@
705 am__include = @am__include@
706 am__leading_dot = @am__leading_dot@
707 am__quote = @am__quote@
709 am__untar = @am__untar@
710 amincludedir = @amincludedir@
711 amlibdir = @amlibdir@
712 amlibexecdir = @amlibexecdir@
713 amperldir = @amperldir@
716 build_alias = @build_alias@
717 build_cpu = @build_cpu@
718 build_os = @build_os@
719 build_vendor = @build_vendor@
720 builddir = @builddir@
722 datarootdir = @datarootdir@
725 exec_prefix = @exec_prefix@
726 gl_LIBOBJS = @gl_LIBOBJS@
727 gl_LTLIBOBJS = @gl_LTLIBOBJS@
729 host_alias = @host_alias@
730 host_cpu = @host_cpu@
732 host_vendor = @host_vendor@
734 includedir = @includedir@
736 install_sh = @install_sh@
738 libexecdir = @libexecdir@
739 localedir = @localedir@
740 localstatedir = @localstatedir@
743 oldincludedir = @oldincludedir@
746 program_transform_name = @program_transform_name@
749 sharedstatedir = @sharedstatedir@
751 sysconfdir = @sysconfdir@
753 target_alias = @target_alias@
754 target_cpu = @target_cpu@
755 target_os = @target_os@
756 target_vendor = @target_vendor@
757 top_builddir = @top_builddir@
758 top_srcdir = @top_srcdir@
760 EXTRA_DIST = chg-lib.sh.in scsi-proto.c
764 # config.status leaves config.log files around
765 CLEANFILES = config.log
767 # and we'll need to clean up our generated files for distclean
768 DISTCLEANFILES = $(SCRIPTS_SHELL) $(SCRIPTS_PERL) $(SCRIPTS_AWK)
769 MAINTAINERCLEANFILES =
771 # syntax-check shell scripts on 'make check'
772 CHECK_SHELL = $(SCRIPTS_SHELL)
774 # sed expression to strip leading directories from a filename; this converts e.g.,
775 # src/foo/bar.so to bar.so.
776 strip_leading_dirs = s|^.*/||
777 INCLUDES = -I$(top_builddir)/common-src \
778 -I$(top_srcdir)/common-src \
779 -I$(top_srcdir)/tape-src \
780 -I$(top_srcdir)/gnulib
782 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
783 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
785 LINTFLAGS = $(AMLINTFLAGS)
786 @WANT_CHG_SCSI_CHIO_TRUE@CHIO_SCSI = chg-scsi-chio
787 @WANT_CHG_SCSI_TRUE@CHG_SCSI = chg-scsi
793 SCRIPTS_PERL = $(CHECK_PERL)
809 amlibexec_SCRIPTS = $(SCRIPTS_PERL) $(SCRIPTS_SHELL)
810 amlibexec_DATA = $(SCRIPTS_INCLUDE)
813 # Because libamanda includes routines (e.g. regex) provided by some system
814 # libraries, and because of the way libtool sets up the command line, we
815 # need to list libamanda twice here, first to override the system library
816 # routines, and second to pick up any references in the other libraries.
818 LDADD = ../common-src/libamanda.la \
819 ../tape-src/libamtape.la \
820 ../common-src/libamanda.la \
821 ../gnulib/libgnu.la \
824 chg_scsi_CSRC = chg-scsi.c scsi-changer-driver.c sense.c \
825 $(am__append_1) $(am__append_2) $(am__append_3) \
826 $(am__append_4) $(am__append_5) $(am__append_6) \
828 chg_scsi_SOURCES = libscsi.h scsi-defs.h $(chg_scsi_CSRC)
829 chg_scsi_chio_CSRC = chg-scsi-chio.c $(am__append_8) $(am__append_9)
830 chg_scsi_chio_SOURCES = libscsi.h $(chg_scsi_chio_CSRC)
831 INSTALLPERMS_exec = \
833 dest=$(sbindir) $(sbin_PROGRAMS) \
834 dest=$(amlibexecdir) $(amlibexec_PROGRAMS)
836 INSTALLPERMS_data = \
838 dest=$(sbindir) $(sbin_SCRIPTS) \
839 dest=$(amlibexecdir) $(amlibexec_SCRIPTS) $(amlibexec_DATA)
841 all: $(BUILT_SOURCES)
842 $(MAKE) $(AM_MAKEFLAGS) all-am
845 .SUFFIXES: .c .lo .o .obj
846 $(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 case '$(am__configure_deps)' in \
850 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
855 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu changer-src/Makefile'; \
856 cd $(top_srcdir) && \
857 $(AUTOMAKE) --gnu changer-src/Makefile
859 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
862 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
864 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
865 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
868 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
869 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
871 $(top_srcdir)/configure: $(am__configure_deps)
872 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
873 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
874 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
875 install-amlibexecPROGRAMS: $(amlibexec_PROGRAMS)
877 test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
878 @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
879 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
883 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
884 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(amlibexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
885 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(amlibexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(amlibexecdir)/$$f" || exit 1; \
889 uninstall-amlibexecPROGRAMS:
891 @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
892 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
893 echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
894 rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
897 clean-amlibexecPROGRAMS:
898 @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
899 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
900 echo " rm -f $$p $$f"; \
903 chg-scsi$(EXEEXT): $(chg_scsi_OBJECTS) $(chg_scsi_DEPENDENCIES)
904 @rm -f chg-scsi$(EXEEXT)
905 $(LINK) $(chg_scsi_OBJECTS) $(chg_scsi_LDADD) $(LIBS)
906 chg-scsi-chio$(EXEEXT): $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_DEPENDENCIES)
907 @rm -f chg-scsi-chio$(EXEEXT)
908 $(LINK) $(chg_scsi_chio_OBJECTS) $(chg_scsi_chio_LDADD) $(LIBS)
909 install-amlibexecSCRIPTS: $(amlibexec_SCRIPTS)
911 test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
912 @list='$(amlibexec_SCRIPTS)'; for p in $$list; do \
913 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
914 if test -f $$d$$p; then \
915 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
916 echo " $(amlibexecSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
917 $(amlibexecSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(amlibexecdir)/$$f"; \
921 uninstall-amlibexecSCRIPTS:
923 @list='$(amlibexec_SCRIPTS)'; for p in $$list; do \
924 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
925 echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
926 rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
935 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi-chio.Po@am__quote@
936 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chg-scsi.Po@am__quote@
937 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-aix.Po@am__quote@
938 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-bsd.Po@am__quote@
939 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-cam.Po@am__quote@
940 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-changer-driver.Po@am__quote@
941 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-chio.Po@am__quote@
942 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux.Po@am__quote@
943 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-hpux_new.Po@am__quote@
944 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-irix.Po@am__quote@
945 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-linux.Po@am__quote@
946 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/scsi-solaris.Po@am__quote@
947 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sense.Po@am__quote@
950 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
951 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
952 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
953 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
954 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
957 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
958 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
959 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
960 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
961 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
964 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
965 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
966 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
967 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
968 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
975 install-amlibexecDATA: $(amlibexec_DATA)
977 test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
978 @list='$(amlibexec_DATA)'; for p in $$list; do \
979 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
981 echo " $(amlibexecDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
982 $(amlibexecDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(amlibexecdir)/$$f"; \
985 uninstall-amlibexecDATA:
987 @list='$(amlibexec_DATA)'; for p in $$list; do \
989 echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
990 rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
993 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
994 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
995 unique=`for i in $$list; do \
996 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
998 $(AWK) ' { files[$$0] = 1; } \
999 END { for (i in files) print i; }'`; \
1003 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1004 $(TAGS_FILES) $(LISP)
1007 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1008 unique=`for i in $$list; do \
1009 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1011 $(AWK) ' { files[$$0] = 1; } \
1012 END { for (i in files) print i; }'`; \
1013 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1014 test -n "$$unique" || unique=$$empty_fix; \
1015 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1019 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1020 $(TAGS_FILES) $(LISP)
1023 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1024 unique=`for i in $$list; do \
1025 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1027 $(AWK) ' { files[$$0] = 1; } \
1028 END { for (i in files) print i; }'`; \
1029 test -z "$(CTAGS_ARGS)$$tags$$unique" \
1030 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1034 here=`$(am__cd) $(top_builddir) && pwd` \
1035 && cd $(top_srcdir) \
1036 && gtags -i $(GTAGS_ARGS) $$here
1039 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1041 distdir: $(DISTFILES)
1042 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1043 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1044 list='$(DISTFILES)'; \
1045 dist_files=`for file in $$list; do echo $$file; done | \
1046 sed -e "s|^$$srcdirstrip/||;t" \
1047 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1048 case $$dist_files in \
1049 */*) $(MKDIR_P) `echo "$$dist_files" | \
1050 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1053 for file in $$dist_files; do \
1054 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1055 if test -d $$d/$$file; then \
1056 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1057 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1058 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1060 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1062 test -f $(distdir)/$$file \
1063 || cp -p $$d/$$file $(distdir)/$$file \
1067 $(MAKE) $(AM_MAKEFLAGS) \
1068 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1071 $(MAKE) $(AM_MAKEFLAGS) check-local
1072 check: $(BUILT_SOURCES)
1073 $(MAKE) $(AM_MAKEFLAGS) check-am
1074 all-am: Makefile $(PROGRAMS) $(SCRIPTS) $(DATA)
1076 for dir in "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(amlibexecdir)"; do \
1077 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1079 install: $(BUILT_SOURCES)
1080 $(MAKE) $(AM_MAKEFLAGS) install-am
1081 install-exec: install-exec-am
1082 install-data: install-data-am
1083 uninstall: uninstall-am
1086 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1088 installcheck: installcheck-am
1090 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1091 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1092 `test -z '$(STRIP)' || \
1093 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1094 mostlyclean-generic:
1095 -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1098 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1101 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1102 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1104 maintainer-clean-generic:
1105 @echo "This command is intended for maintainers to use"
1106 @echo "it deletes files that may require special tools to rebuild."
1107 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1108 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1109 @WANT_INSTALLPERMS_FALSE@install-exec-hook:
1110 @WANT_INSTALLPERMS_FALSE@install-data-hook:
1113 clean-am: clean-amlibexecPROGRAMS clean-generic clean-libtool \
1116 distclean: distclean-am
1119 distclean-am: clean-am distclean-compile distclean-generic \
1134 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1136 install-dvi: install-dvi-am
1138 install-exec-am: install-amlibexecDATA install-amlibexecPROGRAMS \
1139 install-amlibexecSCRIPTS
1141 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1143 install-html: install-html-am
1145 install-info: install-info-am
1149 install-pdf: install-pdf-am
1151 install-ps: install-ps-am
1155 maintainer-clean: maintainer-clean-am
1158 maintainer-clean-am: distclean-am maintainer-clean-generic
1160 mostlyclean: mostlyclean-am
1162 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1173 uninstall-am: uninstall-amlibexecDATA uninstall-amlibexecPROGRAMS \
1174 uninstall-amlibexecSCRIPTS
1176 .MAKE: install-am install-data-am install-exec-am install-strip
1178 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
1179 clean-amlibexecPROGRAMS clean-generic clean-libtool ctags \
1180 dist-hook distclean distclean-compile distclean-generic \
1181 distclean-libtool distclean-tags distdir dvi dvi-am html \
1182 html-am info info-am install install-am install-amlibexecDATA \
1183 install-amlibexecPROGRAMS install-amlibexecSCRIPTS \
1184 install-data install-data-am install-data-hook install-dvi \
1185 install-dvi-am install-exec install-exec-am install-exec-hook \
1186 install-html install-html-am install-info install-info-am \
1187 install-man install-pdf install-pdf-am install-ps \
1188 install-ps-am install-strip installcheck installcheck-am \
1189 installdirs maintainer-clean maintainer-clean-generic \
1190 mostlyclean mostlyclean-compile mostlyclean-generic \
1191 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
1192 uninstall-am uninstall-amlibexecDATA \
1193 uninstall-amlibexecPROGRAMS uninstall-amlibexecSCRIPTS
1197 %: %.pl $(top_builddir)/config.status
1198 $(top_builddir)/config.status --file=$@:$<
1201 %.pl: %.pl.in $(top_builddir)/config.status
1202 $(top_builddir)/config.status --file=$@:$<
1204 %.pm: %.pm.in $(top_builddir)/config.status
1205 $(top_builddir)/config.status --file=$@:$<
1208 %: %.sh $(top_builddir)/config.status
1209 $(top_builddir)/config.status --file=$@:$<
1212 %.sh: %.sh.in $(top_builddir)/config.status
1213 $(top_builddir)/config.status --file=$@:$<
1216 %: %.awk $(top_builddir)/config.status
1217 $(top_builddir)/config.status --file=$@:$<
1220 %.awk: %.awk.in $(top_builddir)/config.status
1221 $(top_builddir)/config.status --file=$@:$<
1223 # syntax-check perl scripts on 'make check'
1224 check-perl: $(CHECK_PERL)
1225 @CHECK_PERL="$(CHECK_PERL)"; \
1226 if test -n "$(PERL)"; then \
1227 for perlobj in $$CHECK_PERL; do \
1228 $(PERL) $(CHECK_PERL_FLAGS) -c -w -T $$perlobj || exit 1; \
1231 check-local: check-perl
1232 check-shell: $(CHECK_SHELL)
1233 @CHECK_SHELL="$(CHECK_SHELL)"; \
1234 if test -n "$$CHECK_SHELL"; then \
1235 if test -n "$(BASH)"; then \
1236 for shobj in $$CHECK_SHELL; do \
1237 if $(BASH) -n $$shobj; then \
1238 echo "$$shobj syntax OK"; \
1240 echo "$$shobj syntax error"; \
1245 echo "No 'bash' available -- cannot syntax-check shell scripts"; \
1248 check-local: check-shell
1250 # make sure that the sources for all shell and perl scripts get included
1251 # in the distribution
1253 SCRIPTS_PERL="$(SCRIPTS_PERL)"; SCRIPTS_SHELL="$(SCRIPTS_SHELL)"; SCRIPTS_AWK="$(SCRIPTS_AWK)"; \
1254 for script in $$SCRIPTS_PERL; do \
1255 test -f $(srcdir)/$${script}.pl && { cp -p $(srcdir)/$${script}.pl $(distdir)/ || exit 1; } \
1257 for script in $$SCRIPTS_SHELL; do \
1258 test -f $(srcdir)/$${script}.sh && { cp -p $(srcdir)/$${script}.sh $(distdir)/ || exit 1; } \
1260 for script in $$SCRIPTS_AWK; do \
1261 test -f $(srcdir)/$${script}.awk && { cp -p $(srcdir)/$${script}.awk $(distdir)/ || exit 1; } \
1263 for script in $$SCRIPTS_SHELL $$SCRIPTS_PERL $$SCRIPTS_AWK; do \
1264 test -f $(srcdir)/$${script}.in && { cp -p $(srcdir)/$${script}.in $(distdir)/ || exit 1; } \
1267 dist-hook: dist-scripts
1269 @WANT_INSTALLPERMS_TRUE@installperms-exec:
1270 @WANT_INSTALLPERMS_TRUE@ @installperms="$(INSTALLPERMS_exec)"; \
1271 @WANT_INSTALLPERMS_TRUE@ test -n "$$installperms" && echo "Setting installation permissions on executables"; \
1272 @WANT_INSTALLPERMS_TRUE@ dest=; chown=; chmod=; \
1273 @WANT_INSTALLPERMS_TRUE@ for cmd in $$installperms; do \
1274 @WANT_INSTALLPERMS_TRUE@ case "$$cmd" in \
1275 @WANT_INSTALLPERMS_TRUE@ chown=amanda) \
1276 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1277 @WANT_INSTALLPERMS_TRUE@ dest=*|chown=*|chmod=*) \
1278 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; eval $$cmd;; \
1279 @WANT_INSTALLPERMS_TRUE@ *) pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1280 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chown"; then \
1281 @WANT_INSTALLPERMS_TRUE@ echo chown "$$chown" "$$pa"; \
1282 @WANT_INSTALLPERMS_TRUE@ chown "$$chown" "$$pa" || exit 1; \
1283 @WANT_INSTALLPERMS_TRUE@ fi; \
1284 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chmod"; then \
1285 @WANT_INSTALLPERMS_TRUE@ echo chmod "$$chmod" "$$pa"; \
1286 @WANT_INSTALLPERMS_TRUE@ chmod "$$chmod" "$$pa" || exit 1; \
1287 @WANT_INSTALLPERMS_TRUE@ fi; \
1288 @WANT_INSTALLPERMS_TRUE@ esac; \
1289 @WANT_INSTALLPERMS_TRUE@ done
1291 @WANT_INSTALLPERMS_TRUE@installperms-data:
1292 @WANT_INSTALLPERMS_TRUE@ @installperms="$(INSTALLPERMS_data)"; \
1293 @WANT_INSTALLPERMS_TRUE@ test -n "$$installperms" && echo "Setting installation permissions on data"; \
1294 @WANT_INSTALLPERMS_TRUE@ dest=; chown=; chmod=; \
1295 @WANT_INSTALLPERMS_TRUE@ for cmd in $$installperms; do \
1296 @WANT_INSTALLPERMS_TRUE@ case "$$cmd" in \
1297 @WANT_INSTALLPERMS_TRUE@ chown=amanda) \
1298 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1299 @WANT_INSTALLPERMS_TRUE@ dest=*|chown=*|chmod=*) \
1300 @WANT_INSTALLPERMS_TRUE@ echo " ($$cmd)"; eval $$cmd;; \
1301 @WANT_INSTALLPERMS_TRUE@ *) pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
1302 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chown"; then \
1303 @WANT_INSTALLPERMS_TRUE@ echo chown "$$chown" "$$pa"; \
1304 @WANT_INSTALLPERMS_TRUE@ chown "$$chown" "$$pa" || exit 1; \
1305 @WANT_INSTALLPERMS_TRUE@ fi; \
1306 @WANT_INSTALLPERMS_TRUE@ if test -n "$$chmod"; then \
1307 @WANT_INSTALLPERMS_TRUE@ echo chmod "$$chmod" "$$pa"; \
1308 @WANT_INSTALLPERMS_TRUE@ chmod "$$chmod" "$$pa" || exit 1; \
1309 @WANT_INSTALLPERMS_TRUE@ fi; \
1310 @WANT_INSTALLPERMS_TRUE@ esac; \
1311 @WANT_INSTALLPERMS_TRUE@ done
1313 @WANT_INSTALLPERMS_TRUE@install-exec-hook: installperms-exec
1314 @WANT_INSTALLPERMS_TRUE@install-data-hook: installperms-data
1316 # A rule to make precompiler output from C files. This is not used during
1317 # ordinary builds, but but can very useful in debugging problems on strange
1318 # architectures. With this rule, we can ask users to 'make foo.i' and send
1321 # It touches some automake internals ($COMPILE), but since it's not
1322 # build-critical, that's OK.
1324 $(COMPILE) -E -o $@ $<
1327 @ for p in $(amlibexec_PROGRAMS) $(EXTRA_PROGRAMS); do \
1328 f="$$p.c $(libamandad_la_SOURCES)"; \
1329 (cd ../common-src; make listlibsrc); \
1330 f="$$f "`cat ../common-src/listlibsrc.output`; \
1331 (cd ../server-src; make listlibsrc); \
1332 f="$$f "`cat ../server-src/listlibsrc.output`; \
1333 (cd ../tape-src; make listlibsrc); \
1334 f="$$f "`cat ../tape-src/listlibsrc.output`; \
1336 $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config \
1338 if [ $$? -ne 0 ]; then \
1343 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1344 # Otherwise a system limit (for SysV at least) may be exceeded.