2
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
3
# auto makefile for 'intop' - the first interactive ntop program.
4
## (this file is processed with 'automake' to produce Makefile.in)
5
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
7
# Luca Deri <deri@ntop.org>
8
# Rocco Carbone <rocco@ntop.org>
10
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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.
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.
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.
27
DIST_COMMON = Makefile.am Makefile.in intop.1
29
DISTCLEANFILES = logger.db ntop.db ntop_pw.db intops
30
CLEANFILES = $(DISTCLEANFILES)
33
INCLUDES = -I.. @INCS@
37
# Rizzetto Andrea <Andrea.Rizzetto@tradinglab.com>
39
LIBS = @LIBS@ @MORELIBS@
42
LIBCURSES = @LIBCURSES@
43
LIBREADLINE = @LIBREADLINE@
51
EXTRA_PROGRAMS = intops
53
intop_SOURCES = argv.c command.c getopt.c getopt.h gnuline.c \
56
open.c close.c filter.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 \
63
intop_DEPENDENCIES = ../libntop.la
64
intop_LDADD = ../libntop.la $(LIBREADLINE) $(LIBCURSES)
67
intops_SOURCES = $(intop_SOURCES)
69
intops_DEPENDENCIES = ../libntop.la
70
intops_LDADD = ../libntop.la $(LIBREADLINE) $(LIBCURSES)
71
intops_LDFLAGS = -static
75
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
76
# rules to handle nroff documentation
77
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
81
@echo "-----------------------------------------------"
82
@echo "Converting $< to ASCII format .... Please wait"
84
@groff -mandoc -Tascii $< | sed 's/_//g' | sed 's/[ -~]//g' > intop.txt
86
@echo "-----------------------------------------------"
90
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
91
# rules to translate ASCII files to HTML
92
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
95
@echo "-----------------------------------------------"
96
@echo "Converting $< to HTML format .... Please wait"
99
@cat intop.tmp $< | man2html > intop.html
101
@echo "-----------------------------------------------"