~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to plugins/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

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
# plugins/Makefile.  Generated from Makefile.in by configure.
 
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
 
 
16
 
 
17
#
 
18
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
19
# auto makefile for the ntop plugins.
 
20
# (this file is processed with 'automake' to produce Makefile.in)
 
21
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
22
#
 
23
# Luca Deri     <deri@ntop.org>
 
24
# Rocco Carbone <rocco@ntop.org>
 
25
#
 
26
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
27
#
 
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.
 
32
#
 
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.
 
37
#
 
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.
 
41
#
 
42
SHELL = /bin/sh
 
43
 
 
44
srcdir = .
 
45
top_srcdir = ..
 
46
 
 
47
prefix = /usr
 
48
exec_prefix = ${prefix}
 
49
 
 
50
bindir = /usr/sbin
 
51
sbindir = ${exec_prefix}/sbin
 
52
libexecdir = ${exec_prefix}/libexec
 
53
datadir = ${prefix}/share
 
54
sysconfdir = /etc
 
55
sharedstatedir = ${prefix}/com
 
56
localstatedir = /var/lib
 
57
libdir = /usr/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
 
65
top_builddir = ..
 
66
 
 
67
ACLOCAL = aclocal
 
68
AUTOCONF = autoconf
 
69
AUTOMAKE = automake
 
70
AUTOHEADER = autoheader
 
71
 
 
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)
 
81
transform = s,x,x,
 
82
NORMAL_INSTALL = :
 
83
PRE_INSTALL = :
 
84
POST_INSTALL = :
 
85
NORMAL_UNINSTALL = :
 
86
PRE_UNINSTALL = :
 
87
POST_UNINSTALL = :
 
88
host_alias = 
 
89
host_triplet = i686-pc-linux-gnu
 
90
 
 
91
EXEEXT = 
 
92
OBJEXT = o
 
93
PATH_SEPARATOR = :
 
94
AMTAR = ${SHELL} /home/ola/build/ntop/ntop-3.0/missing --run tar
 
95
AS = 
 
96
AWK = gawk
 
97
CC = gcc
 
98
CCLD = gcc
 
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
 
104
CPP = gcc -E
 
105
DEFS = -DHAVE_CONFIG_H
 
106
DEPDIR = .deps
 
107
DLLTOOL = 
 
108
DYN_FLAGS = 
 
109
INCS = -I/usr/include -I/home/ola/build/ntop/ntop-3.0/myrrd 
 
110
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
 
111
LD = /usr/bin/ld
 
112
LIBTOOL = $(SHELL) $(top_builddir)/libtool
 
113
LIBTOOL_DEPS = ./ltconfig ./ltmain.sh
 
114
LN_S = ln -s
 
115
MAKE_SHARED_LIBRARY_PARM = -bundle -flat_namespace -undefined suppress
 
116
NM = /usr/bin/nm -B
 
117
NTOP_VERSION_EXTRA =  SourceForge .tgz
 
118
OBJDUMP = 
 
119
PACKAGE = ntop
 
120
PLUGINS = plugins
 
121
RANLIB = ranlib
 
122
SCRIPTVER = v3.0-000-2004-03-21
 
123
SO_VERSION_PATCH = 
 
124
STRIP = 
 
125
VERSION = 3.0
 
126
am__include = include
 
127
am__quote = 
 
128
install_sh = /home/ola/build/ntop/ntop-3.0/install-sh
 
129
 
 
130
SUBDIRS = . # pep
 
131
 
 
132
PLUGIN_DIST_COMMON = Makefile.am Makefile.in
 
133
CLEANFILES = 
 
134
EXTRA_DIST = 
 
135
 
 
136
SUFFIXES = .so
 
137
 
 
138
 
139
# Where to install the plugin 
 
140
 
141
plugindir = $(libdir)/ntop/plugins
 
142
 
 
143
INCLUDES = -I.. -I/usr/include -I/home/ola/build/ntop/ntop-3.0/myrrd 
 
144
 
 
145
#
 
146
# The meat for ntop
 
147
#
 
148
noinst_PROGRAMS = \
 
149
                  icmpPlugin.so \
 
150
                  lastSeenPlugin.so \
 
151
                  netflowPlugin.so \
 
152
                  nfsPlugin.so  \
 
153
                  pdaPlugin.so \
 
154
                  rrdPlugin.so \
 
155
                  sflowPlugin.so \
 
156
                  xmldumpPlugin.so
 
157
 
 
158
 
 
159
#                 rmonPlugin.so
 
160
lib_LTLIBRARIES = \
 
161
                  libicmpPlugin.la \
 
