2
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
3
# auto makefile for the ntop's PeP plugin.
4
## (this file is processed with 'automake' to produce Makefile.in)
5
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
7
# Rocco Carbone <rocco@ntop.org>
9
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
11
# This program is free software; you can redistribute it and/or modify
12
# it under the terms of the GNU General Public License as published by
13
# the Free Software Foundation; either version 2 of the License, or
14
# (at your option) any later version.
16
# This program is distributed in the hope that it will be useful,
17
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
# GNU General Public License for more details.
21
# You should have received a copy of the GNU General Public License
22
# along with this program; if not, write to the Free Software
23
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
DIST_COMMON = Makefile.am Makefile.in
28
EXTRA_DIST = available.pl hosts.pl
32
# Where to install the plugin
34
plugindir = $(libdir)/ntop/plugins
36
INCLUDES = -I.. `perl -MExtUtils::Embed -e ccopts` @INCS@
37
PEPLIBS = `perl -MExtUtils::Embed -e ldopts`
42
noinst_PROGRAMS = pep.so
44
plugin_LTLIBRARIES = libpep.la
46
libpep_la_SOURCES = pep.c
47
libpep_la_LDFLAGS = -shared -version-info @NTOP_VERSION_INFO@
50
# LIBS must be cleared, or else libtool won't create a shared module.
51
# If your module needs to be linked against any particular libraries,
52
# please add them here.
57
# ${CC} -shared ${libpep_la_OBJECTS} ${PEPLIBS} -Wl,-soname -Wl,libpep.so.0 -o pep.so
58
@${CC} -shared ${libpep_la_OBJECTS} ${PEPLIBS} -o pep.so
59
(cd .. && ln -fs pep/pep.so .)
b'\\ No newline at end of file'