~ubuntu-branches/ubuntu/precise/nagios-plugins/precise-proposed

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2004-06-15 15:37:48 UTC
  • Revision ID: james.westby@ubuntu.com-20040615153748-pq7702qdzghqfcns
Tags: upstream-1.3.1.0
ImportĀ upstreamĀ versionĀ 1.3.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.6.3 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
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.
 
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
SHELL = @SHELL@
 
17
 
 
18
srcdir = @srcdir@
 
19
top_srcdir = @top_srcdir@
 
20
VPATH = @srcdir@
 
21
prefix = @prefix@
 
22
exec_prefix = @exec_prefix@
 
23
 
 
24
bindir = @bindir@
 
25
sbindir = @sbindir@
 
26
libexecdir = @libexecdir@
 
27
datadir = @datadir@
 
28
sysconfdir = @sysconfdir@
 
29
sharedstatedir = @sharedstatedir@
 
30
localstatedir = @localstatedir@
 
31
libdir = @libdir@
 
32
infodir = @infodir@
 
33
mandir = @mandir@
 
34
includedir = @includedir@
 
35
oldincludedir = /usr/include
 
36
pkgdatadir = $(datadir)/@PACKAGE@
 
37
pkglibdir = $(libdir)/@PACKAGE@
 
38
pkgincludedir = $(includedir)/@PACKAGE@
 
39
top_builddir = .
 
40
 
 
41
ACLOCAL = @ACLOCAL@
 
42
AUTOCONF = @AUTOCONF@
 
43
AUTOMAKE = @AUTOMAKE@
 
44
AUTOHEADER = @AUTOHEADER@
 
45
 
 
46
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
47
INSTALL = @INSTALL@
 
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@
 
56
NORMAL_INSTALL = :
 
57
PRE_INSTALL = :
 
58
POST_INSTALL = :
 
59
NORMAL_UNINSTALL = :
 
60
PRE_UNINSTALL = :
 
61
POST_UNINSTALL = :
 
62
 
 
63
EXEEXT = @EXEEXT@
 
64
OBJEXT = @OBJEXT@
 
65
PATH_SEPARATOR = @PATH_SEPARATOR@
 
66
AMTAR = @AMTAR@
 
67
AWK = @AWK@
 
68
BASENAME = @BASENAME@
 
69
CC = @CC@
 
70
DEPDIR = @DEPDIR@
 
71
DEPLIBS = @DEPLIBS@
 
72
EXTRAS = @EXTRAS@
 
73
HOSTNAME = @HOSTNAME@
 
74
INSTALL_OPTS = @INSTALL_OPTS@
 
75
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
76
KRBINCLUDE = @KRBINCLUDE@
 
77
LDAPINCLUDE = @LDAPINCLUDE@
 
78
LDAPLIBS = @LDAPLIBS@
 
79
MYSQLINCLUDE = @MYSQLINCLUDE@
 
80
MYSQLLIBS = @MYSQLLIBS@
 
81
NEED_VA_LIST = @NEED_VA_LIST@
 
82
OPENSSL = @OPENSSL@
 
83
PACKAGE = @PACKAGE@
 
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@
 
108
PERL = @PERL@
 
109
PGINCLUDE = @PGINCLUDE@
 
110
PGLIBS = @PGLIBS@
 
111
PLUGIN_TEST = @PLUGIN_TEST@
 
112
PYTHON = @PYTHON@
 
113
RADIUSLIBS = @RADIUSLIBS@
 
114
RANLIB = @RANLIB@
 
115
REL = @REL@
 
116
SCRIPT_TEST = @SCRIPT_TEST@
 
117
SH = @SH@
 
118
SOCKETLIBS = @SOCKETLIBS@
 
119
SSLINCLUDE = @SSLINCLUDE@
 
120
SSLLIBS = @SSLLIBS@
 
121
STRIP = @STRIP@
 
122
SUPPORT = @SUPPORT@
 
123
VER = @VER@
 
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@
 
134
 
 
135
SUBDIRS = lib plugins plugins-scripts
 
136
 
 
137
EXTRA_DIST = CODING FAQ LEGAL REQUIREMENTS SUPPORT \
 