162
                  liblastSeenPlugin.la \
 
163
                  libnetflowPlugin.la \
 
164
                  libnfsPlugin.la \
 
165
                  libpdaPlugin.la \
 
166
                  librrdPlugin.la \
 
167
                  libsflowPlugin.la \
 
168
                  libxmldumpPlugin.la
 
169
 
 
170
 
 
171
#                 librmonPlugin.la
 
172
libicmpPlugin_la_SOURCES = icmpPlugin.c
 
173
libicmpPlugin_la_LDFLAGS = -shared -release 3.0 
 
174
 
 
175
liblastSeenPlugin_la_SOURCES = lastSeenPlugin.c
 
176
liblastSeenPlugin_la_LDFLAGS = -shared -release 3.0 
 
177
 
 
178
libnetflowPlugin_la_SOURCES = netflowPlugin.c
 
179
libnetflowPlugin_la_LDFLAGS = -shared -release 3.0 
 
180
 
 
181
libnfsPlugin_la_SOURCES = nfsPlugin.c
 
182
libnfsPlugin_la_LDFLAGS = -shared -release 3.0 
 
183
 
 
184
libpdaPlugin_la_SOURCES = pdaPlugin.c
 
185
libpdaPlugin_la_LDFLAGS = -shared -release 3.0 
 
186
 
 
187
librrdPlugin_la_SOURCES = rrdPlugin.c
 
188
librrdPlugin_la_LDFLAGS = -shared -release 3.0 
 
189
librrdPlugin_la_LIBADD = -L../myrrd -lmyrrd
 
190
 
 
191
libsflowPlugin_la_SOURCES = sflowPlugin.c
 
192
libsflowPlugin_la_LDFLAGS = -shared -release 3.0 
 
193
 
 
194
libxmldumpPlugin_la_SOURCES = xmldumpPlugin.c
 
195
libxmldumpPlugin_la_LDFLAGS = -shared -release 3.0 
 
196
subdir = plugins
 
197
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 
198
CONFIG_HEADER = $(top_builddir)/config.h
 
199
CONFIG_CLEAN_FILES =
 
200
LTLIBRARIES = $(lib_LTLIBRARIES)
 
201
 
 
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)
 
231
 
 
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 \
 
308
        xmldumpPlugin.so.c
 
309
 
 
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
 
317
 
 
318
all: all-recursive
 
319
 
 
320
.SUFFIXES:
 
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)
 
329
        @$(NORMAL_INSTALL)
 
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; \
 
336
          else :; fi; \
 
337
        done
 
338
 
 
339
uninstall-libLTLIBRARIES:
 
340
        @$(NORMAL_UNINSTALL)
 
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; \
 
345
        done
 
346
 
 
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"; \
 
354
        done
 
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)
 
371
 
 
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"; \
 
376
          rm -f $$p $$f ; \
 
377
        done
 
378
 
 
379
mostlyclean-compile:
 
380
        -rm -f *.$(OBJEXT) core *.core
 
381
 
 
382
distclean-compile:
 
383
        -rm -f *.tab.c
 
384
 
 
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
 
401
 
 
402
distclean-depend:
 
403
        -rm -rf ./$(DEPDIR)
 
404
 
 
405
.c.o:
 
406
        source='$<' object='$@' libtool=no \
 
407
        depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
 
408
        $(CCDEPMODE) $(depcomp) \
 
409
        $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
 
410
 
 
411
.c.obj:
 
412
        source='$<' object='$@' libtool=no \
 
413
        depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
 
414
        $(CCDEPMODE) $(depcomp) \
 
415
        $(COMPILE) -c `cygpath -w $<`
 
416
 
 
417
.c.lo:
 
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
 
423
 
 
424
mostlyclean-libtool:
 
425
        -rm -f *.lo
 
426
 
 
427
clean-libtool:
 
428
        -rm -rf .libs _libs
 
429
 
 
430
distclean-libtool:
 
431
        -rm -f libtool
 
432
uninstall-info-am:
 
433
 
 
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; \
 
442
        dot_seen=no; \
 
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 \
 
447
            dot_seen=yes; \
 
448
            local_target="$$target-am"; \
 
449
          else \
 
450
            local_target="$$target"; \
 
451
          fi; \
 
452
          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 
453
           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
 
454
        done; \
 
455
        if test "$$dot_seen" = "no"; then \
 
456
          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
 
457
        fi; test -z "$$fail"
 
458
 
 
459
mostlyclean-recursive clean-recursive distclean-recursive \
 
460
maintainer-clean-recursive:
 
461
        @set fnord $$MAKEFLAGS; amf=$$2; \
 
