afbc373e6f06faa7742aff214ee9c08fbfdc222a
[debian/amanda] / installcheck / Makefile.in
1 # Makefile.in generated by automake 1.10 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Note that this architecture assumes a full install -- not just server
18 # or just client.  Neither is sufficiently test-able on its own.
19
20 # vim:ft=automake
21 # Copyright (c) 2005 Zmanda, Inc.  All Rights Reserved.
22
23 # This library is free software; you can redistribute it and/or modify it
24 # under the terms of the GNU Lesser General Public License version 2.1 as 
25 # published by the Free Software Foundation.
26
27 # This library is distributed in the hope that it will be useful, but
28 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
29 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
30 # License for more details.
31
32 # You should have received a copy of the GNU Lesser General Public License
33 # along with this library; if not, write to the Free Software Foundation,
34 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
35
36 # Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
37 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
38
39 # simple include file to pre-define variables which are then +='d by other
40 # scripts in this directory.
41
42 # vim:ft=automake
43 # Copyright (c) 2005 Zmanda, Inc.  All Rights Reserved.
44
45 # This library is free software; you can redistribute it and/or modify it
46 # under the terms of the GNU Lesser General Public License version 2.1 as 
47 # published by the Free Software Foundation.
48
49 # This library is distributed in the hope that it will be useful, but
50 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
51 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
52 # License for more details.
53
54 # You should have received a copy of the GNU Lesser General Public License
55 # along with this library; if not, write to the Free Software Foundation,
56 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
57
58 # Contact information: Zmanda Inc., 505 N Mathlida Ave, Suite 120
59 # Sunnyvale, CA 94085, USA, or: http://www.zmanda.com
60
61 # SYNOPSIS:
62 #
63 # Automake magic to handle the various tasks of building scripts.  Scripts can
64 # be built down to extensionless executables (e.g., foo.pl -> foo), or to 
65 # files with the usual extension (foo-lib.sh.in -> foo.sh).
66 #
67 # Files which support it are syntax-checked when the user invokes 'make check'.
68 #
69 # All *target* filenames must be listed in SCRIPTS_SHELL, SCRIPTS_PERL, and 
70 # SCRIPTS_AWK to support 'make check', 'make dist', and 'make distclean'.
71 #
72 # USAGE:
73 #
74 #   include $(top_srcdir)/config/automake/vars.am
75 #   include $(top_srcdir)/config/automake/scripts.am
76 #   ...
77 #   SCRIPTS_PERL = fooscript barscript perl-lib.pl perlmod.pm
78 #   SCRIPTS_SHELL = shell1 shell2 sh-lib.sh
79 #   SCRIPTS_AWK = talk balk chalk awk-lib.awk
80 #
81 # with the corresponding files in the repository:
82 #
83 #   fooscript.pl barscript.pl perl-lib.pl.in perlmod.pm.in
84 #   shell1.sh shell2.sh sh-lib.sh.in
85 #   talk.awk balk.awk chalk.awk awk-lib.awk.in
86 #
87 # by default, all shell and perl scripts are syntax checked.  If this is
88 # a problem (for example, perl scripts depending on Amanda extension 
89 # modules), then assign to CHECK_{PERL,SHELL} the list of files you wish
90 # to be checked (which can be empty).
91 #
92 # To add extra flags to the perl checks (e.g., to add new -I flags), set
93 # CHECK_PERL_FLAGS.
94
95 # Implementation note:
96 #
97 # This file uses config.status to substitute @foo@ in those scripts while
98 # converting them. It also adds the executable bits (a+x) to extensionless
99 # files.  The substitution works even though the files are not listed in 
100 # configure.in
101 VPATH = @srcdir@
102 pkgdatadir = $(datadir)/@PACKAGE@
103 pkglibdir = $(libdir)/@PACKAGE@
104 pkgincludedir = $(includedir)/@PACKAGE@
105 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
106 install_sh_DATA = $(install_sh) -c -m 644
107 install_sh_PROGRAM = $(install_sh) -c
108 install_sh_SCRIPT = $(install_sh) -c
109 INSTALL_HEADER = $(INSTALL_DATA)
110 transform = $(program_transform_name)
111 NORMAL_INSTALL = :
112 PRE_INSTALL = :
113 POST_INSTALL = :
114 NORMAL_UNINSTALL = :
115 PRE_UNINSTALL = :
116 POST_UNINSTALL = :
117 build_triplet = @build@
118 host_triplet = @host@
119 target_triplet = @target@
120 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
121         $(top_srcdir)/config/automake/scripts.am \
122         $(top_srcdir)/config/automake/vars.am
123 @WANT_SERVER_TRUE@am__append_1 = $(server_tests)
124 subdir = installcheck
125 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
126 am__aclocal_m4_deps =  \
127         $(top_srcdir)/config/macro-archive/ac_define_dir.m4 \
128         $(top_srcdir)/config/macro-archive/ac_prog_perl_version.m4 \
129         $(top_srcdir)/config/macro-archive/ac_prog_swig.m4 \
130         $(top_srcdir)/config/macro-archive/ax_compare_version.m4 \
131         $(top_srcdir)/config/macro-archive/docbook-dtd.m4 \
132         $(top_srcdir)/config/macro-archive/docbook-xslt-min.m4 \
133         $(top_srcdir)/config/macro-archive/docbook-xslt.m4 \
134         $(top_srcdir)/config/macro-archive/xsltproc.m4 \
135         $(top_srcdir)/config/amanda/amplot.m4 \
136         $(top_srcdir)/config/amanda/bsd-security.m4 \
137         $(top_srcdir)/config/amanda/bsdtcp-security.m4 \
138         $(top_srcdir)/config/amanda/bsdudp-security.m4 \
139         $(top_srcdir)/config/amanda/changer.m4 \
140         $(top_srcdir)/config/amanda/components.m4 \
141         $(top_srcdir)/config/amanda/compress.m4 \
142         $(top_srcdir)/config/amanda/config.m4 \
143         $(top_srcdir)/config/amanda/debugging.m4 \
144         $(top_srcdir)/config/amanda/defaults.m4 \
145         $(top_srcdir)/config/amanda/devprefix.m4 \
146         $(top_srcdir)/config/amanda/dirs.m4 \
147         $(top_srcdir)/config/amanda/documentation.m4 \
148         $(top_srcdir)/config/amanda/dumpers.m4 \
149         $(top_srcdir)/config/amanda/flags.m4 \
150         $(top_srcdir)/config/amanda/flock.m4 \
151         $(top_srcdir)/config/amanda/funcs.m4 \
152         $(top_srcdir)/config/amanda/getfsent.m4 \
153         $(top_srcdir)/config/amanda/i18n.m4 \
154         $(top_srcdir)/config/amanda/ipv6.m4 \
155         $(top_srcdir)/config/amanda/krb4-security.m4 \
156         $(top_srcdir)/config/amanda/krb5-security.m4 \
157         $(top_srcdir)/config/amanda/lfs.m4 \
158         $(top_srcdir)/config/amanda/libs.m4 \
159         $(top_srcdir)/config/amanda/net.m4 \
160         $(top_srcdir)/config/amanda/progs.m4 \
161         $(top_srcdir)/config/amanda/readdir.m4 \
162         $(top_srcdir)/config/amanda/readline.m4 \
163         $(top_srcdir)/config/amanda/rsh-security.m4 \
164         $(top_srcdir)/config/amanda/s3-device.m4 \
165         $(top_srcdir)/config/amanda/shmem.m4 \
166         $(top_srcdir)/config/amanda/socklen_t_equiv.m4 \
167         $(top_srcdir)/config/amanda/ssh-security.m4 \
168         $(top_srcdir)/config/amanda/summary.m4 \
169         $(top_srcdir)/config/amanda/swig.m4 \
170         $(top_srcdir)/config/amanda/syshacks.m4 \
171         $(top_srcdir)/config/amanda/tape.m4 \
172         $(top_srcdir)/config/amanda/types.m4 \
173         $(top_srcdir)/config/amanda/userid.m4 \
174         $(top_srcdir)/config/amanda/version.m4 \
175         $(top_srcdir)/config/gnulib/alloca.m4 \
176         $(top_srcdir)/config/gnulib/arpa_inet_h.m4 \
177         $(top_srcdir)/config/gnulib/base64.m4 \
178         $(top_srcdir)/config/gnulib/eoverflow.m4 \
179         $(top_srcdir)/config/gnulib/extensions.m4 \
180         $(top_srcdir)/config/gnulib/float_h.m4 \
181         $(top_srcdir)/config/gnulib/fsusage.m4 \
182         $(top_srcdir)/config/gnulib/getaddrinfo.m4 \
183         $(top_srcdir)/config/gnulib/gettimeofday.m4 \
184         $(top_srcdir)/config/gnulib/gnulib-comp.m4 \
185         $(top_srcdir)/config/gnulib/include_next.m4 \
186         $(top_srcdir)/config/gnulib/inet_ntop.m4 \
187         $(top_srcdir)/config/gnulib/intmax_t.m4 \
188         $(top_srcdir)/config/gnulib/lock.m4 \
189         $(top_srcdir)/config/gnulib/longlong.m4 \
190         $(top_srcdir)/config/gnulib/malloc.m4 \
191         $(top_srcdir)/config/gnulib/mkdtemp.m4 \
192         $(top_srcdir)/config/gnulib/netinet_in_h.m4 \
193         $(top_srcdir)/config/gnulib/onceonly_2_57.m4 \
194         $(top_srcdir)/config/gnulib/physmem.m4 \
195         $(top_srcdir)/config/gnulib/safe-read.m4 \
196         $(top_srcdir)/config/gnulib/safe-write.m4 \
197         $(top_srcdir)/config/gnulib/snprintf.m4 \
198         $(top_srcdir)/config/gnulib/socklen.m4 \
199         $(top_srcdir)/config/gnulib/sockpfaf.m4 \
200         $(top_srcdir)/config/gnulib/ssize_t.m4 \
201         $(top_srcdir)/config/gnulib/stdbool.m4 \
202         $(top_srcdir)/config/gnulib/stdint.m4 \
203         $(top_srcdir)/config/gnulib/stdio_h.m4 \
204         $(top_srcdir)/config/gnulib/stdlib_h.m4 \
205         $(top_srcdir)/config/gnulib/strdup.m4 \
206         $(top_srcdir)/config/gnulib/string_h.m4 \
207         $(top_srcdir)/config/gnulib/sys_socket_h.m4 \
208         $(top_srcdir)/config/gnulib/sys_stat_h.m4 \
209         $(top_srcdir)/config/gnulib/sys_time_h.m4 \
210         $(top_srcdir)/config/gnulib/tempname.m4 \
211         $(top_srcdir)/config/gnulib/ulonglong.m4 \
212         $(top_srcdir)/config/gnulib/unistd_h.m4 \
213         $(top_srcdir)/config/gnulib/vasnprintf.m4 \
214         $(top_srcdir)/config/gnulib/visibility.m4 \
215         $(top_srcdir)/config/gnulib/wchar.m4 \
216         $(top_srcdir)/config/gettext-macros/gettext.m4 \
217         $(top_srcdir)/config/gettext-macros/iconv.m4 \
218         $(top_srcdir)/config/gettext-macros/inttypes_h.m4 \
219         $(top_srcdir)/config/gettext-macros/lib-ld.m4 \
220         $(top_srcdir)/config/gettext-macros/lib-link.m4 \
221         $(top_srcdir)/config/gettext-macros/lib-prefix.m4 \
222         $(top_srcdir)/config/gettext-macros/longlong.m4 \
223         $(top_srcdir)/config/gettext-macros/nls.m4 \
224         $(top_srcdir)/config/gettext-macros/po.m4 \
225         $(top_srcdir)/config/gettext-macros/progtest.m4 \
226         $(top_srcdir)/config/gettext-macros/size_max.m4 \
227         $(top_srcdir)/config/gettext-macros/stdint_h.m4 \
228         $(top_srcdir)/config/gettext-macros/wchar_t.m4 \
229         $(top_srcdir)/config/gettext-macros/wint_t.m4 \
230         $(top_srcdir)/config/gettext-macros/xsize.m4 \
231         $(top_srcdir)/config/libtool.m4 $(top_srcdir)/configure.in
232 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
233         $(ACLOCAL_M4)
234 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
235 CONFIG_HEADER = $(top_builddir)/config/config.h
236 CONFIG_CLEAN_FILES =
237 SOURCES =
238 DIST_SOURCES =
239 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
240 ACLOCAL = @ACLOCAL@
241 ALLOCA = @ALLOCA@
242 ALLOCA_H = @ALLOCA_H@
243 AMANDA_DBGDIR = @AMANDA_DBGDIR@
244 AMANDA_DEBUG_DAYS = @AMANDA_DEBUG_DAYS@
245 AMANDA_STATIC_LDFLAGS = @AMANDA_STATIC_LDFLAGS@
246 AMANDA_TMPDIR = @AMANDA_TMPDIR@
247 AMANDA_WARNING_CFLAGS = @AMANDA_WARNING_CFLAGS@
248 AMLINT = @AMLINT@
249 AMLINTFLAGS = @AMLINTFLAGS@
250 AMPLOT_CAT_COMPRESS = @AMPLOT_CAT_COMPRESS@
251 AMPLOT_CAT_GZIP = @AMPLOT_CAT_GZIP@
252 AMPLOT_CAT_PACK = @AMPLOT_CAT_PACK@
253 AMPLOT_COMPRESS = @AMPLOT_COMPRESS@
254 AMTAR = @AMTAR@
255 AR = @AR@
256 ARPA_INET_H = @ARPA_INET_H@
257 AUTOCONF = @AUTOCONF@
258 AUTOHEADER = @AUTOHEADER@
259 AUTOMAKE = @AUTOMAKE@
260 AWK = @AWK@
261 BASH = @BASH@
262 BINARY_OWNER = @BINARY_OWNER@
263 BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
264 BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
265 BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
266 BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
267 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
268 CAT = @CAT@
269 CC = @CC@
270 CCDEPMODE = @CCDEPMODE@
271 CFLAGS = @CFLAGS@
272 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
273 CHIO = @CHIO@
274 CHS = @CHS@
275 CLIENT_LOGIN = @CLIENT_LOGIN@
276 CLIENT_SCRIPTS_OPT = @CLIENT_SCRIPTS_OPT@
277 COMPRESS = @COMPRESS@
278 CONFIG_DIR = @CONFIG_DIR@
279 CPP = @CPP@
280 CPPFLAGS = @CPPFLAGS@
281 CURL_CONFIG = @CURL_CONFIG@
282 CXX = @CXX@
283 CXXCPP = @CXXCPP@
284 CXXDEPMODE = @CXXDEPMODE@
285 CXXFLAGS = @CXXFLAGS@
286 CYGPATH_W = @CYGPATH_W@
287 DD = @DD@
288 DEFAULT_AMANDATES_FILE = @DEFAULT_AMANDATES_FILE@
289 DEFAULT_CHANGER_DEVICE = @DEFAULT_CHANGER_DEVICE@
290 DEFAULT_CONFIG = @DEFAULT_CONFIG@
291 DEFAULT_SERVER = @DEFAULT_SERVER@
292 DEFAULT_TAPE_DEVICE = @DEFAULT_TAPE_DEVICE@
293 DEFAULT_TAPE_SERVER = @DEFAULT_TAPE_SERVER@
294 DEFS = @DEFS@
295 DEPDIR = @DEPDIR@
296 DOC_BUILD_DATE = @DOC_BUILD_DATE@
297 DUMP = @DUMP@
298 DUMPER_DIR = @DUMPER_DIR@
299 ECHO = @ECHO@
300 ECHO_C = @ECHO_C@
301 ECHO_N = @ECHO_N@
302 ECHO_T = @ECHO_T@
303 EGREP = @EGREP@
304 EOVERFLOW = @EOVERFLOW@
305 EXAMPLE_TAPEDEV = @EXAMPLE_TAPEDEV@
306 EXEEXT = @EXEEXT@
307 F77 = @F77@
308 FFLAGS = @FFLAGS@
309 FLOAT_H = @FLOAT_H@
310 GETCONF = @GETCONF@
311 GETTEXT = @GETTEXT@
312 GLIB_CFLAGS = @GLIB_CFLAGS@
313 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
314 GLIB_LIBS = @GLIB_LIBS@
315 GLIB_MKENUMS = @GLIB_MKENUMS@
316 GMSGFMT = @GMSGFMT@
317 GMSGFMT_015 = @GMSGFMT_015@
318 GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
319 GNULIB_CHOWN = @GNULIB_CHOWN@
320 GNULIB_DUP2 = @GNULIB_DUP2@
321 GNULIB_FCHDIR = @GNULIB_FCHDIR@
322 GNULIB_FFLUSH = @GNULIB_FFLUSH@
323 GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
324 GNULIB_FSEEK = @GNULIB_FSEEK@
325 GNULIB_FSEEKO = @GNULIB_FSEEKO@
326 GNULIB_FTELL = @GNULIB_FTELL@
327 GNULIB_FTELLO = @GNULIB_FTELLO@
328 GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
329 GNULIB_GETCWD = @GNULIB_GETCWD@
330 GNULIB_GETDELIM = @GNULIB_GETDELIM@
331 GNULIB_GETLINE = @GNULIB_GETLINE@
332 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
333 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
334 GNULIB_LCHOWN = @GNULIB_LCHOWN@
335 GNULIB_LSEEK = @GNULIB_LSEEK@
336 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
337 GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
338 GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
339 GNULIB_MBSCHR = @GNULIB_MBSCHR@
340 GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
341 GNULIB_MBSLEN = @GNULIB_MBSLEN@
342 GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
343 GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
344 GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
345 GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
346 GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
347 GNULIB_MBSSEP = @GNULIB_MBSSEP@
348 GNULIB_MBSSPN = @GNULIB_MBSSPN@
349 GNULIB_MBSSTR = @GNULIB_MBSSTR@
350 GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
351 GNULIB_MEMMEM = @GNULIB_MEMMEM@
352 GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
353 GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
354 GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
355 GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
356 GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
357 GNULIB_READLINK = @GNULIB_READLINK@
358 GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
359 GNULIB_SLEEP = @GNULIB_SLEEP@
360 GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
361 GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
362 GNULIB_STPCPY = @GNULIB_STPCPY@
363 GNULIB_STPNCPY = @GNULIB_STPNCPY@
364 GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
365 GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
366 GNULIB_STRDUP = @GNULIB_STRDUP@
367 GNULIB_STRNDUP = @GNULIB_STRNDUP@
368 GNULIB_STRNLEN = @GNULIB_STRNLEN@
369 GNULIB_STRPBRK = @GNULIB_STRPBRK@
370 GNULIB_STRSEP = @GNULIB_STRSEP@
371 GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
372 GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
373 GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
374 GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
375 GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
376 GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
377 GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
378 GNUPLOT = @GNUPLOT@
379 GNUTAR = @GNUTAR@
380 GNUTAR_LISTED_INCREMENTAL_DIR = @GNUTAR_LISTED_INCREMENTAL_DIR@
381 GOBJECT_QUERY = @GOBJECT_QUERY@
382 GREP = @GREP@
383 GZIP = @GZIP@
384 HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
385 HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
386 HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
387 HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
388 HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
389 HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
390 HAVE_DECL_MKDIR = @HAVE_DECL_MKDIR@
391 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
392 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
393 HAVE_DECL_STRNCASECMP = @HAVE_DECL_STRNCASECMP@
394 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
395 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
396 HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
397 HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
398 HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
399 HAVE_DUP2 = @HAVE_DUP2@
400 HAVE_FSEEKO = @HAVE_FSEEKO@
401 HAVE_FTELLO = @HAVE_FTELLO@
402 HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
403 HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
404 HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
405 HAVE_IO_H = @HAVE_IO_H@
406 HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
407 HAVE_LSTAT = @HAVE_LSTAT@
408 HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
409 HAVE_MEMPCPY = @HAVE_MEMPCPY@
410 HAVE_MKDTEMP = @HAVE_MKDTEMP@
411 HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@
412 HAVE_READLINK = @HAVE_READLINK@
413 HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
414 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
415 HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
416 HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
417 HAVE_SLEEP = @HAVE_SLEEP@
418 HAVE_STDINT_H = @HAVE_STDINT_H@
419 HAVE_STPCPY = @HAVE_STPCPY@
420 HAVE_STPNCPY = @HAVE_STPNCPY@
421 HAVE_STRCASECMP = @HAVE_STRCASECMP@
422 HAVE_STRCASESTR = @HAVE_STRCASESTR@
423 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
424 HAVE_STRNDUP = @HAVE_STRNDUP@
425 HAVE_STRPBRK = @HAVE_STRPBRK@
426 HAVE_STRSEP = @HAVE_STRSEP@
427 HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@
428 HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
429 HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
430 HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@
431 HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
432 HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
433 HAVE_UNISTD_H = @HAVE_UNISTD_H@
434 HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
435 HAVE_VASPRINTF = @HAVE_VASPRINTF@
436 HAVE_VISIBILITY = @HAVE_VISIBILITY@
437 HAVE_WCHAR_H = @HAVE_WCHAR_H@
438 HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
439 HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@
440 HAVE__BOOL = @HAVE__BOOL@
441 INCLUDE_NEXT = @INCLUDE_NEXT@
442 INSTALL = @INSTALL@
443 INSTALL_DATA = @INSTALL_DATA@
444 INSTALL_PROGRAM = @INSTALL_PROGRAM@
445 INSTALL_SCRIPT = @INSTALL_SCRIPT@
446 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
447 INTLLIBS = @INTLLIBS@
448 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
449 LDFLAGS = @LDFLAGS@
450 LEX = @LEX@
451 LEXLIB = @LEXLIB@
452 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
453 LIBCURL = @LIBCURL@
454 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
455 LIBICONV = @LIBICONV@
456 LIBINTL = @LIBINTL@
457 LIBMULTITHREAD = @LIBMULTITHREAD@
458 LIBOBJS = @LIBOBJS@
459 LIBPTH = @LIBPTH@
460 LIBS = @LIBS@
461 LIBTHREAD = @LIBTHREAD@
462 LIBTOOL = @LIBTOOL@
463 LIBTOOL_DEPS = @LIBTOOL_DEPS@
464 LN_S = @LN_S@
465 LTLIBICONV = @LTLIBICONV@
466 LTLIBINTL = @LTLIBINTL@
467 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
468 LTLIBOBJS = @LTLIBOBJS@
469 LTLIBPTH = @LTLIBPTH@
470 LTLIBTHREAD = @LTLIBTHREAD@
471 MAILER = @MAILER@
472 MAKEINFO = @MAKEINFO@
473 MAXTAPEBLOCKSIZE = @MAXTAPEBLOCKSIZE@
474 MCUTIL = @MCUTIL@
475 MKDIR_P = @MKDIR_P@
476 MSGFMT = @MSGFMT@
477 MSGFMT_015 = @MSGFMT_015@
478 MSGMERGE = @MSGMERGE@
479 MT = @MT@
480 MTX = @MTX@
481 MT_FILE_FLAG = @MT_FILE_FLAG@
482 NETINET_IN_H = @NETINET_IN_H@
483 NEXT_FLOAT_H = @NEXT_FLOAT_H@
484 NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@
485 NEXT_STDINT_H = @NEXT_STDINT_H@
486 NEXT_STDIO_H = @NEXT_STDIO_H@
487 NEXT_STDLIB_H = @NEXT_STDLIB_H@
488 NEXT_STRING_H = @NEXT_STRING_H@
489 NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@
490 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
491 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
492 NEXT_UNISTD_H = @NEXT_UNISTD_H@
493 NEXT_WCHAR_H = @NEXT_WCHAR_H@
494 OBJEXT = @OBJEXT@
495 PACKAGE = @PACKAGE@
496 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
497 PACKAGE_NAME = @PACKAGE_NAME@
498 PACKAGE_STRING = @PACKAGE_STRING@
499 PACKAGE_TARNAME = @PACKAGE_TARNAME@
500 PACKAGE_VERSION = @PACKAGE_VERSION@
501 PATH_SEPARATOR = @PATH_SEPARATOR@
502 PCAT = @PCAT@
503 PERL = @PERL@
504 PERLEXTLIBS = @PERLEXTLIBS@
505 PERL_INC = @PERL_INC@
506 PKG_CONFIG = @PKG_CONFIG@
507 POSUB = @POSUB@
508 PRINT = @PRINT@
509 PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
510 RANLIB = @RANLIB@
511 READLINE_LIBS = @READLINE_LIBS@
512 REPLACE_CHOWN = @REPLACE_CHOWN@
513 REPLACE_FCHDIR = @REPLACE_FCHDIR@
514 REPLACE_FFLUSH = @REPLACE_FFLUSH@
515 REPLACE_FPRINTF = @REPLACE_FPRINTF@
516 REPLACE_FSEEK = @REPLACE_FSEEK@
517 REPLACE_FSEEKO = @REPLACE_FSEEKO@
518 REPLACE_FTELL = @REPLACE_FTELL@
519 REPLACE_FTELLO = @REPLACE_FTELLO@
520 REPLACE_GETCWD = @REPLACE_GETCWD@
521 REPLACE_GETLINE = @REPLACE_GETLINE@
522 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
523 REPLACE_LCHOWN = @REPLACE_LCHOWN@
524 REPLACE_LSEEK = @REPLACE_LSEEK@
525 REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
526 REPLACE_PRINTF = @REPLACE_PRINTF@
527 REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
528 REPLACE_SPRINTF = @REPLACE_SPRINTF@
529 REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
530 REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
531 REPLACE_VPRINTF = @REPLACE_VPRINTF@
532 REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
533 REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
534 REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
535 RESTORE = @RESTORE@
536 SAMBA_CLIENT = @SAMBA_CLIENT@
537 SERVICE_SUFFIX = @SERVICE_SUFFIX@
538 SETUID_GROUP = @SETUID_GROUP@
539 SET_MAKE = @SET_MAKE@
540 SHELL = @SHELL@
541 SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
542 SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
543 SNAPSHOT_STAMP = @SNAPSHOT_STAMP@
544 SORT = @SORT@
545 SSH = @SSH@
546 STDBOOL_H = @STDBOOL_H@
547 STDINT_H = @STDINT_H@
548 STRIP = @STRIP@
549 SVN = @SVN@
550 SWIG = @SWIG@
551 SWIG_LIB = @SWIG_LIB@
552 SYS_SOCKET_H = @SYS_SOCKET_H@
553 SYS_STAT_H = @SYS_STAT_H@
554 SYS_TIME_H = @SYS_TIME_H@
555 USE_NLS = @USE_NLS@
556 USE_VERSION_SUFFIXES = @USE_VERSION_SUFFIXES@
557 VDUMP = @VDUMP@
558 VERSION = @VERSION@
559 VERSION_COMMENT = @VERSION_COMMENT@
560 VERSION_MAJOR = @VERSION_MAJOR@
561 VERSION_MINOR = @VERSION_MINOR@
562 VERSION_PATCH = @VERSION_PATCH@
563 VERSION_SUFFIX = @VERSION_SUFFIX@
564 VRESTORE = @VRESTORE@
565 VXDUMP = @VXDUMP@
566 VXRESTORE = @VXRESTORE@
567 WCHAR_H = @WCHAR_H@
568 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
569 WINT_T_SUFFIX = @WINT_T_SUFFIX@
570 XFSDUMP = @XFSDUMP@
571 XFSRESTORE = @XFSRESTORE@
572 XGETTEXT = @XGETTEXT@
573 XGETTEXT_015 = @XGETTEXT_015@
574 XSLREL = @XSLREL@
575 XSLTPROC = @XSLTPROC@
576 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
577 YACC = @YACC@
578 YFLAGS = @YFLAGS@
579 _libcurl_config = @_libcurl_config@
580 abs_builddir = @abs_builddir@
581 abs_srcdir = @abs_srcdir@
582 abs_top_builddir = @abs_top_builddir@
583 abs_top_srcdir = @abs_top_srcdir@
584 ac_ct_CC = @ac_ct_CC@
585 ac_ct_CXX = @ac_ct_CXX@
586 ac_ct_F77 = @ac_ct_F77@
587 am__include = @am__include@
588 am__leading_dot = @am__leading_dot@
589 am__quote = @am__quote@
590 am__tar = @am__tar@
591 am__untar = @am__untar@
592 amincludedir = @amincludedir@
593 amlibdir = @amlibdir@
594 amlibexecdir = @amlibexecdir@
595 amperldir = @amperldir@
596 bindir = @bindir@
597 build = @build@
598 build_alias = @build_alias@
599 build_cpu = @build_cpu@
600 build_os = @build_os@
601 build_vendor = @build_vendor@
602 builddir = @builddir@
603 datadir = @datadir@
604 datarootdir = @datarootdir@
605 docdir = @docdir@
606 dvidir = @dvidir@
607 exec_prefix = @exec_prefix@
608 gl_LIBOBJS = @gl_LIBOBJS@
609 gl_LTLIBOBJS = @gl_LTLIBOBJS@
610 host = @host@
611 host_alias = @host_alias@
612 host_cpu = @host_cpu@
613 host_os = @host_os@
614 host_vendor = @host_vendor@
615 htmldir = @htmldir@
616 includedir = @includedir@
617 infodir = @infodir@
618 install_sh = @install_sh@
619 libdir = @libdir@
620 libexecdir = @libexecdir@
621 localedir = @localedir@
622 localstatedir = @localstatedir@
623 mandir = @mandir@
624 mkdir_p = @mkdir_p@
625 oldincludedir = @oldincludedir@
626 pdfdir = @pdfdir@
627 prefix = @prefix@
628 program_transform_name = @program_transform_name@
629 psdir = @psdir@
630 sbindir = @sbindir@
631 sharedstatedir = @sharedstatedir@
632 srcdir = @srcdir@
633 sysconfdir = @sysconfdir@
634 target = @target@
635 target_alias = @target_alias@
636 target_cpu = @target_cpu@
637 target_os = @target_os@
638 target_vendor = @target_vendor@
639 top_builddir = @top_builddir@
640 top_srcdir = @top_srcdir@
641 SUFFIXES = 
642 EXTRA_DIST = 
643 BUILT_SOURCES = 
644 MOSTLYCLEANFILES = 
645
646 # config.status leaves config.log files around
647 CLEANFILES = config.log
648
649 # and we'll need to clean up our generated files for distclean
650 DISTCLEANFILES = $(SCRIPTS_SHELL) $(SCRIPTS_PERL) $(SCRIPTS_AWK)
651 MAINTAINERCLEANFILES = 
652
653 # syntax-check shell scripts on 'make check'
654 CHECK_SHELL = $(SCRIPTS_SHELL)
655
656 # Add your tests here.
657 common_tests = \
658         Amanda_Config \
659         Amanda_Types
660
661 server_tests = \
662         Amanda_Changer \
663         Amanda_Cmdline \
664         Amanda_Logfile \
665         amcheckdump \
666         amdevcheck \
667         amgetconf
668
669 tests = $(common_tests) $(am__append_1)
670
671 # Add any common files (that should not be run as tests) here:
672 test_utils = Amconfig.pm
673 SCRIPTS_PERL = $(common_tests) $(server_tests) $(test_utils)
674
675 # we don't need to syntax check the test scripts..
676 CHECK_PERL = 
677 all: $(BUILT_SOURCES)
678         $(MAKE) $(AM_MAKEFLAGS) all-am
679
680 .SUFFIXES:
681 .SUFFIXES: 
682 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/config/automake/vars.am $(top_srcdir)/config/automake/scripts.am $(am__configure_deps)
683         @for dep in $?; do \
684           case '$(am__configure_deps)' in \
685             *$$dep*) \
686               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
687                 && exit 0; \
688               exit 1;; \
689           esac; \
690         done; \
691         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  installcheck/Makefile'; \
692         cd $(top_srcdir) && \
693           $(AUTOMAKE) --gnu  installcheck/Makefile
694 .PRECIOUS: Makefile
695 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
696         @case '$?' in \
697           *config.status*) \
698             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
699           *) \
700             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
701             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
702         esac;
703
704 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
705         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
706
707 $(top_srcdir)/configure:  $(am__configure_deps)
708         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
709 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
710         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
711
712 mostlyclean-libtool:
713         -rm -f *.lo
714
715 clean-libtool:
716         -rm -rf .libs _libs
717 tags: TAGS
718 TAGS:
719
720 ctags: CTAGS
721 CTAGS:
722
723
724 distdir: $(DISTFILES)
725         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
726         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
727         list='$(DISTFILES)'; \
728           dist_files=`for file in $$list; do echo $$file; done | \
729           sed -e "s|^$$srcdirstrip/||;t" \
730               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
731         case $$dist_files in \
732           */*) $(MKDIR_P) `echo "$$dist_files" | \
733                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
734                            sort -u` ;; \
735         esac; \
736         for file in $$dist_files; do \
737           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
738           if test -d $$d/$$file; then \
739             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
740             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
741               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
742             fi; \
743             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
744           else \
745             test -f $(distdir)/$$file \
746             || cp -p $$d/$$file $(distdir)/$$file \
747             || exit 1; \
748           fi; \
749         done
750         $(MAKE) $(AM_MAKEFLAGS) \
751           top_distdir="$(top_distdir)" distdir="$(distdir)" \
752           dist-hook
753 check-am: all-am
754         $(MAKE) $(AM_MAKEFLAGS) check-local
755 check: $(BUILT_SOURCES)
756         $(MAKE) $(AM_MAKEFLAGS) check-am
757 all-am: Makefile
758 installdirs:
759 install: $(BUILT_SOURCES)
760         $(MAKE) $(AM_MAKEFLAGS) install-am
761 install-exec: install-exec-am
762 install-data: install-data-am
763 uninstall: uninstall-am
764
765 install-am: all-am
766         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
767
768 installcheck: installcheck-am
769 install-strip:
770         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
771           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
772           `test -z '$(STRIP)' || \
773             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
774 mostlyclean-generic:
775         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
776
777 clean-generic:
778         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
779
780 distclean-generic:
781         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
782         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
783
784 maintainer-clean-generic:
785         @echo "This command is intended for maintainers to use"
786         @echo "it deletes files that may require special tools to rebuild."
787         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
788         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
789 clean: clean-am
790
791 clean-am: clean-generic clean-libtool mostlyclean-am
792
793 distclean: distclean-am
794         -rm -f Makefile
795 distclean-am: clean-am distclean-generic
796
797 dvi: dvi-am
798
799 dvi-am:
800
801 html: html-am
802
803 info: info-am
804
805 info-am:
806
807 install-data-am:
808
809 install-dvi: install-dvi-am
810
811 install-exec-am:
812
813 install-html: install-html-am
814
815 install-info: install-info-am
816
817 install-man:
818
819 install-pdf: install-pdf-am
820
821 install-ps: install-ps-am
822
823 installcheck-am: installcheck-local
824
825 maintainer-clean: maintainer-clean-am
826         -rm -f Makefile
827 maintainer-clean-am: distclean-am maintainer-clean-generic
828
829 mostlyclean: mostlyclean-am
830
831 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
832
833 pdf: pdf-am
834
835 pdf-am:
836
837 ps: ps-am
838
839 ps-am:
840
841 uninstall-am:
842
843 .MAKE: install-am install-strip
844
845 .PHONY: all all-am check check-am check-local clean clean-generic \
846         clean-libtool dist-hook distclean distclean-generic \
847         distclean-libtool distdir dvi dvi-am html html-am info info-am \
848         install install-am install-data install-data-am install-dvi \
849         install-dvi-am install-exec install-exec-am install-html \
850         install-html-am install-info install-info-am install-man \
851         install-pdf install-pdf-am install-ps install-ps-am \
852         install-strip installcheck installcheck-am installcheck-local \
853         installdirs maintainer-clean maintainer-clean-generic \
854         mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
855         ps ps-am uninstall uninstall-am
856
857
858 # Perl
859 %: %.pl $(top_builddir)/config.status
860         $(top_builddir)/config.status --file=$@:$<
861         chmod a+x $@
862
863 %.pl: %.pl.in $(top_builddir)/config.status
864         $(top_builddir)/config.status --file=$@:$<
865
866 %.pm: %.pm.in $(top_builddir)/config.status
867         $(top_builddir)/config.status --file=$@:$<
868
869 # Shell
870 %: %.sh $(top_builddir)/config.status
871         $(top_builddir)/config.status --file=$@:$<
872         chmod a+x $@
873
874 %.sh: %.sh.in $(top_builddir)/config.status
875         $(top_builddir)/config.status --file=$@:$<
876
877 # Awk
878 %: %.awk $(top_builddir)/config.status
879         $(top_builddir)/config.status --file=$@:$<
880         chmod a+x $@
881
882 %.awk: %.awk.in $(top_builddir)/config.status
883         $(top_builddir)/config.status --file=$@:$<
884
885 # syntax-check perl scripts on 'make check'
886 check-perl: $(CHECK_PERL)
887         @CHECK_PERL="$(CHECK_PERL)"; \
888         if test -n "$(PERL)"; then \
889                 for perlobj in $$CHECK_PERL; do \
890                         $(PERL) $(CHECK_PERL_FLAGS) -c -w -T $$perlobj || exit 1; \
891                 done; \
892         fi
893 check-local: check-perl
894 check-shell: $(CHECK_SHELL)
895         @CHECK_SHELL="$(CHECK_SHELL)"; \
896         if test -n "$$CHECK_SHELL"; then \
897                 if test -n "$(BASH)"; then \
898                         for shobj in $$CHECK_SHELL; do \
899                                 if $(BASH) -n $$shobj; then \
900                                         echo "$$shobj syntax OK"; \
901                                 else \
902                                         echo "$$shobj syntax error"; \
903                                         exit 1; \
904                                 fi; \
905                         done; \
906                 else \
907                         echo "No 'bash' available -- cannot syntax-check shell scripts"; \
908                 fi; \
909         fi
910 check-local: check-shell
911
912 # make sure that the sources for all shell and perl scripts get included
913 # in the distribution
914 dist-scripts:
915         SCRIPTS_PERL="$(SCRIPTS_PERL)"; SCRIPTS_SHELL="$(SCRIPTS_SHELL)"; SCRIPTS_AWK="$(SCRIPTS_AWK)"; \
916         for script in $$SCRIPTS_PERL; do \
917                 test -f $(srcdir)/$${script}.pl && { cp -p $(srcdir)/$${script}.pl $(distdir)/ || exit 1; } \
918         done; \
919         for script in $$SCRIPTS_SHELL; do \
920                 test -f $(srcdir)/$${script}.sh && { cp -p $(srcdir)/$${script}.sh $(distdir)/ || exit 1; } \
921         done; \
922         for script in $$SCRIPTS_AWK; do \
923                 test -f $(srcdir)/$${script}.awk && { cp -p $(srcdir)/$${script}.awk $(distdir)/ || exit 1; } \
924         done; \
925         for script in $$SCRIPTS_SHELL $$SCRIPTS_PERL $$SCRIPTS_AWK; do \
926                 test -f $(srcdir)/$${script}.in && { cp -p $(srcdir)/$${script}.in $(distdir)/ || exit 1; } \
927         done; \
928         true
929 dist-hook: dist-scripts
930
931 .PHONY: clobber_my_config_is_ok
932 clobber_my_config_is_ok:
933         @if test "$(CLOBBER_MY_CONFIG)" != "OK"; then \
934                 echo ""; \
935                 echo "'make installcheck' is a dangerous tool.  It will overwrite your"; \
936                 echo "amanda-client.conf and amandates, and (if it"; \
937                 echo "triggers an as-yet undetected bug) may do other unexpected things.  You are"; \
938                 echo "strongly encouraged"; \
939                 echo "  - not to run installchecks on a production install"; \
940                 echo "  - not to run installchecks as root"; \
941                 echo "See http://wiki.zmanda.com/index.php/Testing for instructions on setting up a"; \
942                 echo "test environment in which"; \
943                 echo "potential damage is limited by your filesystem's permissions.  To actually run"; \
944                 echo "the installchecks, invoke make"; \
945                 echo "as follows:"; \
946                 echo "  $(MAKE) CLOBBER_MY_CONFIG=OK installcheck"; \
947                 exit 1; \
948         fi
949
950 installcheck-local: clobber_my_config_is_ok $(SCRIPTS_PERL)
951         $(mkdir_p) $(AMANDA_TMPDIR)
952         $(PERL) -I$(srcdir) -I$(builddir) -e 'use Test::Harness qw(&runtests); runtests(@ARGV);' $(tests)
953         rm -rf "$(CONFIG_DIR)/TESTCONF"
954         rm -rf "$(CONFIG_DIR)/amanda-client.conf"
955         rm -rf "$(DEFAULT_AMANDATES_FILE)"
956         rm -rf "$(GNUTAR_LISTED_INCREMENTAL_DIR)"
957 # Tell versions [3.59,3.63) of GNU make to not export all variables.
958 # Otherwise a system limit (for SysV at least) may be exceeded.
959 .NOEXPORT: