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

« back to all changes in this revision

Viewing changes to ntop/intop/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 'intop' - the first interactive ntop program.
4
 
## (this file is processed with 'automake' to produce Makefile.in)
5
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
6
 
#
7
 
# Luca Deri     <deri@ntop.org>
8
 
# Rocco Carbone <rocco@ntop.org>
9
 
#
10
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
11
 
#
12
 
# This program is free software; you can redistribute it and/or modify
13
 
# it under the terms of the GNU General Public License as published by
14
 
# the Free Software Foundation; either version 2 of the License, or
15
 
# (at your option) any later version.
16
 
#
17
 
# This program is distributed in the hope that it will be useful,
18
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
19
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20
 
# GNU General Public License for more details.
21
 
#
22
 
# You should have received a copy of the GNU General Public License
23
 
# along with this program; if not, write to the Free Software
24
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
 
#
26
 
 
27
 
DIST_COMMON = Makefile.am Makefile.in intop.1
28
 
 
29
 
DISTCLEANFILES = logger.db ntop.db ntop_pw.db intops
30
 
CLEANFILES     = $(DISTCLEANFILES)
31
 
 
32
 
DEFS      = @DEFS@
33
 
INCLUDES  = -I.. @INCS@
34
 
 
35
 
#
36
 
# Fix courtesy of  
37
 
# Rizzetto Andrea <Andrea.Rizzetto@tradinglab.com>
38
 
#
39
 
LIBS      = @LIBS@ @MORELIBS@
40
 
MORELIBS  = @MORELIBS@
41
 
 
42
 
LIBCURSES   = @LIBCURSES@
43
 
LIBREADLINE = @LIBREADLINE@
44
 
 
45
 
man_MANS = intop.1
46
 
 
47
 
#
48
 
# The Game
49
 
#
50
 
bin_PROGRAMS   = intop
51
 
EXTRA_PROGRAMS = intops
52
 
 
53
 
intop_SOURCES  = argv.c command.c getopt.c getopt.h gnuline.c \
54
 
                 prompt.c \
55
 
                 intop.c init.c \
56
 
                 open.c close.c filter.c \
57
 
                 pcapmore.c \
58
 
                 sniff.c uptime.c status.c \
59
 
                 lsdev.c nettable.c info.c swap.c \
60
 
                 hosts.c arp.c nbt.c top.c \
61
 
                 bind.c hash.c dump.c
62
 
 
63
 
intop_DEPENDENCIES = ../libntop.la
64
 
intop_LDADD        = ../libntop.la $(LIBREADLINE) $(LIBCURSES)
65
 
intop_LDFLAGS      =
66
 
 
67
 
intops_SOURCES      = $(intop_SOURCES)
68
 
 
69
 
intops_DEPENDENCIES = ../libntop.la
70
 
intops_LDADD        = ../libntop.la $(LIBREADLINE) $(LIBCURSES)
71
 
intops_LDFLAGS      = -static
72
 
 
73
 
 
74
 
#
75
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
76
 
# rules to handle nroff documentation
77
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
78
 
#
79
 
intop.txt: intop.1
80
 
        @echo ""
81
 
        @echo "-----------------------------------------------"
82
 
        @echo "Converting $< to ASCII format  .... Please wait"
83
 
        @echo ""
84
 
        @groff -mandoc -Tascii $< | sed 's/_//g' | sed 's/[ -~]//g' > intop.txt
85
 
        @echo "$@ done !"
86
 
        @echo "-----------------------------------------------"
87
 
        @echo ""
88
 
 
89
 
 
90
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
91
 
# rules to translate ASCII files to HTML
92
 
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
93
 
intop.html: intop.txt
94
 
        @echo ""
95
 
        @echo "-----------------------------------------------"
96
 
        @echo "Converting $< to HTML format  .... Please wait"
97
 
        @echo ""
98
 
        @echo " " > intop.tmp
99
 
        @cat intop.tmp $< | man2html > intop.html
100
 
        @echo "$@ done !"
101
 
        @echo "-----------------------------------------------"
102
 
        @echo ""