462
        dot_seen=no; \
 
463
        case "$@" in \
 
464
          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
 
465
          *) list='$(SUBDIRS)' ;; \
 
466
        esac; \
 
467
        rev=''; for subdir in $$list; do \
 
468
          if test "$$subdir" = "."; then :; else \
 
469
            rev="$$subdir $$rev"; \
 
470
          fi; \
 
471
        done; \
 
472
        rev="$$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"; \
 
478
          else \
 
479
            local_target="$$target"; \
 
480
          fi; \
 
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"
 
484
tags-recursive:
 
485
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
486
          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 
487
        done
 
488
 
 
489
ETAGS = etags
 
490
ETAGSFLAGS =
 
491
 
 
492
tags: TAGS
 
493
 
 
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; \
 
498
          done | \
 
499
          $(AWK) '    { files[$$0] = 1; } \
 
500
               END { for (i in files) print i; }'`; \
 
501
        mkid -fID $$unique
 
502
 
 
503
TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 
504
                $(TAGS_FILES) $(LISP)
 
505
        tags=; \
 
506
        here=`pwd`; \
 
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"; \
 
510
          fi; \
 
511
        done; \
 
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; \
 
515
          done | \
 
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) \
 
520
             $$tags $$unique
 
521
 
 
522
GTAGS:
 
523
        here=`$(am__cd) $(top_builddir) && pwd` \
 
524
          && cd $(top_srcdir) \
 
525
          && gtags -i $(GTAGS_ARGS) $$here
 
526
 
 
527
distclean-tags:
 
528
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
 
529
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
530
 
 
531
top_distdir = ..
 
532
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
 
533
 
 
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 \
 
539
            dir="/$$dir"; \
 
540
            $(mkinstalldirs) "$(distdir)$$dir"; \
 
541
          else \
 
542
            dir=''; \
 
543
          fi; \
 
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; \
 
547
            fi; \
 
548
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
549
          else \
 
550
            test -f $(distdir)/$$file \
 
551
            || cp -p $$d/$$file $(distdir)/$$file \
 
552
            || exit 1; \
 
553
          fi; \
 
554
        done
 
555
        list='$(SUBDIRS)'; for subdir in $$list; do \
 
556
          if test "$$subdir" = .; then :; else \
 
557
            test -d $(distdir)/$$subdir \
 
558
            || mkdir $(distdir)/$$subdir \
 
559
            || exit 1; \
 
560
            (cd $$subdir && \
 
561
              $(MAKE) $(AM_MAKEFLAGS) \
 
562
                top_distdir="$(top_distdir)" \
 
563
                distdir=../$(distdir)/$$subdir \
 
564
                distdir) \
 
565
              || exit 1; \
 
566
          fi; \
 
567
        done
 
568
check-am: all-am
 
569
check: check-recursive
 
570
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
 
571
installdirs: installdirs-recursive
 
572
installdirs-am:
 
573
        $(mkinstalldirs) $(DESTDIR)$(libdir)
 
574
 
 
575
install: install-recursive
 
576
install-exec: install-exec-recursive
 
577
install-data: install-data-recursive
 
578
uninstall: uninstall-recursive
 
579
 
 
580
install-am: all-am
 
581
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
582
 
 
583
installcheck: installcheck-recursive
 
584
install-strip:
 
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
 
589
mostlyclean-generic:
 
590
 
 
591
clean-generic:
 
592
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
593
 
 
594
distclean-generic:
 
595
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
 
596
 
 
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
 
601
 
 
602
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
 
603
        clean-noinstPROGRAMS mostlyclean-am
 
604
 
 
605
distclean: distclean-recursive
 
606
 
 
607
distclean-am: clean-am distclean-compile distclean-depend \
 
608
        distclean-generic distclean-libtool distclean-tags
 
609
 
 
610
dvi: dvi-recursive
 
611
 
 
612
dvi-am:
 
613
 
 
614
info: info-recursive
 
615
 
 
616
info-am:
 
617
 
 
618
install-data-am: install-data-local
 
619
 
 
620
install-exec-am: install-libLTLIBRARIES
 
621
 
 
622
install-info: install-info-recursive
 
623
 
 
624
install-man:
 
625
 
 
626
installcheck-am:
 
627
 
 
628
maintainer-clean: maintainer-clean-recursive
 
629
 
 
630
maintainer-clean-am: distclean-am maintainer-clean-generic
 
631
 
 
632
mostlyclean: mostlyclean-recursive
 
633
 
 
634
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
 
635
        mostlyclean-libtool
 
636
 
 
637
uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES
 
638
 
 
639
uninstall-info: uninstall-info-recursive
 
