1
# Generated automatically from Makefile.in by configure.
2
# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
4
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5
# This Makefile.in is free software; the Free Software Foundation
6
# gives unlimited permission to copy and/or distribute it,
7
# with or without modifications, as long as this notice is preserved.
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
15
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
16
# auto makefile for the ntop's PeP plugin.
17
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
19
# Rocco Carbone <rocco@ntop.org>
21
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
23
# This program is free software; you can redistribute it and/or modify
24
# it under the terms of the GNU General Public License as published by
25
# the Free Software Foundation; either version 2 of the License, or
26
# (at your option) any later version.
28
# This program is distributed in the hope that it will be useful,
29
# but WITHOUT ANY WARRANTY; without even the implied warranty of
30
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31
# GNU General Public License for more details.
33
# You should have received a copy of the GNU General Public License
34
# along with this program; if not, write to the Free Software
35
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
44
exec_prefix = ${prefix}
47
sbindir = ${exec_prefix}/sbin
48
libexecdir = ${exec_prefix}/libexec
49
datadir = ${prefix}/share
50
sysconfdir = ${prefix}/etc
51
sharedstatedir = ${prefix}/com
52
localstatedir = /var/lib
53
libdir = /usr/lib/ntop
54
infodir = ${prefix}/info
55
mandir = /usr/share/man
56
includedir = ${prefix}/include
57
oldincludedir = /usr/include
61
pkgdatadir = $(datadir)/ntop
62
pkglibdir = $(libdir)/ntop
63
pkgincludedir = $(includedir)/ntop
70
AUTOHEADER = autoheader
72
INSTALL = /usr/bin/install -c
73
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
74
INSTALL_DATA = ${INSTALL} -m 644
75
INSTALL_SCRIPT = ${INSTALL_PROGRAM}
84
build_alias = i686-pc-linux-gnu
85
build_triplet = i686-pc-linux-gnu
86
host_alias = i686-pc-linux-gnu
87
host_triplet = i686-pc-linux-gnu
88
target_alias = i686-pc-linux-gnu
89
target_triplet = i686-pc-linux-gnu
94
CONFIGFILE_DIR = /usr/etc/ntop
95
CORELIBS = -lpcap -lgdbm
97
DATAFILE_DIR = /usr/share/ntop
98
DBFILE_DIR = /var/lib/ntop
101
INCS = -I/home/dennis/tmp/ntop/ntop-2.0.0/gdchart0.94c
105
LIBCURSES = -lncurses
107
LIBTOOL = $(SHELL) $(top_builddir)/libtool
110
MORELIBS = -lcrypt -lm -lwrap -L/home/dennis/tmp/ntop/ntop-2.0.0/gdchart0.94c -lgdchart -lgd -lpng -lz
115
NTOP_VERSION_INFO = 0:0:0
119
PLUGIN_DIR = /usr/lib/ntop/ntop/plugins
121
RUN_DIR = /var/lib/ntop
126
DIST_COMMON = Makefile.am Makefile.in
128
EXTRA_DIST = available.pl hosts.pl
131
# Where to install the plugin
133
plugindir = $(libdir)/ntop/plugins
135
INCLUDES = -I.. `perl -MExtUtils::Embed -e ccopts` -I/home/dennis/tmp/ntop/ntop-2.0.0/gdchart0.94c
136
PEPLIBS = `perl -MExtUtils::Embed -e ldopts`
141
noinst_PROGRAMS = pep.so
143
plugin_LTLIBRARIES = libpep.la
145
libpep_la_SOURCES = pep.c
146
libpep_la_LDFLAGS = -shared -version-info 0:0:0
149
# LIBS must be cleared, or else libtool won't create a shared module.
150
# If your module needs to be linked against any particular libraries,
151
# please add them here.
154
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
155
CONFIG_HEADER = ../../config.h
157
LTLIBRARIES = $(plugin_LTLIBRARIES)
160
DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../..
163
libpep_la_OBJECTS = pep.lo
164
PROGRAMS = $(noinst_PROGRAMS)
166
pep_so_SOURCES = pep.so.c
167
pep_so_OBJECTS = pep.so.o
168
pep_so_LDADD = $(LDADD)
169
pep_so_DEPENDENCIES =
171
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
172
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
173
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
176
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
180
DEP_FILES = .deps/pep.P .deps/pep.so.P
181
SOURCES = $(libpep_la_SOURCES) pep.so.c
182
OBJECTS = $(libpep_la_OBJECTS) pep.so.o
186
.SUFFIXES: .S .c .lo .o .s
187
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
188
cd $(top_srcdir) && $(AUTOMAKE) --gnu plugins/pep/Makefile
190
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
192
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
195
mostlyclean-pluginLTLIBRARIES:
197
clean-pluginLTLIBRARIES:
198
-test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES)
200
distclean-pluginLTLIBRARIES:
202
maintainer-clean-pluginLTLIBRARIES:
204
install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES)
206
$(mkinstalldirs) $(DESTDIR)$(plugindir)
207
@list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
208
if test -f $$p; then \
209
echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(plugindir)/$$p"; \
210
$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(plugindir)/$$p; \
214
uninstall-pluginLTLIBRARIES:
216
list='$(plugin_LTLIBRARIES)'; for p in $$list; do \
217
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/$$p; \
227
-rm -f *.o core *.core
234
maintainer-clean-compile:
237
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
240
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
250
maintainer-clean-libtool:
252
libpep.la: $(libpep_la_OBJECTS) $(libpep_la_DEPENDENCIES)
253
$(LINK) -rpath $(plugindir) $(libpep_la_LDFLAGS) $(libpep_la_OBJECTS) $(libpep_la_LIBADD) $(LIBS)
255
mostlyclean-noinstPROGRAMS:
257
clean-noinstPROGRAMS:
258
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
260
distclean-noinstPROGRAMS:
262
maintainer-clean-noinstPROGRAMS:
266
ID: $(HEADERS) $(SOURCES) $(LISP)
267
list='$(SOURCES) $(HEADERS)'; \
268
unique=`for i in $$list; do echo $$i; done | \
269
awk ' { files[$$0] = 1; } \
270
END { for (i in files) print i; }'`; \
271
here=`pwd` && cd $(srcdir) \
272
&& mkid -f$$here/ID $$unique $(LISP)
274
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
277
list='$(SOURCES) $(HEADERS)'; \
278
unique=`for i in $$list; do echo $$i; done | \
279
awk ' { files[$$0] = 1; } \
280
END { for (i in files) print i; }'`; \
281
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
282
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
291
maintainer-clean-tags:
293
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
297
distdir: $(DISTFILES)
298
here=`cd $(top_builddir) && pwd`; \
299
top_distdir=`cd $(top_distdir) && pwd`; \
300
distdir=`cd $(distdir) && pwd`; \
302
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu plugins/pep/Makefile
303
@for file in $(DISTFILES); do \
305
if test -d $$d/$$file; then \
306
cp -pr $$d/$$file $(distdir)/$$file; \
308
test -f $(distdir)/$$file \
309
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
310
|| cp -p $$d/$$file $(distdir)/$$file || :; \
314
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
316
-include $(DEP_FILES)
325
maintainer-clean-depend:
328
@echo '$(COMPILE) -c $<'; \
329
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
330
@-cp .deps/$(*F).pp .deps/$(*F).P; \
331
tr ' ' '\012' < .deps/$(*F).pp \
332
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
337
@echo '$(LTCOMPILE) -c $<'; \
338
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
339
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
340
< .deps/$(*F).pp > .deps/$(*F).P; \
341
tr ' ' '\012' < .deps/$(*F).pp \
342
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
352
installcheck: installcheck-am
354
install-exec: install-exec-am
356
install-data-am: install-pluginLTLIBRARIES
357
install-data: install-data-am
360
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
362
uninstall-am: uninstall-pluginLTLIBRARIES
363
uninstall: uninstall-am
364
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS)
367
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
369
$(mkinstalldirs) $(DESTDIR)$(plugindir)
375
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
378
-rm -f Makefile $(CONFIG_CLEAN_FILES)
379
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
381
maintainer-clean-generic:
382
mostlyclean-am: mostlyclean-pluginLTLIBRARIES mostlyclean-compile \
383
mostlyclean-libtool mostlyclean-noinstPROGRAMS \
384
mostlyclean-tags mostlyclean-depend mostlyclean-generic
386
mostlyclean: mostlyclean-am
388
clean-am: clean-pluginLTLIBRARIES clean-compile clean-libtool \
389
clean-noinstPROGRAMS clean-tags clean-depend \
390
clean-generic mostlyclean-am
394
distclean-am: distclean-pluginLTLIBRARIES distclean-compile \
395
distclean-libtool distclean-noinstPROGRAMS \
396
distclean-tags distclean-depend distclean-generic \
400
distclean: distclean-am
402
maintainer-clean-am: maintainer-clean-pluginLTLIBRARIES \
403
maintainer-clean-compile maintainer-clean-libtool \
404
maintainer-clean-noinstPROGRAMS maintainer-clean-tags \
405
maintainer-clean-depend maintainer-clean-generic \
407
@echo "This command is intended for maintainers to use;"
408
@echo "it deletes files that may require special tools to rebuild."
410
maintainer-clean: maintainer-clean-am
412
.PHONY: mostlyclean-pluginLTLIBRARIES distclean-pluginLTLIBRARIES \
413
clean-pluginLTLIBRARIES maintainer-clean-pluginLTLIBRARIES \
414
uninstall-pluginLTLIBRARIES install-pluginLTLIBRARIES \
415
mostlyclean-compile distclean-compile clean-compile \
416
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
417
clean-libtool maintainer-clean-libtool mostlyclean-noinstPROGRAMS \
418
distclean-noinstPROGRAMS clean-noinstPROGRAMS \
419
maintainer-clean-noinstPROGRAMS tags mostlyclean-tags distclean-tags \
420
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
421
distclean-depend clean-depend maintainer-clean-depend info-am info \
422
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
423
install-exec install-data-am install-data install-am install \
424
uninstall-am uninstall all-redirect all-am all installdirs \
425
mostlyclean-generic distclean-generic clean-generic \
426
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
430
# ${CC} -shared ${libpep_la_OBJECTS} ${PEPLIBS} -Wl,-soname -Wl,libpep.so.0 -o pep.so
431
@${CC} -shared ${libpep_la_OBJECTS} ${PEPLIBS} -o pep.so
432
(cd .. && ln -fs pep/pep.so .)
434
# Tell versions [3.59,3.63) of GNU make to not export all variables.
435
# Otherwise a system limit (for SysV at least) may be exceeded.