138
acconfig.h subst.in subst.sh Helper.pm  \
 
139
contrib nagios-plugins.spec.in
 
140
 
 
141
 
 
142
ACLOCAL_AMFLAGS = -I lib
 
143
 
 
144
# Solaris pkgmk
 
145
PACKDIR = build-pkg
 
146
subdir = .
 
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
 
155
DIST_SOURCES =
 
156
 
 
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)
 
166
all: all-recursive
 
167
 
 
168
.SUFFIXES:
 
169
 
 
170
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 
171
 configure.lineno
 
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)
 
177
 
 
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)
 
182
 
 
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 $@
 
191
uninstall-info-am:
 
192
 
 
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; \
 
201
        dot_seen=no; \
 
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 \
 
206
            dot_seen=yes; \
 
207
            local_target="$$target-am"; \
 
208
          else \
 
209
            local_target="$$target"; \
 
210
          fi; \
 
211
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
212
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
213
        done; \
 
214
        if test "$$dot_seen" = "no"; then \
 
215
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
216
        fi; test -z "$$fail"
 
217
 
 
218
mostlyclean-recursive clean-recursive distclean-recursive \
 
219
maintainer-clean-recursive:
 
220
        @set fnord $$MAKEFLAGS; amf=$$2; \
 
221
        dot_seen=no; \
 
222
        case "$@" in \
 
223
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
224
          *) list='$(SUBDIRS)' ;; \
 
225
        esac; \
 
226
        rev=''; for subdir in $$list; do \
 
227
          if test "$$subdir" = "."; then :; else \
 
228
            rev="$$subdir $$rev"; \
 
229
          fi; \
 
230
        done; \
 
231
        rev="$$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"; \
 
237
          else \
 
238
            local_target="$$target"; \
 
239
          fi; \
 
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"
 
243
tags-recursive:
 
244
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
245
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
246
        done
 
247
 
 
248
ETAGS = etags
 
249
ETAGSFLAGS =
 
250
 
 
251
tags: TAGS
 
252
 
 
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; \
 
257
          done | \
 
258
          $(AWK) '    { files[$$0] = 1; } \
 
259
               END { for (i in files) print i; }'`; \
 
260
        mkid -fID $$unique
 
261
 
 
262
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
263
                $(TAGS_FILES) $(LISP)
 
264
        tags=; \
 
265
        here=`pwd`; \
 
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"; \
 
269
          fi; \
 
270
        done; \
 
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; \
 
274
          done | \
 
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) \
 
279
             $$tags $$unique
 
280
 
 
281
GTAGS:
 
282
        here=`$(am__cd) $(top_builddir) && pwd` \
 
283
          && cd $(top_srcdir) \
 
284
          && gtags -i $(GTAGS_ARGS) $$here
 
285
 
 
286
distclean-tags:
 
287
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
 
288
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
289
 
 
290
top_distdir = .
 
291
distdir = $(PACKAGE)-$(VERSION)
 
292
 
 
293
am__remove_distdir = \
 
294
  { test ! -d $(distdir) \
 
295
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
 
296
         && rm -fr $(distdir); }; }
 
297
 
 
298
GZIP_ENV = --best
 
299
distcleancheck_listfiles = find . -type f -print
 
300
 
 
301
distdir: $(DISTFILES)
 
302
        $(am__remove_distdir)
 
303
        mkdir $(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 \
 
309
            dir="/$$dir"; \
 
310
            $(mkinstalldirs) "$(distdir)$$dir"; \
 
311
          else \
 
312
            dir=''; \
 
313
          fi; \
 
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; \
 
317
            fi; \
 
318
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
319
          else \
 
320
            test -f $(distdir)/$$file \
 
321
            || cp -p $$d/$$file $(distdir)/$$file \
 
322
            || exit 1; \
 
323
          fi; \
 
324
        done
 
325
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
326
          if test "$$subdir" = .; then :; else \
 
327
            test -d $(distdir)/$$subdir \
 
328
            || mkdir $(distdir)/$$subdir \
 
329
            || exit 1; \
 
330
            (cd $$subdir && \
 
331
              $(MAKE) $(AM_MAKEFLAGS) \
 
332
                top_distdir="$(top_distdir)" \
 
333
                distdir=../$(distdir)/$$subdir \
 
334
                distdir) \
 
335
              || exit 1; \
 
336
          fi; \
 
337
        done
 
338
        $(MAKE) $(AM_MAKEFLAGS) \
 
339
          top_distdir="${top_distdir}" distdir="$(distdir)" \
 
340
          dist-hook
 
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)
 