640
 
 
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 \
 
658
        uninstall-recursive
 
659
 
 
660
 
 
661
#librmonPlugin_la_SOURCES = rmonPlugin.c rmon.h
 
662
#librmonPlugin_la_LDFLAGS = @SNMPLIBS@ -shared -release 3.0 
 
663
 
 
664
#
 
665
# Dependencies to allow ntop loading plugins on-place
 
666
# by default ntop looks for plugins in the plugins/ subdirectory
 
667
#
 
668
 
 
669
.libs/libicmpPlugin.so:
 
670
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/libicmpPlugin.so icmpPlugin.o
 
671
 
 
672
icmpPlugin.so$(EXEEXT): .libs/libicmpPlugin.so
 
673
        @$(LN_S) .libs/libicmpPlugin.so icmpPlugin.so
 
674
 
 
675
.libs/liblastSeenPlugin.so:
 
676
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/liblastSeenPlugin.so lastSeenPlugin.o
 
677
 
 
678
lastSeenPlugin.so$(EXEEXT): .libs/liblastSeenPlugin.so
 
679
        @$(LN_S) .libs/liblastSeenPlugin.so lastSeenPlugin.so
 
680
 
 
681
.libs/libnetflowPlugin.so:
 
682
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/libnetflowPlugin.so netflowPlugin.o
 
683
 
 
684
netflowPlugin.so$(EXEEXT): .libs/libnetflowPlugin.so
 
685
        @$(LN_S) .libs/libnetflowPlugin.so netflowPlugin.so
 
686
 
 
687
.libs/libnfsPlugin.so:
 
688
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/libnfsPlugin.so nfsPlugin.o
 
689
 
 
690
nfsPlugin.so$(EXEEXT): .libs/libnfsPlugin.so
 
691
        @$(LN_S) .libs/libnfsPlugin.so nfsPlugin.so
 
692
 
 
693
.libs/libpdaPlugin.so:
 
694
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/libpdaPlugin.so pdaPlugin.o
 
695
 
 
696
pdaPlugin.so$(EXEEXT): .libs/libpdaPlugin.so
 
697
        @$(LN_S) .libs/libpdaPlugin.so pdaPlugin.so
 
698
 
 
699
.libs/librrdPlugin.so:
 
700
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/librrdPlugin.so rrdPlugin.o
 
701
 
 
702
rrdPlugin.so$(EXEEXT): .libs/librrdPlugin.so
 
703
        @$(LN_S) .libs/librrdPlugin.so rrdPlugin.so
 
704
 
 
705
.libs/libsflowPlugin.so:
 
706
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/libsflowPlugin.so sflowPlugin.o
 
707
 
 
708
sflowPlugin.so$(EXEEXT): .libs/libsflowPlugin.so
 
709
        @$(LN_S) .libs/libsflowPlugin.so sflowPlugin.so
 
710
 
 
711
.libs/libxmldumpPlugin.so:
 
712
        $(CC) -bundle -flat_namespace -undefined suppress -o .libs/libxmldumpPlugin.so xmldumpPlugin.o
 
713
 
 
714
xmldumpPlugin.so$(EXEEXT): .libs/libxmldumpPlugin.so
 
715
        @$(LN_S) .libs/libxmldumpPlugin.so xmldumpPlugin.so
 
716
 
 
717
#.libs/librmonPlugin.so:
 
718
#       $(CC) -bundle -flat_namespace -undefined suppress -o .libs/librmonPlugin.so rmonPlugin.o
 
719
 
 
720
#rmonPlugin.so$(EXEEXT): .libs/librmonPlugin.so
 
721
#       @$(LN_S) .libs/librmonPlugin.so rmonPlugin.so
 
722
 
 
723
install-data-local:
 
724
        @$(top_srcdir)/mkinstalldirs $(DESTDIR)$(plugindir);
 
725
        @for file in $(noinst_PROGRAMS); do \
 
726
             cp -p $$file $(DESTDIR)$(plugindir)/$$file; \
 
727
         done
 
728
# remove installed libraries
 
729
        @for file in $(lib_LTLIBRARIES); do \
 
730
             rm -f $(DESTDIR)$(libdir)/$$file; \
 
731
         done
 
732
 
 
733
#
 
734
# Special stuff for xml auto-generation of code from the "doc":
 
735
#
 
736
xmldumpPlugin.$(OBJEXT): xml_g_cmdopt.inc
 
737
 
 
738
xmldumpPlugin.c: xml_*.inc globals-structtypes.xml
 
739
 
 
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
 
743
 
 
744
.NOTPARALLEL:
 
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.
 
747
.NOEXPORT: