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

« back to all changes in this revision

Viewing changes to ntop/plugins/pep/Makefile.am

  • 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
 
#
2
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
3
 
# auto makefile for the ntop's PeP plugin.
4
 
## (this file is processed with 'automake' to produce Makefile.in)
5
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
6
 
#
7
 
# Rocco Carbone <rocco@ntop.org>
8
 
#
9
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
10
 
#
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.
15
 
#
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.
20
 
#
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.
24
 
#
25
 
 
26
 
DIST_COMMON = Makefile.am Makefile.in
27
 
CLEANFILES  =
28
 
EXTRA_DIST  = available.pl hosts.pl
29
 
 
30
 
 
31
 
#
32
 
# Where to install the plugin
33
 
#
34
 
plugindir = $(libdir)/ntop/plugins
35
 
 
36
 
INCLUDES = -I.. `perl -MExtUtils::Embed -e ccopts` @INCS@
37
 
PEPLIBS  = `perl -MExtUtils::Embed -e ldopts`
38
 
 
39
 
#
40
 
# The meat for ntop
41
 
#
42
 
noinst_PROGRAMS = pep.so
43
 
 
44
 
plugin_LTLIBRARIES = libpep.la
45
 
 
46
 
libpep_la_SOURCES = pep.c
47
 
libpep_la_LDFLAGS = -shared -version-info @NTOP_VERSION_INFO@
48
 
 
49
 
#
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.
53
 
#
54
 
LIBS = # ${PEPLIBS}
55
 
 
56
 
pep.so: pep.c
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'