summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 4a5ec95a729f09716c91330ac31ec99118b0cc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# Makefile.am:
# Automake file for iftop.
#
# I don't understand this stuff, so I just stole it from the tpop3d
# distribution. That means that, really, Mark Longair should take credit for
# it.
#   -- Chris Lightfoot
#
# $Id$
#

sbin_PROGRAMS = iftop 
#iftop-dump

iftop_SOURCES = addr_hash.c edline.c hash.c iftop.c ns_hash.c \
                 options.c resolver.c screenfilter.c serv_hash.c \
                 sorted_list.c threadprof.c ui_common.c ui.c tui.c util.c \
		 addrs_ioctl.c addrs_dlpi.c dlcommon.c \
		 stringmap.c cfgfile.c vector.c

#iftop_dump_SOURCES = counter_hash.c hash.c iftop-dump.c  \
#                 options.c \
#                 util.c \
#		 addrs_ioctl.c addrs_dlpi.c dlcommon.c \
#		 stringmap.c cfgfile.c 



noinst_HEADERS = addr_hash.h addrs_ioctl.h ether.h ethertype.h extract.h hash.h iftop.h \
                 integers.h ip.h llc.h ns_hash.h options.h resolver.h \
                 screenfilter.h serv_hash.h sll.h sorted_list.h tcp.h \
                 threadprof.h token.h ui_common.h ui.h tui.h dlcommon.h stringmap.h \
		 vector.h cfgfile.h ppp.h

man_MANS = iftop.8

SUBDIRS = config

iftop.cat: iftop.8
	(echo -e ".pl 1100i" ; cat iftop.8 ; echo ".pl \n(nlu+10") | groff -Tascii -man > iftop.cat

iftop.spec: iftop.spec.in configure.in
	sed 's/__VERSION__/$(PACKAGE_VERSION)/' < iftop.spec.in > iftop.spec

## These need to be distributed along with configure:

EXTRA_DIST = bootstrap README ChangeLog AUTHORS COPYING INSTALL TODO \
		Makefile.OLD $(man_MANS) iftop.cat iftop.spec
             
MAINTERCLEANFILES = Makefile.in aclocal.m4 configure configuration.h.in \
                    stamp-h.in iftop.spec

ACLOCAL = aclocal -I @ac_aux_dir@