summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 5e5363f05c8bcd0226b1b9cc7a2017d20528e0a6 (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: Makefile.am,v 1.11 2010/11/27 17:19:25 pdw Exp $
#

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.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 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.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__/$(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@