Imported Upstream version 2.6.1
[debian/amanda] / server-src / Makefile.in
1 # Makefile.in generated by automake 1.10.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # Makefile for Amanda server programs.
18
19 # vim:ft=automake
20 # Copyright (c) 2005-2008 Zmanda Inc.  All Rights Reserved.
21
22 # This library is free software; you can redistribute it and/or modify it
23 # under the terms of the GNU Lesser General Public License version 2.1 as 
24 # published by the Free Software Foundation.
25
26 # This library is distributed in the hope that it will be useful, but
27 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
28 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
29 # License for more details.
30
31 # You should have received a copy of the GNU Lesser General Public License
32 # along with this library; if not, write to the Free Software Foundation,
33 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
34
35 # Contact information: Zmanda Inc., 465 S Mathlida Ave, Suite 300
36 # Sunnyvale, CA 94086, USA, or: http://www.zmanda.com
37
38 # simple include file to pre-define variables which are then +='d by other
39 # scripts in this directory.
40
41 # vim:ft=automake
42 # Copyright (c) 2005-2008 Zmanda Inc.  All Rights Reserved.
43
44 # This library is free software; you can redistribute it and/or modify it
45 # under the terms of the GNU Lesser General Public License version 2.1 as 
46 # published by the Free Software Foundation.
47
48 # This library is distributed in the hope that it will be useful, but
49 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
50 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
51 # License for more details.
52
53 # You should have received a copy of the GNU Lesser General Public License
54 # along with this library; if not, write to the Free Software Foundation,
55 # Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA.
56
57 # Contact information: Zmanda Inc., 465 S Mathlida Ave, Suite 300
58 # Sunnyvale, CA 94086, USA, or: http://www.zmanda.com
59
60 # SYNOPSIS:
61 #
62 # Automake magic to handle the various tasks of building scripts.  Scripts can
63 # be built down to extensionless executables (e.g., foo.pl -> foo), or to 
64 # files with the usual extension (foo-lib.sh.in -> foo.sh).
65 #
66 # Files which support it are syntax-checked when the user invokes 'make check'.
67 #
68 # All *target* filenames must be listed in SCRIPTS_SHELL, SCRIPTS_PERL, and 
69 # SCRIPTS_AWK to support 'make check', 'make dist', and 'make distclean'. No
70 # files which are not substituted by config.status should be included in
71 # SCRIPTS_PERL, SCRIPTS_SHELL, or SCRIPTS_AWK.  If non-generated files are listed
72 # for installation, then Automake will figure out that they should be distributed;
73 # otherwise, include them in EXTRA_DIST.
74 #
75 # USAGE:
76 #
77 #   include $(top_srcdir)/config/automake/vars.am
78 #   include $(top_srcdir)/config/automake/scripts.am
79 #   ...
80 #   SCRIPTS_PERL = fooscript barscript perl-lib.pl perlmod.pm
81 #   SCRIPTS_SHELL = shell1 shell2 sh-lib.sh
82 #   SCRIPTS_AWK = talk balk chalk awk-lib.awk
83 #   sbin_SCRIPTS = not-subbed
84 #   EXTRA_DIST = util-script.pl
85 #
86 # with the corresponding files in the repository:
87 #
88 #   fooscript.pl barscript.pl perl-lib.pl.in perlmod.pm.in
89 #   shell1.sh shell2.sh sh-lib.sh.in
90 #   talk.awk balk.awk chalk.awk awk-lib.awk.in
91 #   not-subbed util-script.pl
92 #
93 # by default, all shell and perl scripts are syntax checked.  If this is
94 # a problem (for example, perl scripts depending on Amanda extension 
95 # modules), then assign to CHECK_{PERL,SHELL} the list of files you wish
96 # to be checked (which can be empty).
97 #
98 # To add extra flags to the perl checks (e.g., to add new -I flags), set
99 # CHECK_PERL_FLAGS.
100
101 # Implementation note:
102 #
103 # This file uses config.status to substitute @foo@ in those scripts while
104 # converting them. It also adds the executable bits (a+x) to extensionless
105 # files.  The substitution works even though the files are not listed in 
106 # configure.in
107
108 # vim:ft=automake
109 #
110 # Adjust post-install permissions settings.  This rule works off two
111 # specially-formatted variables, INSTALLPERMS_exec and INSTALLPERMS_data. 
112 # Each is a whitespace-separated list of commands, all of which are either
113 # a variable assignment or a filename.  Three variables are available:
114 #
115 #  - dest= sets the destination directory to e.g., $(sbindir)
116 #  - chown= controls changes in ownership; value is first argument to chown
117 #  - chmod= controls changes in permissions; value is first argument to chmod
118 #
119 # As a special case, chown=amanda is taken as equivalent to 
120 # chown=$(BINARY_OWNER):$(SETUID_GROUP), which may otherwise have problems with
121 # whitespace in the user/group names.
122
123 # when a filename is seen, the currently active variables are applied.
124 #
125 # Note that scripts are data, not executables!
126 #
127 # EXAMPLE
128 #
129 # sbin_PROGRAMS = foo bar bing
130 # libexec_PROGRAMS = pro gram
131 # sbin_SCRIPTS = sk ript
132 # INSTALLPERMS_exec = \
133 #       dest=$(sbindir) chown=amanda chmod= \
134 #               foo bar \
135 #       chmod=07450 \
136 #               bing
137 #       dest=$(libexecdir) chmod= \
138 #               $(libexec_PROGRAMS)
139 # INSTALLPERMS_data = \
140 #       dest=$(sbindir) chown=amanda chmod= \
141 #               $(sbin_SCRIPTS)
142 #
143 # This whole operation is not required when making builds for packaging,
144 # and can be disabled with --disable-installperms, via the WANT_INSTALLPERMS
145 # AM_CONDITIONAL.  When disabled, the file 'installperms.sh' in the top-level
146 # build directory is populated with a format suitable for shell interpretation,
147 # with lines like this:
148 #   installperm "amanda:disk" "04750" "/usr/local/sbin/bing"
149 # the arguments being, respectively, owner:group, mode, and filename.  There will
150 # be exactly one line for each file which has specific permissions.  The intention
151 # is that this file be used by packaging scripts to set correct permissions at install
152 # time.  Note that files which have no special permissions requirements do not appear 
153 # in this file at all, due to limitations of Automake.
154
155 # vim:ft=automake
156
157
158
159
160 VPATH = @srcdir@
161 pkgdatadir = $(datadir)/@PACKAGE@
162 pkglibdir = $(libdir)/@PACKAGE@
163 pkgincludedir = $(includedir)/@PACKAGE@
164 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
165 install_sh_DATA = $(install_sh) -c -m 644
166 install_sh_PROGRAM = $(install_sh) -c
167 install_sh_SCRIPT = $(install_sh) -c
168 INSTALL_HEADER = $(INSTALL_DATA)
169 transform = $(program_transform_name)
170 NORMAL_INSTALL = :
171 PRE_INSTALL = :
172 POST_INSTALL = :
173 NORMAL_UNINSTALL = :
174 PRE_UNINSTALL = :
175 POST_UNINSTALL = :
176 build_triplet = @build@
177 host_triplet = @host@
178 target_triplet = @target@
179 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
180         $(srcdir)/Makefile.in \
181         $(top_srcdir)/config/automake/installperms.am \
182         $(top_srcdir)/config/automake/precompile.am \
183         $(top_srcdir)/config/automake/scripts.am \
184         $(top_srcdir)/config/automake/vars.am
185 @WANT_INSTALLPERMS_FALSE@am__append_1 = $(installperms_sh)
186 sbin_PROGRAMS = amadmin$(EXEEXT) amcheck$(EXEEXT) amflush$(EXEEXT) \
187         amlabel$(EXEEXT) amservice$(EXEEXT) amtape$(EXEEXT) \
188         amreport$(EXEEXT)
189 noinst_PROGRAMS = taper_source_test$(EXEEXT)
190 amlibexec_PROGRAMS = amindexd$(EXEEXT) amlogroll$(EXEEXT) \
191         amtrmidx$(EXEEXT) amtrmlog$(EXEEXT) driver$(EXEEXT) \
192         dumper$(EXEEXT) planner$(EXEEXT) taper$(EXEEXT) \
193         amcleanupdisk$(EXEEXT) chunker$(EXEEXT)
194 EXTRA_PROGRAMS = $(am__EXEEXT_1)
195 subdir = server-src
196 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
197 am__aclocal_m4_deps =  \
198         $(top_srcdir)/config/macro-archive/ac_define_dir.m4 \
199         $(top_srcdir)/config/macro-archive/ac_perl_module_version.m4 \
200         $(top_srcdir)/config/macro-archive/ac_prog_perl_version.m4 \
201         $(top_srcdir)/config/macro-archive/ac_prog_swig.m4 \
202         $(top_srcdir)/config/macro-archive/ax_compare_version.m4 \
203         $(top_srcdir)/config/macro-archive/docbook-dtd.m4 \
204         $(top_srcdir)/config/macro-archive/docbook-xslt-min.m4 \
205         $(top_srcdir)/config/macro-archive/docbook-xslt.m4 \
206         $(top_srcdir)/config/macro-archive/xsltproc.m4 \
207         $(top_srcdir)/config/amanda/amplot.m4 \
208         $(top_srcdir)/config/amanda/bsd-security.m4 \
209         $(top_srcdir)/config/amanda/bsdtcp-security.m4 \
210         $(top_srcdir)/config/amanda/bsdudp-security.m4 \
211         $(top_srcdir)/config/amanda/changer.m4 \
212         $(top_srcdir)/config/amanda/components.m4 \
213         $(top_srcdir)/config/amanda/compress.m4 \
214         $(top_srcdir)/config/amanda/config.m4 \
215         $(top_srcdir)/config/amanda/debugging.m4 \
216         $(top_srcdir)/config/amanda/defaults.m4 \
217         $(top_srcdir)/config/amanda/devprefix.m4 \
218         $(top_srcdir)/config/amanda/dirs.m4 \
219         $(top_srcdir)/config/amanda/documentation.m4 \
220         $(top_srcdir)/config/amanda/dumpers.m4 \
221         $(top_srcdir)/config/amanda/flags.m4 \
222         $(top_srcdir)/config/amanda/flock.m4 \
223         $(top_srcdir)/config/amanda/funcs.m4 \
224         $(top_srcdir)/config/amanda/getfsent.m4 \
225         $(top_srcdir)/config/amanda/i18n.m4 \
226         $(top_srcdir)/config/amanda/ipv6.m4 \
227         $(top_srcdir)/config/amanda/krb4-security.m4 \
228         $(top_srcdir)/config/amanda/krb5-security.m4 \
229         $(top_srcdir)/config/amanda/lfs.m4 \
230         $(top_srcdir)/config/amanda/libs.m4 \
231         $(top_srcdir)/config/amanda/net.m4 \
232         $(top_srcdir)/config/amanda/progs.m4 \
233         $(top_srcdir)/config/amanda/ps.m4 \
234         $(top_srcdir)/config/amanda/readdir.m4 \
235         $(top_srcdir)/config/amanda/readline.m4 \
236         $(top_srcdir)/config/amanda/rsh-security.m4 \
237         $(top_srcdir)/config/amanda/s3-device.m4 \
238         $(top_srcdir)/config/amanda/shmem.m4 \
239         $(top_srcdir)/config/amanda/socklen_t_equiv.m4 \
240         $(top_srcdir)/config/amanda/ssh-security.m4 \
241         $(top_srcdir)/config/amanda/summary.m4 \
242         $(top_srcdir)/config/amanda/swig.m4 \
243         $(top_srcdir)/config/amanda/syshacks.m4 \
244         $(top_srcdir)/config/amanda/tape.m4 \
245         $(top_srcdir)/config/amanda/types.m4 \
246         $(top_srcdir)/config/amanda/userid.m4 \
247         $(top_srcdir)/config/amanda/version.m4 \
248         $(top_srcdir)/config/gnulib/alloca.m4 \
249         $(top_srcdir)/config/gnulib/arpa_inet_h.m4 \
250         $(top_srcdir)/config/gnulib/base64.m4 \
251         $(top_srcdir)/config/gnulib/eoverflow.m4 \
252         $(top_srcdir)/config/gnulib/extensions.m4 \
253         $(top_srcdir)/config/gnulib/float_h.m4 \
254         $(top_srcdir)/config/gnulib/fsusage.m4 \
255         $(top_srcdir)/config/gnulib/getaddrinfo.m4 \
256         $(top_srcdir)/config/gnulib/getopt.m4 \
257         $(top_srcdir)/config/gnulib/gettimeofday.m4 \
258         $(top_srcdir)/config/gnulib/gnulib-common.m4 \
259         $(top_srcdir)/config/gnulib/gnulib-comp.m4 \
260         $(top_srcdir)/config/gnulib/include_next.m4 \
261         $(top_srcdir)/config/gnulib/inet_ntop.m4 \
262         $(top_srcdir)/config/gnulib/intmax_t.m4 \
263         $(top_srcdir)/config/gnulib/lock.m4 \
264         $(top_srcdir)/config/gnulib/longlong.m4 \
265         $(top_srcdir)/config/gnulib/malloc.m4 \
266         $(top_srcdir)/config/gnulib/mkdtemp.m4 \
267         $(top_srcdir)/config/gnulib/netinet_in_h.m4 \
268         $(top_srcdir)/config/gnulib/onceonly_2_57.m4 \
269         $(top_srcdir)/config/gnulib/physmem.m4 \
270         $(top_srcdir)/config/gnulib/safe-read.m4 \
271         $(top_srcdir)/config/gnulib/safe-write.m4 \
272         $(top_srcdir)/config/gnulib/snprintf.m4 \
273         $(top_srcdir)/config/gnulib/socklen.m4 \
274         $(top_srcdir)/config/gnulib/sockpfaf.m4 \
275         $(top_srcdir)/config/gnulib/ssize_t.m4 \
276         $(top_srcdir)/config/gnulib/stdbool.m4 \
277         $(top_srcdir)/config/gnulib/stdint.m4 \
278         $(top_srcdir)/config/gnulib/stdio_h.m4 \
279         $(top_srcdir)/config/gnulib/stdlib_h.m4 \
280         $(top_srcdir)/config/gnulib/strdup.m4 \
281         $(top_srcdir)/config/gnulib/string_h.m4 \
282         $(top_srcdir)/config/gnulib/sys_socket_h.m4 \
283         $(top_srcdir)/config/gnulib/sys_stat_h.m4 \
284         $(top_srcdir)/config/gnulib/sys_time_h.m4 \
285         $(top_srcdir)/config/gnulib/tempname.m4 \
286         $(top_srcdir)/config/gnulib/unistd_h.m4 \
287         $(top_srcdir)/config/gnulib/vasnprintf.m4 \
288         $(top_srcdir)/config/gnulib/visibility.m4 \
289         $(top_srcdir)/config/gnulib/wchar.m4 \
290         $(top_srcdir)/config/gettext-macros/gettext.m4 \
291         $(top_srcdir)/config/gettext-macros/iconv.m4 \
292         $(top_srcdir)/config/gettext-macros/inttypes_h.m4 \
293         $(top_srcdir)/config/gettext-macros/lib-ld.m4 \
294         $(top_srcdir)/config/gettext-macros/lib-link.m4 \
295         $(top_srcdir)/config/gettext-macros/lib-prefix.m4 \
296         $(top_srcdir)/config/gettext-macros/nls.m4 \
297         $(top_srcdir)/config/gettext-macros/po.m4 \
298         $(top_srcdir)/config/gettext-macros/progtest.m4 \
299         $(top_srcdir)/config/gettext-macros/size_max.m4 \
300         $(top_srcdir)/config/gettext-macros/stdint_h.m4 \
301         $(top_srcdir)/config/gettext-macros/wchar_t.m4 \
302         $(top_srcdir)/config/gettext-macros/wint_t.m4 \
303         $(top_srcdir)/config/gettext-macros/xsize.m4 \
304         $(top_srcdir)/config/libtool.m4 $(top_srcdir)/configure.in
305 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
306         $(ACLOCAL_M4)
307 mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
308 CONFIG_HEADER = $(top_builddir)/config/config.h
309 CONFIG_CLEAN_FILES =
310 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
311 am__vpath_adj = case $$p in \
312     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
313     *) f=$$p;; \
314   esac;
315 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
316 am__installdirs = "$(DESTDIR)$(amlibdir)" "$(DESTDIR)$(amlibexecdir)" \
317         "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(sbindir)"
318 amlibLTLIBRARIES_INSTALL = $(INSTALL)
319 LTLIBRARIES = $(amlib_LTLIBRARIES)
320 libamserver_la_DEPENDENCIES = ../device-src/libamdevice.la \
321         ../common-src/libamanda.la
322 am_libamserver_la_OBJECTS = amindex.lo changer.lo diskfile.lo \
323         driverio.lo cmdline.lo holding.lo infofile.lo logfile.lo \
324         tapefile.lo find.lo server_util.lo taperscan.lo
325 libamserver_la_OBJECTS = $(am_libamserver_la_OBJECTS)
326 libamserver_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
327         $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
328         $(libamserver_la_LDFLAGS) $(LDFLAGS) -o $@
329 am__EXEEXT_1 = diskfile$(EXEEXT) infofile$(EXEEXT)
330 amlibexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
331 sbinPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
332 PROGRAMS = $(amlibexec_PROGRAMS) $(noinst_PROGRAMS) $(sbin_PROGRAMS)
333 amadmin_SOURCES = amadmin.c
334 amadmin_OBJECTS = amadmin.$(OBJEXT)
335 amadmin_LDADD = $(LDADD)
336 am__DEPENDENCIES_1 =
337 amadmin_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
338         ../device-src/libamdevice.la ../common-src/libamanda.la \
339         $(am__DEPENDENCIES_1)
340 amcheck_SOURCES = amcheck.c
341 amcheck_OBJECTS = amcheck.$(OBJEXT)
342 amcheck_LDADD = $(LDADD)
343 amcheck_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
344         ../device-src/libamdevice.la ../common-src/libamanda.la \
345         $(am__DEPENDENCIES_1)
346 amcleanupdisk_SOURCES = amcleanupdisk.c
347 amcleanupdisk_OBJECTS = amcleanupdisk.$(OBJEXT)
348 amcleanupdisk_LDADD = $(LDADD)
349 amcleanupdisk_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
350         ../device-src/libamdevice.la ../common-src/libamanda.la \
351         $(am__DEPENDENCIES_1)
352 amflush_SOURCES = amflush.c
353 amflush_OBJECTS = amflush.$(OBJEXT)
354 amflush_LDADD = $(LDADD)
355 amflush_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
356         ../device-src/libamdevice.la ../common-src/libamanda.la \
357         $(am__DEPENDENCIES_1)
358 am__objects_1 = amindexd.$(OBJEXT) disk_history.$(OBJEXT) \
359         list_dir.$(OBJEXT)
360 am_amindexd_OBJECTS = $(am__objects_1)
361 amindexd_OBJECTS = $(am_amindexd_OBJECTS)
362 am__DEPENDENCIES_2 = ../common-src/libamanda.la libamserver.la \
363         ../device-src/libamdevice.la ../common-src/libamanda.la \
364         $(am__DEPENDENCIES_1)
365 amindexd_DEPENDENCIES = $(am__DEPENDENCIES_2) \
366         ../amandad-src/libamandad.la
367 amlabel_SOURCES = amlabel.c
368 amlabel_OBJECTS = amlabel.$(OBJEXT)
369 amlabel_LDADD = $(LDADD)
370 amlabel_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
371         ../device-src/libamdevice.la ../common-src/libamanda.la \
372         $(am__DEPENDENCIES_1)
373 amlogroll_SOURCES = amlogroll.c
374 amlogroll_OBJECTS = amlogroll.$(OBJEXT)
375 amlogroll_LDADD = $(LDADD)
376 amlogroll_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
377         ../device-src/libamdevice.la ../common-src/libamanda.la \
378         $(am__DEPENDENCIES_1)
379 am_amreport_OBJECTS = reporter.$(OBJEXT)
380 amreport_OBJECTS = $(am_amreport_OBJECTS)
381 amreport_LDADD = $(LDADD)
382 amreport_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
383         ../device-src/libamdevice.la ../common-src/libamanda.la \
384         $(am__DEPENDENCIES_1)
385 amservice_SOURCES = amservice.c
386 amservice_OBJECTS = amservice.$(OBJEXT)
387 amservice_LDADD = $(LDADD)
388 amservice_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
389         ../device-src/libamdevice.la ../common-src/libamanda.la \
390         $(am__DEPENDENCIES_1)
391 amtape_SOURCES = amtape.c
392 amtape_OBJECTS = amtape.$(OBJEXT)
393 amtape_LDADD = $(LDADD)
394 amtape_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
395         ../device-src/libamdevice.la ../common-src/libamanda.la \
396         $(am__DEPENDENCIES_1)
397 amtrmidx_SOURCES = amtrmidx.c
398 amtrmidx_OBJECTS = amtrmidx.$(OBJEXT)
399 amtrmidx_LDADD = $(LDADD)
400 amtrmidx_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
401         ../device-src/libamdevice.la ../common-src/libamanda.la \
402         $(am__DEPENDENCIES_1)
403 amtrmlog_SOURCES = amtrmlog.c
404 amtrmlog_OBJECTS = amtrmlog.$(OBJEXT)
405 amtrmlog_LDADD = $(LDADD)
406 amtrmlog_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
407         ../device-src/libamdevice.la ../common-src/libamanda.la \
408         $(am__DEPENDENCIES_1)
409 chunker_SOURCES = chunker.c
410 chunker_OBJECTS = chunker.$(OBJEXT)
411 chunker_LDADD = $(LDADD)
412 chunker_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
413         ../device-src/libamdevice.la ../common-src/libamanda.la \
414         $(am__DEPENDENCIES_1)
415 am_diskfile_OBJECTS = diskfile.test.$(OBJEXT)
416 diskfile_OBJECTS = $(am_diskfile_OBJECTS)
417 diskfile_LDADD = $(LDADD)
418 diskfile_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
419         ../device-src/libamdevice.la ../common-src/libamanda.la \
420         $(am__DEPENDENCIES_1)
421 driver_SOURCES = driver.c
422 driver_OBJECTS = driver.$(OBJEXT)
423 driver_LDADD = $(LDADD)
424 driver_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
425         ../device-src/libamdevice.la ../common-src/libamanda.la \
426         $(am__DEPENDENCIES_1)
427 dumper_SOURCES = dumper.c
428 dumper_OBJECTS = dumper.$(OBJEXT)
429 dumper_LDADD = $(LDADD)
430 dumper_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
431         ../device-src/libamdevice.la ../common-src/libamanda.la \
432         $(am__DEPENDENCIES_1)
433 am_infofile_OBJECTS = infofile.test.$(OBJEXT)
434 infofile_OBJECTS = $(am_infofile_OBJECTS)
435 infofile_LDADD = $(LDADD)
436 infofile_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
437         ../device-src/libamdevice.la ../common-src/libamanda.la \
438         $(am__DEPENDENCIES_1)
439 planner_SOURCES = planner.c
440 planner_OBJECTS = planner.$(OBJEXT)
441 planner_LDADD = $(LDADD)
442 planner_DEPENDENCIES = ../common-src/libamanda.la libamserver.la \
443         ../device-src/libamdevice.la ../common-src/libamanda.la \
444         $(am__DEPENDENCIES_1)
445 am_taper_OBJECTS = taper.$(OBJEXT) taper-source.$(OBJEXT) \
446         taper-file-source.$(OBJEXT) taper-port-source.$(OBJEXT) \
447         taper-disk-port-source.$(OBJEXT) \
448         taper-mem-port-source.$(OBJEXT)
449 taper_OBJECTS = $(am_taper_OBJECTS)
450 taper_DEPENDENCIES = $(am__DEPENDENCIES_2) \
451         ../amandad-src/libamandad.la
452 am_taper_source_test_OBJECTS = taper-source-test.$(OBJEXT) \
453         taper-source.$(OBJEXT) taper-file-source.$(OBJEXT) \
454         taper-port-source.$(OBJEXT) taper-disk-port-source.$(OBJEXT) \
455         taper-mem-port-source.$(OBJEXT)
456 taper_source_test_OBJECTS = $(am_taper_source_test_OBJECTS)
457 taper_source_test_DEPENDENCIES = $(am__DEPENDENCIES_2) \
458         ../amandad-src/libamandad.la
459 sbinSCRIPT_INSTALL = $(INSTALL_SCRIPT)
460 SCRIPTS = $(sbin_SCRIPTS)
461 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/config
462 depcomp = $(SHELL) $(top_srcdir)/config/depcomp
463 am__depfiles_maybe = depfiles
464 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
465         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
466 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
467         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
468         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
469 CCLD = $(CC)
470 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
471         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
472         $(LDFLAGS) -o $@
473 SOURCES = $(libamserver_la_SOURCES) amadmin.c amcheck.c \
474         amcleanupdisk.c amflush.c $(amindexd_SOURCES) amlabel.c \
475         amlogroll.c $(amreport_SOURCES) amservice.c amtape.c \
476         amtrmidx.c amtrmlog.c chunker.c $(diskfile_SOURCES) driver.c \
477         dumper.c $(infofile_SOURCES) planner.c $(taper_SOURCES) \
478         $(taper_source_test_SOURCES)
479 DIST_SOURCES = $(libamserver_la_SOURCES) amadmin.c amcheck.c \
480         amcleanupdisk.c amflush.c $(amindexd_SOURCES) amlabel.c \
481         amlogroll.c $(amreport_SOURCES) amservice.c amtape.c \
482         amtrmidx.c amtrmlog.c chunker.c $(diskfile_SOURCES) driver.c \
483         dumper.c $(infofile_SOURCES) planner.c $(taper_SOURCES) \
484         $(taper_source_test_SOURCES)
485 HEADERS = $(noinst_HEADERS)
486 ETAGS = etags
487 CTAGS = ctags
488 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
489 ACLOCAL = @ACLOCAL@
490 AIX_BACKUP = @AIX_BACKUP@
491 ALLOCA = @ALLOCA@
492 ALLOCA_H = @ALLOCA_H@
493 AMANDA_DBGDIR = @AMANDA_DBGDIR@
494 AMANDA_DEBUG_DAYS = @AMANDA_DEBUG_DAYS@
495 AMANDA_STATIC_LDFLAGS = @AMANDA_STATIC_LDFLAGS@
496 AMANDA_TMPDIR = @AMANDA_TMPDIR@
497 AMANDA_WARNING_CFLAGS = @AMANDA_WARNING_CFLAGS@
498 AMLINT = @AMLINT@
499 AMLINTFLAGS = @AMLINTFLAGS@
500 AMPLOT_CAT_COMPRESS = @AMPLOT_CAT_COMPRESS@
501 AMPLOT_CAT_GZIP = @AMPLOT_CAT_GZIP@
502 AMPLOT_CAT_PACK = @AMPLOT_CAT_PACK@
503 AMPLOT_COMPRESS = @AMPLOT_COMPRESS@
504 AMTAR = @AMTAR@
505 APPLICATION_DIR = @APPLICATION_DIR@
506 AR = @AR@
507 ARPA_INET_H = @ARPA_INET_H@
508 ASSERTIONS = @ASSERTIONS@
509 AUTOCONF = @AUTOCONF@
510 AUTOHEADER = @AUTOHEADER@
511 AUTOMAKE = @AUTOMAKE@
512 AWK = @AWK@
513 BASH = @BASH@
514 BINARY_OWNER = @BINARY_OWNER@
515 BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@
516 BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@
517 BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@
518 BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@
519 BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@
520 BSDTCP_SECURITY = @BSDTCP_SECURITY@
521 BSDUDP_SECURITY = @BSDUDP_SECURITY@
522 BSD_SECURITY = @BSD_SECURITY@
523 CAT = @CAT@
524 CC = @CC@
525 CCDEPMODE = @CCDEPMODE@
526 CFLAGS = @CFLAGS@
527 CFLAG_VISIBILITY = @CFLAG_VISIBILITY@
528 CHECK_USERID = @CHECK_USERID@
529 CHIO = @CHIO@
530 CHS = @CHS@
531 CLIENT_HOST_INSTANCE = @CLIENT_HOST_INSTANCE@
532 CLIENT_HOST_KEY_FILE = @CLIENT_HOST_KEY_FILE@
533 CLIENT_HOST_PRINCIPAL = @CLIENT_HOST_PRINCIPAL@
534 CLIENT_LOGIN = @CLIENT_LOGIN@
535 CLIENT_SCRIPTS_OPT = @CLIENT_SCRIPTS_OPT@
536 COMPRESS = @COMPRESS@
537 COMPRESS_BEST_OPT = @COMPRESS_BEST_OPT@
538 COMPRESS_FAST_OPT = @COMPRESS_FAST_OPT@
539 COMPRESS_PATH = @COMPRESS_PATH@
540 COMPRESS_SUFFIX = @COMPRESS_SUFFIX@
541 CONFIG_CLOBBER_MY_CONFIG = @CONFIG_CLOBBER_MY_CONFIG@
542 CONFIG_DIR = @CONFIG_DIR@
543 CPP = @CPP@
544 CPPFLAGS = @CPPFLAGS@
545 CURL_CONFIG = @CURL_CONFIG@
546 CXX = @CXX@
547 CXXCPP = @CXXCPP@
548 CXXDEPMODE = @CXXDEPMODE@
549 CXXFLAGS = @CXXFLAGS@
550 CYGPATH_W = @CYGPATH_W@
551 DD = @DD@
552 DEFAULT_AMANDATES_FILE = @DEFAULT_AMANDATES_FILE@
553 DEFAULT_CHANGER_DEVICE = @DEFAULT_CHANGER_DEVICE@
554 DEFAULT_CONFIG = @DEFAULT_CONFIG@
555 DEFAULT_MAILER = @DEFAULT_MAILER@
556 DEFAULT_SERVER = @DEFAULT_SERVER@
557 DEFAULT_TAPE_DEVICE = @DEFAULT_TAPE_DEVICE@
558 DEFAULT_TAPE_SERVER = @DEFAULT_TAPE_SERVER@
559 DEFS = @DEFS@
560 DEPDIR = @DEPDIR@
561 DOC_BUILD_DATE = @DOC_BUILD_DATE@
562 DUMP = @DUMP@
563 DUMP_RETURNS_1 = @DUMP_RETURNS_1@
564 ECHO = @ECHO@
565 ECHO_C = @ECHO_C@
566 ECHO_N = @ECHO_N@
567 ECHO_T = @ECHO_T@
568 EGREP = @EGREP@
569 EOVERFLOW = @EOVERFLOW@
570 EXAMPLE_TAPEDEV = @EXAMPLE_TAPEDEV@
571 EXEEXT = @EXEEXT@
572 F77 = @F77@
573 FFLAGS = @FFLAGS@
574 FLOAT_H = @FLOAT_H@
575 GETCONF = @GETCONF@
576 GETOPT_H = @GETOPT_H@
577 GETTEXT = @GETTEXT@
578 GLIB_CFLAGS = @GLIB_CFLAGS@
579 GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
580 GLIB_LIBS = @GLIB_LIBS@
581 GLIB_MKENUMS = @GLIB_MKENUMS@
582 GMSGFMT = @GMSGFMT@
583 GMSGFMT_015 = @GMSGFMT_015@
584 GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@
585 GNULIB_CHOWN = @GNULIB_CHOWN@
586 GNULIB_DUP2 = @GNULIB_DUP2@
587 GNULIB_ENVIRON = @GNULIB_ENVIRON@
588 GNULIB_FCHDIR = @GNULIB_FCHDIR@
589 GNULIB_FFLUSH = @GNULIB_FFLUSH@
590 GNULIB_FOPEN = @GNULIB_FOPEN@
591 GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@
592 GNULIB_FREOPEN = @GNULIB_FREOPEN@
593 GNULIB_FSEEK = @GNULIB_FSEEK@
594 GNULIB_FSEEKO = @GNULIB_FSEEKO@
595 GNULIB_FTELL = @GNULIB_FTELL@
596 GNULIB_FTELLO = @GNULIB_FTELLO@
597 GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@
598 GNULIB_GETCWD = @GNULIB_GETCWD@
599 GNULIB_GETDELIM = @GNULIB_GETDELIM@
600 GNULIB_GETLINE = @GNULIB_GETLINE@
601 GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@
602 GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@
603 GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@
604 GNULIB_LCHOWN = @GNULIB_LCHOWN@
605 GNULIB_LSEEK = @GNULIB_LSEEK@
606 GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@
607 GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@
608 GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@
609 GNULIB_MBSCHR = @GNULIB_MBSCHR@
610 GNULIB_MBSCSPN = @GNULIB_MBSCSPN@
611 GNULIB_MBSLEN = @GNULIB_MBSLEN@
612 GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@
613 GNULIB_MBSNLEN = @GNULIB_MBSNLEN@
614 GNULIB_MBSPBRK = @GNULIB_MBSPBRK@
615 GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@
616 GNULIB_MBSRCHR = @GNULIB_MBSRCHR@
617 GNULIB_MBSSEP = @GNULIB_MBSSEP@
618 GNULIB_MBSSPN = @GNULIB_MBSSPN@
619 GNULIB_MBSSTR = @GNULIB_MBSSTR@
620 GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@
621 GNULIB_MEMMEM = @GNULIB_MEMMEM@
622 GNULIB_MEMPCPY = @GNULIB_MEMPCPY@
623 GNULIB_MEMRCHR = @GNULIB_MEMRCHR@
624 GNULIB_MKDTEMP = @GNULIB_MKDTEMP@
625 GNULIB_MKSTEMP = @GNULIB_MKSTEMP@
626 GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@
627 GNULIB_PUTENV = @GNULIB_PUTENV@
628 GNULIB_READLINK = @GNULIB_READLINK@
629 GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@
630 GNULIB_SETENV = @GNULIB_SETENV@
631 GNULIB_SLEEP = @GNULIB_SLEEP@
632 GNULIB_SNPRINTF = @GNULIB_SNPRINTF@
633 GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@
634 GNULIB_STPCPY = @GNULIB_STPCPY@
635 GNULIB_STPNCPY = @GNULIB_STPNCPY@
636 GNULIB_STRCASESTR = @GNULIB_STRCASESTR@
637 GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@
638 GNULIB_STRDUP = @GNULIB_STRDUP@
639 GNULIB_STRERROR = @GNULIB_STRERROR@
640 GNULIB_STRNDUP = @GNULIB_STRNDUP@
641 GNULIB_STRNLEN = @GNULIB_STRNLEN@
642 GNULIB_STRPBRK = @GNULIB_STRPBRK@
643 GNULIB_STRSEP = @GNULIB_STRSEP@
644 GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@
645 GNULIB_STRSTR = @GNULIB_STRSTR@
646 GNULIB_STRTOK_R = @GNULIB_STRTOK_R@
647 GNULIB_UNSETENV = @GNULIB_UNSETENV@
648 GNULIB_VASPRINTF = @GNULIB_VASPRINTF@
649 GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@
650 GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@
651 GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@
652 GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@
653 GNULIB_WCWIDTH = @GNULIB_WCWIDTH@
654 GNUPLOT = @GNUPLOT@
655 GNUTAR = @GNUTAR@
656 GNUTAR_LISTED_INCREMENTAL_DIR = @GNUTAR_LISTED_INCREMENTAL_DIR@
657 GOBJECT_QUERY = @GOBJECT_QUERY@
658 GREP = @GREP@
659 GZIP = @GZIP@
660 HAVE_CALLOC_POSIX = @HAVE_CALLOC_POSIX@
661 HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@
662 HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@
663 HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@
664 HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@
665 HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@
666 HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@
667 HAVE_DECL_MKDIR = @HAVE_DECL_MKDIR@
668 HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@
669 HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@
670 HAVE_DECL_STRERROR = @HAVE_DECL_STRERROR@
671 HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@
672 HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@
673 HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@
674 HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@
675 HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@
676 HAVE_DECL_WCWIDTH = @HAVE_DECL_WCWIDTH@
677 HAVE_DUP2 = @HAVE_DUP2@
678 HAVE_FSEEKO = @HAVE_FSEEKO@
679 HAVE_FTELLO = @HAVE_FTELLO@
680 HAVE_FTRUNCATE = @HAVE_FTRUNCATE@
681 HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@
682 HAVE_GETSUBOPT = @HAVE_GETSUBOPT@
683 HAVE_GZIP = @HAVE_GZIP@
684 HAVE_INTTYPES_H = @HAVE_INTTYPES_H@
685 HAVE_IO_H = @HAVE_IO_H@
686 HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@
687 HAVE_LSTAT = @HAVE_LSTAT@
688 HAVE_MALLOC_POSIX = @HAVE_MALLOC_POSIX@
689 HAVE_MEMPCPY = @HAVE_MEMPCPY@
690 HAVE_MKDTEMP = @HAVE_MKDTEMP@
691 HAVE_NETINET_IN_H = @HAVE_NETINET_IN_H@
692 HAVE_OS_H = @HAVE_OS_H@
693 HAVE_READLINK = @HAVE_READLINK@
694 HAVE_REALLOC_POSIX = @HAVE_REALLOC_POSIX@
695 HAVE_SETENV = @HAVE_SETENV@
696 HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@
697 HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@
698 HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@
699 HAVE_SLEEP = @HAVE_SLEEP@
700 HAVE_STDINT_H = @HAVE_STDINT_H@
701 HAVE_STPCPY = @HAVE_STPCPY@
702 HAVE_STPNCPY = @HAVE_STPNCPY@
703 HAVE_STRCASESTR = @HAVE_STRCASESTR@
704 HAVE_STRCHRNUL = @HAVE_STRCHRNUL@
705 HAVE_STRNDUP = @HAVE_STRNDUP@
706 HAVE_STRPBRK = @HAVE_STRPBRK@
707 HAVE_STRSEP = @HAVE_STRSEP@
708 HAVE_STRUCT_TIMEVAL = @HAVE_STRUCT_TIMEVAL@
709 HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@
710 HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@
711 HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@
712 HAVE_SYS_SOCKET_H = @HAVE_SYS_SOCKET_H@
713 HAVE_SYS_TIME_H = @HAVE_SYS_TIME_H@
714 HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@
715 HAVE_UNISTD_H = @HAVE_UNISTD_H@
716 HAVE_UNSETENV = @HAVE_UNSETENV@
717 HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@
718 HAVE_VASPRINTF = @HAVE_VASPRINTF@
719 HAVE_VISIBILITY = @HAVE_VISIBILITY@
720 HAVE_WCHAR_H = @HAVE_WCHAR_H@
721 HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@
722 HAVE_WS2TCPIP_H = @HAVE_WS2TCPIP_H@
723 HAVE__BOOL = @HAVE__BOOL@
724 INCLUDE_NEXT = @INCLUDE_NEXT@
725 INSTALL = @INSTALL@
726 INSTALL_DATA = @INSTALL_DATA@
727 INSTALL_PROGRAM = @INSTALL_PROGRAM@
728 INSTALL_SCRIPT = @INSTALL_SCRIPT@
729 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
730 INTLLIBS = @INTLLIBS@
731 INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
732 KRB4_SECURITY = @KRB4_SECURITY@
733 KRB5_SECURITY = @KRB5_SECURITY@
734 LDFLAGS = @LDFLAGS@
735 LEX = @LEX@
736 LEXLIB = @LEXLIB@
737 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
738 LIBCURL = @LIBCURL@
739 LIBCURL_CPPFLAGS = @LIBCURL_CPPFLAGS@
740 LIBICONV = @LIBICONV@
741 LIBINTL = @LIBINTL@
742 LIBMULTITHREAD = @LIBMULTITHREAD@
743 LIBOBJS = @LIBOBJS@
744 LIBPTH = @LIBPTH@
745 LIBS = @LIBS@
746 LIBTHREAD = @LIBTHREAD@
747 LIBTOOL = @LIBTOOL@
748 LIBTOOL_DEPS = @LIBTOOL_DEPS@
749 LN_S = @LN_S@
750 LOCKING = @LOCKING@
751 LOW_TCPPORTRANGE = @LOW_TCPPORTRANGE@
752 LTLIBICONV = @LTLIBICONV@
753 LTLIBINTL = @LTLIBINTL@
754 LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
755 LTLIBOBJS = @LTLIBOBJS@
756 LTLIBPTH = @LTLIBPTH@
757 LTLIBTHREAD = @LTLIBTHREAD@
758 MAILER = @MAILER@
759 MAKEINFO = @MAKEINFO@
760 MCUTIL = @MCUTIL@
761 MKDIR_P = @MKDIR_P@
762 MSGFMT = @MSGFMT@
763 MSGFMT_015 = @MSGFMT_015@
764 MSGMERGE = @MSGMERGE@
765 MT = @MT@
766 MTX = @MTX@
767 MT_FILE_FLAG = @MT_FILE_FLAG@
768 NETINET_IN_H = @NETINET_IN_H@
769 NEXT_FLOAT_H = @NEXT_FLOAT_H@
770 NEXT_NETINET_IN_H = @NEXT_NETINET_IN_H@
771 NEXT_STDINT_H = @NEXT_STDINT_H@
772 NEXT_STDIO_H = @NEXT_STDIO_H@
773 NEXT_STDLIB_H = @NEXT_STDLIB_H@
774 NEXT_STRING_H = @NEXT_STRING_H@
775 NEXT_SYS_SOCKET_H = @NEXT_SYS_SOCKET_H@
776 NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@
777 NEXT_SYS_TIME_H = @NEXT_SYS_TIME_H@
778 NEXT_UNISTD_H = @NEXT_UNISTD_H@
779 NEXT_WCHAR_H = @NEXT_WCHAR_H@
780 OBJEXT = @OBJEXT@
781 PACKAGE = @PACKAGE@
782 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
783 PACKAGE_NAME = @PACKAGE_NAME@
784 PACKAGE_STRING = @PACKAGE_STRING@
785 PACKAGE_TARNAME = @PACKAGE_TARNAME@
786 PACKAGE_VERSION = @PACKAGE_VERSION@
787 PATH_SEPARATOR = @PATH_SEPARATOR@
788 PCAT = @PCAT@
789 PERL = @PERL@
790 PERLEXTLIBS = @PERLEXTLIBS@
791 PERL_INC = @PERL_INC@
792 PKG_CONFIG = @PKG_CONFIG@
793 POSUB = @POSUB@
794 PRINT = @PRINT@
795 PS = @PS@
796 PS_ARGUMENT = @PS_ARGUMENT@
797 PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@
798 RANLIB = @RANLIB@
799 READLINE_LIBS = @READLINE_LIBS@
800 REPLACE_CHOWN = @REPLACE_CHOWN@
801 REPLACE_FCHDIR = @REPLACE_FCHDIR@
802 REPLACE_FFLUSH = @REPLACE_FFLUSH@
803 REPLACE_FOPEN = @REPLACE_FOPEN@
804 REPLACE_FPRINTF = @REPLACE_FPRINTF@
805 REPLACE_FREOPEN = @REPLACE_FREOPEN@
806 REPLACE_FSEEK = @REPLACE_FSEEK@
807 REPLACE_FSEEKO = @REPLACE_FSEEKO@
808 REPLACE_FTELL = @REPLACE_FTELL@
809 REPLACE_FTELLO = @REPLACE_FTELLO@
810 REPLACE_GETCWD = @REPLACE_GETCWD@
811 REPLACE_GETLINE = @REPLACE_GETLINE@
812 REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@
813 REPLACE_GETTIMEOFDAY = @REPLACE_GETTIMEOFDAY@
814 REPLACE_LCHOWN = @REPLACE_LCHOWN@
815 REPLACE_LSEEK = @REPLACE_LSEEK@
816 REPLACE_MEMMEM = @REPLACE_MEMMEM@
817 REPLACE_MKSTEMP = @REPLACE_MKSTEMP@
818 REPLACE_PRINTF = @REPLACE_PRINTF@
819 REPLACE_PUTENV = @REPLACE_PUTENV@
820 REPLACE_SNPRINTF = @REPLACE_SNPRINTF@
821 REPLACE_SPRINTF = @REPLACE_SPRINTF@
822 REPLACE_STRCASESTR = @REPLACE_STRCASESTR@
823 REPLACE_STRERROR = @REPLACE_STRERROR@
824 REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@
825 REPLACE_STRSTR = @REPLACE_STRSTR@
826 REPLACE_VASPRINTF = @REPLACE_VASPRINTF@
827 REPLACE_VFPRINTF = @REPLACE_VFPRINTF@
828 REPLACE_VPRINTF = @REPLACE_VPRINTF@
829 REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@
830 REPLACE_VSPRINTF = @REPLACE_VSPRINTF@
831 REPLACE_WCWIDTH = @REPLACE_WCWIDTH@
832 RESTORE = @RESTORE@
833 RSH_SECURITY = @RSH_SECURITY@
834 SAMBA_CLIENT = @SAMBA_CLIENT@
835 SERVER_HOST_INSTANCE = @SERVER_HOST_INSTANCE@
836 SERVER_HOST_KEY_FILE = @SERVER_HOST_KEY_FILE@
837 SERVER_HOST_PRINCIPAL = @SERVER_HOST_PRINCIPAL@
838 SERVICE_SUFFIX = @SERVICE_SUFFIX@
839 SETUID_GROUP = @SETUID_GROUP@
840 SET_MAKE = @SET_MAKE@
841 SHELL = @SHELL@
842 SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@
843 SIZE_T_SUFFIX = @SIZE_T_SUFFIX@
844 SNAPSHOT_STAMP = @SNAPSHOT_STAMP@
845 SORT = @SORT@
846 SSH = @SSH@
847 SSH_SECURITY = @SSH_SECURITY@
848 STDBOOL_H = @STDBOOL_H@
849 STDINT_H = @STDINT_H@
850 STRIP = @STRIP@
851 SVN = @SVN@
852 SWIG = @SWIG@
853 SWIG_LIB = @SWIG_LIB@
854 SYS_SOCKET_H = @SYS_SOCKET_H@
855 SYS_STAT_H = @SYS_STAT_H@
856 SYS_TIME_H = @SYS_TIME_H@
857 TCPPORTRANGE = @TCPPORTRANGE@
858 TICKET_LIFETIME = @TICKET_LIFETIME@
859 UDPPORTRANGE = @UDPPORTRANGE@
860 UNCOMPRESS_OPT = @UNCOMPRESS_OPT@
861 UNCOMPRESS_PATH = @UNCOMPRESS_PATH@
862 USE_AMANDAHOSTS = @USE_AMANDAHOSTS@
863 USE_NLS = @USE_NLS@
864 USE_RUNDUMP = @USE_RUNDUMP@
865 USE_VERSION_SUFFIXES = @USE_VERSION_SUFFIXES@
866 VDUMP = @VDUMP@
867 VERSION = @VERSION@
868 VERSION_COMMENT = @VERSION_COMMENT@
869 VERSION_MAJOR = @VERSION_MAJOR@
870 VERSION_MINOR = @VERSION_MINOR@
871 VERSION_PATCH = @VERSION_PATCH@
872 VERSION_SUFFIX = @VERSION_SUFFIX@
873 VOID_UNSETENV = @VOID_UNSETENV@
874 VRESTORE = @VRESTORE@
875 VXDUMP = @VXDUMP@
876 VXRESTORE = @VXRESTORE@
877 WCHAR_H = @WCHAR_H@
878 WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@
879 WINT_T_SUFFIX = @WINT_T_SUFFIX@
880 XFSDUMP = @XFSDUMP@
881 XFSRESTORE = @XFSRESTORE@
882 XGETTEXT = @XGETTEXT@
883 XGETTEXT_015 = @XGETTEXT_015@
884 XSLREL = @XSLREL@
885 XSLTPROC = @XSLTPROC@
886 XSLTPROC_FLAGS = @XSLTPROC_FLAGS@
887 YACC = @YACC@
888 YFLAGS = @YFLAGS@
889 _libcurl_config = @_libcurl_config@
890 abs_builddir = @abs_builddir@
891 abs_srcdir = @abs_srcdir@
892 abs_top_builddir = @abs_top_builddir@
893 abs_top_srcdir = @abs_top_srcdir@
894 ac_ct_CC = @ac_ct_CC@
895 ac_ct_CXX = @ac_ct_CXX@
896 ac_ct_F77 = @ac_ct_F77@
897 am__include = @am__include@
898 am__leading_dot = @am__leading_dot@
899 am__quote = @am__quote@
900 am__tar = @am__tar@
901 am__untar = @am__untar@
902 amdatadir = @amdatadir@
903 amincludedir = @amincludedir@
904 amlibdir = @amlibdir@
905 amlibexecdir = @amlibexecdir@
906 amperldir = @amperldir@
907 bindir = @bindir@
908 build = @build@
909 build_alias = @build_alias@
910 build_cpu = @build_cpu@
911 build_os = @build_os@
912 build_vendor = @build_vendor@
913 builddir = @builddir@
914 datadir = @datadir@
915 datarootdir = @datarootdir@
916 docdir = @docdir@
917 dvidir = @dvidir@
918 exec_prefix = @exec_prefix@
919 gl_LIBOBJS = @gl_LIBOBJS@
920 gl_LTLIBOBJS = @gl_LTLIBOBJS@
921 gltests_LIBOBJS = @gltests_LIBOBJS@
922 gltests_LTLIBOBJS = @gltests_LTLIBOBJS@
923 host = @host@
924 host_alias = @host_alias@
925 host_cpu = @host_cpu@
926 host_os = @host_os@
927 host_vendor = @host_vendor@
928 htmldir = @htmldir@
929 includedir = @includedir@
930 infodir = @infodir@
931 install_sh = @install_sh@
932 libdir = @libdir@
933 libexecdir = @libexecdir@
934 localedir = @localedir@
935 localstatedir = @localstatedir@
936 mandir = @mandir@
937 mkdir_p = @mkdir_p@
938 oldincludedir = @oldincludedir@
939 pdfdir = @pdfdir@
940 prefix = @prefix@
941 program_transform_name = @program_transform_name@
942 psdir = @psdir@
943 sbindir = @sbindir@
944 sharedstatedir = @sharedstatedir@
945 srcdir = @srcdir@
946 sysconfdir = @sysconfdir@
947 target = @target@
948 target_alias = @target_alias@
949 target_cpu = @target_cpu@
950 target_os = @target_os@
951 target_vendor = @target_vendor@
952 top_build_prefix = @top_build_prefix@
953 top_builddir = @top_builddir@
954 top_srcdir = @top_srcdir@
955 SUFFIXES = 
956 EXTRA_DIST = 
957 BUILT_SOURCES = 
958 MOSTLYCLEANFILES = 
959
960 # config.status leaves config.log files around
961 CLEANFILES = config.log *.test.c
962
963 # and we'll need to clean up our generated files for distclean
964 DISTCLEANFILES = $(SCRIPTS_SHELL) $(SCRIPTS_PERL) $(SCRIPTS_AWK) \
965         $(SCRIPTS_INCLUDE) $(am__append_1)
966 MAINTAINERCLEANFILES = 
967
968 # syntax-check shell scripts on 'make check'
969 CHECK_SHELL = $(SCRIPTS_SHELL)
970
971 # sed expression to strip leading directories from a filename; this converts e.g.,
972 # src/foo/bar.so to bar.so.
973 strip_leading_dirs = s|^.*/||
974 @WANT_INSTALLPERMS_FALSE@do_file = pa="$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
975 @WANT_INSTALLPERMS_FALSE@    echo "installperm \"$$chown\" \"$$chmod\" \"$$pa\"" >> "$(installperms_sh)"
976
977
978 # define a snippet of the scripts below to either perform a chown/chmod operation,
979 # or record that operation in the logfile.  On entry to the snippet, $$dest is the
980 # destination directory, $$cmd is the srcdir-relative pathname of the target file,
981 # $$chown is the ownership, and $$chmod is the permission pattern.
982 @WANT_INSTALLPERMS_TRUE@do_file = pa="$(DESTDIR)$$dest"/`echo "$$cmd"|sed '$(strip_leading_dirs)'|sed '$(transform)'`; \
983 @WANT_INSTALLPERMS_TRUE@    if test -n "$$chown"; then \
984 @WANT_INSTALLPERMS_TRUE@        echo chown "$$chown" "$$pa"; \
985 @WANT_INSTALLPERMS_TRUE@        chown "$$chown" "$$pa" || exit 1; \
986 @WANT_INSTALLPERMS_TRUE@    fi; \
987 @WANT_INSTALLPERMS_TRUE@    if test -n "$$chmod"; then \
988 @WANT_INSTALLPERMS_TRUE@        echo chmod "$$chmod" "$$pa"; \
989 @WANT_INSTALLPERMS_TRUE@        chmod "$$chmod" "$$pa" || exit 1; \
990 @WANT_INSTALLPERMS_TRUE@    fi 
991
992 @WANT_INSTALLPERMS_FALSE@installperms_sh = "$(top_builddir)/installperms.sh"
993 INCLUDES = -I$(top_builddir)/common-src \
994                 -I$(top_srcdir)/common-src   \
995                 -I$(top_srcdir)/restore-src  \
996                 -I$(top_srcdir)/amandad-src  \
997                 -I$(top_srcdir)/device-src   \
998                 -I$(top_srcdir)/gnulib
999
1000 AM_CFLAGS = $(AMANDA_WARNING_CFLAGS)
1001 AM_LDFLAGS = $(AMANDA_STATIC_LDFLAGS)
1002 LINT = $(AMLINT)
1003 LINTFLAGS = $(AMLINTFLAGS)
1004 amlib_LTLIBRARIES = libamserver.la
1005
1006 # Exclude scripts which depend on perl extension modules from the syntax checks
1007 CHECK_PERL = \
1008             amaddclient \
1009             amoverview \
1010             amserverconfig \
1011             amtoc \
1012             amdevcheck \
1013             amcheckdump \
1014             amcleanup \
1015             amvault \
1016             amstatus
1017
1018 SCRIPTS_PERL = $(CHECK_PERL)
1019 SCRIPTS_SHELL = \
1020             amcheckdb \
1021             amdump \
1022             amrmtape
1023
1024 sbin_SCRIPTS = $(SCRIPTS_PERL) $(SCRIPTS_SHELL)
1025 INSTALLPERMS_exec = \
1026         dest=$(sbindir) chown=amanda chmod= \
1027                 $(sbin_PROGRAMS) \
1028         chown=root chmod=04750 \
1029                 amcheck amservice \
1030         dest=$(amlibexecdir) chown=amanda chmod= \
1031                 $(amlibexec_PROGRAMS) \
1032         chown=root chmod=04750 \
1033                 dumper planner
1034
1035 INSTALLPERMS_data = \
1036         dest=$(sbindir) chown=amanda chmod= \
1037                 $(sbin_SCRIPTS) \
1038         dest=$(amlibexecdir) chown=amanda chmod= \
1039                 $(amlibexec_SCRIPTS)
1040
1041
1042 ###
1043 # Because libamanda includes routines (e.g. regex) provided by some system
1044 # libraries, and because of the way libtool sets up the command line, we
1045 # need to list libamanda twice here, first to override the system library
1046 # routines, and second to pick up any references in the other libraries.
1047 ###
1048 LDADD = ../common-src/libamanda.la   \
1049         libamserver.la               \
1050         ../device-src/libamdevice.la     \
1051         ../common-src/libamanda.la   \
1052         $(READLINE_LIBS)
1053
1054 libamserver_la_SOURCES = amindex.c      changer.c                       \
1055                         diskfile.c      driverio.c      cmdline.c  \
1056                         holding.c       infofile.c      logfile.c       \
1057                         tapefile.c      find.c          server_util.c   \
1058                         taperscan.c
1059
1060 libamserver_la_LDFLAGS = -release $(VERSION)
1061 libamserver_la_LIBADD = ../device-src/libamdevice.la \
1062                        ../common-src/libamanda.la
1063
1064 taper_source_test_SOURCES = taper-source-test.c \
1065                         taper-source.c \
1066                         taper-file-source.c \
1067                         taper-port-source.c \
1068                         taper-disk-port-source.c \
1069                         taper-mem-port-source.c
1070
1071 taper_SOURCES = taper.c \
1072                         taper-source.c \
1073                         taper-file-source.c \
1074                         taper-port-source.c \
1075                         taper-disk-port-source.c \
1076                         taper-mem-port-source.c
1077
1078 taper_LDADD = $(LDADD) \
1079         ../amandad-src/libamandad.la
1080
1081 taper_source_test_LDADD = $(LDADD) \
1082         ../amandad-src/libamandad.la
1083
1084 amindexd_LDADD = $(LDADD) \
1085         ../amandad-src/libamandad.la
1086
1087
1088 # there are used for testing only:
1089 TEST_PROGS = diskfile infofile
1090 amindexd_CSRC = amindexd.c      disk_history.c  list_dir.c
1091 amindexd_SOURCES = disk_history.h       list_dir.h      $(amindexd_CSRC)
1092 amreport_SOURCES = reporter.c
1093 noinst_HEADERS = amindex.h      changer.h       cmdline.h       \
1094                         diskfile.h      driverio.h      \
1095                         holding.h       infofile.h      logfile.h       \
1096                         tapefile.h      find.h          server_util.h   \
1097                         taperscan.h taper-disk-port-source.h \
1098                         taper-mem-port-source.h  taper-file-source.h \
1099                         taper-port-source.h taper-source.h
1100
1101 diskfile_SOURCES = diskfile.test.c
1102 infofile_SOURCES = infofile.test.c
1103 all: $(BUILT_SOURCES)
1104         $(MAKE) $(AM_MAKEFLAGS) all-am
1105
1106 .SUFFIXES:
1107 .SUFFIXES: .c .lo .o .obj
1108 $(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)
1109         @for dep in $?; do \
1110           case '$(am__configure_deps)' in \
1111             *$$dep*) \
1112               cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
1113                 && exit 0; \
1114               exit 1;; \
1115           esac; \
1116         done; \
1117         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  server-src/Makefile'; \
1118         cd $(top_srcdir) && \
1119           $(AUTOMAKE) --gnu  server-src/Makefile
1120 .PRECIOUS: Makefile
1121 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1122         @case '$?' in \
1123           *config.status*) \
1124             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1125           *) \
1126             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1127             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1128         esac;
1129
1130 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1131         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1132
1133 $(top_srcdir)/configure:  $(am__configure_deps)
1134         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1135 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
1136         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1137 install-amlibLTLIBRARIES: $(amlib_LTLIBRARIES)
1138         @$(NORMAL_INSTALL)
1139         test -z "$(amlibdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibdir)"
1140         @list='$(amlib_LTLIBRARIES)'; for p in $$list; do \
1141           if test -f $$p; then \
1142             f=$(am__strip_dir) \
1143             echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(amlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(amlibdir)/$$f'"; \
1144             $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(amlibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(amlibdir)/$$f"; \
1145           else :; fi; \
1146         done
1147
1148 uninstall-amlibLTLIBRARIES:
1149         @$(NORMAL_UNINSTALL)
1150         @list='$(amlib_LTLIBRARIES)'; for p in $$list; do \
1151           p=$(am__strip_dir) \
1152           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(amlibdir)/$$p'"; \
1153           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(amlibdir)/$$p"; \
1154         done
1155
1156 clean-amlibLTLIBRARIES:
1157         -test -z "$(amlib_LTLIBRARIES)" || rm -f $(amlib_LTLIBRARIES)
1158         @list='$(amlib_LTLIBRARIES)'; for p in $$list; do \
1159           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
1160           test "$$dir" != "$$p" || dir=.; \
1161           echo "rm -f \"$${dir}/so_locations\""; \
1162           rm -f "$${dir}/so_locations"; \
1163         done
1164 libamserver.la: $(libamserver_la_OBJECTS) $(libamserver_la_DEPENDENCIES) 
1165         $(libamserver_la_LINK) -rpath $(amlibdir) $(libamserver_la_OBJECTS) $(libamserver_la_LIBADD) $(LIBS)
1166 install-amlibexecPROGRAMS: $(amlibexec_PROGRAMS)
1167         @$(NORMAL_INSTALL)
1168         test -z "$(amlibexecdir)" || $(MKDIR_P) "$(DESTDIR)$(amlibexecdir)"
1169         @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
1170           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
1171           if test -f $$p \
1172              || test -f $$p1 \
1173           ; then \
1174             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
1175            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(amlibexecPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(amlibexecdir)/$$f'"; \
1176            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(amlibexecPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(amlibexecdir)/$$f" || exit 1; \
1177           else :; fi; \
1178         done
1179
1180 uninstall-amlibexecPROGRAMS:
1181         @$(NORMAL_UNINSTALL)
1182         @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
1183           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
1184           echo " rm -f '$(DESTDIR)$(amlibexecdir)/$$f'"; \
1185           rm -f "$(DESTDIR)$(amlibexecdir)/$$f"; \
1186         done
1187
1188 clean-amlibexecPROGRAMS:
1189         @list='$(amlibexec_PROGRAMS)'; for p in $$list; do \
1190           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
1191           echo " rm -f $$p $$f"; \
1192           rm -f $$p $$f ; \
1193         done
1194
1195 clean-noinstPROGRAMS:
1196         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
1197           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
1198           echo " rm -f $$p $$f"; \
1199           rm -f $$p $$f ; \
1200         done
1201 install-sbinPROGRAMS: $(sbin_PROGRAMS)
1202         @$(NORMAL_INSTALL)
1203         test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
1204         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
1205           p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
1206           if test -f $$p \
1207              || test -f $$p1 \
1208           ; then \
1209             f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
1210            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
1211            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(sbinPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(sbindir)/$$f" || exit 1; \
1212           else :; fi; \
1213         done
1214
1215 uninstall-sbinPROGRAMS:
1216         @$(NORMAL_UNINSTALL)
1217         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
1218           f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
1219           echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
1220           rm -f "$(DESTDIR)$(sbindir)/$$f"; \
1221         done
1222
1223 clean-sbinPROGRAMS:
1224         @list='$(sbin_PROGRAMS)'; for p in $$list; do \
1225           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
1226           echo " rm -f $$p $$f"; \
1227           rm -f $$p $$f ; \
1228         done
1229 amadmin$(EXEEXT): $(amadmin_OBJECTS) $(amadmin_DEPENDENCIES) 
1230         @rm -f amadmin$(EXEEXT)
1231         $(LINK) $(amadmin_OBJECTS) $(amadmin_LDADD) $(LIBS)
1232 amcheck$(EXEEXT): $(amcheck_OBJECTS) $(amcheck_DEPENDENCIES) 
1233         @rm -f amcheck$(EXEEXT)
1234         $(LINK) $(amcheck_OBJECTS) $(amcheck_LDADD) $(LIBS)
1235 amcleanupdisk$(EXEEXT): $(amcleanupdisk_OBJECTS) $(amcleanupdisk_DEPENDENCIES) 
1236         @rm -f amcleanupdisk$(EXEEXT)
1237         $(LINK) $(amcleanupdisk_OBJECTS) $(amcleanupdisk_LDADD) $(LIBS)
1238 amflush$(EXEEXT): $(amflush_OBJECTS) $(amflush_DEPENDENCIES) 
1239         @rm -f amflush$(EXEEXT)
1240         $(LINK) $(amflush_OBJECTS) $(amflush_LDADD) $(LIBS)
1241 amindexd$(EXEEXT): $(amindexd_OBJECTS) $(amindexd_DEPENDENCIES) 
1242         @rm -f amindexd$(EXEEXT)
1243         $(LINK) $(amindexd_OBJECTS) $(amindexd_LDADD) $(LIBS)
1244 amlabel$(EXEEXT): $(amlabel_OBJECTS) $(amlabel_DEPENDENCIES) 
1245         @rm -f amlabel$(EXEEXT)
1246         $(LINK) $(amlabel_OBJECTS) $(amlabel_LDADD) $(LIBS)
1247 amlogroll$(EXEEXT): $(amlogroll_OBJECTS) $(amlogroll_DEPENDENCIES) 
1248         @rm -f amlogroll$(EXEEXT)
1249         $(LINK) $(amlogroll_OBJECTS) $(amlogroll_LDADD) $(LIBS)
1250 amreport$(EXEEXT): $(amreport_OBJECTS) $(amreport_DEPENDENCIES) 
1251         @rm -f amreport$(EXEEXT)
1252         $(LINK) $(amreport_OBJECTS) $(amreport_LDADD) $(LIBS)
1253 amservice$(EXEEXT): $(amservice_OBJECTS) $(amservice_DEPENDENCIES) 
1254         @rm -f amservice$(EXEEXT)
1255         $(LINK) $(amservice_OBJECTS) $(amservice_LDADD) $(LIBS)
1256 amtape$(EXEEXT): $(amtape_OBJECTS) $(amtape_DEPENDENCIES) 
1257         @rm -f amtape$(EXEEXT)
1258         $(LINK) $(amtape_OBJECTS) $(amtape_LDADD) $(LIBS)
1259 amtrmidx$(EXEEXT): $(amtrmidx_OBJECTS) $(amtrmidx_DEPENDENCIES) 
1260         @rm -f amtrmidx$(EXEEXT)
1261         $(LINK) $(amtrmidx_OBJECTS) $(amtrmidx_LDADD) $(LIBS)
1262 amtrmlog$(EXEEXT): $(amtrmlog_OBJECTS) $(amtrmlog_DEPENDENCIES) 
1263         @rm -f amtrmlog$(EXEEXT)
1264         $(LINK) $(amtrmlog_OBJECTS) $(amtrmlog_LDADD) $(LIBS)
1265 chunker$(EXEEXT): $(chunker_OBJECTS) $(chunker_DEPENDENCIES) 
1266         @rm -f chunker$(EXEEXT)
1267         $(LINK) $(chunker_OBJECTS) $(chunker_LDADD) $(LIBS)
1268 diskfile$(EXEEXT): $(diskfile_OBJECTS) $(diskfile_DEPENDENCIES) 
1269         @rm -f diskfile$(EXEEXT)
1270         $(LINK) $(diskfile_OBJECTS) $(diskfile_LDADD) $(LIBS)
1271 driver$(EXEEXT): $(driver_OBJECTS) $(driver_DEPENDENCIES) 
1272         @rm -f driver$(EXEEXT)
1273         $(LINK) $(driver_OBJECTS) $(driver_LDADD) $(LIBS)
1274 dumper$(EXEEXT): $(dumper_OBJECTS) $(dumper_DEPENDENCIES) 
1275         @rm -f dumper$(EXEEXT)
1276         $(LINK) $(dumper_OBJECTS) $(dumper_LDADD) $(LIBS)
1277 infofile$(EXEEXT): $(infofile_OBJECTS) $(infofile_DEPENDENCIES) 
1278         @rm -f infofile$(EXEEXT)
1279         $(LINK) $(infofile_OBJECTS) $(infofile_LDADD) $(LIBS)
1280 planner$(EXEEXT): $(planner_OBJECTS) $(planner_DEPENDENCIES) 
1281         @rm -f planner$(EXEEXT)
1282         $(LINK) $(planner_OBJECTS) $(planner_LDADD) $(LIBS)
1283 taper$(EXEEXT): $(taper_OBJECTS) $(taper_DEPENDENCIES) 
1284         @rm -f taper$(EXEEXT)
1285         $(LINK) $(taper_OBJECTS) $(taper_LDADD) $(LIBS)
1286 taper_source_test$(EXEEXT): $(taper_source_test_OBJECTS) $(taper_source_test_DEPENDENCIES) 
1287         @rm -f taper_source_test$(EXEEXT)
1288         $(LINK) $(taper_source_test_OBJECTS) $(taper_source_test_LDADD) $(LIBS)
1289 install-sbinSCRIPTS: $(sbin_SCRIPTS)
1290         @$(NORMAL_INSTALL)
1291         test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
1292         @list='$(sbin_SCRIPTS)'; for p in $$list; do \
1293           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
1294           if test -f $$d$$p; then \
1295             f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1296             echo " $(sbinSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(sbindir)/$$f'"; \
1297             $(sbinSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(sbindir)/$$f"; \
1298           else :; fi; \
1299         done
1300
1301 uninstall-sbinSCRIPTS:
1302         @$(NORMAL_UNINSTALL)
1303         @list='$(sbin_SCRIPTS)'; for p in $$list; do \
1304           f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
1305           echo " rm -f '$(DESTDIR)$(sbindir)/$$f'"; \
1306           rm -f "$(DESTDIR)$(sbindir)/$$f"; \
1307         done
1308
1309 mostlyclean-compile:
1310         -rm -f *.$(OBJEXT)
1311
1312 distclean-compile:
1313         -rm -f *.tab.c
1314
1315 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amadmin.Po@am__quote@
1316 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amcheck.Po@am__quote@
1317 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amcleanupdisk.Po@am__quote@
1318 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amflush.Po@am__quote@
1319 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amindex.Plo@am__quote@
1320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amindexd.Po@am__quote@
1321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amlabel.Po@am__quote@
1322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amlogroll.Po@am__quote@
1323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amservice.Po@am__quote@
1324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amtape.Po@am__quote@
1325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amtrmidx.Po@am__quote@
1326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/amtrmlog.Po@am__quote@
1327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/changer.Plo@am__quote@
1328 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chunker.Po@am__quote@
1329 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmdline.Plo@am__quote@
1330 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/disk_history.Po@am__quote@
1331 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diskfile.Plo@am__quote@
1332 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/diskfile.test.Po@am__quote@
1333 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/driver.Po@am__quote@
1334 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/driverio.Plo@am__quote@
1335 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dumper.Po@am__quote@
1336 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/find.Plo@am__quote@
1337 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/holding.Plo@am__quote@
1338 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/infofile.Plo@am__quote@
1339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/infofile.test.Po@am__quote@
1340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list_dir.Po@am__quote@
1341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/logfile.Plo@am__quote@
1342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/planner.Po@am__quote@
1343 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reporter.Po@am__quote@
1344 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server_util.Plo@am__quote@
1345 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tapefile.Plo@am__quote@
1346 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper-disk-port-source.Po@am__quote@
1347 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper-file-source.Po@am__quote@
1348 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper-mem-port-source.Po@am__quote@
1349 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper-port-source.Po@am__quote@
1350 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper-source-test.Po@am__quote@
1351 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper-source.Po@am__quote@
1352 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taper.Po@am__quote@
1353 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/taperscan.Plo@am__quote@
1354
1355 .c.o:
1356 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1357 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1358 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1359 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1360 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
1361
1362 .c.obj:
1363 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
1364 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
1365 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
1366 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1367 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
1368
1369 .c.lo:
1370 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
1371 @am__fastdepCC_TRUE@    mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
1372 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
1373 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
1374 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
1375
1376 mostlyclean-libtool:
1377         -rm -f *.lo
1378
1379 clean-libtool:
1380         -rm -rf .libs _libs
1381
1382 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1383         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1384         unique=`for i in $$list; do \
1385             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1386           done | \
1387           $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
1388               END { if (nonempty) { for (i in files) print i; }; }'`; \
1389         mkid -fID $$unique
1390 tags: TAGS
1391
1392 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1393                 $(TAGS_FILES) $(LISP)
1394         tags=; \
1395         here=`pwd`; \
1396         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1397         unique=`for i in $$list; do \
1398             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1399           done | \
1400           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1401               END { if (nonempty) { for (i in files) print i; }; }'`; \
1402         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1403           test -n "$$unique" || unique=$$empty_fix; \
1404           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1405             $$tags $$unique; \
1406         fi
1407 ctags: CTAGS
1408 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1409                 $(TAGS_FILES) $(LISP)
1410         tags=; \
1411         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1412         unique=`for i in $$list; do \
1413             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1414           done | \
1415           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1416               END { if (nonempty) { for (i in files) print i; }; }'`; \
1417         test -z "$(CTAGS_ARGS)$$tags$$unique" \
1418           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1419              $$tags $$unique
1420
1421 GTAGS:
1422         here=`$(am__cd) $(top_builddir) && pwd` \
1423           && cd $(top_srcdir) \
1424           && gtags -i $(GTAGS_ARGS) $$here
1425
1426 distclean-tags:
1427         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1428
1429 distdir: $(DISTFILES)
1430         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1431         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1432         list='$(DISTFILES)'; \
1433           dist_files=`for file in $$list; do echo $$file; done | \
1434           sed -e "s|^$$srcdirstrip/||;t" \
1435               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1436         case $$dist_files in \
1437           */*) $(MKDIR_P) `echo "$$dist_files" | \
1438                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1439                            sort -u` ;; \
1440         esac; \
1441         for file in $$dist_files; do \
1442           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1443           if test -d $$d/$$file; then \
1444             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1445             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1446               cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1447             fi; \
1448             cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1449           else \
1450             test -f $(distdir)/$$file \
1451             || cp -p $$d/$$file $(distdir)/$$file \
1452             || exit 1; \
1453           fi; \
1454         done
1455         $(MAKE) $(AM_MAKEFLAGS) \
1456           top_distdir="$(top_distdir)" distdir="$(distdir)" \
1457           dist-hook
1458 check-am: all-am
1459         $(MAKE) $(AM_MAKEFLAGS) check-local
1460 check: $(BUILT_SOURCES)
1461         $(MAKE) $(AM_MAKEFLAGS) check-am
1462 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(HEADERS)
1463 installdirs:
1464         for dir in "$(DESTDIR)$(amlibdir)" "$(DESTDIR)$(amlibexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(sbindir)"; do \
1465           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1466         done
1467 install: $(BUILT_SOURCES)
1468         $(MAKE) $(AM_MAKEFLAGS) install-am
1469 install-exec: install-exec-am
1470 install-data: install-data-am
1471 uninstall: uninstall-am
1472
1473 install-am: all-am
1474         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1475
1476 installcheck: installcheck-am
1477 install-strip:
1478         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1479           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1480           `test -z '$(STRIP)' || \
1481             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1482 mostlyclean-generic:
1483         -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
1484
1485 clean-generic:
1486         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
1487
1488 distclean-generic:
1489         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1490         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1491
1492 maintainer-clean-generic:
1493         @echo "This command is intended for maintainers to use"
1494         @echo "it deletes files that may require special tools to rebuild."
1495         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1496         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1497 clean: clean-am
1498
1499 clean-am: clean-amlibLTLIBRARIES clean-amlibexecPROGRAMS clean-generic \
1500         clean-libtool clean-noinstPROGRAMS clean-sbinPROGRAMS \
1501         mostlyclean-am
1502
1503 distclean: distclean-am
1504         -rm -rf ./$(DEPDIR)
1505         -rm -f Makefile
1506 distclean-am: clean-am distclean-compile distclean-generic \
1507         distclean-tags
1508
1509 dvi: dvi-am
1510
1511 dvi-am:
1512
1513 html: html-am
1514
1515 info: info-am
1516
1517 info-am:
1518
1519 install-data-am: install-amlibLTLIBRARIES
1520         @$(NORMAL_INSTALL)
1521         $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1522
1523 install-dvi: install-dvi-am
1524
1525 install-exec-am: install-amlibexecPROGRAMS install-sbinPROGRAMS \
1526         install-sbinSCRIPTS
1527         @$(NORMAL_INSTALL)
1528         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1529
1530 install-html: install-html-am
1531
1532 install-info: install-info-am
1533
1534 install-man:
1535
1536 install-pdf: install-pdf-am
1537
1538 install-ps: install-ps-am
1539
1540 installcheck-am: installcheck-local
1541
1542 maintainer-clean: maintainer-clean-am
1543         -rm -rf ./$(DEPDIR)
1544         -rm -f Makefile
1545 maintainer-clean-am: distclean-am maintainer-clean-generic
1546
1547 mostlyclean: mostlyclean-am
1548
1549 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1550         mostlyclean-libtool
1551
1552 pdf: pdf-am
1553
1554 pdf-am:
1555
1556 ps: ps-am
1557
1558 ps-am:
1559
1560 uninstall-am: uninstall-amlibLTLIBRARIES uninstall-amlibexecPROGRAMS \
1561         uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS
1562
1563 .MAKE: install-am install-data-am install-exec-am install-strip
1564
1565 .PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
1566         clean-amlibLTLIBRARIES clean-amlibexecPROGRAMS clean-generic \
1567         clean-libtool clean-noinstPROGRAMS clean-sbinPROGRAMS ctags \
1568         dist-hook distclean distclean-compile distclean-generic \
1569         distclean-libtool distclean-tags distdir dvi dvi-am html \
1570         html-am info info-am install install-am \
1571         install-amlibLTLIBRARIES install-amlibexecPROGRAMS \
1572         install-data install-data-am install-data-hook install-dvi \
1573         install-dvi-am install-exec install-exec-am install-exec-hook \
1574         install-html install-html-am install-info install-info-am \
1575         install-man install-pdf install-pdf-am install-ps \
1576         install-ps-am install-sbinPROGRAMS install-sbinSCRIPTS \
1577         install-strip installcheck installcheck-am installcheck-local \
1578         installdirs maintainer-clean maintainer-clean-generic \
1579         mostlyclean mostlyclean-compile mostlyclean-generic \
1580         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
1581         uninstall-am uninstall-amlibLTLIBRARIES \
1582         uninstall-amlibexecPROGRAMS uninstall-sbinPROGRAMS \
1583         uninstall-sbinSCRIPTS
1584
1585
1586 # Perl
1587 %: %.pl $(top_builddir)/config.status
1588         $(top_builddir)/config.status --file=$@:$<
1589         chmod a+x $@
1590         @if test -f $(top_builddir)/perl/.libs/libCmdline.so -o -f $(top_builddir)/perl/libCmdline.so; then \
1591                 grep -v '^use lib' $@ > $@.nouselib; \
1592                 $(PERL) $(CHECK_PERL_FLAGS) -I$(top_builddir)/perl -I$(top_builddir)/perl/.libs -I$(top_srcdir)/perl -c -w -T $@.nouselib || exit 1; \
1593                 rm $@.nouselib; \
1594         fi
1595
1596 %.pl: %.pl.in $(top_builddir)/config.status
1597         $(top_builddir)/config.status --file=$@:$<
1598
1599 %.pm: %.pm.in $(top_builddir)/config.status
1600         $(top_builddir)/config.status --file=$@:$<
1601
1602 # Shell
1603 %: %.sh $(top_builddir)/config.status
1604         $(top_builddir)/config.status --file=$@:$<
1605         chmod a+x $@
1606
1607 %.sh: %.sh.in $(top_builddir)/config.status
1608         $(top_builddir)/config.status --file=$@:$<
1609
1610 # Awk
1611 %: %.awk $(top_builddir)/config.status
1612         $(top_builddir)/config.status --file=$@:$<
1613         chmod a+x $@
1614
1615 %.awk: %.awk.in $(top_builddir)/config.status
1616         $(top_builddir)/config.status --file=$@:$<
1617
1618 # syntax-check perl scripts on 'make check'
1619 check-perl: $(CHECK_PERL)
1620         @CHECK_PERL="$(CHECK_PERL)"; \
1621         if test -f $(top_builddir)/perl/.libs/libCmdline.so -o -f $(top_builddir)/perl/libCmdline.so; then \
1622                 if test -n "$(PERL)"; then \
1623                         for perlobj in $$CHECK_PERL; do \
1624                                 grep -v '^use lib' $$perlobj > $$perlobj.nouselib; \
1625                                 $(PERL) $(CHECK_PERL_FLAGS) -I$(top_builddir)/perl -I$(top_builddir)/perl/.libs -I$(top_srcdir)/perl -c -w -T $$perlobj.nouselib || exit 1; \
1626                                 rm $$perlobj.nouselib; \
1627                         done; \
1628                 fi \
1629         fi
1630 check-local: check-perl
1631
1632 # syntax-check perl scripts on 'make installcheck'
1633 installcheck-perl: $(CHECK_PERL)
1634         @CHECK_PERL="$(CHECK_PERL)"; \
1635         if test -n "$(PERL)"; then \
1636                 for perlobj in $$CHECK_PERL; do \
1637                         $(PERL) $(CHECK_PERL_FLAGS) -c -w -T $$perlobj || exit 1; \
1638                 done; \
1639         fi
1640 installcheck-local: installcheck-perl
1641 check-shell: $(CHECK_SHELL)
1642         @CHECK_SHELL="$(CHECK_SHELL)"; \
1643         if test -n "$$CHECK_SHELL"; then \
1644                 if test -n "$(BASH)"; then \
1645                         for shobj in $$CHECK_SHELL; do \
1646                                 if $(BASH) -n $$shobj; then \
1647                                         echo "$$shobj syntax OK"; \
1648                                 else \
1649                                         echo "$$shobj syntax error"; \
1650                                         exit 1; \
1651                                 fi; \
1652                         done; \
1653                 else \
1654                         echo "No 'bash' available -- cannot syntax-check shell scripts"; \
1655                 fi; \
1656         fi
1657 check-local: check-shell
1658
1659 # make sure that the sources for all shell and perl scripts get included
1660 # in the distribution
1661 dist-scripts:
1662         SCRIPTS_PERL="$(SCRIPTS_PERL)"; SCRIPTS_SHELL="$(SCRIPTS_SHELL)"; SCRIPTS_AWK="$(SCRIPTS_AWK)"; \
1663         for script in $$SCRIPTS_PERL; do \
1664                 test -f $(srcdir)/$${script}.pl && { cp -p $(srcdir)/$${script}.pl $(distdir)/ || exit 1; } \
1665         done; \
1666         for script in $$SCRIPTS_SHELL; do \
1667                 test -f $(srcdir)/$${script}.sh && { cp -p $(srcdir)/$${script}.sh $(distdir)/ || exit 1; } \
1668         done; \
1669         for script in $$SCRIPTS_AWK; do \
1670                 test -f $(srcdir)/$${script}.awk && { cp -p $(srcdir)/$${script}.awk $(distdir)/ || exit 1; } \
1671         done; \
1672         for script in $$SCRIPTS_SHELL $$SCRIPTS_PERL $$SCRIPTS_AWK; do \
1673                 test -f $(srcdir)/$${script}.in && { cp -p $(srcdir)/$${script}.in $(distdir)/ || exit 1; } \
1674         done; \
1675         true
1676 dist-hook: dist-scripts
1677
1678 installperms-exec:
1679         @installperms="$(INSTALLPERMS_exec)"; \
1680         test -n "$$installperms" && echo "Setting installation permissions on executables"; \
1681         dest=; chown=; chmod=; \
1682         for cmd in $$installperms; do \
1683             case "$$cmd" in \
1684                 chown=amanda) \
1685                         echo "  ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1686                 dest=*|chown=*|chmod=*) \
1687                         echo "  ($$cmd)"; eval $$cmd;; \
1688                 *) $(do_file) ;; \
1689             esac; \
1690         done
1691
1692 installperms-data:
1693         @installperms="$(INSTALLPERMS_data)"; \
1694         dest=; chown=; chmod=; \
1695         for cmd in $$installperms; do \
1696             case "$$cmd" in \
1697                 chown=amanda) \
1698                         echo "  ($$cmd)"; chown="$(BINARY_OWNER):$(SETUID_GROUP)";; \
1699                 dest=*|chown=*|chmod=*) \
1700                         echo "  ($$cmd)"; eval $$cmd;; \
1701                 *)  $(do_file) ;; \
1702             esac; \
1703         done
1704
1705 install-exec-hook: installperms-exec
1706 install-data-hook: installperms-data
1707
1708 # define a rule to initialize the installperms manifest file
1709 @WANT_INSTALLPERMS_TRUE@installperms-init:
1710 @WANT_INSTALLPERMS_FALSE@installperms-init:
1711 @WANT_INSTALLPERMS_FALSE@       rm -f "$(installperms_sh)"
1712
1713 # A rule to make precompiler output from C files.  This is not used during
1714 # ordinary builds, but but can very useful in debugging problems on strange
1715 # architectures.  With this rule, we can ask users to 'make foo.i' and send
1716 # the result to us.
1717 #
1718 # It touches some automake internals ($COMPILE), but since it's not
1719 # build-critical, that's OK.
1720 %.i : %.c
1721         $(COMPILE) -E -o $@ $<
1722
1723 lint:
1724         @ for p in $(amlibexec_PROGRAMS) $(sbin_PROGRAMS); do                   \
1725                 p=`basename $$p $(EXEEXT)`;                                     \
1726                 if [ $$p = "amindexd" ]; then                                   \
1727                         s="$(amindexd_CSRC)";                                   \
1728                 elif [ $$p = "amreport" ]; then                                 \
1729                         s="$(amreport_SOURCES)";                                \
1730                 else                                                            \
1731                         s=$$p.c;                                                \
1732                 fi;                                                             \
1733                 f="$$s $(libamserver_la_SOURCES)";                              \
1734                 (cd ../common-src; make listlibsrc);                            \
1735                 f="$$f "`cat ../common-src/listlibsrc.output`;                  \
1736                 echo $(LINT) $$f;                                               \
1737                 $(LINT) $(LINTFLAGS) $(CPPFLAGS) $(DEFS) -I. -I$(top_builddir)/config   \
1738                     $(INCLUDES) $$f;                                            \
1739                 if [ $$? -ne 0 ]; then                                          \
1740                     exit 1;                                                     \
1741                 fi;                                                             \
1742         done;                                                                   \
1743         exit 0
1744
1745 listlibsrc:
1746         @ for p in $(libamserver_la_SOURCES); do                \
1747                 listlibsrcs="$$listlibsrcs `pwd`/$$p";          \
1748         done;                                                   \
1749         echo $$listlibsrcs >listlibsrc.output
1750
1751 %.test.c: $(srcdir)/%.c
1752         echo '#define TEST' >$@
1753         echo '#include "$<"' >>$@
1754 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1755 # Otherwise a system limit (for SysV at least) may be exceeded.
1756 .NOEXPORT: