1
# Makefile.in generated by automake 1.6.3 from Makefile.am.
4
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
5
# Free Software Foundation, Inc.
6
# This Makefile.in is free software; the Free Software Foundation
7
# gives unlimited permission to copy and/or distribute it,
8
# with or without modifications, as long as this notice is preserved.
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19
top_srcdir = @top_srcdir@
22
exec_prefix = @exec_prefix@
26
libexecdir = @libexecdir@
28
sysconfdir = @sysconfdir@
29
sharedstatedir = @sharedstatedir@
30
localstatedir = @localstatedir@
34
includedir = @includedir@
35
oldincludedir = /usr/include
36
pkgdatadir = $(datadir)/@PACKAGE@
37
pkglibdir = $(libdir)/@PACKAGE@
38
pkgincludedir = $(includedir)/@PACKAGE@
44
AUTOHEADER = @AUTOHEADER@
46
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
48
INSTALL_PROGRAM = @INSTALL_PROGRAM@
49
INSTALL_DATA = @INSTALL_DATA@
50
install_sh_DATA = $(install_sh) -c -m 644
51
install_sh_PROGRAM = $(install_sh) -c
52
install_sh_SCRIPT = $(install_sh) -c
53
INSTALL_SCRIPT = @INSTALL_SCRIPT@
54
INSTALL_HEADER = $(INSTALL_DATA)
55
transform = @program_transform_name@
65
PATH_SEPARATOR = @PATH_SEPARATOR@
74
INSTALL_OPTS = @INSTALL_OPTS@
75
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
76
KRBINCLUDE = @KRBINCLUDE@
77
LDAPINCLUDE = @LDAPINCLUDE@
79
MYSQLINCLUDE = @MYSQLINCLUDE@
80
MYSQLLIBS = @MYSQLLIBS@
81
NEED_VA_LIST = @NEED_VA_LIST@
84
PACKAGE_RELEASE = @PACKAGE_RELEASE@
85
PACKAGE_VERSION = @PACKAGE_VERSION@
86
PATH_TO_DF = @PATH_TO_DF@
87
PATH_TO_DIG = @PATH_TO_DIG@
88
PATH_TO_FPING = @PATH_TO_FPING@
89
PATH_TO_HOST = @PATH_TO_HOST@
90
PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
91
PATH_TO_MAILQ = @PATH_TO_MAILQ@
92
PATH_TO_NSLOOKUP = @PATH_TO_NSLOOKUP@
93
PATH_TO_NTPDATE = @PATH_TO_NTPDATE@
94
PATH_TO_NTPDC = @PATH_TO_NTPDC@
95
PATH_TO_NTPQ = @PATH_TO_NTPQ@
96
PATH_TO_PING = @PATH_TO_PING@
97
PATH_TO_PS = @PATH_TO_PS@
98
PATH_TO_QSTAT = @PATH_TO_QSTAT@
99
PATH_TO_QUAKESTAT = @PATH_TO_QUAKESTAT@
100
PATH_TO_RPCINFO = @PATH_TO_RPCINFO@
101
PATH_TO_SMBCLIENT = @PATH_TO_SMBCLIENT@
102
PATH_TO_SNMPGET = @PATH_TO_SNMPGET@
103
PATH_TO_SNMPGETNEXT = @PATH_TO_SNMPGETNEXT@
104
PATH_TO_SSH = @PATH_TO_SSH@
105
PATH_TO_SWAP = @PATH_TO_SWAP@
106
PATH_TO_UPTIME = @PATH_TO_UPTIME@
107
PATH_TO_WHO = @PATH_TO_WHO@
109
PGINCLUDE = @PGINCLUDE@
111
PLUGIN_TEST = @PLUGIN_TEST@
113
RADIUSLIBS = @RADIUSLIBS@
116
SCRIPT_TEST = @SCRIPT_TEST@
118
SOCKETLIBS = @SOCKETLIBS@
119
SSLINCLUDE = @SSLINCLUDE@
124
VERSION = @PACKAGE_VERSION@
125
WARRANTY = @WARRANTY@
126
am__include = @am__include@
127
am__quote = @am__quote@
128
check_mysql_LDFLAGS = @check_mysql_LDFLAGS@
129
check_tcp_ssl = @check_tcp_ssl@
130
install_sh = @install_sh@
131
nagios_grp = @nagios_grp@
132
nagios_usr = @nagios_usr@
133
trusted_path = @trusted_path@
135
SUBDIRS = lib plugins plugins-scripts
137
EXTRA_DIST = CODING FAQ LEGAL REQUIREMENTS SUPPORT \
138
acconfig.h subst.in subst.sh Helper.pm \
139
contrib nagios-plugins.spec.in
142
ACLOCAL_AMFLAGS = -I lib
147
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
148
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
149
CONFIG_HEADER = $(top_builddir)/plugins/config.h \
150
$(top_builddir)/plugins/common.h \
151
$(top_builddir)/plugins/version.h \
152
$(top_builddir)/plugins/netutils.h \
153
$(top_builddir)/plugins/utils.h $(top_builddir)/plugins/popen.h
154
CONFIG_CLEAN_FILES = subst command.cfg test.pl
157
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
158
uninstall-info-recursive all-recursive install-data-recursive \
159
install-exec-recursive installdirs-recursive install-recursive \
160
uninstall-recursive check-recursive installcheck-recursive
161
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
162
Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 \
163
command.cfg.in configure configure.in depcomp install-sh \
164
missing mkinstalldirs subst.in test.pl.in
165
DIST_SUBDIRS = $(SUBDIRS)
170
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
172
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
173
cd $(top_srcdir) && \
174
$(AUTOMAKE) --gnu Makefile
175
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
176
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
178
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
179
$(SHELL) ./config.status --recheck
180
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
181
cd $(srcdir) && $(AUTOCONF)
183
$(ACLOCAL_M4): configure.in acinclude.m4
184
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
185
subst: $(top_builddir)/config.status subst.in
186
cd $(top_builddir) && $(SHELL) ./config.status $@
187
command.cfg: $(top_builddir)/config.status command.cfg.in
188
cd $(top_builddir) && $(SHELL) ./config.status $@
189
test.pl: $(top_builddir)/config.status test.pl.in
190
cd $(top_builddir) && $(SHELL) ./config.status $@
193
# This directory's subdirectories are mostly independent; you can cd
194
# into them and run `make' without going through this Makefile.
195
# To change the values of `make' variables: instead of editing Makefiles,
196
# (1) if the variable is set in `config.status', edit `config.status'
197
# (which will cause the Makefiles to be regenerated when you run `make');
198
# (2) otherwise, pass the desired values on the `make' command line.
199
$(RECURSIVE_TARGETS):
200
@set fnord $$MAKEFLAGS; amf=$$2; \
202
target=`echo $@ | sed s/-recursive//`; \
203
list='$(SUBDIRS)'; for subdir in $$list; do \
204
echo "Making $$target in $$subdir"; \
205
if test "$$subdir" = "."; then \
207
local_target="$$target-am"; \
209
local_target="$$target"; \
211
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
212
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
214
if test "$$dot_seen" = "no"; then \
215
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
218
mostlyclean-recursive clean-recursive distclean-recursive \
219
maintainer-clean-recursive:
220
@set fnord $$MAKEFLAGS; amf=$$2; \
223
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
224
*) list='$(SUBDIRS)' ;; \
226
rev=''; for subdir in $$list; do \
227
if test "$$subdir" = "."; then :; else \
228
rev="$$subdir $$rev"; \
232
target=`echo $@ | sed s/-recursive//`; \
233
for subdir in $$rev; do \
234
echo "Making $$target in $$subdir"; \
235
if test "$$subdir" = "."; then \
236
local_target="$$target-am"; \
238
local_target="$$target"; \
240
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
241
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
242
done && test -z "$$fail"
244
list='$(SUBDIRS)'; for subdir in $$list; do \
245
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
253
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
254
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
255
unique=`for i in $$list; do \
256
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
258
$(AWK) ' { files[$$0] = 1; } \
259
END { for (i in files) print i; }'`; \
262
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
263
$(TAGS_FILES) $(LISP)
266
list='$(SUBDIRS)'; for subdir in $$list; do \
267
if test "$$subdir" = .; then :; else \
268
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
271
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
272
unique=`for i in $$list; do \
273
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
275
$(AWK) ' { files[$$0] = 1; } \
276
END { for (i in files) print i; }'`; \
277
test -z "$(ETAGS_ARGS)$$tags$$unique" \
278
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
282
here=`$(am__cd) $(top_builddir) && pwd` \
283
&& cd $(top_srcdir) \
284
&& gtags -i $(GTAGS_ARGS) $$here
287
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
288
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
291
distdir = $(PACKAGE)-$(VERSION)
293
am__remove_distdir = \
294
{ test ! -d $(distdir) \
295
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
296
&& rm -fr $(distdir); }; }
299
distcleancheck_listfiles = find . -type f -print
301
distdir: $(DISTFILES)
302
$(am__remove_distdir)
304
$(mkinstalldirs) $(distdir)/. $(distdir)/plugins-scripts
305
@list='$(DISTFILES)'; for file in $$list; do \
306
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
307
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
308
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
310
$(mkinstalldirs) "$(distdir)$$dir"; \
314
if test -d $$d/$$file; then \
315
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
316
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
318
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
320
test -f $(distdir)/$$file \
321
|| cp -p $$d/$$file $(distdir)/$$file \
325
list='$(SUBDIRS)'; for subdir in $$list; do \
326
if test "$$subdir" = .; then :; else \
327
test -d $(distdir)/$$subdir \
328
|| mkdir $(distdir)/$$subdir \
331
$(MAKE) $(AM_MAKEFLAGS) \
332
top_distdir="$(top_distdir)" \
333
distdir=../$(distdir)/$$subdir \
338
$(MAKE) $(AM_MAKEFLAGS) \
339
top_distdir="${top_distdir}" distdir="$(distdir)" \
341
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
342
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
343
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
344
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
345
|| chmod -R a+r $(distdir)
347
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
348
$(am__remove_distdir)
350
dist dist-all: distdir
351
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
352
$(am__remove_distdir)
354
# This target untars the dist file and tries a VPATH configuration. Then
355
# it guarantees that the distribution is self-contained by making another
358
$(am__remove_distdir)
359
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
360
chmod -R a-w $(distdir); chmod a+w $(distdir)
361
mkdir $(distdir)/=build
362
mkdir $(distdir)/=inst
364
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
365
&& cd $(distdir)/=build \
366
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
367
$(DISTCHECK_CONFIGURE_FLAGS) \
368
&& $(MAKE) $(AM_MAKEFLAGS) \
369
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
370
&& $(MAKE) $(AM_MAKEFLAGS) check \
371
&& $(MAKE) $(AM_MAKEFLAGS) install \
372
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
373
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
374
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
375
|| { echo "ERROR: files left after uninstall:" ; \
376
find $$dc_install_base -type f -print ; \
378
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
379
&& rm -f $(distdir).tar.gz \
380
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
381
$(am__remove_distdir)
382
@echo "$(distdir).tar.gz is ready for distribution" | \
383
sed 'h;s/./=/g;p;x;p;x'
384
distcleancheck: distclean
385
if test '$(srcdir)' = . ; then \
386
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
389
test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
390
|| { echo "ERROR: files left after distclean:" ; \
391
$(distcleancheck_listfiles) ; \
394
check: check-recursive
396
installdirs: installdirs-recursive
399
install: install-recursive
400
install-exec: install-exec-recursive
401
install-data: install-data-recursive
402
uninstall: uninstall-recursive
405
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
407
installcheck: installcheck-recursive
409
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
410
INSTALL_STRIP_FLAG=-s \
411
`test -z '$(STRIP)' || \
412
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
418
-rm -f Makefile $(CONFIG_CLEAN_FILES)
420
maintainer-clean-generic:
421
@echo "This command is intended for maintainers to use"
422
@echo "it deletes files that may require special tools to rebuild."
423
clean: clean-recursive
425
clean-am: clean-generic mostlyclean-am
427
distclean: distclean-recursive
428
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
429
distclean-am: clean-am distclean-generic distclean-tags
443
install-info: install-info-recursive
449
maintainer-clean: maintainer-clean-recursive
450
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
451
-rm -rf autom4te.cache
452
maintainer-clean-am: distclean-am maintainer-clean-generic
454
mostlyclean: mostlyclean-recursive
456
mostlyclean-am: mostlyclean-generic
458
uninstall-am: uninstall-info-am
460
uninstall-info: uninstall-info-recursive
462
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
463
clean-generic clean-recursive dist dist-all dist-gzip distcheck \
464
distclean distclean-generic distclean-recursive distclean-tags \
465
distcleancheck distdir dvi dvi-am dvi-recursive info info-am \
466
info-recursive install install-am install-data install-data-am \
467
install-data-recursive install-exec install-exec-am \
468
install-exec-recursive install-info install-info-am \
469
install-info-recursive install-man install-recursive \
470
install-strip installcheck installcheck-am installdirs \
471
installdirs-am installdirs-recursive maintainer-clean \
472
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
473
mostlyclean-generic mostlyclean-recursive tags tags-recursive \
474
uninstall uninstall-am uninstall-info-am \
475
uninstall-info-recursive uninstall-recursive
479
sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
482
cd plugins; $(MAKE) test
483
cd plugins-scripts; $(MAKE) test
485
nagios-plugins.spec: nagios-plugins.spec.in
486
sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $? > $@
489
if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi
492
$(MAKE) DESTDIR=../$(PACKDIR) install
494
echo i pkginfo> Prototype
495
if [ -f checkinstall ] ; then echo i checkinstall>> Prototype; fi
496
if [ -f preinstall ] ; then echo i preinstall>> Prototype; fi
497
if [ -f postinstall ] ; then echo i postinstall>> Prototype; fi
498
pkgproto $(PACKDIR)=/ | sed -e "s|$(LOGNAME) $(GROUP)$$|root root|" | egrep -v "(s|d) none (/|/etc|/var|/usr|/usr/local) " >> Prototype
501
mkdir -p $(PACKDIR)/nagiosp
502
cd $(PACKDIR)/nagiosp
503
pkgmk -o -r / -f ../Prototype -d $(PACKDIR) nagiosp
506
nagios.SPARC.pkg.tar.gz: pkgmap
507
cd $(PACKDIR) && tar -cf - nagiosp | gzip -9 -c > ../nagiosp.SPARC.pkg.tar.gz
509
pkgset: nagiosp.SPARC.pkg.tar.gz
512
rm -rf Prototype nagiosp.SPARC.pkg.tar.gz
513
# Tell versions [3.59,3.63) of GNU make to not export all variables.
514
# Otherwise a system limit (for SysV at least) may be exceeded.