1
# Makefile.in generated by automake 1.6.3 from Makefile.am.
2
# plugins/Makefile. Generated from Makefile.in by configure.
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
18
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
19
# auto makefile for the ntop plugins.
20
# (this file is processed with 'automake' to produce Makefile.in)
21
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
23
# Luca Deri <deri@ntop.org>
24
# Rocco Carbone <rocco@ntop.org>
26
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
28
# This program is free software; you can redistribute it and/or modify
29
# it under the terms of the GNU General Public License as published by
30
# the Free Software Foundation; either version 2 of the License, or
31
# (at your option) any later version.
33
# This program is distributed in the hope that it will be useful,
34
# but WITHOUT ANY WARRANTY; without even the implied warranty of
35
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36
# GNU General Public License for more details.
38
# You should have received a copy of the GNU General Public License
39
# along with this program; if not, write to the Free Software
40
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
48
exec_prefix = ${prefix}
51
sbindir = ${exec_prefix}/sbin
52
libexecdir = ${exec_prefix}/libexec
53
datadir = ${prefix}/share
55
sharedstatedir = ${prefix}/com
56
localstatedir = /var/lib
58
infodir = ${prefix}/info
59
mandir = /usr/share/man
60
includedir = ${prefix}/include
61
oldincludedir = /usr/include
62
pkgdatadir = $(datadir)/ntop
63
pkglibdir = $(libdir)/ntop
64
pkgincludedir = $(includedir)/ntop
70
AUTOHEADER = autoheader
72
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
73
INSTALL = /usr/bin/install -c
74
INSTALL_PROGRAM = ${INSTALL}
75
INSTALL_DATA = ${INSTALL} -m 644
76
install_sh_DATA = $(install_sh) -c -m 644
77
install_sh_PROGRAM = $(install_sh) -c
78
install_sh_SCRIPT = $(install_sh) -c
79
INSTALL_SCRIPT = ${INSTALL}
80
INSTALL_HEADER = $(INSTALL_DATA)
89
host_triplet = i686-pc-linux-gnu
94
AMTAR = ${SHELL} /home/ola/build/ntop/ntop-3.0/missing --run tar
99
CFG_CONFIGFILE_DIR = /etc/ntop
100
CFG_DATAFILE_DIR = /usr/share/ntop
101
CFG_DBFILE_DIR = /var/lib/ntop
102
CFG_PLUGIN_DIR = /usr/lib/ntop/plugins
103
CFG_RUN_DIR = /var/lib/ntop
105
DEFS = -DHAVE_CONFIG_H
109
INCS = -I/usr/include -I/home/ola/build/ntop/ntop-3.0/myrrd
110
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
112
LIBTOOL = $(SHELL) $(top_builddir)/libtool
113
LIBTOOL_DEPS = ./ltconfig ./ltmain.sh
115
MAKE_SHARED_LIBRARY_PARM = -bundle -flat_namespace -undefined suppress
117
NTOP_VERSION_EXTRA = SourceForge .tgz
122
SCRIPTVER = v3.0-000-2004-03-21
126
am__include = include
128
install_sh = /home/ola/build/ntop/ntop-3.0/install-sh
132
PLUGIN_DIST_COMMON = Makefile.am Makefile.in
139
# Where to install the plugin
141
plugindir = $(libdir)/ntop/plugins
143
INCLUDES = -I.. -I/usr/include -I/home/ola/build/ntop/ntop-3.0/myrrd
162
liblastSeenPlugin.la \
163
libnetflowPlugin.la \
172
libicmpPlugin_la_SOURCES = icmpPlugin.c
173
libicmpPlugin_la_LDFLAGS = -shared -release 3.0
175
liblastSeenPlugin_la_SOURCES = lastSeenPlugin.c
176
liblastSeenPlugin_la_LDFLAGS = -shared -release 3.0
178
libnetflowPlugin_la_SOURCES = netflowPlugin.c
179
libnetflowPlugin_la_LDFLAGS = -shared -release 3.0
181
libnfsPlugin_la_SOURCES = nfsPlugin.c
182
libnfsPlugin_la_LDFLAGS = -shared -release 3.0
184
libpdaPlugin_la_SOURCES = pdaPlugin.c
185
libpdaPlugin_la_LDFLAGS = -shared -release 3.0
187
librrdPlugin_la_SOURCES = rrdPlugin.c
188
librrdPlugin_la_LDFLAGS = -shared -release 3.0
189
librrdPlugin_la_LIBADD = -L../myrrd -lmyrrd
191
libsflowPlugin_la_SOURCES = sflowPlugin.c
192
libsflowPlugin_la_LDFLAGS = -shared -release 3.0
194
libxmldumpPlugin_la_SOURCES = xmldumpPlugin.c
195
libxmldumpPlugin_la_LDFLAGS = -shared -release 3.0
197
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
198
CONFIG_HEADER = $(top_builddir)/config.h
200
LTLIBRARIES = $(lib_LTLIBRARIES)
202
libicmpPlugin_la_LIBADD =
203
am_libicmpPlugin_la_OBJECTS = icmpPlugin.lo
204
libicmpPlugin_la_OBJECTS = $(am_libicmpPlugin_la_OBJECTS)
205
liblastSeenPlugin_la_LIBADD =
206
am_liblastSeenPlugin_la_OBJECTS = lastSeenPlugin.lo
207
liblastSeenPlugin_la_OBJECTS = $(am_liblastSeenPlugin_la_OBJECTS)
208
libnetflowPlugin_la_LIBADD =
209
am_libnetflowPlugin_la_OBJECTS = netflowPlugin.lo
210
libnetflowPlugin_la_OBJECTS = $(am_libnetflowPlugin_la_OBJECTS)
211
libnfsPlugin_la_LIBADD =
212
am_libnfsPlugin_la_OBJECTS = nfsPlugin.lo
213
libnfsPlugin_la_OBJECTS = $(am_libnfsPlugin_la_OBJECTS)
214
libpdaPlugin_la_LIBADD =
215
am_libpdaPlugin_la_OBJECTS = pdaPlugin.lo
216
libpdaPlugin_la_OBJECTS = $(am_libpdaPlugin_la_OBJECTS)
217
librrdPlugin_la_DEPENDENCIES =
218
am_librrdPlugin_la_OBJECTS = rrdPlugin.lo
219
librrdPlugin_la_OBJECTS = $(am_librrdPlugin_la_OBJECTS)
220
libsflowPlugin_la_LIBADD =
221
am_libsflowPlugin_la_OBJECTS = sflowPlugin.lo
222
libsflowPlugin_la_OBJECTS = $(am_libsflowPlugin_la_OBJECTS)
223
libxmldumpPlugin_la_LIBADD =
224
am_libxmldumpPlugin_la_OBJECTS = xmldumpPlugin.lo
225
libxmldumpPlugin_la_OBJECTS = $(am_libxmldumpPlugin_la_OBJECTS)
226
noinst_PROGRAMS = icmpPlugin.so$(EXEEXT) lastSeenPlugin.so$(EXEEXT) \
227
netflowPlugin.so$(EXEEXT) nfsPlugin.so$(EXEEXT) \
228
pdaPlugin.so$(EXEEXT) rrdPlugin.so$(EXEEXT) \
229
sflowPlugin.so$(EXEEXT) xmldumpPlugin.so$(EXEEXT)
230
PROGRAMS = $(noinst_PROGRAMS)
232
icmpPlugin_so_SOURCES = icmpPlugin.so.c
233
icmpPlugin_so_OBJECTS = icmpPlugin.so.$(OBJEXT)
234
icmpPlugin_so_LDADD = $(LDADD)
235
icmpPlugin_so_DEPENDENCIES =
236
icmpPlugin_so_LDFLAGS =
237
lastSeenPlugin_so_SOURCES = lastSeenPlugin.so.c
238
lastSeenPlugin_so_OBJECTS = lastSeenPlugin.so.$(OBJEXT)
239
lastSeenPlugin_so_LDADD = $(LDADD)
240
lastSeenPlugin_so_DEPENDENCIES =
241
lastSeenPlugin_so_LDFLAGS =
242
netflowPlugin_so_SOURCES = netflowPlugin.so.c
243
netflowPlugin_so_OBJECTS = netflowPlugin.so.$(OBJEXT)
244
netflowPlugin_so_LDADD = $(LDADD)
245
netflowPlugin_so_DEPENDENCIES =
246
netflowPlugin_so_LDFLAGS =
247
nfsPlugin_so_SOURCES = nfsPlugin.so.c
248
nfsPlugin_so_OBJECTS = nfsPlugin.so.$(OBJEXT)
249
nfsPlugin_so_LDADD = $(LDADD)
250
nfsPlugin_so_DEPENDENCIES =
251
nfsPlugin_so_LDFLAGS =
252
pdaPlugin_so_SOURCES = pdaPlugin.so.c
253
pdaPlugin_so_OBJECTS = pdaPlugin.so.$(OBJEXT)
254
pdaPlugin_so_LDADD = $(LDADD)
255
pdaPlugin_so_DEPENDENCIES =
256
pdaPlugin_so_LDFLAGS =
257
rrdPlugin_so_SOURCES = rrdPlugin.so.c
258
rrdPlugin_so_OBJECTS = rrdPlugin.so.$(OBJEXT)
259
rrdPlugin_so_LDADD = $(LDADD)
260
rrdPlugin_so_DEPENDENCIES =
261
rrdPlugin_so_LDFLAGS =
262
sflowPlugin_so_SOURCES = sflowPlugin.so.c
263
sflowPlugin_so_OBJECTS = sflowPlugin.so.$(OBJEXT)
264
sflowPlugin_so_LDADD = $(LDADD)
265
sflowPlugin_so_DEPENDENCIES =
266
sflowPlugin_so_LDFLAGS =
267
xmldumpPlugin_so_SOURCES = xmldumpPlugin.so.c
268
xmldumpPlugin_so_OBJECTS = xmldumpPlugin.so.$(OBJEXT)
269
xmldumpPlugin_so_LDADD = $(LDADD)
270
xmldumpPlugin_so_DEPENDENCIES =
271
xmldumpPlugin_so_LDFLAGS =
272
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
273
CPPFLAGS = -DLINUX -I/usr/local/include -I/usr/include -I/usr/include -I/home/ola/build/ntop/ntop-3.0/myrrd
274
LDFLAGS = -L/usr/local/lib -L/usr/lib -L/usr/lib -L/home/ola/build/ntop/ntop-3.0/myrrd
275
LIBS = -lpthread -lresolv -lnsl -lcrypt -lc -lssl -lcrypto -lpcap -lgdbm -lgd -lpng -lz -lmyrrd
276
depcomp = $(SHELL) $(top_srcdir)/depcomp
277
am__depfiles_maybe = depfiles
278
DEP_FILES = ./$(DEPDIR)/icmpPlugin.Plo \
279
./$(DEPDIR)/icmpPlugin.so.Po \
280
./$(DEPDIR)/lastSeenPlugin.Plo \
281
./$(DEPDIR)/lastSeenPlugin.so.Po \
282
./$(DEPDIR)/netflowPlugin.Plo \
283
./$(DEPDIR)/netflowPlugin.so.Po \
284
./$(DEPDIR)/nfsPlugin.Plo \
285
./$(DEPDIR)/nfsPlugin.so.Po \
286
./$(DEPDIR)/pdaPlugin.Plo \
287
./$(DEPDIR)/pdaPlugin.so.Po \
288
./$(DEPDIR)/rrdPlugin.Plo \
289
./$(DEPDIR)/rrdPlugin.so.Po \
290
./$(DEPDIR)/sflowPlugin.Plo \
291
./$(DEPDIR)/sflowPlugin.so.Po \
292
./$(DEPDIR)/xmldumpPlugin.Plo \
293
./$(DEPDIR)/xmldumpPlugin.so.Po
294
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
295
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
296
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
297
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
298
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
299
$(AM_LDFLAGS) $(LDFLAGS) -o $@
300
CFLAGS = -g -DMAKE_WITH_IGNORE_SIGPIPE -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC
301
DIST_SOURCES = $(libicmpPlugin_la_SOURCES) \
302
$(liblastSeenPlugin_la_SOURCES) $(libnetflowPlugin_la_SOURCES) \
303
$(libnfsPlugin_la_SOURCES) $(libpdaPlugin_la_SOURCES) \
304
$(librrdPlugin_la_SOURCES) $(libsflowPlugin_la_SOURCES) \
305
$(libxmldumpPlugin_la_SOURCES) icmpPlugin.so.c \
306
lastSeenPlugin.so.c netflowPlugin.so.c nfsPlugin.so.c \
307
pdaPlugin.so.c rrdPlugin.so.c sflowPlugin.so.c \
310
RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
311
uninstall-info-recursive all-recursive install-data-recursive \
312
install-exec-recursive installdirs-recursive install-recursive \
313
uninstall-recursive check-recursive installcheck-recursive
314
DIST_COMMON = Makefile.am Makefile.in
315
DIST_SUBDIRS = $(SUBDIRS)
316
SOURCES = $(libicmpPlugin_la_SOURCES) $(liblastSeenPlugin_la_SOURCES) $(libnetflowPlugin_la_SOURCES) $(libnfsPlugin_la_SOURCES) $(libpdaPlugin_la_SOURCES) $(librrdPlugin_la_SOURCES) $(libsflowPlugin_la_SOURCES) $(libxmldumpPlugin_la_SOURCES) icmpPlugin.so.c lastSeenPlugin.so.c netflowPlugin.so.c nfsPlugin.so.c pdaPlugin.so.c rrdPlugin.so.c sflowPlugin.so.c xmldumpPlugin.so.c
321
.SUFFIXES: .so .c .lo .o .obj
322
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
323
cd $(top_srcdir) && \
324
$(ACLOCAL); $(ACLOCAL); $(ACLOCAL); $(ACLOCAL); $(AUTOMAKE) --gnu plugins/Makefile
325
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
326
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
327
libLTLIBRARIES_INSTALL = $(INSTALL)
328
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
330
$(mkinstalldirs) $(DESTDIR)$(libdir)
331
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
332
if test -f $$p; then \
333
f="`echo $$p | sed -e 's|^.*/||'`"; \
334
echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
335
$(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
339
uninstall-libLTLIBRARIES:
341
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
342
p="`echo $$p | sed -e 's|^.*/||'`"; \
343
echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
344
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
347
clean-libLTLIBRARIES:
348
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
349
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
350
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
351
test -z "$dir" && dir=.; \
352
echo "rm -f \"$${dir}/so_locations\""; \
353
rm -f "$${dir}/so_locations"; \
355
libicmpPlugin.la: $(libicmpPlugin_la_OBJECTS) $(libicmpPlugin_la_DEPENDENCIES)
356
$(LINK) -rpath $(libdir) $(libicmpPlugin_la_LDFLAGS) $(libicmpPlugin_la_OBJECTS) $(libicmpPlugin_la_LIBADD) $(LIBS)
357
liblastSeenPlugin.la: $(liblastSeenPlugin_la_OBJECTS) $(liblastSeenPlugin_la_DEPENDENCIES)
358
$(LINK) -rpath $(libdir) $(liblastSeenPlugin_la_LDFLAGS) $(liblastSeenPlugin_la_OBJECTS) $(liblastSeenPlugin_la_LIBADD) $(LIBS)
359
libnetflowPlugin.la: $(libnetflowPlugin_la_OBJECTS) $(libnetflowPlugin_la_DEPENDENCIES)
360
$(LINK) -rpath $(libdir) $(libnetflowPlugin_la_LDFLAGS) $(libnetflowPlugin_la_OBJECTS) $(libnetflowPlugin_la_LIBADD) $(LIBS)
361
libnfsPlugin.la: $(libnfsPlugin_la_OBJECTS) $(libnfsPlugin_la_DEPENDENCIES)
362
$(LINK) -rpath $(libdir) $(libnfsPlugin_la_LDFLAGS) $(libnfsPlugin_la_OBJECTS) $(libnfsPlugin_la_LIBADD) $(LIBS)
363
libpdaPlugin.la: $(libpdaPlugin_la_OBJECTS) $(libpdaPlugin_la_DEPENDENCIES)
364
$(LINK) -rpath $(libdir) $(libpdaPlugin_la_LDFLAGS) $(libpdaPlugin_la_OBJECTS) $(libpdaPlugin_la_LIBADD) $(LIBS)
365
librrdPlugin.la: $(librrdPlugin_la_OBJECTS) $(librrdPlugin_la_DEPENDENCIES)
366
$(LINK) -rpath $(libdir) $(librrdPlugin_la_LDFLAGS) $(librrdPlugin_la_OBJECTS) $(librrdPlugin_la_LIBADD) $(LIBS)
367
libsflowPlugin.la: $(libsflowPlugin_la_OBJECTS) $(libsflowPlugin_la_DEPENDENCIES)
368
$(LINK) -rpath $(libdir) $(libsflowPlugin_la_LDFLAGS) $(libsflowPlugin_la_OBJECTS) $(libsflowPlugin_la_LIBADD) $(LIBS)
369
libxmldumpPlugin.la: $(libxmldumpPlugin_la_OBJECTS) $(libxmldumpPlugin_la_DEPENDENCIES)
370
$(LINK) -rpath $(libdir) $(libxmldumpPlugin_la_LDFLAGS) $(libxmldumpPlugin_la_OBJECTS) $(libxmldumpPlugin_la_LIBADD) $(LIBS)
372
clean-noinstPROGRAMS:
373
@list='$(noinst_PROGRAMS)'; for p in $$list; do \
374
f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
375
echo " rm -f $$p $$f"; \
380
-rm -f *.$(OBJEXT) core *.core
385
include ./$(DEPDIR)/icmpPlugin.Plo
386
include ./$(DEPDIR)/icmpPlugin.so.Po
387
include ./$(DEPDIR)/lastSeenPlugin.Plo
388
include ./$(DEPDIR)/lastSeenPlugin.so.Po
389
include ./$(DEPDIR)/netflowPlugin.Plo
390
include ./$(DEPDIR)/netflowPlugin.so.Po
391
include ./$(DEPDIR)/nfsPlugin.Plo
392
include ./$(DEPDIR)/nfsPlugin.so.Po
393
include ./$(DEPDIR)/pdaPlugin.Plo
394
include ./$(DEPDIR)/pdaPlugin.so.Po
395
include ./$(DEPDIR)/rrdPlugin.Plo
396
include ./$(DEPDIR)/rrdPlugin.so.Po
397
include ./$(DEPDIR)/sflowPlugin.Plo
398
include ./$(DEPDIR)/sflowPlugin.so.Po
399
include ./$(DEPDIR)/xmldumpPlugin.Plo
400
include ./$(DEPDIR)/xmldumpPlugin.so.Po
406
source='$<' object='$@' libtool=no \
407
depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
408
$(CCDEPMODE) $(depcomp) \
409
$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
412
source='$<' object='$@' libtool=no \
413
depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
414
$(CCDEPMODE) $(depcomp) \
415
$(COMPILE) -c `cygpath -w $<`
418
source='$<' object='$@' libtool=yes \
419
depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' \
420
$(CCDEPMODE) $(depcomp) \
421
$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
422
CCDEPMODE = depmode=gcc3
434
# This directory's subdirectories are mostly independent; you can cd
435
# into them and run `make' without going through this Makefile.
436
# To change the values of `make' variables: instead of editing Makefiles,
437
# (1) if the variable is set in `config.status', edit `config.status'
438
# (which will cause the Makefiles to be regenerated when you run `make');
439
# (2) otherwise, pass the desired values on the `make' command line.
440
$(RECURSIVE_TARGETS):
441
@set fnord $$MAKEFLAGS; amf=$$2; \
443
target=`echo $@ | sed s/-recursive//`; \
444
list='$(SUBDIRS)'; for subdir in $$list; do \
445
echo "Making $$target in $$subdir"; \
446
if test "$$subdir" = "."; then \
448
local_target="$$target-am"; \
450
local_target="$$target"; \
452
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
453
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
455
if test "$$dot_seen" = "no"; then \
456
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
459
mostlyclean-recursive clean-recursive distclean-recursive \
460
maintainer-clean-recursive:
461
@set fnord $$MAKEFLAGS; amf=$$2; \
464
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
465
*) list='$(SUBDIRS)' ;; \
467
rev=''; for subdir in $$list; do \
468
if test "$$subdir" = "."; then :; else \
469
rev="$$subdir $$rev"; \
473
target=`echo $@ | sed s/-recursive//`; \
474
for subdir in $$rev; do \
475
echo "Making $$target in $$subdir"; \
476
if test "$$subdir" = "."; then \
477
local_target="$$target-am"; \
479
local_target="$$target"; \
481
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
482
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
483
done && test -z "$$fail"
485
list='$(SUBDIRS)'; for subdir in $$list; do \
486
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
494
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
495
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
496
unique=`for i in $$list; do \
497
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
499
$(AWK) ' { files[$$0] = 1; } \
500
END { for (i in files) print i; }'`; \
503
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
504
$(TAGS_FILES) $(LISP)
507
list='$(SUBDIRS)'; for subdir in $$list; do \
508
if test "$$subdir" = .; then :; else \
509
test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
512
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
513
unique=`for i in $$list; do \
514
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
516
$(AWK) ' { files[$$0] = 1; } \
517
END { for (i in files) print i; }'`; \
518
test -z "$(ETAGS_ARGS)$$tags$$unique" \
519
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
523
here=`$(am__cd) $(top_builddir) && pwd` \
524
&& cd $(top_srcdir) \
525
&& gtags -i $(GTAGS_ARGS) $$here
528
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
529
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
532
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
534
distdir: $(DISTFILES)
535
@list='$(DISTFILES)'; for file in $$list; do \
536
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
537
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
538
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
540
$(mkinstalldirs) "$(distdir)$$dir"; \
544
if test -d $$d/$$file; then \
545
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
546
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
548
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
550
test -f $(distdir)/$$file \
551
|| cp -p $$d/$$file $(distdir)/$$file \
555
list='$(SUBDIRS)'; for subdir in $$list; do \
556
if test "$$subdir" = .; then :; else \
557
test -d $(distdir)/$$subdir \
558
|| mkdir $(distdir)/$$subdir \
561
$(MAKE) $(AM_MAKEFLAGS) \
562
top_distdir="$(top_distdir)" \
563
distdir=../$(distdir)/$$subdir \
569
check: check-recursive
570
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
571
installdirs: installdirs-recursive
573
$(mkinstalldirs) $(DESTDIR)$(libdir)
575
install: install-recursive
576
install-exec: install-exec-recursive
577
install-data: install-data-recursive
578
uninstall: uninstall-recursive
581
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
583
installcheck: installcheck-recursive
585
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
586
INSTALL_STRIP_FLAG=-s \
587
`test -z '$(STRIP)' || \
588
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
592
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
595
-rm -f Makefile $(CONFIG_CLEAN_FILES)
597
maintainer-clean-generic:
598
@echo "This command is intended for maintainers to use"
599
@echo "it deletes files that may require special tools to rebuild."
600
clean: clean-recursive
602
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
603
clean-noinstPROGRAMS mostlyclean-am
605
distclean: distclean-recursive
607
distclean-am: clean-am distclean-compile distclean-depend \
608
distclean-generic distclean-libtool distclean-tags
618
install-data-am: install-data-local
620
install-exec-am: install-libLTLIBRARIES
622
install-info: install-info-recursive
628
maintainer-clean: maintainer-clean-recursive
630
maintainer-clean-am: distclean-am maintainer-clean-generic
632
mostlyclean: mostlyclean-recursive
634
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
637
uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
639
uninstall-info: uninstall-info-recursive
641
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
642
clean-generic clean-libLTLIBRARIES clean-libtool \
643
clean-noinstPROGRAMS clean-recursive distclean \
644
distclean-compile distclean-depend distclean-generic \
645
distclean-libtool distclean-recursive distclean-tags distdir \
646
dvi dvi-am dvi-recursive info info-am info-recursive install \
647
install-am install-data install-data-am install-data-local \
648
install-data-recursive install-exec install-exec-am \
649
install-exec-recursive install-info install-info-am \
650
install-info-recursive install-libLTLIBRARIES install-man \
651
install-recursive install-strip installcheck installcheck-am \
652
installdirs installdirs-am installdirs-recursive \
653
maintainer-clean maintainer-clean-generic \
654
maintainer-clean-recursive mostlyclean mostlyclean-compile \
655
mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
656
tags tags-recursive uninstall uninstall-am uninstall-info-am \
657
uninstall-info-recursive uninstall-libLTLIBRARIES \
661
#librmonPlugin_la_SOURCES = rmonPlugin.c rmon.h
662
#librmonPlugin_la_LDFLAGS = @SNMPLIBS@ -shared -release 3.0
665
# Dependencies to allow ntop loading plugins on-place
666
# by default ntop looks for plugins in the plugins/ subdirectory
669
.libs/libicmpPlugin.so:
670
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/libicmpPlugin.so icmpPlugin.o
672
icmpPlugin.so$(EXEEXT): .libs/libicmpPlugin.so
673
@$(LN_S) .libs/libicmpPlugin.so icmpPlugin.so
675
.libs/liblastSeenPlugin.so:
676
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/liblastSeenPlugin.so lastSeenPlugin.o
678
lastSeenPlugin.so$(EXEEXT): .libs/liblastSeenPlugin.so
679
@$(LN_S) .libs/liblastSeenPlugin.so lastSeenPlugin.so
681
.libs/libnetflowPlugin.so:
682
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/libnetflowPlugin.so netflowPlugin.o
684
netflowPlugin.so$(EXEEXT): .libs/libnetflowPlugin.so
685
@$(LN_S) .libs/libnetflowPlugin.so netflowPlugin.so
687
.libs/libnfsPlugin.so:
688
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/libnfsPlugin.so nfsPlugin.o
690
nfsPlugin.so$(EXEEXT): .libs/libnfsPlugin.so
691
@$(LN_S) .libs/libnfsPlugin.so nfsPlugin.so
693
.libs/libpdaPlugin.so:
694
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/libpdaPlugin.so pdaPlugin.o
696
pdaPlugin.so$(EXEEXT): .libs/libpdaPlugin.so
697
@$(LN_S) .libs/libpdaPlugin.so pdaPlugin.so
699
.libs/librrdPlugin.so:
700
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/librrdPlugin.so rrdPlugin.o
702
rrdPlugin.so$(EXEEXT): .libs/librrdPlugin.so
703
@$(LN_S) .libs/librrdPlugin.so rrdPlugin.so
705
.libs/libsflowPlugin.so:
706
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/libsflowPlugin.so sflowPlugin.o
708
sflowPlugin.so$(EXEEXT): .libs/libsflowPlugin.so
709
@$(LN_S) .libs/libsflowPlugin.so sflowPlugin.so
711
.libs/libxmldumpPlugin.so:
712
$(CC) -bundle -flat_namespace -undefined suppress -o .libs/libxmldumpPlugin.so xmldumpPlugin.o
714
xmldumpPlugin.so$(EXEEXT): .libs/libxmldumpPlugin.so
715
@$(LN_S) .libs/libxmldumpPlugin.so xmldumpPlugin.so
717
#.libs/librmonPlugin.so:
718
# $(CC) -bundle -flat_namespace -undefined suppress -o .libs/librmonPlugin.so rmonPlugin.o
720
#rmonPlugin.so$(EXEEXT): .libs/librmonPlugin.so
721
# @$(LN_S) .libs/librmonPlugin.so rmonPlugin.so
724
@$(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir);
725
@for file in $(noinst_PROGRAMS); do \
726
cp -p $$file $(DESTDIR)$(plugindir)/$$file; \
728
# remove installed libraries
729
@for file in $(lib_LTLIBRARIES); do \
730
rm -f $(DESTDIR)$(libdir)/$$file; \
734
# Special stuff for xml auto-generation of code from the "doc":
736
xmldumpPlugin.$(OBJEXT): xml_g_cmdopt.inc
738
xmldumpPlugin.c: xml_*.inc globals-structtypes.xml
740
xml_*.inc: globals-structtypes.xml
741
@echo "Processing globals-structtypes.xml to make xml_*.inc..."
742
@gawk -f ../utils/xmldump.awk globals-structtypes.xml
745
# Tell versions [3.59,3.63) of GNU make to not export all variables.
746
# Otherwise a system limit (for SysV at least) may be exceeded.