346
dist-gzip: distdir
 
347
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
348
        $(am__remove_distdir)
 
349
 
 
350
dist dist-all: distdir
 
351
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 
352
        $(am__remove_distdir)
 
353
 
 
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
 
356
# tarfile.
 
357
distcheck: dist
 
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
 
363
        chmod a-w $(distdir)
 
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 ; \
 
377
                   exit 1; } >&2 ) \
 
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" ; \
 
387
          exit 1 ; \
 
388
        fi
 
389
        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
 
390
          || { echo "ERROR: files left after distclean:" ; \
 
391
               $(distcleancheck_listfiles) ; \
 
392
               exit 1; } >&2
 
393
check-am: all-am
 
394
check: check-recursive
 
395
all-am: Makefile
 
396
installdirs: installdirs-recursive
 
397
installdirs-am:
 
398
 
 
399
install: install-recursive
 
400
install-exec: install-exec-recursive
 
401
install-data: install-data-recursive
 
402
uninstall: uninstall-recursive
 
403
 
 
404
install-am: all-am
 
405
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
406
 
 
407
installcheck: installcheck-recursive
 
408
install-strip:
 
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
 
413
mostlyclean-generic:
 
414
 
 
415
clean-generic:
 
416
 
 
417
distclean-generic:
 
418
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
 
419
 
 
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
 
424
 
 
425
clean-am: clean-generic mostlyclean-am
 
426
 
 
427
distclean: distclean-recursive
 
428
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
 
429
distclean-am: clean-am distclean-generic distclean-tags
 
430
 
 
431
dvi: dvi-recursive
 
432
 
 
433
dvi-am:
 
434
 
 
435
info: info-recursive
 
436
 
 
437
info-am:
 
438
 
 
439
install-data-am:
 
440
 
 
441
install-exec-am:
 
442
 
 
443
install-info: install-info-recursive
 
444
 
 
445
install-man:
 
446
 
 
447
installcheck-am:
 
448
 
 
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
 
453
 
 
454
mostlyclean: mostlyclean-recursive
 
455
 
 
456
mostlyclean-am: mostlyclean-generic
 
457
 
 
458
uninstall-am: uninstall-info-am
 
459
 
 
460
uninstall-info: uninstall-info-recursive
 
461
 
 
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
 
476
 
 
477
 
 
478
dist-hook:
 
479
        sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $(srcdir)/nagios-plugins.spec.in > $(distdir)/nagios-plugins.spec
 
480
 
 
481
test:
 
482
        cd plugins; $(MAKE) test
 
483
        cd plugins-scripts; $(MAKE) test
 
484
 
 
485
nagios-plugins.spec: nagios-plugins.spec.in
 
486
        sed "s/%%{VER}/${VER}/;s/%%{REL}/${REL}/;" $? > $@
 
487
 
 
488
Prototype:
 
489
        if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi
 
490
        cd build-solaris
 
491
        $(MAKE) all
 
492
        $(MAKE) DESTDIR=../$(PACKDIR) install
 
493
        cd ..
 
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
 
499
 
 
500
pkgmap: ../Prototype
 
501
        mkdir -p $(PACKDIR)/nagiosp
 
502
        cd $(PACKDIR)/nagiosp
 
503
        pkgmk -o -r / -f ../Prototype -d $(PACKDIR) nagiosp
 
504
        cd ..
 
505
 
 
506
nagios.SPARC.pkg.tar.gz: pkgmap
 
507
        cd $(PACKDIR) && tar -cf - nagiosp | gzip -9 -c > ../nagiosp.SPARC.pkg.tar.gz
 
508
 
 
509
pkgset: nagiosp.SPARC.pkg.tar.gz
 
510
 
 
511
pkgclean:
 
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.
 
515
.NOEXPORT: